Cinema Display LED control with 9V-12V ESP8266 Web Switch
The next step in turning a $15 box into a $40 project was to add an ESP8266 relay board to enable WiFi control for the sign light. My controller is ESP8266 Link Sprite LinkNode R1 that was locally available at Microcenter for $11.
Basic Circuit.
The basic idea is to turn the ESP8266 into a 9V switch that needed no external power. I wanted to tap the 9V intended for the display LEDs and drop it to 5V to run the ESP8266 without need of a 2nd power source.Two diodes tap power from either jack and sends it to the ESP8266 and relay circuits. It doesn't matter which jack is used as the inbound power source and which as the outbound to the display. Either will work because of the two diodes. They are arranged a way that doesn't limit which direction current flows through the relay.
Fritzing didn't have any LinkNode devices. The relay and WeMos in the Fritzing diagram are actually on the same LinkNode board.
Parts
I was worried about wifi reception but that isn't an issue with my target location.
The two barrel jacks act as input and output ports. The ports are "joined" through the actions of the relay. Either port can act as either input or output.
The final design uses a UBEC switch mode DC regulator intended for R/C devices. That regulator accepts 5.5V to 26V inbound that it converts to 5V outbound. This means the device actually acts as a self powered in-line switch for any circuit 5.5V to 26V
- ESP8266 board with relay
- 2 panel mount barrel sockets.
- 1 UBEC regulator
- 1 Mentos tin
- 2 Diodes
Input / Output
GitHub
Source code for this project can be found on GitHub: https://github.com/freemansoft/ESP8266/tree/master/Relay-OTA-demo
Comments
Post a Comment