I2S Player (Part 4) : Adding volume control

August 25, 2020 XTronical 3

In this article we add in volume control and go through the principles of changing the volume of digital samples. Video covering everything just below, source code/circuit even further below! If you’ve not seen the previous episodes then these are essential reading/watching. This was the last one – or use […]

ESP32 I2S Part 3 – Playing Wavs from SD Cards

August 21, 2020 XTronical 9

A detailed look at how to play WAV’s from SD without using 3rd party libraries for transfer of WAV’s to I2S. It should give you enough detail to add this into your own code/wav players. Video Below which goes through everything and sources code/diagrams afterwards. INTROAs always time-codes are available […]

ESP32 – Intro to I2S Part 1

August 1, 2020 XTronical 17

This is the first in a series of videos and articles explaining I2S and how to use with the ESP32. This opening episode keeps it very simple just using the included standard Espressiv libraries. In the video there is a full explanation of how I2S is implemented followed by a […]

Improving our ESP32 MP3 Player

June 17, 2020 XTronical 1

We saw in the last instalment (here) how to simply play an MP3 on our ESP32. In this article/video we look at how to add volume control and to play all the MP3’s that we put on the root directory of our SD card (ignoring anything else). The video below […]

DAC Audio 4.2.1 Released

October 25, 2019 XTronical 13

This version fixes some bugs and adds an additional master volume option. Most of this work is courtesy of two subscribers. One of which did some significant bug fixes, especially on making the library work whilst writing to EEPROM. I only fixed one minor bug. But they don’t want any […]

Using DAC’s on an Arduino

May 2, 2019 XTronical 0

This article shows how to use the MCP4725 DAC (Digital to Analogue Converter) on an Arduino. Arduino’s like many other MCU’s lack this useful functionality.

Driving a Speaker

October 20, 2018 XTronical 6

Driving a Speaker – Adding an Audio Amplifier (Adding the PAM8403 to a MCU) Piezo speakers (see here) are great where you don’t need high quality or loud sound or indeed where space is at a premium. But for anything else a small (or even large speaker) is the only […]