Objectives
- Interface LDR sensor module and RGB LED module with NodeMCU
Things
- NodeMCU board (quantity: 1 no.)
- Micro USB cable A to B (quantity: 1 no.)
- Breadboard (quantity: 1 no.)
- Common Cathode RGB LED module (quantity: 1 no.)
- LDR sensor module (quantity: 1 no.)
- Jumper wire – male to male (quantity: 7 no.)
- Jumper wire – male to female (quantity: 2 no.)
- Arduino IDE on your computer
Let’s begin!
Interfacing LDR sensor module and RGB LED module with NodeMCU
Final Code
To copy the code, right click on view raw at the bottom of the code, click on open link in new tab and then copy the code.
0 responses on "Interface LDR sensor module and RGB LED module with NodeMCU"