Web Control LED(D-duino)
by lspoplove in Circuits > Remote Control
4948 Views, 80 Favorites, 0 Comments
Web Control LED(D-duino)
![Webcontrol1.jpg](/proxy/?url=https://content.instructables.com/F4O/A5MO/ISCATVFL/F4OA5MOISCATVFL.jpg&filename=Webcontrol1.jpg)
Control LED is always the first class to learn hardware like Arduino, Raspberry Pi…
But D-duino can do more than them.Let’s start the 1st class: Web control LED.
Here I use the LUA language to write this program.
Prepare
![webwxgetmsgimg.jpg](/proxy/?url=https://content.instructables.com/FVM/8ZJB/ISCATVSS/FVM8ZJBISCATVSS.jpg&filename=webwxgetmsgimg.jpg)
Programe
![Webcontrol2.jpg](/proxy/?url=https://content.instructables.com/F1P/LJLC/ISCATVOX/F1PLJLCISCATVOX.jpg&filename=Webcontrol2.jpg)
First I think you need to burn a new version firmware to D-duino.
Please refer to thishttp://nodemcu.readthedocs.org/en/dev/en/build/
Then open ESPlorer write this program into D-duino:
Don't forget to change your WiFi name and Password at the sencond line.
Remember LED's long foot is positive,short foot is negative.
Connect LED's positive pin to D3,D4,D5,D6,D7,D8,D9,D10
Connect LED's short pin to GND
Control Your LED
![Webcontrol3.jpg](/proxy/?url=https://content.instructables.com/F9R/B7PV/ISCATVPS/F9RB7PVISCATVPS.jpg&filename=Webcontrol3.jpg)
Check the site address on the OLED display and open it through internet explorer,
OK, Your first project is over.
You see,control led is the same with relay,buzzer... Have a try and enjoy this...