Hello. Last night I configured an esp8266 gateway and integrated it into MQTT/Home Assistant/Nodered with a couple of off the shelf 433mhz devices. So far so good, I love the project!
Now that I have a working gateway, I wondered if it’s possible to send data to the it via RF from standalone arduinos (possibly just using bare 328 chips for power saving) fitted with 433 tx modeuls placed in remote locations on battery power.
I invisige these would be in deep sleep and report temperature/humidity/distance and perhaps other data back every x minutes.
Is this something that can be done? I realise there are probably sensors out there I can buy which would be easier to integrate but I like to diy where possible, so I thought I’d ask the question.
Thanks very much for this. I will have a go and let you know how I get on. I remembered that I have a TPL5110 sitting at home, so I might just use this instead to achieve the power savings.
So far so good. The data is flowing into home assistant nicely with a value template to filter the key and the power usage isn’t bad.
I estimate 25mA while transmitting and the spec sheet of the TPL5110 is 20uA so that’s higher than yours. I might have a go changing the bootloader and using deep sleep instead.
I have been using a bare 328p but with an external crystal. I have read that I can use 3v if I change from 16 down to 8mhz which means flashing the bootloader like you mentioned.
I’ve also tested with an attiny85 and that works well on 2xaa (I only need 2 i/o pin for each of the 3 projects I have in mind).
I have lost some data due to sdcard corruption… but here is the values reported in 2017:
|2017-07-02 20:56:31|4541|
|2017-07-02 21:47:14|4523|
|2017-07-02 21:47:15|4523|
|2017-07-02 23:28:42|4541|
|2017-07-03 01:10:10|4523|
|2017-07-03 01:10:11|4523|
|2017-07-03 02:00:54|4523|
|2017-07-03 04:33:06|4541|
|2017-07-03 06:14:33|4541|
|2017-07-03 06:14:34|4541|
|2017-07-03 07:05:17|4523|
|2017-07-03 07:56:00|4523|