User Tools

Site Tools


project:maerklin:system_control:start

This is an old revision of the document!


System Control

There is a main component, which is the system control device. It's powered by an ESP32 S3 Mini (LOLIN) and a LCD display (128×64). The main purpose was to control the LEDs for the day/night cycle.

Introduction

The main component is currently a ESP32 S3 Mini. It's form factor is ideal for a small box and the power is enough for every task, we need in the control center. Because we needed some user input, I created a custom PCB, which holds the ESP32. On the board are 6 tacticle buttons. They are used for a D-Pad and select, back buttons. The LCD does show a custom UI library on top of u8g2.

Extensibility

This system is build to be very extendable. So I designed a wireless system for indoor usage based on Bluetooth LE. This decision was mainly of two reasons. First, I wanted to use BLE within a new project and the second, the most important one, was to be independent of the MCU. Currently I use ESP32, which can handle WiFi and BLE, but I also want to test STM32 (which only include BLE - e.g. the STM32WB-Series).

Technical Details

Every client advertised a specific service. The System Control scans all BLE devices and filters for this UUID. Within this service is a capabilities characteristic, which send the capabilities after the System Control activate notify on this. This way the System Control can build the UI accordingly to the transmitted data.

More indepth information will be following, after I finished the MVP.

Source Code

Github Action:

Clients

The list of the clients, which can be connected to the system is:

- Miniature Town

project/maerklin/system_control/start.1748530970.txt.gz · Last modified: by Peter Siegmund