Audio Module and Speaker¶
Audio Amplifier Module

Audio Amplifier Module contains a HXJ8002 audio power amplifier chip. This chip is a power amplifier with low power supply, that can provide 3W average audio power for a 3Ω BTL load with low harmonic distortion (under 10% threshold distortion at 1KHz) from a 5V DC power supply. This chip can amplify audio signals without any coupling capacitors or bootstrap capacitors.
The module can be supplied by a 2.0V up to 5.5V DC with 10mA operating current (0.6uA for typical standby current) power source and produce a powerful amplified sound into a 3Ω, 4Ω, or 8Ω impedance speaker. This module has an improved pop and clicks circuitry for reducing significantly the transition nose at the powering on and off moment. Tiny size besides high efficiency and low power supplying make it applicable in widely portable and battery-powered projects and microcontrollers.
IC: HXJ8002
Input Voltage: 2V ~ 5.5V
Standby Mode Current: 0.6uA (typical value)
Output Power: 3W (3Ω load) , 2.5W (4Ω load) , 1.5W (8Ω load)
Output Speaker Impedance: 3Ω, 4Ω, 8Ω
Size: 19.8mm x 14.2mm
Speaker

Size: 20x30x7mm
Impedance:8ohm
Rate Input Power: 1.5W
Max Input Power: 2.0W
Wire Length: 10cm

The size chart is as follows:
Audio Cable

This is a 3.5mm male audio cable with a total length of 43cm. it has 3 connectors, red for the left channel, white for the right channel, and GND in the middle.
Circuit

After building the circuit according to the above diagram, then plug the audio cable into the Raspberry Pi’s 3.5mm audio jack.

If your speaker have no sound, it may be because the Raspberry Pi has selected the wrong audio output (The default is HDMI), you need to Change Audio Output to Headphones.
If you feel that the volume of the speakers is too low, you can Adjust Volume.
Example
3.1.3 Audio Module (Python Project)
3.1.4 Text-to-speech (Python Project)
4.1.2 Music Player (Python Project)
4.1.3 Speech Clock (Python Project)
4.1.5 Intelligent Visual Doorbell (Python Project)
1.8 Service Bell (Scratch Project)
1.9 Drumming (Scratch Project)
1.10 Drumming in the Air (Scratch Project)