audioamp9 2.1.0.0
|
AudioAMP 9 Click is a compact add-on board reproducing input audio signals with desired volume and power levels at sound-producing output elements. This board features the PAM8124, a 10W efficient, Class-D audio power amplifier from Diodes Incorporated for driving stereo speakers in a single-ended configuration.
We provide a library for the AudioAmp 9 Click as well as a demo application (example), developed using MikroElektronika compilers. The demo can run on all the main MikroElektronika development boards.
Package can be downloaded/installed directly from NECTO Studio Package Manager(recommended way), downloaded from our LibStock™ or found on Mikroe github account.
This library contains API for AudioAmp 9 Click driver.
audioamp9_cfg_setup
Config Object Initialization function. audioamp9_init
Initialization function. audioamp9_default_cfg
Click Default Configuration function. audioamp9_shutdown_on
AudioAmp 9 shutdown on function. audioamp9_mute_off
AudioAmp 9 mute off function. audioamp9_set_gain_level
AudioAmp 9 set gain function. This example demonstrates the use of the AudioAmp 9 Click board by changing the gain level.
The demo application is composed of two sections :
Initializes the driver and performs default configuration putting AudioAmp 9 Click into Gain 1 mode with unmuted output.
Controlling the volume of the speaker by setting the gain level, and increasing it every 5 seconds until the maximum level is reached, then the sound is muted for 5 seconds.
The full application code, and ready to use projects can be installed directly from NECTO Studio Package Manager(recommended way), downloaded from our LibStock™ or found on Mikroe github account.
Other Mikroe Libraries used in the example:
Additional notes and informations
Depending on the development board you are using, you may need USB UART click, USB UART 2 Click or RS232 Click to connect to your PC, for development systems with no UART to USB interface available on the board. UART terminal is available in all MikroElektronika compilers.