Circuit Diagram

For this experiment, I used a HC-SR04 distance sensor. The trigger and echo pin were connected to D2 and D3. A 10K resistor was connected between echo and D3 for providing stable readings.

A buzzer and a LED were connected to the board for signaling the connection since I can’t watch the serial readings during the match.

The power wire on the right aimed to send power to both side of the board (although the polarity was swapped in the circuit diagram and my initial design, it somehow worked fine).

The circuit diagram was created based on the reference provided from class (ref.circuitDiagram).

Pages: 1 2 3 4 5

Discover more from Melanie Yan

Subscribe now to keep reading and get access to the full archive.

Continue reading