- Currently Out of Stock
Christmas Closure
We will be closed from 24th December to 3rd January. However we will be dispatching orders throughout this period when the postal service is in operation.
We would like to wish all our customers, old and new, a very merry Christmas.
Yodel
Please note: Yodel is currently experiencing issues. Whilst the issue is ongoing, orders placed using this service will be dispatched via Evri or Royal Mail 48 hour service.
ESP8266 Home Sensor
ESP8266 Home Sensor module is a wireless ESP2866 (ESP-07) based microcontroller development board which includes a DHT22 temperature and humidity sensor, an LDR light level sensor and a PIR motion detector. Its array of sensors makes it great for monitoring the environmental conditions and occupancy of a room wirelessly.
As of 22/05/24 this module is now shipped pre-flased with ESPHome firmware:
ESP8266 Home Sensor module is a wireless ESP2866 (ESP-07) based microcontroller development board which includes a DHT22 temperature and humidity sensor, an LDR light level sensor and a PIR motion detector. Its array of sensors makes it great for monitoring the environmental conditions and occupancy of a room wirelessly.
As of 22/05/24 this module is now shipped pre-flased with ESPHome firmware:
Home Assistant Compatible -
Although ESP home sensor is fully programmable via its serial interface (requires additional USB adaptor) it comes pre-flashed with custom ESPHome firmware. This means that out-of-the box it is compatible with the home automation system Home Assistant. Simply connect power to the module and use a mobile phone to connect it to your WiFi network via its captive portal page - no programming required.
For a step by step guide please see our blog post here: https://blog.hobbycomponents.com/?p=1256
Home assistant example control panel:
Compatible with the Arduino IDE -
Being ESP8266 based it is compatible with the Arduino IDE (via board manager) and we have provided a simple library with example sketches to interface to the on-board sensors making developing your own sketches as straightforward as possible.
Alternatively the module is compatible with existing Arduino/ESP/MQTT libraries and also off-the-shelf firmware such as Tasmota or ESPHome allowing it to be integrated with home automation software like Home Assistant.
Features:
Specifications:
Product code: |
HCDVBD0045 |
Supply voltage: |
5V (or 3.3V via reg bypass mod - see below) via + & - solder pads or 5V & GND serial header pins |
Current consumption (deep sleep): |
2mA (inc module LED) |
Current consumption (modem sleep): |
21.5mA |
Current consumption (connected to WiFi network): |
215mA peek / ~72mA idle |
Interfaces: |
+ & - power solder pads, serial programming interface (5V tolerant), program mode button |
ESP8266 type: |
ESP-07 |
ESP8266 clock: |
80MHz |
ESP8266 Flash: |
8Mbit |
ESP8266 Transmit power: |
802.11b: 16±2 dBm (11Mbps) |
802.11g: 14±2 dBm (54Mbps) |
|
802.11n: 13±2 dBm (HT20, MCS7) |
|
Temperature sensor range: |
-40 to 80oC |
Temperature sensor resolution: |
0.1oC |
Humidity sensor range: |
0 to 100 %RH |
Humidity sensor resolution: |
0.1 %RH |
LDR sensor range: |
0V = 100%, 1V = Dark |
PIR Trigger on time: |
~4 seconds |
PIR Sensor angle: |
100 degree cone |
Sensor range: |
~3 to 5 metres |
Dimensions (LxWxH): |
68.8mm x 22.4mm x 18mm |
Programming the ESP Home Sensor
To interface this module to your PC you will need an additional USB to serial interface adapter. The serial interface is compatible with both 3.3V and 5V TTL adapters:
https://hobbycomponents.com/usb-interface/586-ch340-usb-to-ttl-serial-adaptor
https://hobbycomponents.com/usb-interface/41-ftdi-usb-serial-port-adapter
https://hobbycomponents.com/usb-interface/396-usb-to-uart-serial-interface-module-adaptor
Connect the USB to serial adapter to the module's serial interface as shown above.
To put the module into programming mode hold down the program button (see image above) whilst plugging the USB adapter into your computer.
After uploading your sketch the module can be put back into run mode by removing and re-inserting the USB adapter or by cycling the module's power.
Basic sensor example:
This sketch uses the HCHomeSensor Arduino library to read the sensors and output their states to the serial monitor
-
#include "ESPHomeSensor.h"
-
-
// Create an instance of the ESHomeSensor library
-
ESPHS ESPHS;
-
-
void setup()
-
{
-
Serial.begin(115200);
-
-
// Initialise the library
-
ESPHS.init(EN_PIR_INTERRUPT);
-
}
-
-
-
void loop()
-
{
-
// Perform a read of the DHT22 (temp & hum)
-
if(ESPHS.DHTRead())
-
{
-
Serial.print((float)ESPHS.DHTTemp() / 10);
-
Serial.print(" : ");
-
Serial.println((float)ESPHS.DHTHum() / 10);
-
}
-
-
// Read the LDR level
-
Serial.println(ESPHS.LDRRead());
-
-
// Read the current PIR state and how many times it has been triggered
-
Serial.println(ESPHS.PIRRead());
-
Serial.println(ESPHS.PIRTrigs());
-
-
delay(2000);
-
}
3D Printer Case:
Case not supplied with development board
For customers with a 3D printer we have uploaded a custom case to Thingyverse which can be printed out on a standard 3D printer. You can find the STL files here:
https://www.thingiverse.com/thing:6027205
Downloads:
For more information including Arduino setup instructions, library, and sketches please see the product forum post here
Specific References
13 other products in the category
ESP-07 ESP8266 Serial Wifi...
This amazingly priced wireless module allows any microcontroller to connect to a 802.11b/g/n...
ESP-01S / ESP01S Relay...
This relay module is designed for the ESP-01s ESP8266 module. It features a 6 pin IDC socket...
ESP-01 (ESP8266) wireless...
This amazingly priced wireless module allows any microcontroller to connect to a 802.11b/g/n...
Prototyping adapter for...
This adapter board is designed specifically for the ESP8266 ESP-07, ESP-08 and ESP-12 2.4GHz...
ESP-01S / ESP01S ESP8266...
The ESP-01S is an updated version of the popular ESP-01 module, a compact and powerful Wi-Fi...
ESP8266-D1 Arduino...
The ESP8266-D1 is a wireless 802.11 (Wifi) microcontroller development board compatible with...
ESP-12 (ESP8266) wireless...
This amazingly priced wireless module allows any microcontroller to connect to a 802.11b/g/n...