BlogForumOrder $390 →
← Back to overview

What it cost to engineer a marine alternator regulator

Total invested
$38,354
Sales to date
$1,511
Net loss
$36,843
Hours of my labor
4,314
Years
4.2
Hours per day
2.8

Where the money went

Circuit boards, parts, and materials$19,497Contract design help$11,939Training and reference$2,415Test equipment$1,630AI development tools$1,554Website, hosting, and software$1,043Shipping, banking, and trade shows$277
Show as a table
CategoryAmountShare
Circuit boards, parts, and materials$19,49750.8%
Contract design help$11,93931.1%
Training and reference$2,4156.3%
Test equipment$1,6304.2%
AI development tools$1,5544.1%
Website, hosting, and software$1,0432.7%
Shipping, banking, and trade shows$2770.7%

Spend by month

Itemized months only - March 2025 onward.

$0$2,000$4,000$6,000Mar 2025MayJulSepNovJan 2026MarMayJulAug$3,000 design contractorV9 boardsEnclosures

What a single XREG-010 costs to produce

ItemQtyCost
Circuit board, landed1$75.21
Cherry enclosure, Base and Wall Dock1$30.50
Alternator current sensor, 300 A hall clamp1$12.90
Digital temperature sensors, M4, M5, and M8 ring lug3$6.79
Mounting hardware, stainless screws and UHMW washers7 + 3$2.39
P and N alternator configuration jumper1$1.56
Alternator current sensor mounting screws, 316 stainless for plywood and OSB2$0.57
Neoprene foam strip, adhesive backed3 in$0.53
Heat-shrink labels for the four data cables4$0.08
Printed instructions1$0.04
Product cost per unit$130.57
Shipping prep labor, 30 minutes at $50 an hour$25.00
Outbound postage, USPS Priority Mail with insurance$17.00
Card and payment processing$11.61
Delivered to a US customer$184.18
Sale price$390.00
Profit per unit sold$205.82
Gross margin on the sale price52.8%
Markup on delivered cost111.7%
Engineering hours are not in these figures.
What the board costs, at a run of fifty
Components$42.44Import duty$17.43Assembly services$7.57DHL Express$5.80PCB fabrication$1.97
Show the run totals
LineRun $Per board $
PCB fabrication$98.64$1.97
Assembly services$378.26$7.57
Components$2,122.17$42.44
DHL Express shipping to the USA$290.13$5.80
US import duty, 35% of declared value$871.36$17.43
All-in for 50 boards$3,760.56$75.21
Where the component money goes, at a run of a hundred
Analog inputs, shunt, and RPM$10.69Inertial sensor and barometer$7.73Input power protection$6.71NMEA 2000$4.94CPU and radio$4.27Field drive$3.56Power supplies$2.91NMEA 0183 inputs$2.58Connectors$1.34Optocoupler inputs$1.12Buzzer and status outputs$0.61USB and programming$0.44Temperature sensor bus$0.08
Show as a table
FunctionPlacementsUnique parts$ per boardShare
Analog inputs, battery shunt, and engine RPM4526$10.6922.8%
Inertial sensor and barometer33$7.7316.5%
Input power protection2521$6.7114.3%
NMEA 20001111$4.9410.5%
CPU and radio396$4.279.1%
Field drive2117$3.567.6%
Power supplies3815$2.916.2%
NMEA 0183 serial inputs74$2.585.5%
Connectors32$1.342.8%
Optocoupler digital inputs204$1.122.4%
Buzzer and status outputs1412$0.611.3%
USB and programming159$0.440.9%
Temperature sensor bus33$0.080.2%
Total24495$46.98100%
Each line carries its share of the assembler's flat $130.37 extended-part fee, $1.30 a board at 100 boards. The unique-parts column does not add to 95, because the same resistor and capacitor values serve several functions.

Where the time went

0 h50 h100 h150 h200 hMar 2025MayJulSepNovJan 2026MarMayJulAug
Engineering + educationMarketing + business
Estimated, but with high confidence. Tracking system was not yet running.

Codebase size - AI effect

Net lines of source across the firmware, the cloud app and backend, the website and docs, and the iOS app.

050,000100,000150,000200,000250,000300,000Lines of code$0$500$1,000$1,500$2,000AI spend, cumulativeAI spend, cumulativeMar 2024JunSepDecMar 2025JunSepDecMar 2026JunAugNo AICopy and paste from browser LLMsClaude Code
Regulator firmwareCloud appCloud backendWebsite and docsiOS app
AI spend, cumulative
Tokens per month

Same time axis as the chart above, so the two line up. The session log only starts 17 June 2026.

0.0B2.0B4.0B6.0BMar 2024JunSepDecMar 2025JunSepDecMar 2026JunAug
Tokens run
Lines added per month
-20,000020,00040,00060,000Mar 2024JunSepDecMar 2025JunSepDecMar 2026JunAug
Regulator firmwareCloud appCloud backendWebsite and docsiOS app
Show as a table
MonthRegulator firmwareCloud appCloud backendWebsite and docsiOS appTotal
2024-041,07800001,078
2024-071,07800001,078
2024-103,08400003,084
2025-017,77700007,777
2025-044,79600004,796
2025-0711,16641100011,577
2025-1019,11141100019,522
2026-0125,8957,01300032,908
2026-0447,3097,0872,73127,649084,776
2026-07114,3027,5516,26590,3711,599220,088
2026-08132,5917,4927,471102,4011,691251,646

AI Costs

Token retail value
$13,925
Actual spend
$512
Subscription savings
$13,413

AI subscriptions paid, by month

$0$50$100$150$200$250Feb 2025AprJunAugOctDecJan 2026FebAprJunAug

Which plans, over time

Anthropic$20 Pro$20 Pro x2$20 Pro$200 MaxOpenAI$20 Plus$20 PlusFeb 2025MarAprMayJunJulAugSepOctNovDecJan 2026FebMarAprMayJunJulAug

Which models ran the work

Tracking this only began 17 June 2026.

0.0B2.0B4.0B6.0BJun 2026Jul 2026Aug 2026
Opus 4.8Fable 5Opus 5Sonnet 5Haiku 4.5

Timeline

X Engineering
AI
Mar 2019
X Engineering founded A mechanical engineering consultancy, working on diesel engine development.
Aug 2019
An Arduino starter kit Bought on Amazon.
35 months
Jul 2022
The kit gets opened Ran the blink sketch. Project clock starts here.
8 months
Mar 2023
Parts start arriving Three orders to Marlin P Jones inside two weeks, $535 of components.
AI industry
GPT-4 OpenAI, 14 March 2023.
Jun 2023
First regulator prototype A daughter board on a Heart InCharge regulator: digital pot under Arduino control
Sep 2023
Joined The Hardware Academy And met the freelancer who did the early hardware design.
Nov 2023
Second prototype The first breadboard regulator built entirely from basic parts. An H-bridge drove PWM into the alternator field
7 months
Jun 2024
First custom circuit board ordered From PCBWay.
8 months
Feb 2025
X Engineering
First AI subscription ChatGPT, $20, on 16 February 2025. Work moves to copy and paste with a browser LLM.
Mar 2025
Boards move to JLCPCB First order, March 2025.
Apr 2025
X Engineering
Claude subscription
May 2025
AI industry
Claude Code generally available from Anthropic
10 months
Mar 2026
V9 boards ordered
X Engineering
Claude Code adopted, development changes slope
May 2026
First regulator sold

AI Assisted Measurement Methods

MoneyCopilot tracks all transactions, Claude pulls and classifies expenses weekly.
TimeCustomized instance of ActivityWatch.
Code/TokensStandard GitHub workflow makes this one the easiest.
Last run 26 August 2026.
← Back to X Engineering