Cellular IoT Connectivity

With the recent interest in “Internet of Things” devices, most of the major cellular carriers have started offering very affordable plans targeted at this market.

  • AT&T is offering prepaid data, and $1/month/sim card at https://marketplace.att.com/iot-connectivity
  • T-Mobile is offering unlimited data (speed restricted) with a minimum of 2 SIMs at $5/month each, plus $25/yr for the plan. Assuming you can even get started. Unlike AT&T, they require you to speak with a sales rep, and I haven’t been able to get them to respond to me more than once. A friend has had a similar experience trying to get started. http://iot.t-mobile.com/
  • Verizon seems to be the laggard of the bunch, with very expensive plans. Their model may work alright if you had a large number of devices to use on the pool, but for one or two, the price difference is massive. https://www.verizonwireless.com/biz/plans/m2m-business-plans/

I was interested in setting up a Raspberry Pi with some cellular connectivity for use in a number of potential projects. Some quick ideas might be:

  • An OOB (Out Of Band) connection to your servers if your main internet link dies, you can still manage them.
  • A portable iGate for mobile packet operations. This could be useful for example with the high altitude balloon flights I participate in, to have a ground station set up with connectivity.
  • Add a solar panel, some power management, and a camera for a wilderness webcam. Find a forest/mountain/beach/whatever with a bit of cell service, and set up a webcam.

I was looking around at various options for the modem itself, and happened upon a module set up for use with embedded systems from Adafruit (https://www.adafruit.com/product/3147) and decided to give it a try paired with a Raspberry Pi Zero W.

This module, which supports 3G and 2G networks, I decided to pair with AT&T’s IoT plans, one because AT&T has a 3G network whereas T-Mobile’s network is 2G, and because I couldn’t get T-Mobile’s sales staff to respond in a timely manner.

The setup is pretty straightforward, and Adafruit has put together a nice tutorial on how to hook up the module to the Raspberry Pi’s GPIO pins. https://learn.adafruit.com/fona-tethering-to-raspberry-pi-or-beaglebone-black/wiring?view=all

Note that their tutorial is based around their older modules that don’t support 3G connectivity, so they make some warnings about carrier selection, but if you chose the 3G capable module I listed above, the instructions are just the same. You’ll wire the module to the Pi’s serial GPIO pins, ground, and 3.3V power to set the voltage levels.

At this point, it’s just configuring the software as described in the tutorial. I’ll add a note of caution here, the serial device naming scheme on the Pis has changed in the Pi3 and PiZero families versus the older Pis. On the newer Pis, /dev/ttyAMA0 is not the hardware UART by default, and instead you should be using /dev/serial0. So in the PPP peers file you create, make sure to update it appropriately for the right serial device.

Add a little script to startup a reverse SSH tunnel to a device you control when the Pi boots up, and now you’ve got a device you can drop anywhere with cell service, and remotely manage it.

Here’s a quick shot of my setup in development. Bottom row from left to right is some batteries, the FONA cell module, a Arduino Pro Mini, and a small boost regulator to power the Pi. The top row is the Pi Zero W with attached camera, and a proto board to control power on/off to the Pi and handle voltage translation between the Pi and the Arduino Pro Mini.

The arduino controls power to the Pi, so we can shut down the pi and the cell module for a very low draw sleep, wake up occasionally to take a picture or perform some other task, then go back to sleep again. I plan to add some solar charging to the current setup, and it should be about done at that point.

Posted in Electronics, Technology | Leave a comment

New POES Receiver Setup

For the last few years I have off and on run a receiver dedicated to picking up the image transmissions from NOAA’s POES series of satellites.

The POES satellites are polar orbiting weather satellites that transmit image data down, and are available to anyone who cares to set up a station.

In the past, I have used a receiver I built as a kit, and it worked alright, but getting good performance out of it has been troublesome, so the images often had issues with noise, or not faithfully reproducing the actual data the satellites were sending.

I was working on getting my station tuned up again recently, and decided to try using a USB SDR (Software Defined Radio) attached to a Raspberry Pi, to see if I could get better results, and I have to say I’m pleased with the answer.

The first image is just contrast enhanced, and the map overlay was placed on, the second is a false color enhancement that helps show clouds.

Posted in Ham Radio, Weather | Leave a comment


A little while ago, I posted about using surface mount stencils for the first time on a new project. I’ve been able to get a couple of the units completed, and with some help from a friend with milling the front panel of the case, the units are looking really nice.

This is a PDU based on my earlier design, but modified to better support PoE (Power over Ethernet) devices. The ports are designed as a passthrough, so one port will connect to your switch, the other will connect to the device and receive power. It’s designed to support gigabit connectivity, and handle PoE+ loads.

This new revision makes the project much more valuable for the HamWAN project on our remote sites, where all of our equipment is PoE.

Posted in Electronics, Projects, Technology | Leave a comment

Cheap Wall Rack

After putting together the ESD protection bar for my PoE devices, I decided that I wanted to reduce the number of ethernet runs I had strung across the garage, so I took some scrap bits of lumber, and made a small, wall mount rack, to put a switch, and my PoE PDU into.

I also took the opportunity to change the uplink to the switch to fiber, to further electrically isolate my outdoor PoE devices from my main server cabinet and network gear.

As an additional bonus, now I can remotely power cycle any of the PoE devices via the PDU in case of an issue.

Posted in Electronics, Projects, Technology | Leave a comment

2017 Balloon Launch

This last weekend I went over with the class from UW and helped out with the annual high altitude balloon launch. I flew a position tracking payload, as well as a camera that got some pretty nice photos. Check out more on the project page here: 2017 Launch

Posted in Electronics, Projects, Weather | Leave a comment