The concept
For this assignment, I wanted to make use of one of the sensors to automate a process. The first sensor I thought of was Grove Light Sensor, which is a module that is used to measure light intensity. The idea is simply controlling the speed of LED blinking based on the ambient brightness of the room. The system monitors brightness through the light sensor and intensifies the LED blinking speed in low-light or dark conditions, serving as a visual cue for urgent notifications.
Process
I started the assignment by creating a schematic diagram for my circuit, illustrated in Figure 1. The pivotal components include a light sensor, responsible for monitoring the ambient brightness of the room, and dynamically adjusting the blinking speed of the LEDs accordingly. Additionally, a toggle switch has been integrated into the circuit, allowing users to seamlessly switch between the two LEDs based on their preferences.
Figure 2 delves into the software aspect of the assignment. The software reads the digital input generated by the switch, ensuring a smooth and controlled transition between the two LEDs.
Video of implementation
Reflections
In this task, it was really interesting that I got to combine physical parts like circuits with software to create interactive and automated product. However, I faced some issues while designing the circuit. It was a bit confusing at the beginning to add these different components together, but I eventually figured it out by going step by step from using just a simple led to using a sensor for controlling other components.