analog

Arduino while loop

How to use a while loop to calibrate the value of an analog sensor using Arduino

Sometimes you want everything in the program to stop while a given condition is true. You can do this using a while loop. This example shows how to use a while loop to calibrate the value of an analog sensor. In the main loop, the sketch below reads the value of a photoresistor on analog pin 0 and […]

How to use a while loop to calibrate the value of an analog sensor using Arduino Read More »

HSM 20G temperature humidity analog sensor Nokia5110 LCD

HSM-20G temperature & humidity analog sensor + Nokia5110 LCD

Temperature and humidity measurement are always a nice addition to hobbyist projects. In my previous post, I’ve discussed the DHT11 sensor, which is capable of measuring both temperature and humidity. They are digital sensor and provide calibrated outputs with temperature and relative humidity. I’ve also demonstrated how to interface with Arduino and display it on

HSM-20G temperature & humidity analog sensor + Nokia5110 LCD Read More »

Scroll to Top