The senseBox is a modular IoT platform developed by Reedu with the part ID MCU S2. It is designed to simplify the process of creating and experimenting with sensor-based projects, making it an ideal tool for educational purposes. The senseBox allows users to connect various sensors and actuators to collect, process, and transmit data, enabling hands-on learning in fields such as environmental monitoring, smart cities, and IoT development.
The senseBox is built to be user-friendly and versatile, with the following key technical details:
Parameter | Value |
---|---|
Manufacturer | Reedu |
Part ID | MCU S2 |
Microcontroller | ESP32-based |
Operating Voltage | 3.3V |
Input Voltage (via USB) | 5V |
Digital I/O Pins | 16 |
Analog Input Pins | 6 |
Communication Protocols | I2C, SPI, UART, Wi-Fi, BLE |
Flash Memory | 4MB |
Clock Speed | 240 MHz |
Power Consumption | ~200 mA (active), ~10 mA (idle) |
The senseBox features a modular design with labeled connectors for easy sensor integration. Below is the pin configuration:
Pin Name | Type | Description |
---|---|---|
GND | Power | Ground connection |
3.3V | Power | 3.3V power output for sensors and modules |
5V | Power | 5V power output for sensors and modules |
D0-D15 | Digital I/O | General-purpose digital input/output pins |
A0-A5 | Analog Input | Analog input pins for sensors |
SDA | I2C | I2C data line |
SCL | I2C | I2C clock line |
TX | UART | UART transmit pin |
RX | UART | UART receive pin |
SPI_MOSI | SPI | SPI Master Out Slave In |
SPI_MISO | SPI | SPI Master In Slave Out |
SPI_SCK | SPI | SPI clock line |
SPI_SS | SPI | SPI slave select |
EN | Power | Enable pin to activate the microcontroller |
RST | Reset | Reset pin to restart the microcontroller |
The senseBox is designed to be beginner-friendly while offering advanced features for experienced users. Follow these steps to use the senseBox in a circuit:
Below is an example of how to use the senseBox with a DHT11 temperature and humidity sensor:
#include <DHT.h>
// Define the pin where the DHT sensor is connected
#define DHTPIN D4 // Connect the DHT sensor to digital pin D4
// Define the type of DHT sensor (DHT11 or DHT22)
#define DHTTYPE DHT11
// Initialize the DHT sensor
DHT dht(DHTPIN, DHTTYPE);
void setup() {
Serial.begin(9600); // Start serial communication at 9600 baud
dht.begin(); // Initialize the DHT sensor
Serial.println("senseBox: Reading temperature and humidity...");
}
void loop() {
// Read temperature and humidity values
float humidity = dht.readHumidity();
float temperature = dht.readTemperature();
// Check if the readings are valid
if (isnan(humidity) || isnan(temperature)) {
Serial.println("Failed to read from DHT sensor!");
return;
}
// Print the readings to the Serial Monitor
Serial.print("Humidity: ");
Serial.print(humidity);
Serial.print("% Temperature: ");
Serial.print(temperature);
Serial.println("°C");
delay(2000); // Wait 2 seconds before the next reading
}
The senseBox is not detected by the computer.
Sensors are not providing data.
Code upload fails.
Wi-Fi or BLE is not working.
Q: Can I use the senseBox with other IDEs besides Arduino?
A: Yes, the senseBox is compatible with other IDEs such as PlatformIO, but additional setup may be required.
Q: What is the maximum range for Wi-Fi connectivity?
A: The Wi-Fi range depends on environmental factors but typically extends up to 30 meters indoors and 100 meters outdoors.
Q: Can I power the senseBox with a battery?
A: Yes, the senseBox can be powered using a 3.7V LiPo battery connected to the appropriate input.
Q: Is the senseBox compatible with third-party sensors?
A: Yes, the senseBox supports a wide range of third-party sensors as long as they are compatible with the supported communication protocols (I2C, SPI, UART, etc.).
By following this documentation, users can effectively utilize the senseBox for a variety of IoT and sensor-based projects.