As part of our Laboratory Activity 1 in ECE 108: Digital Electronics class, we were told to create a system that can control light bulb using a computer. We were not given any manual so its up to us how we can come up with that kind of system. In our design, we used Arduino Uno to provide communication from the computer to a relay. The relay connected to the Arduino served as the switch that can ON or OFF the lights. The software to control the lights was programmed using Microsoft Visual Studio and it was written using C# programming language. The instruction from the computer is sent using Serial communication.
The full Visual Studio code for GUI can be found here.
Actual Image
Our system can control five (5) LED at the same time.
The LED 1 is turned ON using ON/OFF button.
The LED 2 is turned ON using Countdown Timer.
The LED 3 is turned ON using Date and Time Scheduler