For my first robotics project this year in Fusion, I followed the project book tutorials and made Project 6: Light Theremin. A light theremin is an electronic musical instrument that produces sound without physical contact. It uses electricity to produce two circuits, with pitch generated by the oscillators
For the code, I followed the instructions from the project book, however, I still had some issues with the code, so I used ChatGPT to help me debug the code. These were usually small mistakes, like having a missing closing ‘}’ at the end of phrases.
The Circuit
Components Needed
- Arduino Motherboard
- Breadboard
- 6x Cables
- Piezo
- Photoresistor
- 10 Kilohmn Resistor
The Code
As seen in the inline comments, you have first to calibrate the light sensor. While calibrating, the sensor will take the highest and lowest light levels detected and use those as baselines for the piezo to react to.
Through this project, I demonstrated my skills in circuit building, as I built the circuit, and Arduino programming, shown through the code used to program the circuit.
Leave a Reply