Skip to content

Ultrasonic Sensor

Dario edited this page Dec 23, 2018 · 13 revisions

HC-SR04 The money box monitors available space in the coin container via an ultrasonic sensor.

Note: the effectiveness of this choice is yet to be proved.

HC-SR04 (image retrieved from Internet)

Connections

Arduino Pin Function
D7 ultrasonic sensor (TRIG)
D8 ultrasonic sensor (ECHO)

Library

A (very) basic library has been developed to abstract ultrasonic sensor behaviour.

(next Other Devices)