Artur Flamandzki

Electronics & Embedded Software Engineer

"I build my own tools. Before I check whether something ready-made exists."
22 projects 2004 – present Firmware AVR · C# · VB.NET Relational Mathematics AI / Embedded

Design Philosophy


An observation in retrospect: every self-built tool forces a complete understanding of the problem it is meant to solve.

⚙️ Build your own tool

A COM terminal for debugging the boiler controller? Written from scratch, because available terminals lacked simultaneous multi-format data display and a one-click bootloader trigger.

🔢 Precision requires measurement

A voltage divider calculator with ADC mode? Built because there was a need to select R1/R2 and immediately see single-bit resolution — no online calculator showed that.

🧩 From concept to finished product

Hardware, firmware, PC applications, production tools, serial-number management. Described here are both products sold in hundreds and one-off projects — each with its own engineering lesson.

🧬 Theory emerges from practice

Relational Mathematics did not originate in academia — the 2016 boiler controller turned out to be an empirical proof of ARR a decade before the theory was formalised.

Evolution — from prototype to theory


A chronology of key breakthroughs. Both tracks converge in 2022–2026.

2004 – 2006

High school — first projects born of necessity

Portable battery speaker (#02) and a prime divisor search algorithm on ATmega8 (#09). Starting point — electronics as a hobby, not a profession.

2009 – 2011

APH Elektra — technical consulting

Electronic component market analysis, substitute selection — foundation for BOM cost optimisation in future production projects.

2011 – 2013

First commercial products and measurement systems

Automotive voltmeter WST/WSTK (150 units, #04), AutoMobilClub timing system (#11), LPG calibrator (#03), boiler thermometer (#10).

2012 – 2017

DELFI Racing — motorsport instrument family

Christmas Tree RT1/RT2, DN03 instrumentation — complete electronic racing infrastructure (#05). CO₂ laser line commissioned (#15).

2013 – 2019

Laskomex — intercom R&D, technical and management role

LX-DK series (500 units, 7 years, #06), LX-GT01 (#07), LX-EMI01 (#08). Promoted twice within 6 months; ~50,000 PLN/year service savings.

2016 – 2022

Boiler controller — 5.5 years in a production environment

Custom PCB, ATmega328P, triac phase-angle at 230 V, delta-T (#01). ~11 M records, 79+ firmware versions, foundation for 3 theses.

2019 – present

Commerzbank — corporate FinTech environment

Corporate FinTech (Java / React / C#, COREP/FINREP). In parallel: first observations of rhythmic structures in prime numbers — the seed of Relational Mathematics.

2024 – present

Smart Home, MR, TrueSynth, FochBot — convergence of both tracks

Smart home (#22), Resona (#18), MR theory (#17), MR-AI (#20), FochBot (#19), TrueSynth (#16), HPC Shor simulation (#21).

Two tracks: embedded hardware (#01–#15) and relational mathematics (#16–#21) converge in 2022–2026: MR-AI, TrueSynth and Resona are where microcontroller physics meets number theory.

Relational Mathematics (MR)


Hierarchy: MR as foundational theory (#17) → five analytical frameworks → MR-AI (#20) combining them all for AI.

MR — Foundational Theory (project #17)

Original mathematical theory describing the structure of prime numbers through rhythmic relations, partitions and rotational models. 6 scientific preprints on Zenodo.

ARR

Rhythmic and Resonance Analysis

Rhythm-control framework — identifies periodic patterns and measures their resonance. Decisions based on direction of change (↑/→/↓) instead of absolute values.

Mandate: measurement and control of sequence rhythm.

MR-CL

Rhythmic Clustering

Detects and segments clusters with similar rhythmic properties. Used for local density analysis and anomaly detection.

Mandate: segmentation and grouping of rhythmic structures.

MR-KL

Rhythmic Classification

Classifies elements by rhythmic categories defined in MR. Builds a pattern taxonomy and enables categorical membership prediction.

Mandate: typology and classification of MR patterns.

MR-RG

Rhythmic Regression

Models quantitative relationships between rhythmic parameters. Enables extrapolation and numerical prediction — classical regression extended with a rhythmic dimension.

Mandate: prediction and quantitative modelling.

RPP

Relational Displacement Space

Defines a multidimensional space where each element occupies a position determined by its displacement relations. Formalises the geometry of the MR structure.

Mandate: geometry and relational space of MR.

AI application framework — project #20

MR-AI — Rhythmic Framework for Artificial Intelligence

MR-AI combines all five frameworks into a decision architecture for AI — control without absolute values. Realised as FochBot V3 (#19).

All Projects


22 projects, 2004–2026. Left-edge colour indicates domain.

Hardware / Embedded Commercial / Client work Own systems Mathematics R&D AI / Software
# Project Context / Technology Result / Reach
01 Autonomous Central Heating Boiler Controller Own system · power regulation and remote monitoring AVR Assembly, Phase-Angle Control (triac 230 V), ATmega328P, BASCOM-AVR, DS18B20, UART→USB, MS Access (.mdb), OneDrive 5.5 years in production (Nov 2016 – Jul 2022). ~11 M records, 79+ firmware versions, 3 theses graded 5/5.
02 Portable Battery Speaker Historical project · high-school electronics, 2004–2006 Analogue audio electronics, batteries, amplifier Starting point — first project built out of necessity during high school.
03 Automatic LPG Injector Calibrator Commercial order · calibration precision ATmega32, stepper motors, coil-open event timing Calibration scatter reduced from >0.3 mm to <0.01 mm.
04 Automotive Voltmeter WST / WSTK Commercial product · engine-state FSM ATmega, HD44780, DS18B20 (×2), lead-acid FSM, RGB backlight (8 colours) WST (car): 150 units. WSTK (motorcycle): ~15 units. ▶ YouTube
05 DELFI Racing System — Timing and Motorsport Instrumentation Own system · instrument family, 2012–2017 Christmas Tree RT1/RT2, DN03 instrumentation, ATtiny/ATmega, RS232, RS485, RTC, MMC, false-start detection Complete electronic racing infrastructure. Two timers in one ISR (0.01 s lap + 0.001 s reaction). Predecessor: #11.
06 LX-DK Series — Laskomex Admin Password Reset Modules Commercial · Laskomex · 7 years of sales DK02 + DK03, ATtiny, proprietary UART protocol, reverse-engineering ~500 units over 7 years. Flash-shortage solution: hardware module one layer above instead of firmware modification.
07 LX-GT01 — Laskomex Code Table Generator Module Commercial · Laskomex · production tool CRC8, ELF binary patching, PC application (VB.NET) Code table generator for serial production. ELF patching without firmware recompilation.
08 LX-EMI01 — Laskomex/Proel EEPROM Memory Editor Module Commercial · Laskomex/Proel · reverse-engineering EEPROM editor, communication protocol reverse-engineering, I²C/SPI EEPROM read/write for undocumented devices — full protocol reverse-engineering from scratch.
09 Prime Divisor Search Algorithm on ATmega8 Embedded · bare-metal algorithmics AVR, BASCOM, ATmega8, 8-bit MCU optimisation Factorisation on an 8-bit MCU. Early precursor to MR research.
10 Boiler Thermometer — Remote Boiler Room Monitor Embedded · IoT before IoT era, 2013 ATmega8, DS18B20, ambient display (visible across the boiler room), alarm, 2013 Remote boiler monitoring with ambient display. File-based IoT gateway via OneDrive — before MQTT became mainstream.
11 AutoMobilClub Łódź Timing System Commercial · quarter-mile racing, 2011 ATtiny2313, RS232, RS485, USB, MMC, RTC, false-start detection, Watchdog reset as flash optimisation Commercial distributed timing system. Direct predecessor of DELFI Racing RT1/RT2. Dziennik Łódzki
12 USB-RS232 Converter with TTL Output — Custom PCB Embedded · developer tool, 2015 FT232RL, MAX3243, Eagle PCB, Gerbers, 48×31 mm Compact USB-UART/RS232 converter with TTL output. Custom PCB 48×31 mm.
13 BAGRAMET Spreader Controller Commercial order · agriculture, Bytów 2 PCBs (controller + panel), AVR, Bytów, small series Dedicated fertiliser spreader controller. Client project, small-series production.
14 RGB LED Fun — Educational Toy Own project · CNC, education ATtiny13A, 3 pins drive RGB, software PWM, CNC enclosure Interactive educational toy — software PWM on ATtiny13A. Enclosure milled on own CNC.
15 CO₂ Laser — Infrastructure and Air-Assist System Own system · active to this day CO₂ 50 W, solenoid valves, Ruida DSP, relays, chiller, custom air-assist Automated wood-processing production line. Custom air-assist, Ruida DSP calibration. >1,000 finished products.
16 TrueSynth — Trigonometric Library for Embedded Mathematics R&D · Prime Engine, 2025–2026 Prime Engine, Q31 Fixed-Point, Cortex-M0/M4F, FOC/DDS, ARM Assembly Angle as prime-based fraction (Δ = k/p) — error ppb = 0. 4.7× faster than CMSIS-DSP Q31 without FPU. Zero drift after 10⁹ steps.
17 Relational Mathematics — Number Theory Mathematics R&D · foundational theory Bertrand–Chebyshev (hyperbolic proof), CRT, Q (semigroups), partitions, rotational model, Zenodo (6 preprints) Original theory on rhythmic structure of prime numbers. 6 preprints on Zenodo. Foundation for all MR frameworks.
18 Resona — Trajectory Computational Model Mathematics R&D · trajectory model Resonance function, custom Resona language, functional graphics, Python Computational model based on resonance functions — trajectory analysis in MR space. Custom Resona DSL.
19 FochBot — Autonomous AI Assistant AI / Software · 2024–2026 FastAPI, microservices, BCRYPT, ChromaDB, LangChain, multi-LLM routing (Claude/GPT/Gemini), ARR context-selection Two-layer cognitive architecture: Layer A (ChromaDB + ARR) + Layer B (multi-model controller). Token cost = 0 for local tasks.
20 MR-AI — Rhythmic Framework AI / Software · decision framework ARR + MR-KL + MR-CL + MR-RG + RPP, value-free control, Python Combines all 5 MR modules into a decision architecture for AI. Control without absolute values.
21 HPC Factorisation — Classical Simulation of Shor's Algorithm Mathematics R&D · HPC, 2025–2026 Python, NumPy, Numba JIT, phase mechanism (classical quantum simulation) Classical simulation of Shor's algorithm using the MR phase mechanism. Factorisation boundary research with Numba JIT.
22 Smart Home — Security and Automation Architecture Own system · IoT, 2024–present Home Assistant, YAML, REST API, mechanical interlocking (Power Isolation / Night Lockdown), hardware-integrated Local-First, physically secure home automation. Hardware mechanical locks — security through hardware.

Case Studies


Three projects described in depth — problem genesis, key innovations, outcome.

Problem genesis

A feed-type coal boiler with no automation — maintaining temperature requires manually adjusting the blower fan. Available thermostats work in ON/OFF mode, leading to large oscillations and inefficient combustion.

Innovation #1 — triac phase-angle control instead of a VFD inverter

The blower is driven by an induction motor. Standard solution: VFD inverter. Applied: phase-angle firing delay of the triac relative to the zero-voltage crossing. Fan torque scales as M ∝ n² — motor stabilises naturally at lower speed. Implementation cost: zero.

Innovation #2 — temperature delta instead of hysteresis thresholds

Every 15 seconds the firmware computes the discrete temperature derivative (trend) and decides based on the direction of change, before the threshold is crossed. Three symbolic states: T↑ (reduce airflow), T→ (hold), T↓ (increase). The D-term of a PID controller — implemented without libraries on an 8-bit MCU.

Results (5.5 years of operation)

  • ~11 M measurement records, 61 MDB databases (1.65 GB)
  • 79+ firmware versions without interrupting operation (USB bootloader)
  • Zero hardware failures throughout the production period
  • Foundation for 3 engineering theses, all graded 5/5

Problem and innovation

Autonomous vehicle electrical monitor — classifies installation state via FSM: charging / parked / engine running. Bar graph calibrated to lead-acid chemistry. Automatic backlight brightness on engine start. Two DS18B20 channels. 8 backlight colour options.

Results

  • WST (car): 150 units sold nationwide
  • WSTK (motorcycle): ~15 units, including the author's own bike
  • Sales without a distribution channel — referrals only
  • Independent customer demo video on YouTube

Engineering problem

Commercial timing system for quarter-mile racing on ATtiny2313 (2 KB flash). Requirements: two independent timers (0.01 s lap + 0.001 s reaction), false-start detection, RS232/RS485/USB, MMC, RTC — all within 2 KB.

Key technical decisions

Timer multiplexing in one ISR — two independent measurements without interrupt conflict. Watchdog reset as flash optimisation — WDT reset saves tens of bytes of code. Technique used commercially in production devices.

Results and continuation

  • Deployed at AutoMobilClub Łódź events (quarter-mile racing)
  • Press coverage: Dziennik Łódzki
  • Architecture evolved into DELFI Racing RT1/RT2/Christmas Tree/DN03 (#05)

Competence Summary


Technical profile for project collaboration and R&D partnership.

Embedded Systems / Firmware

AVR (ATmega/ATtiny), ARM Cortex-M, BASCOM-AVR, AVR ASM, C. Custom PCB, 230 V mains control, UART/RS232/RS485/SPI/I²C/USB. Commercial products in serial production.

Measurement & Real-Time Systems

Timer multiplexing in ISR, 0.001 s precision, MMC/SD logging, RTC, DS18B20. Systems running uninterrupted for years (11 M records).

Relational Mathematics (R&D)

Author of MR theory and all five frameworks. 6 preprints on Zenodo. TrueSynth: ppb=0 error, 4.7× faster than CMSIS-DSP. HPC: NumPy/Numba JIT.

AI / Software

FochBot V3: FastAPI, ChromaDB, multi-LLM routing. MR-AI value-free decision framework. Java, C# (.NET), React/TypeScript, VB.NET, Python.

Own Systems & Production Tools

ELF binary patching, protocol reverse-engineering, USB bootloader without disassembly, serial number generator, CO₂ laser line (1,000+ products). Smart Home: hardware interlocking.

Technical R&D Management

Promoted to Engineering Office Coordinator within 6 months. R&D team leadership, Service Book, ~50,000 PLN/year savings. Corporate environment (Commerzbank, COREP/FINREP).

Contact & Collaboration

Open to R&D projects, embedded consulting, and MR/AI research partnerships.