Skip to the content
4 layers87 × 44 mmTahomaRemote, the printed circuit board in 3D

Both hard and software are tailored to the requirements of my domestic Somfy roller shutter installation, consisting of 9 roller shutters controlled by a Tahoma Switch.

Size
87 × 44 mm
Copper layers
4
Thickness
1.61 mm
Parts
92
Nets
157
Pads
422
Tracks, vias
696, 124
Pours
452
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
1 Apr 2026
Updated
24 Jul 2026

Overview

TahomaRemote is an open-source printed circuit board by SloBloLabs, from the SloBloLabs/TahomaRemote repository on GitHub. It is a 4-layer board of 87 × 44 mm with 92 parts on 157 nets, routed with 696 tracks and 124 vias.

It is built around the ESP-12F, PCA9685PW and LM1117DT-3.3. Its parts include 34 resistors, 28 capacitors, 5 ICs, 5 switches and 2 connectors. It belongs with the ESP8266 and STM32 boards of this library.

Main components

3

README

Readme.md

Tahoma Remote

image info

Overview

This device is an internet independent shutter control using the Tahoma Local API. At the same time, it serves as a proof of concept for integration of STM32F405 MCU with an ESP8266 using UART communication and Espressif AT command set.

Both hard and software are tailored to the requirements of my domestic Somfy roller shutter installation, consisting of 9 roller shutters controlled by a Tahoma Switch. The layout of buttons reflect the location of roller shutters looking top down to the flat for easy orientation. Adding/removing shutters to the setup is possible, but may require adaption of both hard and software.

This repository contains all ressources to build the device:

  • the firmware for the STM32 MCU
  • a script to upload ESP AT firmware to the ESP MCU
  • the board's KiCad design
  • a 3D model housing the board

Operation

  • Switch the device on
  • During the startup sequence, Tahoma Remote
    • initializes communication to ESP
    • sets up WIFI connection
    • fetches current shutter states from Tahoma Switch
  • The button colours reflect the actual shutter closures of each motor in HSV colour space:
    • green = up
    • blue = 50%
    • red = closed
    • and any colour inbetween
  • Choose your target closure amount using the slider pot
  • Hit the buttons of corresponding shutters to execute the target closure command
  • While motors are moving, corresponding buttons are blinking
  • Motor status is updated each 1,5 seconds

Highlights

As a proof of concept, these are the feature highlights of the project:

  • DMA driven UART communication between STM32F405 and ESP8266
  • Client side implementation of AT command set
  • Using Tahoma Local API. No internet required!
  • JSON stream parsing for memory efficient payload consumption (big up for the great lwjson project!)
  • Highly capable RGB Led driver implementation using DMA, I2C and PCA9685PW driver chips
  • FreeRTOS for independent UI and communication threads
  • All firmware code written in plain C/C++ using STM32 LL (Low Level) API
  • Compact design
  • Battery powered

Installation Notes

Flashing ESP Firmware

  1. Install esptool using

    text
    brew install esptool
  2. Go to https://github.com/espressif/esp-at/releases and find the link for the latest ESP8266 compatible AT firmware, such as

    ESP-WROOM-02-AT-V2.3.0.0.zip

  3. Download and extract the file into ESP subfolder.
    Within the "factory" subfolder, the archive will contain the firmware binary file called "factory/factory_WROOM-02.bin"

  4. Connect a USB serial adapter such as FTDI Friend or Arduino Uno

    text
    USB Serial Adapter            Tahoma Remote
                   GND ---------> GND
                    TX ---------> EDTX
                    RX ---------> EDRX
  5. Press and hold the ESP Boot button on Tahoma Remote and switch the device on. Then release the button again.

  6. Go to ESP subfolder and issue uploadATFW.sh script (check and apply correct settings regarding PORT and FWPATH variable!)

    text
    ./uploadATFW.sh

    If the command is not executable, add respective rights to it:

    text
    chmod u+x uploadATFW.sh

    The expected output looks something like this:

    text
    esptool v5.1.0
    Connected to ESP8266 on /dev/cu.usbserial-XXX:
    Chip type:          ESP8266EX
    Features:           Wi-Fi, 160MHz
    Crystal frequency:  26MHz
    MAC:                e0:98:06:0a:71:a6
    
    Stub flasher running.
    
    Configuring flash size...
    Flash will be erased from 0x00000000 to 0x001fffff...
    Flash parameters set to 0x0241.
    Wrote 2097152 bytes (582385 compressed) at 0x00000000 in 54.0 seconds (310.8 kbit/s).
    Hash of data verified.
    
    Hard resetting via RTS pin...

Flashing STM32 firmware

  1. Install VS Code

  2. Install STM32Cube Extensions for VS Code

  3. Add lwjson as submodule to the project

    text
    git submodule add https://github.com/MaJerle/lwjson.git
    git submodule update --init
  4. Rename config_example.h to config.h and configure your local credentials and system information:

  • WIFI_SSID: your WIFI SSID
  • WIFI_PASSWD: your WIFI password
  • TAHOMA_HOST: the Tahoma Switch hostname, typically in the form 'gateway-<box pin code>.local'
  • TAHOMA_AUTH: the developer token generated within Somfy App
  • shutterConfigTable takes a set of roller shutters in the system (see TahomaManger.h for the structure of ShutterConfig entries)
  1. Configure and build the project using device STM32F405RGT6 and GCC toolchain in VSCode

    alternatively, if cmake and ninja are installed on the system, you can run these commands:

    text
    cmake --preset Release
    cmake --build --preset Release
  2. Connect ST-Link to the SWO interface on Tahoma Remote

  3. Flash the firmware: Run and Debug and apply "STM32Cube: STLink GDB Server"

Parts

92
QtyValueFootprintReferences
19100nCapacitor_SMD:C_0402_1005MetricC1, C2, C4, C5, C10, C12, C15, C16, C17, C18, C21, C22, C23, C24, C25, C26 +3
18220Resistor_SMD:R_0402_1005MetricR4, R5, R6, R11, R13, R15, R16, R18, R20, R21, R22, R23, R25, R27, R29, R31 +2
9470Resistor_SMD:R_0402_1005MetricR8, R10, R12, R14, R17, R24, R26, R28, R30
9TC002-N11AS2XT-RGBSloBlo:TC002-N11AS2XT-RGBPB0, PB1, PB2, PB3, PB4, PB5, PB6, PB7, PB8
4MountingHole_PadMountingHole:MountingHole_3.2mm_M3_Pad_ViaH1, H2, H3, H4
310kResistor_SMD:R_0402_1005MetricR3, R19, R32
310uCapacitor_Tantalum_SMD:CP_EIA-3216-18_Kemet-AC3, C27, C28
31uCapacitor_SMD:C_0402_1005MetricC11, C29, C30
3FiducialFiducial:Fiducial_1mm_Mask2mmFM1, FM2, FM3
22u2Capacitor_SMD:C_0402_1005MetricC19, C20
24k7Resistor_SMD:R_0402_1005MetricR1, R2
2PCA9685PWPackage_SO:TSSOP-28_4.4x9.7mm_P0.65mmU1, U2
110nCapacitor_SMD:C_0402_1005MetricC9
1120R@100MHzInductor_SMD:L_0603_1608MetricFB1
11kResistor_SMD:R_0402_1005MetricR35
149.9Resistor_SMD:R_0402_1005MetricR33
1BatteryConnector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalBT1
1Bourns_PTLSloBlo:Bourns_PTL20S1
1Conn_01x06_SocketConnector_PinSocket_2.54mm:PinSocket_1x06_P2.54mm_VerticalJ2
1ESP Boot ModeButton_Switch_SMD:SW_Push_1P1T_NO_CK_KMR2SW3
1ESP ResetButton_Switch_SMD:SW_Push_1P1T_NO_CK_KMR2SW4
1ESP-12FRF_Module:ESP-12EU4
1LM1117DT-3.3Package_TO_SOT_SMD:TO-252-3_TabPin2U5
1PowerSloBlo:SW_Toggle_MS500SW5
1ST ResetButton_Switch_SMD:SW_Push_1P1T_NO_CK_KMR2SW1
1STM32F405RGTxPackage_QFP:LQFP-64_10x10mm_P0.5mmU3
1SWO ConnectorConnector_PinSocket_2.54mm:PinSocket_1x06_P2.54mm_VerticalJ1

Similar boards

  • 2 layers78 × 84 mmLC meter, the printed circuit board in 3D

    LC meter

    schuyler4/LCR_Meter

    An LCR meter design.

    93 parts6MIT
  • 2 layers55 × 55 mmControlBoard, the printed circuit board in 3D

    ControlBoard

    Deni90/singleDigitNixieClock

    A small project that combines ESP32 with a vintage Soviet Nixie tube from the 70’ to create an artistic clock. Originally developed on ESP8266/Arduino, now evolved to ESP32 with ESP-IDF for greater performance and…

    39 parts5MIT
  • 2 layers139.7 × 114.3 mmSelf balancing robot, the printed circuit board in 3D

    Self balancing robot

    K0nradG/self-balancing-robot

    Self-balancing robot powered by nRF52840 and Zephyr RTOS, with BLE control, OTA updates, and a Raspberry Pi camera interface designed for future autonomous navigation.

    36 parts4Apache-2.0
  • 2 layers99.8 × 60.2 mmIrrigation IoT, the printed circuit board in 3D

    Irrigation IoT

    VictorRavani/Irrigation_IoT

    This project covers the complete development of Hardware and Firmware for IoT-based supervisory control. It offers all the necessary information and resources so that anyone can set up the system independently.

    79 parts4MIT
  • 4 layers70 × 70 mmInverter KiCAD, the printed circuit board in 3D

    Inverter KiCAD

    AresEnsea/2425_Projet2A_AresCFR

    Ce repository GitHub regroupe l'ensemble des projets & documents réalisés par l'association Ares pour la Coupe de France de Robotique 2025

    104 parts3
  • 2 layers87.6 × 63.2 mmTip Etcher, the printed circuit board in 3D

    Tip Etcher

    KN-NaMi/Tip-Etcher

    Tip Etcher

    89 parts3
  • 4 layers100 × 40 mmVESX, the printed circuit board in 3D

    VESX

    NormalHuman-Anything/VESX

    V(ESC)ESX

    183 parts3CERN-OHL-W-2.0
  • 4 layers60 × 60 mmPojet 1A, the printed circuit board in 3D

    Pojet 1A

    Kennystflr/Lightning-speaker

    Design of the electronic board for a speaker.

    178 parts2

Questions

How big is the TahomaRemote PCB?

It measures 87 × 44 mm and has 4 copper layers, 1.61 mm thick.

What parts does the TahomaRemote use?

92 parts, built around the ESP-12F, PCA9685PW and LM1117DT-3.3. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the TahomaRemote KiCad files?

From the SloBloLabs/TahomaRemote repository on GitHub, at the commit this page was made from: the board is hardware/TahomaRemote/TahomaRemote.kicad_pcb and its schematic hardware/TahomaRemote/TahomaRemote.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the TahomaRemote design in my own project?

Its repository states no licence, so its author keeps all rights: ask SloBloLabs before reusing the design.