ESP32-A2DP Arduino Library – New Release

Today I published the new 1.2.0 Release of my ESP32-A2DP Library. It contains the following improvements: Metadata support with the help of a callback function – Thanks to JohnyMielony AVRC command support thanks to PeterPark Improved init_bluetooth checks, in case bluedroid was already initialized elsewhere – Thanks to Antonis Katzourakis No auto reconnect after clean disconnect – Thanks to Bajczi Levente The data is rescaled to when written to the internal DAC – Thanks to Read more…

jupyterlab-viewer-3d for Jupyterlab 3.x Kernel Released

About a year ago I was publishing a Jupyterlab plugin to view 3d files. That’s a quite useful functionality for my Openscad Kernel. Quite some time ago however it stopped from working because it was not compatible with the latest versions of the Jupyterlab kernel any more. So I thought it is about time to upgrade the plugin to support the latest 3.x kernel and add it back to my docker deployment. Today I managed Read more…

Installing “pico-arduino” with CMake

I finally could tick off the final to-do for my Pico-Arduino project: It is not necessary any more to install the project in advance. The project can now be treated as library and you can just pull it automatically from github with the help e.g. of a cmake fetchcontent. Here is a simple example: cmake_minimum_required(VERSION 3.19.2) set(CMAKE_C_STANDARD 11) set(CMAKE_CXX_STANDARD 17) include(FetchContent) FetchContent_Declare( arduino GIT_REPOSITORY https://github.com/pschatzmann/pico-arduino.git GIT_TAG main) FetchContent_MakeAvailable(arduino) project(use_as_library) add_executable(use_as_library use_as_library.cpp) # Pull in our Read more…

Machine Learning on the Rasperry Pico

Microcontrollers are not suitable to develop and train machine learning models. The resources are just not sufficient for this, but it is possible to use and deploy pre-trained models! I have added a simplified Tensorflow hallo world example where the model has been trained on the sin function, to my Pico-Arduino framework. The solution consists of only 3 implementation files: tf_hallo_world.cpp contains the Arduino sketch tf_hallo_world_model.h contains the (binary) trained model. CMakeLists.txt is used to Read more…

The first Drone Project for the Raspberry Pico

Most Arduino based Drone projects are optimized for AVR processors by writing directly to registers and use other AVR specific functionality (e.g. timers interrupts). The multiwii project is a good example of this and it would take quite some effort to convert it to be compatible with the Pico, because this logic is distributed all over the place. I “adopted” the CodeDroneDIY project because I only needed to replace the MotorsSpeedControl.cpp with a implementation which Read more…

WIFI and Bluetooth for the Rasperry Pico

I am quite enthusiastic about the new Raspberry Pico. However I find the C SDK not very friendly and I prefer to have something as simple as the Arduino API. I did not want to wait for the official Arduino support – so I started my own project. The major weak spot of the Pico compared to the ESP32 is the missing Wifi and Bluetooth functionality. I finally managed to add examples for the HC05 Read more…

Rasperry Pico SPI with the SdFat Library

I am quite enthusiastic about the new Raspberry Pico. However I find the C SDK not very friendly and I prefer to have something as simple as the Arduino API. I did not want to wait for the official Arduino support – so I started my own project. So far this has been just a Toy Project, but with the addition of SPI, we can now take on some more complex Arduino projects. In order Read more…

Arduino Based Guitar Pedals with Standard Components ?

A Guitar effects pedal is an electronic device that alters the sound of the instrument in different ways. They come in different types like Overdrive Pedals. Delay Pedals. Reverb Pedals. Multi-fx Pedals. Fuzz Pedals. Preamp Pedals. Looper Pedals. Chorus Pedals and playing around with them in different combinations can be quite addictive. You can find a few Arduino based solutions but they are usually based around some some custom boards. So I was wondering how Read more…

Bringing Order into my Microcontroller Chaos

I had too many micro controllers and sensors and I wanted to have simple box where I can put them and easily find my modules again. This is the perfect use case for 3D printing: Of cause the modules and micro controllers come in different sizes so the design needed to reflect this. It is written in OpenSCAD, so you can adjust it yourself, if you want to optimize the dimensions for your specific case… Read more…