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,068
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

Nick Koumaris

13 projects • 303 followers
My name is Nick Koumaris and I am a software engineer from Sparta, Greece. I love building projects and share them with the world!

Comments