Metering – Instrument Projects

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

Infrared Rangefinder

Homemade Infrared Rangefinder (Similar to Sharp GP2D120) using Arduino

Here is my instructable on how to construct a pretty simple (for some!) short range infrared rangefinder/range sensor. Infrared rangefinders are very useful in a number of projects. The majority of these come from obstacle detection (in robots) or generally detecting distances! The one shown here is only a simple rangefinder and will only really

Homemade Infrared Rangefinder (Similar to Sharp GP2D120) using Arduino Continue Reading

Scroll to Top