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 Continue Reading

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 Continue Reading

Scroll to Top