In this project you’ll discover how to design and create a Multisensor Shield for the ESP8266 Wemos D1 Mini board. The shield has temperature sensor (DS18B20), a PIR motion sensor, an LDR, and a terminal to connect a relay module. We’ll start by preparing all the hardware and then program it.
Program and Test the ESP8266 WeMos D1 Mini Multisensor Shield – Part 2
In this second video, we’ll program the Wemos D1 Mini Multisensor Shield with a code that runs a web server that allows you to monitor and control the multisensor shield based on several configurable settings.
Design and Build the ESP8266 WeMos D1 Mini Multisensor Shield – Part 1
In this first video we’ll decide the hardware that we’re going to use. We’ll also take a look at this project’s main features and how to design and assemble your own WeMos D1 Mini Multisensor shield.
- Automatic motion mode, meaning that when it detects motion the relay stays on for a determined number of seconds.
- Or you can use the luminosity mode, so the relay turns on when the light goes below a certain threshold value.
- Finally, there’s an option to control the relay based in the current luminosity value and if motion is detected.
EXPANDED TECHNICAL DETAILS
Compact IoT Development
The Wemos D1 Mini combined with a multishield provides a space-efficient platform for desktop IoT tools.
- ESP8266 (WiFi) Core: Leveraging the 80MHz clock speed of the ESP8266, the shield can handle simultaneous web-server hosting and sensor polling.
- Multi-Sensor Suite: Typically features integrated slots for a DHT11 (Temp/Humidity), a BMP180 (Pressure), and a simple Button/LED interface.
Stackable Efficiency
- Pin Mapping: Discusses the D1 Mini's specific pinout (e.g., D1 = SCL, D2 = SDA), which is optimized for I2C communication, making it easy to add professional displays or specialized analog-to-digital converters (ADS1115).