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

Itemised months only - March 2025 onward.

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

What the Regulator cost to build

ItemQtyCost
Circuit board, landed*1$86.16
Wooden case, Base and Wall Dock1$30.00
Alternator current sensor, 300 A hall clamp1$11.00
Digital temperature sensors, M4, M5 and M8 ring lug3$6.45
Mounting hardware: stainless screws and washers7 + 3$2.39
P and N alternator configuration jumper1$1.56
Heat-shrink labels for the four data cables4$0.04
Bulkhead drilling template1$0.04
Box and packing materials1$0.00
Felt tape wall bumpersset
Outbound postage$16.39
Card and payment processing$11.61
Price, introductory promotion$390.00
Profit per board$224.36
* V6 value. V9 is not costed yet and is going to be more expensive.
PCB cost per board vs. quantity
$0$40$80$120$160$100$1515 boards$74$11510 boards$52$8650 boards$49$81100 boards
Works cost, before freight and dutyLanded cost per board

The curve flattens after fifty. Going from fifty boards to a hundred saves $3.47 a board and roughly doubles the cash committed to a single run, from $4,308 to $8,149. Fifty is the run size the costing argues for.

Show the full build-up
Per board51050100
Bare board$7.37$4.37$1.97$1.40
Components$42.93$42.41$42.07$42.00
Assembly labor$29.89$16.15$5.23$3.57
Setup and tooling$16.67$8.33$1.83$1.08
Inspection$3.26$2.45$0.97$0.57
Packaging$0.10$0.05$0.01$0.00
Works cost$100.22$73.76$52.09$48.62
Freight$15.85$15.85$15.85$15.85
Import duty$35.08$25.82$18.23$17.02
Landed per board$151.14$115.42$86.16$81.49
Cash for the whole run$756$1,154$4,308$8,149
Where the board money goes, at a run of fifty
Components$42.07Import duty$18.23Freight$15.85Assembly labor$5.23Bare board$1.97Setup and tooling$1.83Inspection$0.97Packaging$0.01
Components are the whole story, and they are a line item that doesn't move much with run size. $40.80 of the $42.07 is stock bought ahead in bulk and drawn down run by run; ten parts account for 63% of it. Everything else on the chart - the labor, the tooling, the inspection - is a flat fee divided by however many boards are in the run, which is why a run of five costs twice what a run of fifty costs.

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 in June.

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.
Jul 2022
The kit gets opened Ran the blink sketch. Project clock starts here.
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
Jun 2024
First custom circuit board ordered From PCBWay.
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 18 March 2025. Forty-seven more since.
Apr 2025
X Engineering
Claude subscription
May 2025
AI industry
Claude Code generally available from Anthropic
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 XEngineering