Login

Interface LDR sensor module and RGB LED module with NodeMCU

Objectives

  • Interface LDR sensor module and RGB LED module with NodeMCU

Things

  1. NodeMCU board (quantity: 1 no.)
  2. Micro USB cable A to B (quantity: 1 no.)
  3. Breadboard (quantity: 1 no.)
  4. Common Cathode RGB LED module (quantity: 1 no.)
  5. LDR sensor module (quantity: 1 no.)
  6. Jumper wire – male to male (quantity: 7 no.)
  7. Jumper wire – male to female (quantity: 2 no.)
  8. 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.

There you go!

Takeaway

Loader Loading...
EAD Logo Taking too long?
Reload Reload document
| Open Open in new tab
April 22, 2020

0 responses on "Interface LDR sensor module and RGB LED module with NodeMCU"

Leave a Message

Your email address will not be published.

top

Knowledge and Content by Li2 Technologies | © 2021 NASSCOM Foundation | All rights reserved

X