A Sound Generator Using Time-of-Flight Sensors
Build a modern twist on the classic Theremin using time-of-flight sensors and analog sound generation. No musical talent required, just a love for tinkering!
The sensors communicate via I²C. I used a breadboard-friendly breakout board from Adafruit, which includes level shifting and voltage regulation, to help prototyping. The XR2206, though discontinued, is still widely available as clones. A capacitor/resistor pair controls the frequency of its output. I chose to use a PWM output from a microcontroller (which is still mandatory due to the sensors using I²C…) to vary the timing resistance, changing the frequency. Volume is controlled in a similar way via another PWM channel, with another transistor adjusting the XR2206’s output gain.

Want to build a project?
Bring your design to life with the Elektor PCB Service, powered by Eurocircuits. Upload the project files and order professionally manufactured PCBs or assembled boards through a proven European production platform.
Supporting KiCad, Eagle, Gerber, and ODB++ formats, the service is suitable for everything from prototypes and validation builds to series production and volume manufacturing.
Made in Europe. Fast. Reliable. Professional.

Commenti (0 commenti)