mgr inż. Artur Flamandzki

Electronics & Embedded Software Engineer

I design the architecture of technical systems at the intersection of hardware, software, and advanced algorithmics.

22 projects 2004 – present Firmware AVR · C# · VB.NET AI / Embedded

Design Philosophy


I like to tackle a problem on my own before looking at how others solved it.

Hence project #9: an algorithmic task that ended in independently deriving a number theory theorem.

Evolution — from prototype to theory


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

01

Faza 1 — Hardware jako język

Embedded · bare-metal · produkty w terenie

System to nie kod — to ograniczenia zasobów, czas rzeczywisty, fizyczna rzeczywistość.

02

Faza 2 — Skala jako nowy wymiar

7 lat w bankowości · 11 mln rekordów · FINREP

Te same zasady projektowania — tylko „RAM” to teraz baza danych, a „ISR” to okno transakcyjne.

03

Faza 3 — Algorytm jako produkt

TrueSynth · Resona · MR-AI · teoria liczb

Jeżeli rozumiesz ograniczenia sprzętowe i skalę enterprise i matematyczny fundament — możesz projektować systemy, które inni uznają za niemożliwe.

Hardware nauczył mnie myśleć w cyklach. Bank nauczył myśleć w wolumenach. Matematyka nauczyła myśleć w strukturach. Projektuję na przecięciu wszystkich trzech.

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).

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.

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.

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.

2012 – 2017

DELFI Racing — motorsport instrument family

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

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).

2009 – 2011

APH Elektra — technical consulting

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

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.

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.

All Projects


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

# 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 Timing system for AutoMobilClub Łódź. Predecessor of DELFI Racing (#05).
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 branches


Three projects from different R&D domains — electronics, software, mathematics.

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: LLM is a stateless neuron

Every LLM call starts from scratch — no memory between sessions, no context continuity. The naive approach sends the full conversation history in every prompt: token cost grows linearly, usefulness declines.

Innovation: dual-layer brain (Layer A + B)

Layer A — Memory Map: three-level on-disk archive (raw sessions, index, knowledge fragments) — LLM receives only the context it needs, without full history. Layer B — Autonomous Controller: makes local decisions without LLM (routing, completeness check), calls the model as a tool only when genuinely needed.

Evolution V1→V2→V3

V1: offline intent classifier. V2: FastAPI microservices — API:8000 + Auth:8001, BCRYPT, atomic JSON, role system. V3: LLM middleware with full technical documentation (PDF/DOCX/LaTeX).

Results

  • Token cost = 0 for local tasks — LLM called only when needed
  • Context continuity across sessions without sending full history
  • Full V3 technical documentation (PDF/DOCX/LaTeX)
  • Open project — ARR from MR-AI (#20) planned as Layer B engine

Problem: π baked into the definition

Classical trigonometry defines angle in radians — the π approximation is an error baked in at the definition level. CMSIS-DSP Q31: 18,825 ppb error, 14 cycles/pair on M4F.

Innovation: angle as fraction k/p, LUT from 19 primes

Angle represented as k/p (p prime) — exact point on the unit circle without approximating π. LUT: 19 primes, 275 entries, 2.2 kB Flash, 0 B RAM. Mode MI: 3 cycles/pair on M4F 170 MHz, 0.0 ppb — algebraically exact result.

Benchmark — hard numbers

M4F platform.

Results

  • 4.7× faster than CMSIS-DSP Q31 (14→3 cycles/pair, 18,825→0.0 ppb)
  • Zero drift after 1,024,000,000 steps (final error = IEEE 754 epsilon = 2.22×10⁻¹⁶)
  • Target applications: FOC motor control, DDS, absolute encoders

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.