Cellular modems come and go, and they can be tricky beasts to tame – yet, in every portable computer project I’ve worked with, “LTE modem” has been a top-three request from the audience. If you’re building a cyberdeck or a general Linux portable, then a cellular modem’s cellular data uplink, SMS support, and even voice calls, can be the killer addition you need to make your deck a true daily machine. These days, I see that the demand for cyberdecks is rising, my own projects could greatly benefit from modems too, and yet it sometimes it feels like informational drought. I think now is a great time to make a listicle, detailing a few modems you should keep in mind.
Testing out prospective modems can be costly and time-intensive – design a board, purchase a few sample modems at inflated prices, only to have your idea completely blocked by elusive firmware issues at the very last step. I’ve given some starting-from-scratch tips before, having shown how to use mPCIe cards for testbench purposes. Today, I’d rather give you a few battle-tested modems that others already use with great success, and describe the features you can get out of one.
It Used To Be WorseThere’s a personal reason I’m making a list, too. When I was sourcing modems for ZeroPhone, there was no shortage of 2G modems to source, but 2G was already shutting down. So I was looking for suitable 3G options instead, and coming up woefully short. Each module I’d find, eventually turned out to be datasheet-less, or hard to source, or priced at $100 apiece. Foolishly, I went to the Electronics StackExchange and asked a question about 3G modems that people use. Next day, I refreshed the page, and found an all too unpleasant surprise! My question was closed, hidden, and marked as “deleted”, for being a “shopping question”, a cherry of frustration on top of my cake of sourcing woes.
The modem sourcing situation has since significantly improved, even if StackExchange didn’t, but I think the baggage still remains. Nowadays, there’s a good few dozen modems you could buy, but most of them aren’t the best in their field, so I’d like to help you narrow those dozens down to three decent options. It won’t be hard to add one of those to a project, either – all you need is a free UART or USB port, some LiIon power, and a little bit of software. Let’s take a look at the first modem on my radar, then?
The Humble A7682E Remember the SIM800-based tiny red boards? The A7682E is the same size, and mostly pin-compatible.SIMCOM has been making modems for ages now, and you’ve surely seen their iconic SIM800 in many projects, probably paired to the famous tiny red board. I worked with it quite a bit, and I’ve come to hate the boards – the modem promised voicecalls, but they turned out to be incredibly buggy, and the firmware closedness was the nail in the debugging coffin. However, for needs like GPRS and SMS, it’d work decently well.
Years have passed since the SIM800 dropped, and many countries have since dropped 2G networks, cementing my SIM800 collection as the bricks I came to recognize, sadly, bricks that never got a chance to function as smartphone building blocks I badly needed at the time. SIMCOM’s success kept them building, thankfully, and they’ve developed a lineup of 3G of 4G modems since then. One particular modem of note is SIMCOM A7682E, and you ought to learn about it.
A7682E is an LTE modem that still supports 2G, and it’s a surprisingly mainstream option as far as devices are concerned. It’s cheap, abundant, and its Cat 1 connectivity (up to 10Mbps download) can provide you with a reasonable amount of mobile data; it can even do dual-sim, if you really must have it. Another advantage is compatibility with SIM800 series footprints – which means it’s exactly as tiny, and if you’ve ever designed a board for a SIM800, an A7682E might fit just as perfectly, the pin changes are non-critical from what I see.
You’ll find an A7682E or its brothers on quite a few modern boards, and SIMCOM doesn’t vary their AT command syntax as much – ensuring support from many third-party libraries, some major libraries explicitly tested compatible, and many more running on “accidentally compatible” fumes. The modem’s firmware also implements things like HTTPS and FTP, exposed through AT commands. If you don’t want to pull some heavy libraries into your on-MCU code, just let the modem handle the heavy stuff for you!
Not Without CriticismThere’s a few things I hate about A7682E – analog audio. Yes, you can build a small phone with it, at least unless the firmware does you dirty like I’ve had with the SIM800 – I couldn’t find anyone who has tried, and my own modems are yet to arrive. However, you’re expected to interface a speaker and analog mic directly to the modem and that’s a bit of a problem. First thing is, the built-in speaker amplifier is puny, but at least there’s amplifiers you can add to deal with that.
The analog mic is a bigger problem. Do you remember how mobile phones used to produce noise in nearby speakers every time a call came in? With an analog mic, you have a decent chance to hear them again, or rather, it’ll be a gift to whoever you’re calling right now. Smartphones have long given up on using analog mics, at least without on-the spot-amplification making the across-the-board mic signal high-impedance, but this modem has a mic amplifier already built in, so you’re kinda out of options. Supporting something like I2S PCM would make this modem perfect for tiny cellphone needs, but I guess we can dream. At worst, there’s other similar LTE modems from SIMCOM that do have PCM, they’re just not as popular as the A7682E is, but they’re still LCSC-able.
This modem has three more annoyances in store, first one a big gripe for me specifically – the LGA pads, every single pad out of reach all the time while you have it soldered onto the board. I enjoy QFN-style castellated pad modules way more, because not only are they easier to rework and solder, LGA modules also make it nigh impossible to tap into pads not routed onto the PCB. I know that castellated pads come at the cost of a board space and limiting the pin count, but I wish the castellations remained an option, still, or that these modules took a combined approach; suppose, until then, unholy testpoint and via arrangements will have to do.
The last two gripes are less expected. First one is that IOs are 1.8V. The hardware design guide provides some transistor-based shifting examples that you can use; surely, if they’re in the datasheet, they will work? Another one is – unlike so many other modems, this one asks you to never shut it off by yanking the batteries, instead using an AT command or the PWRKEY pin to shut it off before removing power; otherwise, it threatens flash corruption and possibly bricking the modem. Just how required is this in practice? No idea, sadly. It’s not a requirement you’ll see in other modern modems, that’s for sure.
Despite the flaws, it’s certainly a modem you can use fruitfully nowadays. Our collective is working on an example board, currently untested, that hosts one of these modems with some minimal support circuitry, just bring your own VBAT and a USB (or UART) connection.
Do you need more oomph? More speed? SIMCOM has a few other modems in store, some can do higher speeds, some contain extra features like GPS, some contain extra firmware features like MQTT, and some will even do 5G; a lot of them are available on LCSC for bulk purchase and even JLC assembly. SIMCOM isn’t all there is, however!
Thankfully, Not A Monopoly Haven’t you seen the PinePhone devboard? Now you have!Not many companies produce cellular modems. However, if you were to only learn about two, the second one should be Quectel, and you should definitely remember EG25 and EC200 modems alike! Both are 4G modems, and compared to the smaller Simcom offerings, they pack a heftier feature punch. What’s fun is, they run Android under the hood – that you can hack, or maybe even have them run a custom firmware and omit the MCU altogether! The EG25 is best known for being at the cellular core of a PinePhone, from way back when PinePhone was a devboard. By all signs, Pine64 has picked well.
You can get these two modems on mPCIe cards, naturally, I’d argue that’s one of the best ways to connect a powerful modem. If you don’t want mPCIe and would rather solder the modem directly onto a board, they’re available in the usual pseudo-QFN packages too – I’ve got an EG25 building block board for you, it’s not battle-tested yet, but it should work well for “copy-paste modem into your circuit and order the board” purposes. Quectel’s documentation is login-gated, but bugmenot solves all.
Interfaces are the same, either USB or UART, there isn’t much to innovate here. I’ll heavily recommend USB, though – that’s the best chance you have at making use of the 150Mbps download (LTE Cat 4) capabilities. Over USB, you’ll get a USB-Ethernet interface, or you can use QMI, there isn’t much unexpected stuff to worry about. Want a stack to make calls, send SMS, or simply have better control over your data connectivity? As the EG25 is the PinePhone modem, you’re way more likely to find Linux software to drive it, for instance, the ModemManager and eg25-manager combo, and it will likely work with the EC200, too.
On both of the modems, there’s no shortage of interfaces and features, you get a fully-featured package – PCM for your digital audio, VoLTE support, oh, and there’s even a GPS module built-in! Of course, here too, you get in-firmware features like HTTPS, FTP, and SMTP, though given these modules data throughput, you’ll probably pair them with a powerful enough CPU and the firmware features won’t matter.
A Few PrecautionsClosing thoughts? Check that you’re buying modems suitable for the country you’re in – watch out for the letters at the end of the part number, and compare LTE bands. Then, provide the modem with plentiful power – if you have a LiIon cell handy, just connect it direct! Need antennas? LCSC has got a surprising amount of 4G and 5G antennas as of late, and I wrote a small blog post about how to find them. If you’re feeling power-constrained, especially so by the “2A peak” requirement, here’s good news – both SIMCOM and Quectel modems show in their datasheets that the 2A peak requirement mostly applies to 2G, so, the peak consumption will be lower when using 3G and 4G networks. Hooray!
In some countries and with some specific telco providers, only consumer smartphones are allowed on phone networks, and modems might get blocked – which, I think, is done in part by distinguishing IMEI numbers, but I don’t know much more. Other countries, like Turkey, have certification schemes for smartphones. I vaguely recall that least a few of the modems mentioned, might be capable of IMEI changes. However, make sure that it’s legal for you to change the IMEI, of course, because I’d guess it might not be.
Whatever you might be building, good luck: grab yourself a module, a SIM slot, a sufficient power rail, and remember to have fun!