Kind of expected from the title for it to design the modem itself (i.e. the RF chain and signal processing after downconversion). Wonder how hard that is? Probably pretty insane RF work considering how many frequencies LTE uses, but a basic frontend for some of the frequency pairs and a baseband FPGA feels likely doable with a modern LLM and some clever tooling and simulations
Why bother? There’s plenty of good SDR firmware out there already built to run on FPGAs that can operate LTE RAN.
I put together something similar (sans circuit design) out of consumer hardware recently. Tbh the UE side was more of a side quest, I’m interested in commodity hardware nanocells.
I've been doing a lot of work in this area over the last few weeks. I started out using Koppar and the initial results were quite impressive. However, as the board gets more complicated, it will fall over pretty quickly. I have had good success using Claude Opus with the KiCAD Routing Tools placer and router. From what I have seen, routing is pretty strong, but placement is fairly weak. I had Claude build some tools to perform basic analysis on the floorplan fed to the placer and this improved the outcome quite a bit. Also, I put quite a bit of effort into having Claude perform simulations using ngspice and OpenEMS and this feedback loop seems to have provided a great deal of value. I just ordered the first round of boards, so in a few weeks we will see how it all turned out.
I've also started with Kicad and KRT - but found it took too long for eg my 4-layer (compact ~200x100mm) keyboard using PG1316S. The model had to reason soooo much about placement and bottlenecks and manually fix them, retry, keep some copper, reroute something else.
So (well... Codex/Claude :) ) are working on a "Pcb Design Compiler" (PDC) - it's not quite ready yet to be released but hopefully within a week. I tried running their prompt through Opus 5.5 (one-shot but my VM died):
It's missing _a lot_ but this is what I got from just their prompt without _any further_ prodding or specifying anything. Afaict, Opus didn't really read the data-sheets without further prodding - the power supply section doesn't look correct, probably missing reference design passives and more.
I tend get more boards routed faster with PDC than KRT, but I don't know EE and have the models do everything.
Thanks so much for the feedback. I'm improving it everyday; I've been working exclusively on placement for the last 2 weeks, but yeah, in Claude Code that part is still better handled.
It's not a breakout board, it's a finished device: one USB-C cable in, and the computer sees a network adapter, the AT ports and a USB sound card carrying the call audio (the module's PCM, level-shifted into an RP2040). Plus the hub, the 3.8 V supply for the 2 A bursts, SIM, 50 Ω feeds, LEDs, firmware and a Mac app.
The LTE itself is Quectel's, as it is in every phone that uses a module.
dude, I can't even take a minute to make sure I'm replying correctly with no errors without being charged of "replying with an LLM"? That's your contribution to the conversation?
I trained a graph-based routing model + wrote a legalizer/decoder, it's how I'm able to do better routing than freerouting and other solutions I've benchmarked (cc https://koppar.ai/benchmarks)
This isn't a LTE modem; the LTE modem is the Quectel EC25-EUX. This is a relatively simple carrier board.
This is a single buck, a RP2040, and soldering down a module.
Granted, power management is an important part, especially due to the higher integration of chips & modules ⇒ lowering number of other things in the design, but also sometimes additional power rails ⇒ increase of relative quota of power management.
…so where are the power rail scope measurements? And why are the inductor and capacitors so physically large? And why didn't the design go with the TI recommended newer TPS563203?
I'll even forgo the RF validation on the antenna traces given how short they are… (not necessarily a good idea tbh)
[ed.: oof, I didn't see that antenna trace right next to the power inductor. That's… not a good idea. I'm taking back that forgo on the RF validation. How much stray 580kHz is getting injected into that antenna connection?]
Whilst this sounds very impressive, the main complexity is all inside the Quectel SoC they bought. The AI really just wired it up according to the recommendations in the datasheet.
Its still more than last year's AI could achieve, but it's a long way from 'built phone from scratch'.
The Quectel EC25 has all the RF stuff already done. It exposes a serial-over-USB port, and you need to wire up a power supply and an antenna to it. Copy-paste what's in the datasheet and it should work.
Onve this is plugged to a USB port, configure ppp correctly and point it to the serial port and you get an LTE connection.
Also "it works" doesn't mean that EMI was correctly handled, this needs to go through certification (CE/RED for EU, FCC for US) to be sure (and to be legally sold).
Yes but I feel like when people say 'open source LTE modem' what they are really looking for is the baseband firmware itself being open source, but due to regulations I'm not even sure that's possible/legal.
Are there any technical certificates or private keys stopping anyone from creating their own baseband from scratch today and having it connect to today's 5G networks?
I know sim cards (including eSIM's) have keys required for the connection, but does the device also have keys?
Obviously the spec itself isn't open, but that seems possible to reverse engineer.
I think the bigger question is whether the carrier would allow it since they often whitelist specific devices, at least in some countries. Even if it is technically legal, there's nothing that says they are required to let it connect to their network.
Barely, given how short the traces to the antenna connectors are.
And given how close that 2nd antenna trace is to the power inductor, I'm not sure whether it somehow managed to still eke a fail out of that short piece.
A month ago I posted this board here: a 4-layer USB-C LTE modem (Quectel EC25 + an RP2040 as a USB sound card) that Koppar designed from a one-page spec. A few people said it would never get built, or wouldn't work if it did.
It's built, and it works. On the bench:
- registers on 4G (bands 3 and 20) on a French SIM, both antennas on U.FL
- texts in and out, long multi-part ones included
- calls placed and answered, two-way audio through the Mac's mic and speakers via the RP2040 sound card
- USB hub at 480 Mb/s, the 3.8 V rail at 3.81 V under the module's load
Bring-up wasn't all smooth: I soldered the EC25 by hand, and both boards needed a second pass, and the first batch shipped without the recovery pads, so getting into the RP2040 bootloader meant tweezers on the flash chip. It's all in the post and in REV-C.md.
Unexpected bit: Esuna Labs put this board in RealPCB, their benchmark of AI agents doing PCB layout (https://github.com/esunalabs/realpcb, task pcb-6b4cc11f313f). Each agent gets the parts unplaced and two hours in KiCad, and is graded against the released layout, which is our rev B. Of the six frontier models they ran on it, only Fable 5.2 came within margin. GPT-6.2 Astra and Sol, Sonnet, Haiku and Grok didn't.
As a hobbyist who's been studying electronics and slowly making a cyberdeck, it's hard to overstate how exciting that is. It's crazy how close we seem to be to a future where we can just prompt a physical product into existence...
I mean, this is RF work, which I thought was insanely difficult to grasp, let alone master. I wonder how close these models are to mastering something like high speed design which intimidated even the actual engineers I talked to on Discord. Imagine prompting PC motherboards into existence...
Yeah, that's the part that gets me too. High-speed is on the list, I'm working on it but DDR and fast serial are a different league from this board (it's way harder to automate than I initially thought), but that's where it's heading.
Kind of expected from the title for it to design the modem itself (i.e. the RF chain and signal processing after downconversion). Wonder how hard that is? Probably pretty insane RF work considering how many frequencies LTE uses, but a basic frontend for some of the frequency pairs and a baseband FPGA feels likely doable with a modern LLM and some clever tooling and simulations
Why bother? There’s plenty of good SDR firmware out there already built to run on FPGAs that can operate LTE RAN.
I put together something similar (sans circuit design) out of consumer hardware recently. Tbh the UE side was more of a side quest, I’m interested in commodity hardware nanocells.
I've been doing a lot of work in this area over the last few weeks. I started out using Koppar and the initial results were quite impressive. However, as the board gets more complicated, it will fall over pretty quickly. I have had good success using Claude Opus with the KiCAD Routing Tools placer and router. From what I have seen, routing is pretty strong, but placement is fairly weak. I had Claude build some tools to perform basic analysis on the floorplan fed to the placer and this improved the outcome quite a bit. Also, I put quite a bit of effort into having Claude perform simulations using ngspice and OpenEMS and this feedback loop seems to have provided a great deal of value. I just ordered the first round of boards, so in a few weeks we will see how it all turned out.
I've also started with Kicad and KRT - but found it took too long for eg my 4-layer (compact ~200x100mm) keyboard using PG1316S. The model had to reason soooo much about placement and bottlenecks and manually fix them, retry, keep some copper, reroute something else.
So (well... Codex/Claude :) ) are working on a "Pcb Design Compiler" (PDC) - it's not quite ready yet to be released but hopefully within a week. I tried running their prompt through Opus 5.5 (one-shot but my VM died):
https://github.com/thingsapart/koppar-modem-bench/tree/main
It's missing _a lot_ but this is what I got from just their prompt without _any further_ prodding or specifying anything. Afaict, Opus didn't really read the data-sheets without further prodding - the power supply section doesn't look correct, probably missing reference design passives and more.
I tend get more boards routed faster with PDC than KRT, but I don't know EE and have the models do everything.
Thanks so much for the feedback. I'm improving it everyday; I've been working exclusively on placement for the last 2 weeks, but yeah, in Claude Code that part is still better handled.
Previously:
Show HN: A USB-C LTE modem that gives my computer a phone line (62 points) https://news.ycombinator.com/item?id=50317331
You made a breakout board for a precertified LTE modem module.
It's not a breakout board, it's a finished device: one USB-C cable in, and the computer sees a network adapter, the AT ports and a USB sound card carrying the call audio (the module's PCM, level-shifted into an RP2040). Plus the hub, the 3.8 V supply for the 2 A bursts, SIM, 50 Ω feeds, LEDs, firmware and a Mac app.
The LTE itself is Quectel's, as it is in every phone that uses a module.
here's the repo: https://github.com/Koppar-AI/koppar-lte-modem
you're even replying to comments with an LLM?
dude, I can't even take a minute to make sure I'm replying correctly with no errors without being charged of "replying with an LLM"? That's your contribution to the conversation?
How are you handling routing under the hood?
I found freerouting useless, but granting an agent access to a gpu accelerated grid router plus digikey’s api has worked quite well for me.
I trained a graph-based routing model + wrote a legalizer/decoder, it's how I'm able to do better routing than freerouting and other solutions I've benchmarked (cc https://koppar.ai/benchmarks)
I would love to have a SIM slot in my MacBook Pro.
I expect Apple to do this eventually, it is odd it has taken so long.
I expect it will be an eSIM if they do it, no physical SIM slot.
Yes and using their chipset
This isn't a LTE modem; the LTE modem is the Quectel EC25-EUX. This is a relatively simple carrier board.
This is a single buck, a RP2040, and soldering down a module.
Granted, power management is an important part, especially due to the higher integration of chips & modules ⇒ lowering number of other things in the design, but also sometimes additional power rails ⇒ increase of relative quota of power management.
…so where are the power rail scope measurements? And why are the inductor and capacitors so physically large? And why didn't the design go with the TI recommended newer TPS563203?
I'll even forgo the RF validation on the antenna traces given how short they are… (not necessarily a good idea tbh)
[ed.: oof, I didn't see that antenna trace right next to the power inductor. That's… not a good idea. I'm taking back that forgo on the RF validation. How much stray 580kHz is getting injected into that antenna connection?]
[dead]
Whilst this sounds very impressive, the main complexity is all inside the Quectel SoC they bought. The AI really just wired it up according to the recommendations in the datasheet.
Its still more than last year's AI could achieve, but it's a long way from 'built phone from scratch'.
It's still RF work, isn't it? Even wiring up this stuff is pretty complex. Gotta consider interference, emissions...
The Quectel EC25 has all the RF stuff already done. It exposes a serial-over-USB port, and you need to wire up a power supply and an antenna to it. Copy-paste what's in the datasheet and it should work.
Onve this is plugged to a USB port, configure ppp correctly and point it to the serial port and you get an LTE connection.
Also "it works" doesn't mean that EMI was correctly handled, this needs to go through certification (CE/RED for EU, FCC for US) to be sure (and to be legally sold).
Yes but I feel like when people say 'open source LTE modem' what they are really looking for is the baseband firmware itself being open source, but due to regulations I'm not even sure that's possible/legal.
Are there any technical certificates or private keys stopping anyone from creating their own baseband from scratch today and having it connect to today's 5G networks?
I know sim cards (including eSIM's) have keys required for the connection, but does the device also have keys?
Obviously the spec itself isn't open, but that seems possible to reverse engineer.
I'm not sure but I think it's moreso that many carriers whitelist specific modems/devices.
It's both possible and legal. If it would be legal for the hobbyist to actually make modifications is something which will vary by jurisdiction.
I think the bigger question is whether the carrier would allow it since they often whitelist specific devices, at least in some countries. Even if it is technically legal, there's nothing that says they are required to let it connect to their network.
Barely, given how short the traces to the antenna connectors are.
And given how close that 2nd antenna trace is to the power inductor, I'm not sure whether it somehow managed to still eke a fail out of that short piece.
> And given how close that 2nd antenna trace is to the power inductor
That's what I meant. It's small compared to what must be going on in the chip, but it's still RF work, and it's still possible to screw it up.
This is cool.
A month ago I posted this board here: a 4-layer USB-C LTE modem (Quectel EC25 + an RP2040 as a USB sound card) that Koppar designed from a one-page spec. A few people said it would never get built, or wouldn't work if it did.
It's built, and it works. On the bench:
- registers on 4G (bands 3 and 20) on a French SIM, both antennas on U.FL
- texts in and out, long multi-part ones included
- calls placed and answered, two-way audio through the Mac's mic and speakers via the RP2040 sound card
- USB hub at 480 Mb/s, the 3.8 V rail at 3.81 V under the module's load
Bring-up wasn't all smooth: I soldered the EC25 by hand, and both boards needed a second pass, and the first batch shipped without the recovery pads, so getting into the RP2040 bootloader meant tweezers on the flash chip. It's all in the post and in REV-C.md.
Unexpected bit: Esuna Labs put this board in RealPCB, their benchmark of AI agents doing PCB layout (https://github.com/esunalabs/realpcb, task pcb-6b4cc11f313f). Each agent gets the parts unplaced and two hours in KiCad, and is graded against the released layout, which is our rev B. Of the six frontier models they ran on it, only Fable 5.2 came within margin. GPT-6.2 Astra and Sol, Sonnet, Haiku and Grok didn't.
Repo with the KiCad files, REVIEW.md, the firmware and a macOS menu-bar app for calls and texts: https://github.com/Koppar-AI/koppar-lte-modem
[dead]
As a hobbyist who's been studying electronics and slowly making a cyberdeck, it's hard to overstate how exciting that is. It's crazy how close we seem to be to a future where we can just prompt a physical product into existence...
I mean, this is RF work, which I thought was insanely difficult to grasp, let alone master. I wonder how close these models are to mastering something like high speed design which intimidated even the actual engineers I talked to on Discord. Imagine prompting PC motherboards into existence...
Yeah, that's the part that gets me too. High-speed is on the list, I'm working on it but DDR and fast serial are a different league from this board (it's way harder to automate than I initially thought), but that's where it's heading.
Looking forward to even more progress. What about power electronics? Power supplies, batteries, safety.