Jakub Szypicyn

Embedded, IoT and cloud for green technology — from a board's first boot to a fleet in the field.

Jakub Szypicyn

Now
Head of Connected Systems, Skarper
Previously
Minimal, Breathe Battery Technologies, Skarper, WeCorp Industries
Education
PhD, Imperial College London

About

Jakub Szypicyn, smiling, in a white shirt and striped tie

I want my engineering to cut carbon. For seven years I've built the electronics, firmware and cloud behind battery labs, e-bikes and electric cargo vehicles, from first boot to fleets in the field.

I design the boards, write the firmware and build the pipelines that keep products updated and measured long after they ship. Batteries, power conversion and connected fleets run through all of it, and they carry over to anything electric: storage, charging, heating, the grid.

Before industry, a PhD at Imperial on reconfigurable analogue circuits. Away from the desk: collecting vinyls, touring, Formula 1, photography.

Journey

Four products,
all electric.

01 — Drones

2020 · WeCorp Industries, London

EEE Research Technical Lead

Built an STM32 drone-propeller test rig with C++ firmware and a Python DAQ GUI, and a field-oriented motor controller that cut power losses by 5%. Designed the mechatronic prototypes, harnesses and sensor instrumentation around it, and was made research technical lead within the year.

STM32 / C++ / FOC / Python DAQ / Mechatronics

Propeller test rig

02 — E-bikes

2021 – 2024 · Skarper, London

Senior Electronics Engineer

Second hire, leading a team of three from concept to mass production: 2,000+ units shipped. Architected the 48V drive system (motor controller, VCU, UI and BMS) and wrote the first firmware for every board, from bare-metal bring-up to a FreeRTOS system controller with BLE, CAN to the BMS and EN 15194 assist limits. Cut the production PCB BOM by more than half, built the production test jigs (~95% functional coverage) and owned release sign-off through launch.

48V drives / FreeRTOS / BLE / CAN / EN 15194 / MISRA C / Production test

The Skarper drive unit: a grey body with a round disc carrying a lens, status lights and a button
Skarper drive unit

The problem

Assistance follows the road gradient, read from an IMU in the Skarper unit. The accelerometer only sees gravity and the bike’s speed changes, and when the bike leans into a corner part of the gravity reading moves onto the sensor’s lat axis. The up share shrinks, so a naive estimate reads every climb steeper than it is. roadGradient measures the lean, rolls the reading back into the bike’s plane with rodrigues(fwd, -lean), and returns the slope alone. All that while compensating for speed and vibration artefacts.

Why leaning corrupts a gradient reading.

A bike on an 8 degree climb leans into a corner. The accelerometer reading, accel, stays vertical while the bike's up and lat axes roll with the lean, so part of the reading lands on lat and the gradient reads steeper than it is. Rolling the reading back by the lean, R(minus lean) times accel, returns it to the bike's plane and recovers the true 8 degrees.

At 34° of lean the gradient reads 9.7° naively, 8.0° after R(−lean).

The fix

// Rotation by angle a about unit axis k: R = cos(a) I + sin(a) [k]x + (1 - cos(a)) k k^T
static mat3_t rodrigues(const vec3_t k, const float32_t a)
{
    assert_param(fabsf(vec3_dot(k, k) - 1.0f) < 1e-3f);  // axis must be a unit vector
    assert_param(isfinite(a));

    const float32_t c = cosf(a), s = sinf(a), t = 1.0f - c;
    return (mat3_t){ .m = {
        { c + t * k.x * k.x,       t * k.x * k.y - s * k.z, t * k.x * k.z + s * k.y },
        { t * k.y * k.x + s * k.z, c + t * k.y * k.y,       t * k.y * k.z - s * k.x },
        { t * k.z * k.x - s * k.y, t * k.z * k.y + s * k.x, c + t * k.z * k.z       },
    } };
}

// Road gradient (rad) from an accelerometer sample (g) and wheel acceleration (m/s^2)
float32_t roadGradient(const vec3_t accel, const float32_t wheelAccel)
{
    // A NaN would poison every filter downstream; out-of-range values are clamped below
    assert_param(isfinite(accel.x) && isfinite(accel.y) && isfinite(accel.z));
    assert_param(isfinite(wheelAccel));
    assert_param(fabsf(Mount.pitch) < (float32_t) M_PI_4);  // calibration sanity

    // The IMU is mounted pitched, so the bike's forward and up axes are not the sensor's
    const float32_t cp = cosf(Mount.pitch), sp = sinf(Mount.pitch);
    const vec3_t fwd = {  cp, sp, 0.0f };
    const vec3_t up  = { -sp, cp, 0.0f };

    // Leaning in a corner reads as slope: measure the lean, roll gravity back upright
    const float32_t lean = atan2f(accel.z, vec3_dot(accel, up));
    const vec3_t    g    = mat3_mul_vec3(rodrigues(fwd, -lean), accel);

    // Remove the bike's own acceleration and clamp what no road can produce
    const float32_t along = constrainf32(vec3_dot(g, fwd) - wheelAccel / G_MPS2, -3.0f, 3.0f);
    const float32_t above = constrainf32(vec3_dot(g, up), 0.0f, 2.0f);

    return atan2f(along, above);
}
Lean-compensated road gradient (C)

03 — Batteries

2024 – 2025 · Breathe Battery Technologies, London

Embedded Firmware & Data Engineer

Breathe’s software helps lithium-ion batteries charge faster and last longer. Designed an Ethernet/TFTP bootloader for zero-touch updates across the lab’s STM32 assets. Built the GitLab CI/CD and Python microservices that automate battery testing, co-designed the SQL schema and REST layer behind them, and took gRPC services into production on Azure. Modelled a battery pack in Simscape to validate BMS control in the battery-in-the-loop harness.

Bootloaders / GitLab CI / Python / SQL / gRPC / Azure / Simscape

An aisle of battery cyclers and test cabinets in the battery lab, with orange cabling overhead
The battery cycler fleet

How it works

Zero-touch updates for the battery lab’s STM32 controllers: no programmer cable, no visit to the rig. An AT command over UART asks the running application to hand over to the bootloader, which brings Ethernet up, takes an address over DHCP and accepts the image from any standard TFTP client on UDP :69. Every 512-byte block is programmed, read back and checked against its CRC32. Built on ST’s lwIP in-application-programming example, extended with the AT interface, boot flags shared with the application, and per-block verification.

Firmware update over Ethernet with a TFTP bootloaderA lab PC tells the running application, over UART, to reboot into the bootloader. The bootloader sees the request flag, brings Ethernet up and takes a DHCP address, then accepts a TFTP write request on UDP port 69. It erases the application sectors, and for every 512-byte block programs it, reads it back and compares CRC32 before acknowledging. A lost block is resent after a timeout. After the short final block it rewrites the boot flags, resets, finds a valid application and jumps to it.Lab PCserial · TFTP client> AT+ENTER_BOOTLOADER?OK… board resets into bootloader> AT+APP_OR_BOOT?BOOT> AT+IP?192.168.0.42$ tftp 192.168.0.42tftp> put app.binWRQ app.bin · ACK 0DATA 1 512 B · ACK 1DATA 2 512 B · ACK 2DATA 3 lost on the wiretimeout · resend DATA 3DATA 3 512 B · ACK 3… 620 more blocks …DATA 624 312 B · ACK 624Sent 319,288 bytes> AT+RESET?… new application runningUART · AT commands · 115200 8N1Ethernet · UDP→ :69ATcommandDHCPleaseWRQwrite requestDATA512 B blockACKacknowledgetime-lapseSTM32F427APPIP192.168.0.42TFTPlistening on UDP :69running new applicationFlash · 1 MB0x0806_DF38bootapplication · sectors 5–10flagsREQEXECEach blockDATAprogram ×128read backCRC32Block624 / 624Written319,288 B · CRC32 okThe flags are rewritten, the board resets, finds a valid stack pointer and jumps to the new application.Firmware update over Ethernet with a TFTP bootloaderA lab PC tells the running application, over UART, to reboot into the bootloader. The bootloader sees the request flag, brings Ethernet up and takes a DHCP address, then accepts a TFTP write request on UDP port 69. It erases the application sectors, and for every 512-byte block programs it, reads it back and compares CRC32 before acknowledging. A lost block is resent after a timeout. After the short final block it rewrites the boot flags, resets, finds a valid application and jumps to it.Lab PCserial · TFTP client> AT+ENTER_BOOTLOADER?OK… board resets into bootloader> AT+APP_OR_BOOT?BOOT> AT+IP?192.168.0.42$ tftp 192.168.0.42tftp> put app.binWRQ app.bin · ACK 0DATA 1 512 B · ACK 1DATA 2 512 B · ACK 2DATA 3 lost on the wiretimeout · resend DATA 3DATA 3 512 B · ACK 3… 620 more blocks …DATA 624 312 B · ACK 624Sent 319,288 bytes> AT+RESET?… new application runningUART115200EthernetUDP→ :69ATcommandDHCPleaseWRQwrite requestDATA512 B blockACKacknowledgetime-lapseSTM32F427APPIP192.168.0.42TFTPlistening on UDP :69running new applicationFlash · 1 MB0x0806_DF38bootapplication · sectors 5–10flagsREQEXECEach blockDATAprogram ×128read backCRC32Block624 / 624Written319,288 B · CRC32 ok

The flags are rewritten, the board resets, finds a valid stack pointer and jumps to the new application.

Ethernet bootloader, one update end to end. Addresses and sizes are illustrative.

04 — Four-wheel cargo

2025 – 2026 · Minimal, London

Senior Embedded Firmware & Data Engineer

Firmware and fleet software for an electric cargo vehicle built to take vans off city streets: STM32 body-control, sound, immobiliser and DC-DC ECUs, VESC motor-control work, and a Raspberry Pi telematics stack on balenaOS. Built the CAN bootloader and signed over-the-air updates for 30+ connected vehicles, plus the CI that took builds from half a day to under ten minutes and releases from monthly to weekly. Refactored the core ECUs to MISRA C with GoogleTest, cutting static-analysis findings by 90%, and mentored two engineers.

STM32 / CAN / Fleet OTA / balenaOS / MISRA C / EN ISO 13849-1

The Minimal Pedal 4: an electric cargo quadricycle with a white box body behind an open cab
Minimal Pedal 4

The architecture

The ECUs, each with its own bootloader and application, share CAN with a Raspberry Pi TCU on balenaOS. A release is built and signed in CI, pinned in a manifest and sent out as an AWS IoT Job; the TCU flashes the ECUs over CAN, and telemetry and logs come back to AWS.

Minimal fleet architectureEach ECU’s firmware is built, checked against MISRA C, tested and signed in GitHub Actions. The signed images go to CodeArtifact, and a release manifest goes out to the fleet as an IoT Job. Each vehicle’s TCU takes the job, and its OTA service reads the manifest. It downloads the images it needs from CodeArtifact and checks every signature. It streams each image over CAN into the ECU’s download slot. The bootloader checks the image and swaps it in as the application. Then the next ECU, in the order the manifest gives. The job reports success, vehicle by vehicle. Back the other way: the TCU reads the vehicle over CAN and sends telemetry to IoT Core, daily logs to S3. The TCU’s own software ships as containers through balenaCloud, which also watches every TCU’s health.BuildCloudTCU · Raspberry Pi · balenaOSECUsGitHub ActionsbuildMISRA Cunit testssignCodeArtifactfirmware packagesIoT Jobsfleet rolloutsbalenaCloudTCU softwareIoT Corevehicle dataS3logsOTA servicereads the manifestverifies each imageflashes in orderbalenaOSruns every containerOther servicesvehicle data, diagnosticsCANCAN busECU 1bootloaderapplication 1.3download slotECU 2bootloaderapplication 2.0download slotimagesmanifestcontainersimagesjobupdatestelemetrylogsMinimal fleet architectureEach ECU’s firmware is built, checked against MISRA C, tested and signed in GitHub Actions. The signed images go to CodeArtifact, and a release manifest goes out to the fleet as an IoT Job. Each vehicle’s TCU takes the job, and its OTA service reads the manifest. It downloads the images it needs from CodeArtifact and checks every signature. It streams each image over CAN into the ECU’s download slot. The bootloader checks the image and swaps it in as the application. Then the next ECU, in the order the manifest gives. The job reports success, vehicle by vehicle. Back the other way: the TCU reads the vehicle over CAN and sends telemetry to IoT Core, daily logs to S3. The TCU’s own software ships as containers through balenaCloud, which also watches every TCU’s health.GitHub ActionsbuildMISRA Cunit testssignCodeArtifactIoT JobsbalenaCloudIoT CoreS3TCU · Raspberry PiOTA servicereads the manifestverifies each imageflashes in orderbalenaOSOther servicesvehicle data,diagnosticsCANCAN busECU 1bootloaderapplication 1.3download slotECU 2bootloaderapplication 2.0download slotimagesmanifestcontainersimagesjobupdatestelemetrylogs
  1. Each ECU’s firmware is built, checked against MISRA C, tested and signed in GitHub Actions.
  2. The signed images go to CodeArtifact, and a release manifest goes out to the fleet as an IoT Job.
  3. Each vehicle’s TCU takes the job, and its OTA service reads the manifest.
  4. It downloads the images it needs from CodeArtifact and checks every signature.
  5. It streams each image over CAN into the ECU’s download slot.
  6. The bootloader checks the image and swaps it in as the application.
  7. Then the next ECU, in the order the manifest gives.
  8. The job reports success, vehicle by vehicle.
  9. Back the other way: the TCU reads the vehicle over CAN and sends telemetry to IoT Core, daily logs to S3.
  10. The TCU’s own software ships as containers through balenaCloud, which also watches every TCU’s health.
A release out to the fleet, and the data back.

05 — Back on e-bikes

2026 – Now · Skarper, London

Head of Connected Systems

Rejoined to lead embedded engineering and the connected product. Building one platform for manufacturing, users, the app and servicing on Supabase, Cloudflare and Expo, with secure OTA (MCUboot, signed A/B images, BLE flashing), product cybersecurity and the EU Battery Passport. Also running the electronics cost-down and a new BLE handlebar controller, with AI agents built into how the team engineers.

MCUboot / BLE GATT / Supabase / Expo / EU Battery Passport / AI agents

localhost:5181/overviewInteractive · clicktap around
Fleet dashboard, demo data. Overview: who is riding now, the last day’s rides, and anything that needs a look.
Staff see the fleet through scopes (telemetry viewer, support, manufacturing, super admin) enforced in the database itself: a rider’s name and location stay masked unless the scope needs them, location is recorded only with the rider’s consent, admin changes need a second factor, and deleting an account erases the rider’s data. Every person and bike shown here is made up.

How it works

One platform from the factory line to the rider’s phone. Firmware is built and signed in CI and lands as a draft release; on the dashboard it is published to a channel and ramped across the fleet. The rider’s app checks for an update, downloads it from Supabase Storage, checks its hash and streams it over Bluetooth. On the bike, MCUboot keeps two slots, verifies the signature and boots the newer image; the app confirms it and reports back.

Skarper firmware updates, from CI to the bikeFirmware is built, unit-tested and signed with ECDSA-P256 in CI. The platform checks the signature, hash and header, stores the image and opens a draft release. On the dashboard, the release is published to a channel and ramped across the fleet. The rider’s app asks whether their bike has an update, and gets an offer back. It downloads the image from storage and checks its size, SHA-256 and header. With the bike on charge, it streams the image over Bluetooth into the bike’s staging flash. After a reset the bootloader copies it into the spare slot; MCUboot checks the signature and boots the newer image. The app reconnects, confirms the version the bike now reports and sends the outcome back. Rides come back the same way, and the dashboard shows every bike, its rides and its firmware.BuildPlatform · SupabaseRider’s phoneBike · STM32WB55Firmware CIbuildunit testssign · ECDSA-P256Importchecks signature, hash, headerStoragesigned firmware imagesDatabasereleases · devices · usersrides · update outcomesAuthriders · staff with MFAFleet dashboardpublish · ramp · bikes · ridesSkarper appReact Native · Expoupdate checkdownload · SHA-256Bluetooth transferconfirm · reportSystem controlleron charge to updateexternal flashinternal flashstagingMCUboot · checks signatureslot Aapp 1.4.2runningslot Bapp 1.4.1runningsignedpublish · rampimageupdate checkresultsBluetoothSkarper firmware updates, from CI to the bikeFirmware is built, unit-tested and signed with ECDSA-P256 in CI. The platform checks the signature, hash and header, stores the image and opens a draft release. On the dashboard, the release is published to a channel and ramped across the fleet. The rider’s app asks whether their bike has an update, and gets an offer back. It downloads the image from storage and checks its size, SHA-256 and header. With the bike on charge, it streams the image over Bluetooth into the bike’s staging flash. After a reset the bootloader copies it into the spare slot; MCUboot checks the signature and boots the newer image. The app reconnects, confirms the version the bike now reports and sends the outcome back. Rides come back the same way, and the dashboard shows every bike, its rides and its firmware.Firmware CIbuild · unit testssign · ECDSA-P256SupabaseImportStorageDatabasereleases · devicesusers · ridesupdate outcomesAuthDashboardpublish · rampbikes · ridesSkarper appReact Native · Expoupdate checkdownload · SHA-256Bluetooth transferconfirm · reportSystem controlleron charge to updateexternal flashinternal flashstagingMCUboot · checks signatureslot Aapp 1.4.2runningslot Bapp 1.4.1runningsignedpublish · rampimagecheck · resultsBluetooth
  1. Firmware is built, unit-tested and signed with ECDSA-P256 in CI.
  2. The platform checks the signature, hash and header, stores the image and opens a draft release.
  3. On the dashboard, the release is published to a channel and ramped across the fleet.
  4. The rider’s app asks whether their bike has an update, and gets an offer back.
  5. It downloads the image from storage and checks its size, SHA-256 and header.
  6. With the bike on charge, it streams the image over Bluetooth into the bike’s staging flash.
  7. After a reset the bootloader copies it into the spare slot; MCUboot checks the signature and boots the newer image.
  8. The app reconnects, confirms the version the bike now reports and sends the outcome back.
  9. Rides come back the same way, and the dashboard shows every bike, its rides and its firmware.
One update, from CI to the bike, and the results back.

Stack

Silicon to cloud.

  • 01Power & hardwareBMS, DC-DC conversion, 48V motor drives, PCB design and bring-up, IMUs and encoders, production test and flashing rigs
  • 02InterfacesCAN and CAN FD, DBC tooling, UDS over ISO-TP, XCP, SocketCAN, BLE GATT as peripheral and central, NFC (ISO 14443A), SPI, I2C, I2S, UART, Ethernet
  • 03Test & qualityGoogleTest, Ceedling with Unity and CMock, pytest, pgTAP, Jest, Renode and Robot Framework emulation, cppcheck and PC-lint Plus, gcov
  • 04FirmwareC and C++, STM32 (F4, G0, L4, WB55), Nordic nRF52, FreeRTOS, ChibiOS, bare metal, VESC and LispBM, FOC, PID and Kalman estimation, CMake, PlatformIO
  • 05OTA & releaseMCUboot with signed A/B images and rollback, Ed25519-signed CAN flashing, CAN and TFTP bootloaders, BLE firmware update, fleet manifests to AWS IoT Jobs, GitHub Actions, GitLab CI
  • 06Edge & dataRaspberry Pi gateways in Python, MQTT, cellular and GNSS over ModemManager, balenaOS fleets, Protobuf, gRPC, pandas, NumPy, Plotly, Streamlit, Simscape
  • 07App & cloudSupabase (PostgreSQL, row-level security, Auth with MFA, Deno edge functions), React Native and Expo / EAS, React and Vite, MapLibre, AWS IoT Core, IoT Jobs, S3 and CodeArtifact, Azure, Cloudflare, FastAPI
  • 08AIClaude Code, agent and skill design, MCP servers, the Anthropic API, AI review on pull requests
  • ComplianceStandardsEN 15194, EN ISO 13849-1, EN 17860, MISRA C:2012 and 2023, IEC 60730 Class B, EU Cyber Resilience Act, UK PSTI, EU Battery Passport, product cybersecurity

AI

AI in the loop.

AI is part of the engineering system, not a tab beside it. Agents read, change, test and challenge the work inside scoped environments. Engineers set the constraints and make the calls; the machines supply parallelism, evidence and relentless follow-through.

  • 01One job eachSpecialist agents get narrow instructions, narrow context and only the tools they need. The agent judging a change cannot quietly become the agent making it.
  • 02Argued both waysSchemas, keys, protocols, migrations and boot paths get a proposer and an adversary. One builds the case; the other tries to break it before the decision becomes expensive.
  • 03Proof, not confidenceA plausible answer is not a result. Agents run the tests, type-checks, linters, schema checks and targeted probes, and the evidence is reviewed alongside the diff.
  • 04Work until greenFailed checks feed a bounded repair loop: inspect, patch, rerun, re-review. The unit of AI work is a verified outcome, not a first draft.
  • 05Context is engineeredRepo maps, decision records, ownership, tickets, conventions and live telemetry are assembled around the task. The model gets the right context, not the whole company.
  • 06Sandboxed by defaultLong-running agents work in controlled workspaces with scoped credentials, tool and network boundaries, and approval gates around consequential actions. Autonomy without an unlimited blast radius.
  • 07Wired into the workRepo skills, plus Jira, Confluence and Basecamp over MCP; telemetry into range reports; stale work surfaced automatically. The agent works where the engineering record already lives.
  • 08Measured, not trustedAI review on every pull request, adversarial passes where the risk warrants it, and traces and evals around the agent workflows themselves. Prompt, model and tool changes are measured rather than trusted.
  • 09Right model, right jobFast, cheap models do the mechanical work; stronger reasoning is kept for ambiguity, architecture and review. Quality, latency and cost are engineering parameters, not defaults.
  • 10A model in the productThe briefing agent is deliberately less powerful than the engineering agents: rules first, typed output, no ambient tools, hostile-input handling and a tight evaluation set. Intelligence where it helps; capability only where it is required.

Education

PhD

Circuits & Systems

Imperial College London, 2017 – 2021

Thesis on memristor-enabled reconfigurable analogue systems. Graduate Teaching Assistant in EE labs, amplifier design and FPGA.

MEng

Electronic Engineering, First Class

Imperial College London, 2013 – 2017

85%, top 10% of cohort. Dean's List and the Nicholas Battersby Prize for analogue electronics.