Concept
I tried to create an interactive traffic signal by integrating a push button and a potentiometer connected to two LEDs. Upon pressing the digital input push button, the red light illuminates, while the potentiometer, serving as the analog input, enables control over the brightness of the yellow light. This dual-input system represents a significant challenge, as initially, I could only manage them separately.
Reflection:
Coding proved to be an inspiring task, particularly in merging both analog and digital components seamlessly. Despite the initial difficulty, this project served as a valuable learning experience, providing insights into the intricacies of combining different inputs and coding for a cohesive interactive system. As I look ahead, the incorporation of the third color, red, looms as the next exciting phase, promising further growth and mastery of interactive design.
Materials used:
- Arduino board
- Potentiometer
- 2 LEDs (red and yellow)
- Resistors
- Tactile push-button switch
- Breadboard
- jumper wires
Video Links