Nick Koumaris
Published © GPL3+

DIY Soil Moisture Monitor With Arduino and a Nokia 5110 D...

In this tutorial we are going to see how to build a very useful Soil Moisture Monitor with a big Nokia 5110 LCD display using Arduino...

BeginnerFull instructions provided1 hour7,183
DIY Soil Moisture Monitor With Arduino and a Nokia 5110 D...

Things used in this project

Story

Read more

Code

Code snippet #1

Plain text
void loop() {lcd.clrScr();
lcd.drawBitmap(0, 0, ui, 84, 48);
sensorValue = analogRead(sensorPin);  //We read the sensor herepercent = convertToPercent(sensorValue);
percentString = String(percent);
stringLength = percentString.length();
displayPercent(stringLength);
  
  lcd.update();
  delay(1000);
}

Credits

Nick Koumaris
15 projects • 317 followers
Software engineer (13+ yrs) turned cybersecurity analyst. Passionate about AI security. SOC & IoT/embedded security. Maker & educator.

Comments