Solarium control system
2026–present · Updated 1 December 2026
I am replacing an old solarium controller with a new unit based on the ESP32. The receptionist will manage everything from a browser, the client will see how much time they have left on screen, and the solarium will switch off on time even if the network goes down, the reception PC freezes, or even if the control unit itself develops a fault.
- Firmware for the ESP32 (WT32-ETH01): session management, relay and triac switching with output monitoring, user accounts and roles, audit log, sales statistics, signed over-the-air updates with rollback support.
- Web interface over HTTPS for reception staff and administrators, in English and Czech, plus a read-only customer dashboard.

- Safety watchdog: a second microcontroller ensures the session cannot run longer than the configured time, even if the main firmware hangs. It runs a self-test before every sale.
- Hardware: a four-layer main board with safe isolation from 230 V, and a top board carrying indicator LEDs and a STOP button.

- Mechanical design: an enclosure with a printed overlay, indicator lights and a STOP button.

October 2026
The brain of the future product on a breadboard.
The WT32-ETH01 module is capable of running a TLS-secured web server and can connect to the network over either Wi-Fi or Ethernet. The module can be programmed and debugged via a USB-UART adapter, and a diagnostic console is available on the UART at runtime. Initial configuration of the finished product will be possible from a mobile app over Bluetooth.
What remains is to study the standards relating to solariums, design the schematic, simulate individual circuits in SPICE and lay out the board.
November 2026
One of the measures to avoid frying someone alive is not to drive the switching element directly from an MCU signal in a simple high = on, low = off (or vice versa) fashion, but to use a charge pump instead. The MCU feeds it a square wave which — as long as it oscillates — keeps the switching element closed. The moment it stops oscillating, regardless of which level it is stuck at, the switching element opens.

Another scenario in which someone could theoretically receive more UV than they paid for would be failure of the ceramic capacitor at the charge pump input. MLCCs typically fail short. It is paranoid, but it costs nothing, so instead of a single capacitor there are two at the input, rotated 90° relative to each other (in case failure occurs due to board flex):

30th November
The boards have been manufactured and populated, and are making their way from Hong Kong. I still need to fit the remaining through-hole components, bring the boards up, measure them, make any necessary tweaks, and finish the firmware. Then it will be time to assemble everything into the enclosure and install it at the client’s site.