in EE 333 we learned about basic and complex circuits that aid in the design of a project. The only constraint in the project was that we needed to implement a microcontroller device to control the device. In this case we used a bare Arduino (bareduino). Any other circuits were designed in PCB software.
In our group of three, we decided to make a convenient clap on/off circuit to control a peripheral wall power outlet at 120VAC.
This image shows a basic block diagram of the functions of our device. to summarize, our device was a simple set of circuits to provide an entertaining output. Despite the simplicity, we were hard at work of constantly troubleshooting our circuits.
The key take away from this class was that given our inexperience with creative design from the ground up, we implemented circuits learned throughout coursework.
Creating this device greatly increased our learning of teamwork, the design process, and the ins and outs of circuit theory provided by our previous courses.
This image shows a mock-up of our circuits. This design is not functional, it is intended for a visual representation of circuit connections.
Our first PCB design. The PCB board did not work, and after troubleshooting it was concluded that we needed to completely revise the design.
This video demonstrates our design. We built a power supply using a transformer and rectifier circuit. We then used two op-amps to increase the microphone signal and compare it to a tested-clap voltage level. The comparator then passed a 5V signal to the Bareduino for processing.
Our Bareduino was given a simple code to output voltage to a relay whenever two claps were detected within 0.8 seconds from eachother. This eliminated the possibility of false signals triggering the device.