Do you need a better alarm to get you up in the morning, maybe something that screams at you or barks? Maybe suprise your friends with a talking refridgerator (to shame them for stealing your pizza). For any of this, and more, all you need is this module, some speakers, and your project will be complete.
Some microcontrollers can play sound via the built-in digital-to-analog speaker. However, you cannot connect directly to the contacts of the microcontroller if you want to reproduce it. The microcontroller contacts produce too little current and the signal cointains a constant (DC) noise, which would ruin the audio signal.
This audio output module amplifies the signal and removes the DC component, enabling you to create the sound system of your dreams.
The module is connected to four pins on the controller:
If you need to send a signal from one analog pin of the microcontroller to two speakers at once, you can close the contacts with a jumper.
Speaker wires can be securely fixed in place with the screw terminals provided. Connect the sensor via 3-pin jumper cable to receive a signal from the scanner. The 3-pin jumper cable needed for the connection is included in the kit.
There are several different ways to wire this module:
Troyka Shield. The most straightforward method. Connect the module to a pin group on Troyka Shield with the 3-pin jumper cable and you’re ready to interface with it from your Arduino.
Troyka Slot Shield. The best choice for quick prototyping. Using slots on the shield, you can get rid of cables. The module will be held securely in place using both pin headers.
Breadboard. For advanced use. Troyka pin headers have 0.1” spacing which is compatible with any breadboard. Simply wire the module like you would do with any IC.