Alan Yorinks
Alan Yorinks
1 min read

Categories

  • arduino,telemetrix,esp32

Tags

  • arduino

For those celebrating at this time of the year (and to those who may not be celebrating), I wish to extend my best wishes for health, happiness, and prosperity.

This posting is just a quick update on what I have been working on. As of late, most of my efforts have been centered around the Telemetrix Project. Support has been provided for Arduino, STM32, and ESP8266 MCUs. The latest efforts are devoted to the ESP32.

The ESP32 has been somewhat of a challenge. Things are somewhat non-standard as to how things like pin modes are represented in the ESP32 Arduino Core, which caused a little confusion but is resolved now. I have a non-asyncio version that runs over WiFi. My next goal is to get serial over Bluetooth and BLE functioning. Easier said than done. Bluetooth turns out to be a maze of twisty little mazes. Many of the articles I have found have not been very helpful, but I found what I believe is a treasure trove of information that hopefully will allow me to make some progress. The information is located on the techtutorialsx blog.

Here is a list of articles from that blog that I hope will be useful.

ESP32 Bluetooth: Using the BTstack library

ESP32 Bluetooth: Finding the device with Python and BTStack

ESP32 Arduino Bluetooth classic: Getting started

ESP32 Arduino Bluetooth Classic: Setting the device name

ESP32 Arduino: Serial communication over Bluetooth Hello World )

ESP32 Arduino: Getting the Bluetooth Device Address

ESP32 Arduino Serial over Bluetooth: Receiving data

ESP32 Arduino Bluetooth: Finding the device with Python

ESP32 Arduino Bluetooth Classic: Controlling a relay remotely

ESP32 Arduino Serial over Bluetooth: Client connection event

ESP32 Arduino Serial over Bluetooth: Client disconnection event

ESP32 Arduino Serial over Bluetooth: Get client address

My goal is to be able to auto-discover the ESP32 within the Telemetrix Python client without having to force the user to do any manual steps to create the connection.

If it turns out that I cannot achieve this goal, I most likely will abandon Bluetooth and BLE support for the ESP32. Hopefully, I will be able to figure it out ;-).

See you in the New Year.