Login

Interface soil moisture sensor and RGB LED with NodeMCU

Objectives

  • Interface soil moisture sensor 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. Soil moisture sensor (quantity: 1 no.)
  6. Jumper wire – male to male (quantity: 5 no.)
  7. Jumper wire – male to female (quantity: 3 no.)
  8. Arduino IDE on your computer

Let’s begin!

 

Interfacing soil moisture sensor 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.

We would love to see what you build out of these learnings!

Click here to submit your projects, share it with the world and stand a chance to be rewarded.

top

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

X