The Spektrum Satellite Disaster

I am planning to design and build a 3D printed RC Airplane. To shortcut the “Remote Control” functionality I bought a second hand Spectrum DX 6i that I wanted to use together with a Spektrum Satellite Receiver: These Receiver Boards are quite small and it should be quite easy to use them together with an Arduino compatible board that uses a 3.3V logic. The Spektrum Satellites uses a serial data line.which can be read from Read more…

Taming the HW-627 Motor Controller

Quite some time ago I bought some cheap DRV8833 Motor Controller Boards (HW-627) from China and now I planned to use them in one of my projects. I was struggling quite a bit to figure out how this is working. This board is using the DRV8833 chip and can control 2 motors in parallel. Specifications: Product size: 18.5*16mm/0.73*0.63″ Input voltage: 3-10V Single H bridge Output current: 1.5A, can drive 2 DC geared motors Uses: It Read more…

Implementing a Synthesizer for the Raspberry PI and the ESP32 – Introduction

Overview I was playing with the idea to implement a simple Synthesizer for the ESP32.which would play different instruments. The ESP32 should have enough power to generate interesting sounds. The limitation however is on the memory.  So any approach which relies on sampled data and big sound buffers will just not work. Therefore we need to rely on playing the generated sounds as directly as possible. A Synthesizer is an electronic musical instrument that generates audio Read more…

The Most Beautiful Radio Music Player for the ESP32

In the last couple of blogs I was setting the stage for my Radio Music Player for the ESP32. I was thinking first that I will use one of the many existing web based music applications together with my ESP32 Bluetooth Player. But I soon realised that either they want my money or bombard me with annoying commercials! My GUI was written with Vue.js and I am using radiobrowser-api-rust to find the Radio Stations – Read more…

Progressive JavaScript Frameworks with Microcontrollers (Vue.js on ESP32)

The ESP32 can provide the functionality of a Webserver. There are plenty of examples where this functionality is used to provide a GUI to control the Microcontroller or to provide information from it. What all have in common: they is very basic and often plain ugly. Therefore the question is, how to run a modern Progressive JavaScript Frameworks together with an ESP32 in an easy way. Unfortunately it is out of the question to put Read more…

A Simple Arduino Bluetooth Music Receiver Library for the ESP32

The ESP32 provides a Bluetooth A2DP API that receives sound data e.g. from your Mobile Phone and makes it available via a callback method. The output is a PCM data stream decoded from SBC format. The documentation can be found here.  I2S is an electrical serial bus interface standard used for connecting digital audio devices together. It is used to communicate PCM audio data between integrated circuits in an electronic device. So we can just Read more…

Music from a Raspberry Pi over I2S

The simplest way to stream music from a Raspberry PI to an external amplifier is to connect the headphone jack to the AUX Input of the amplifier with the help of a corresponding connector cable. From a quality point of view a better approach is to use an external Digital to Analog Converter (DAC)  connected to the I2S pins of the Raspberry PI and for a PI Zero this is the only way because it Read more…

Music from a ESP32 Microcontroller

When I moved to my new place in the beautiful canton of Valais – I did not re-activate my old Turntable and Amplifier and just left them in a corner. Today I decided to reactivate my devices again but to my disappointment I could hear only some scratching sounds form my loudspeakers when I turned the different controls. I took my Technics SU-Z2 amplifier apart, cleaned it from the dust and applied plenty of Contact Read more…