If you search the market, you will find many different modules available to buy. Raspberry Pi calls these modules extensions and, depending on your project, you can buy the appropriate extension to increase your Raspberry Pi capabilities and make your project easier since there are many things already implemented. This means that you do not have to code and develop everything from scratch. Sometimes, it is worth spending time and searching for modules and similar projects. Speakers are one of them and you can buy them directly for your Raspberry Pi.
Unfortunately, Raspberry Pi Zero W has no audio input/output. So, there are two ways to play music, which are as follows:
- From HDMI
- From Bluetooth or Wi-Fi
There are some tutorials on how you can play audio from the HDMI port, but in this section we will go through playing audio via bluetooth or Wi-Fi. One popular...