In this guide I will show you how to make a simple Wifi enabled PIR sensor using only and M5Stack Atom and a PIR unit.
For this project you will need:
- M5Stack Atom Matrix upgraded to UIFlow 1.8.3 Firmware,
- TailBat,
- PIR Unit,
- Small Grove cable.
- Small piece of double sided tape.
To connect everything together we just plug the TailBat into the Atom Matrix and connect the PIR unit to the bottom of the TailBat with the Short Grove cable and secured to the bottom of the TailBat with a small piece of double sided tape.
As far as code goes I have only developed a basic program for the Atom Matrix that lights up the display when the PIR unit is triggered.
The code so far makes the Atom Matrix act as a security light but I hope future versions of the code will allow me to send text messages on trigger.
Comments