TOP Contributors

  1. MIKROE (2663 codes)
  2. Alcides Ramos (358 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (112 codes)
  5. Chisanga Mumba (90 codes)
  6. S P (73 codes)
  7. dany (71 codes)
  8. MikroBUS.NET Team (35 codes)
  9. NART SCHINACKOW (34 codes)
  10. Armstrong Subero (27 codes)

Most Downloaded

  1. Timer Calculator (137093 times)
  2. FAT32 Library (70234 times)
  3. Network Ethernet Library (56120 times)
  4. USB Device Library (46434 times)
  5. Network WiFi Library (42060 times)
  6. FT800 Library (41384 times)
  7. GSM click (29111 times)
  8. mikroSDK (26561 times)
  9. PID Library (26489 times)
  10. microSD click (25486 times)
Libstock prefers package manager

Package Manager

We strongly encourage users to use Package manager for sharing their code on Libstock website, because it boosts your efficiency and leaves the end user with no room for error. [more info]

< Back
mikroSDK Library

2x30W Amp click

Rating:

5

Author: MIKROE

Last Updated: 2018-06-18

Package Version: 1.0.0.0

mikroSDK Library: 1.0.0.0

Category: Amplifier

Downloaded: 3466 times

Not followed.

License: MIT license  

2x30W Amp click is a class-D audio amplifier with a tremendous output power, considering its size and lack of huge heatsinks, usually associated with the audio amplifiers.

No Abuse Reported

Do you want to subscribe in order to receive notifications regarding "2x30W Amp click" changes.

Do you want to unsubscribe in order to stop receiving notifications regarding "2x30W Amp click" changes.

Do you want to report abuse regarding "2x30W Amp click".

  • mikroSDK Library 2.0.0.0
  • Comments (0)
DOWNLOAD LINK RELATED COMPILER CONTAINS
mikroBasic PRO for ARM
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroBasic PRO for AVR
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroBasic PRO for dsPIC30/33 & PIC24
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroBasic PRO for FT90x
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroBasic PRO for PIC
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroBasic PRO for PIC32
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroC PRO for ARM
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroC PRO for AVR
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroC PRO for dsPIC30/33 & PIC24
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroC PRO for FT90x
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroC PRO for PIC
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroC PRO for PIC32
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroPascal PRO for ARM
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroPascal PRO for AVR
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroPascal PRO for dsPIC30/33 & PIC24
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroPascal PRO for FT90x
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroPascal PRO for PIC
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroPascal PRO for PIC32
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc

mikroSDK Library Blog

2x30W Amp click

2x30W Amp click

Native view of the 2x30W Amp click board.

View full image
2x30W Amp click

2x30W Amp click

Front and back view of the 2x30W Amp click board.

View full image

Library Description

The library allows the device to be enabled or disabled and allows the mute and the unmute operation. The library also has the ability to check fault condition (over current, over temperature and too high DC offset condition).

For more details check the documentation.

Key functions:

  • void c2x30wamp_enable( uint8_t state ) - The function allows the device to be enabled or disabled.
  • void c2x30wamp_mute( uint8_t state ) - The function performs the mute or the unmute operation.
  • uint8_t c2x30wamp_checkDiagnostic( void ) - The function checks if the device in a fault condition or in a normal operation state.

Examples Description

The demo application is composed of three sections:

  • System Initialization - Initializes peripherals and pins.
  • Application Initialization - Initializes GPIO driver and allows the device to be enabled.
  • Application Task - (code snippet) - Allows the mute operation for a period of 4 seconds, and after that allows the unmute operation for a period of 10 seconds. After that time, it checks if the overcurrent fault, over temperature fault or too high DC offset fault occurred.
    Note: When under or overvoltage condition occurs the output goes to high impedance state, but the FAULT pin will not be asserted.
     
void applicationTask()
{
 c2x30wamp_mute( _C2X30WAMP_MUTE );
 Delay_ms( 4000 );
 c2x30wamp_mute( _C2X30WAMP_UNMUTE );
 Delay_ms( 10000 );

 faultCheck = c2x30wamp_checkDiagnostic();
 if (faultCheck == 0)
 {
 mikrobus_logWrite( "Fault condition!", _LOG_LINE );
 }
}

mikroE Libraries used in the example:

  • UART

Additional notes and information

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. The terminal available in all MikroElektronika compilers, or any other terminal application of your choice, can be used to read the message.

ALSO FROM THIS AUTHOR

RS232 2 click

0

The RS232 communication standard is established back in the ‘60s, but thanks to its implementation on a wide range of devices.

[Learn More]

Bluetooth click

0

Example for Bluetooth click board in mikroBUS form factor. This expects a message from the Master (Bluetooth dongle, mobile phone, etc) and displays in on the Lcd.

[Learn More]

UV 4 click

5

UV 4 click is a powerful Ultra Violet (UV) sensing device and Ambient Light Sensor (ALS) Click board, featuring a sensor with a very wide dynamic range of detectable light intensity, across two ADC range settings.

[Learn More]