So for the last few months I have in my spare time bean trying to find a way to run a PIR sensor on a battery.
I remember reading a news article a few months ago where Amazon, Google and Apple agreed to find a working standard for IOT devices. Lets face it currently you buy a Philips Hue bulb so you have to by the Philips hue hub same for IKEA, google or if you are really not to caring a Chinese hub.
So in the last attempt to create a low powered PIR sensor I failed due to the power requirements that the D1 mini needed. previous
My 18650 battery started at 4.2V the D1 mini needed 5v same with the PIR sensor, as the battery was depleted the voltage was also decreased, so the whole project was a little unreliable.
Using a D1 mini to go to deep sleep and wake up when motion is detected. On boot a message is sent via MQTT to node-red.
Recently I have not had that much time to work on my project but over the last few months, I have managed to complete my dashboard with semi-functionality. This includes the control over Lights, Heating and Blinds.
I was looking for a transformer from 230v to 5v. Although I found multiple options, the price per unit seemed a little too expensive about €3.00. While that does not look too expensive per unit, remember we also need a switch and an ESP module for WiFi connectivity. So, as an alternative I looked into these Sonoff devices.
I have found a better idea for communication between my IoT devices. With a little research online I found out about IBM’s MQTT technology.
The idea is to monitor via several sensors the status of the house and to have some kind of control. We will also have a gesture sensor attached to a relay, we can then swipe to turn on and of the lights. The sensors will post their data to a MySQL server running on a raspberry pi 3.Read More
I bet you were expecting a getting starting guide right?
Well, unfortunately, I think there are so many guides already published online I would advise to go and look one up.
I mean seriously is there really a need for so many people to publish getting starting guides, reminds me about cats on Facebook 🙂Read More