This is the third project of Human Interaction and Computer (II3231) subject.
This time, we have to combine one (or more) 7-Segment sensors with another sensor—anything. So, we made a tool to measure distance by utilizing Arduino Uno.
Oh, before I forget, we made this at 2 o’clock in the morning. It just so happened that my friend randomly wanted to make this project at that time.
Okay, here are the tools and materials for this project:
- Arduino Uno
- Arduino-to-PC USB Cable
- Jumper cables (I counted 20 cables)
- 2 7-Segments (common cathode)
- Breadboard (preferably the big ones)
- Ultrasonic Sensor (HC-SR04)
Below are the schematics and the coding required for this project:
And here are the screenshots of the coding (here‘s the source code):
If you noticed carefully, there are several cables that are going into the same Arduino pin. We did this due to the limited pin available in Arduino. Cables who have the same kind of pins will go into the same Arduino pin so they can work alternatively.