So connect your mobile or your pc to the same network of which ssid & password you entered in the code then open the browser & type ip "192.168.43.72" and open this page & the remote as shown in image will appear then place the receiver of controller of RGB LED Strip near the IR LED connected to the nodemcu so that IR receiver of LED strip will receive data properly & when you press any key the browser the LED strip will behave according to the key pressed in the browser. Advanced WS2812/SK6812 RGB/RGBW LED controller with on-the-fly Python animation programming, web code editor/control interface, 1D, 2D, and 3D display support, and E1.31 sACN support for Raspberry Pi. So after installing library then you'll find a code in it named as "iresprgbwebserver" code & open that code then enter your network (wifi router/hotspot) ssid and password in the code & upload it to your nodemcu. Connect the positive terminal of 12V power supply to the 12V pin of RGB LED strip. Connect the Ground of 12V power supply to the Ground of Arduino. The activation is done through a local web interface. Connect the emitter of all the transistors to the Ground of Arduino. Alternatively, I can hook into the IR signal and send an IR signal using the ESP8266. The 3 MOSFETs on the images are P0903BDG MOSFETs. The board looks like this: If I turn on the red light, the 'R' gets grounded and therefore applies 12v to the rail. Your base resistor is too large and is limiting the current to your LED strip to no more than 165mA per channel. So download the given file and you'll find the library & code both in that zip file & install the library into Arduino IDE. This is a project to drive RGB led strips with ESP8266 (nodeMCU module). It doesnt matter if its an Arduino or the ESP8266, both should be able to do this. So the maximum current you will pass from collector to emitter is 503.3mA 165mA. Circuit Part : The circuit is very simple all you need to do is to connect the IR LED along with 220 ohm resistor to the pin D2 on the nodemcu as shown in image given.įor this project you need to install "IRRemote-ESP8266" library in your Arduino IDE
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |