Blog posts tagged with 'HC-SR04'

An Automatic Water Dispenser with Distance Sensor and Solenoid Valve
Engineering illustration: An Automatic Water Dispenser with Distance Sensor and Solenoid Valve

Build an automatic water dispenser that opens a solenoid valve when a container approaches, using a distance sensor and a MOSFET transistor.

HC-SR04 with Arduino: Wiring and Reliable Distance Measurement
Engineering illustration: HC-SR04 with Arduino: Wiring and Reliable Distance Measurement

Trigger the HC-SR04, measure echo time, and calculate distance with a timeout, while accounting for target angle, surface and air temperature.