-->
Page 1 of 1

Esp-01 to Lightwave via MQTT

PostPosted: Thu Jan 28, 2016 9:50 am
by mugginsjm
I have a few legacy Lightwave sockets and although they are largely superceded by ESP wi fi devices, they do house all the requisite PSU, relays and 13A outlets. I'm getting into MQTT and have developed/plagiarised this sketch to drive them. It requires a cheap 433Mhz module, a transistor and an Led. I got fed up fighting with the GPio2 issues at boot and used the RX pin to drive the TX. The led monitors the MQTT connection and also flashes when there is activity. I attach sketch and if anyone has interest I will post some diagrams. I made a little custom PC but it could easily be built on Veroboard.
thanks
John

Re: Esp-01 to Lightwave via MQTT

PostPosted: Thu Jan 28, 2016 10:04 am
by eduperez
Looks very interesting! Could you post more info on the hardware part, please?

Re: Esp-01 to Lightwave via MQTT

PostPosted: Fri Jan 29, 2016 9:43 am
by mugginsjm
Hi
Attached is a rough diagram. I have been trying to boost the RF by driving it at 12V and hence the need for transistors. It seems to work well at 5V as shown in the diagram, without requiring transistors. You'll need a 3.3V regulator for the ESP-01.
I plan to house it in an enclosure from a dead PSU (wall wart), along with a mains to 5v module. 17cm aerial pokes out the side.