Adding a buzzer to Teensy 2.0 controller

PiKiiler

New member
Hello. I am making a USB controller using a Teensy 2.0 and I wanted to add a buzzer to it. When you're hit, fall, or die I want the buzzer to rumble for a second and then stop. I have no idea how to do this, so any help would be appreciated.
 
This is probably best to approach as 3 smaller projects.

#1 - Get the software to send something when the event happens which you want to cause buzz. Maybe try to have it change the LEDs on your USB keyboard. This is a first critical step, because the rest won't be possible until your PC sends some sort of message Teensy can receive.

#2 - If you got a keyboard LED to change, the next step is programming a Teensy to act as a USB keyboard. Use Tools > USB Type to select it. Then try to write code on the Teensy side which monitors the received LED info.

#3 - The last part is actually wiring a buzzer up to Teensy and adding code to turn it on/off. We can help more if you choose a buzzer and share a link to the technical info. Details matter for this sort of circuitry help.
 
Back
Top