Mobile pi

From regional-training
Revision as of 18:36, 5 December 2025 by Ralph (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

outline

A portable raspberry pi work-bench.[note 1]

File:Portable-pi.odg - portable pi [note 2]

power budget

model idle power
Watts
max power
Watts
max current
mA
supply
Volts
pi Zero W [note 3] 0.5 1.2 240 5
pi 3B+ 1.9 5.1 1020 5
pi 4B 2.7 6.4 1280 5
pi 5 2GB 2.4 7.6 1520 5
Flightaware Pro Stick Plus SDR 2.5? 2.5 500 5
Neo 6M 0.015 0.115 38 3
Neo 8M 0.015 0.063 21 3
LTE router TBA ? ? 12
1090 MHz LNA 45 150 3

[note 4]

battery capacity

I will be using recycled high capacity Panasonic MH12210 (18650) Lithium cells with a typical capacity of 3100 mAH when fully charged.

The proposal is to use a set of 6 cells in the 3S 2P configuration (on the one BMS) - which will yield approximately 18600 mAH down converted to 5 volts for the pi (223.2 WH not counting the LTE Router that I will need to measure after it arrives ) - let's assume an additional 1000 mA for approximately 5 hrs running time. We will see what efficiency is actually available in the power supply arrangement by trial, measuring how long the pi can keep working.

If the draw is 1500 mAH for the pi, and assuming 1000 mA for the LTE router [note 5] and assuming the power supply is 85% efficient, we would see a running time of 0.85 * 18600 / 2500 => 5h 15m. I will report just how long the device can operate on a fully charged set of batteries after it is built. It is almost like making your own laptop - but it will be headless and support a multitude of WiFi devices.

The idea will be to place it on the hatself of the aeroplane and to have the 4G / 5G antennas underneath the wing section inside the plastic belly out of the airflow. Some experimentation will be necessary with antenna mounts, and maybe some slot antennas can be designed and glued to the plastic belly and fed from a mounted SMA fitting? [note 6]

performance

The raspberry pi 3B+ with WiFi and 1GB of RAM is more than adequate to run overlayfs, gpsd, piaware, dump1090, fr24feed, ssh tunnels and all sorts of other applications.

  • a pi 3B+ running at 30% at the home QTH covering YSCB (with limited antenna coverage) [note 7] [note 8]
  • it hits about 40% CPU tracking aircraft at YSWG [note 9]

cat /proc/cpuinfo
...
processor	: 3
BogoMIPS	: 38.40
Features	: fp asimd evtstrm crc32 cpuid
CPU implementer	: 0x41
CPU architecture: 8
CPU variant	: 0x0
CPU part	: 0xd03
CPU revision	: 4

Revision	: a22082
Serial		: 00000000720bc8f5
Model		: Raspberry Pi 3 Model B Rev 1.2

components

Here is the list of components:

  • box (undecided what size and type yet)
  • GPS module with serial and 1PPS (ordered 6) [note 10][1] [2]

  • GPS active external antenna (ordered 6)

  • GPIO header
  • raspberry pi 3B+ would work fine with 500 MB - 1 GB RAM is fine [note 11]
  • a G4 / G5 LTE industrial router (ordered 1) [3]

  • SIMcard [note 12].
  • 2 x external 4G / 5G phone antennas (included)
  • 2 x WiFi antennas (included)
  • 4 x RJ45 router/switch ports (included)
  • various magnetic mounting arrangements, such as vehicle roof or magnetic brackets for window or floor attachments.
  • portable supply (building from parts)
    • 12 volt 3S-2P Lithium pack (building from surplus spare batteries salvaged from laptops and the POC)
      • 6 x Panasonic MH12210 3100 mAH cells.
    • 30-14 volt input switch-mode down-converted to 12 volt via a d.c. to d.c. converter (ordered a 10A wide-input to 12 volt output for robustness - hope it is not noisy r.f. wise!)
    • DrRobot 5V 25W dc-dc supply DR0205 [4] (ordered) [5] [6]
    • Anderson 50A plugs
    • 1 Anderson through-bulkhead connector for the box
[note 13]
  • various lengths of suitable gauge wire and cables
  • USB mini-power cable for a pi 3B or USB-C for a pi 4
  • various switches, fuse and circuit breaker
  • CAT-6E jumper cables (will be made to required length if existing Reolink camera jumper cables are too long)

BMS

Anderson Plugs

Grey 50A Anderson plugs are quite large but ubiquitous and a defacto industry standard. I am proposing to have the Anderson plug as an input power connector - which means the portable unit will work in vehicles like 4WD and be compatible with camping equipment.

other orders

wish list

[note 14]

software

aircraft tracking software
  • piaware 10.2+
  • dump1090-fa
  • fr24feed
  • net-utils
  • web-servers
    • nginx
    • lighttpd
  • htop
  • gpsd for chrony and mobile tracking [11]

installation

See:

for installation details.

notes

  1. I feel the need for a portable raspberry pi so I can:
    • experiment at the top of Mt Taylor and receive ADS-B tracks
    • run with it in my aeroplane and obtain Internet Access while in the air
    • run with it in the car, or when camping, and
    • obtain internet access at home when the iiNet gateway is out
    etc. Plus my grandkids will love streaming when they fly with their devices.
  2. Some safety and switching details:
    1. the input line for the main power should use a klixon circuit breaker
    2. the input power to the LTE should be switched
    3. the input power to the DRF0250 should be switched by bridging across switch on the board in order to control the power for the pi. You might want to just run the LTE router as a hotspot without the pi operating.
    4. the output wiring from the lithium batteries should be fused
  3. Pi Zero is not recommended for piaware use
  4. Various searches on the web with AI responses, and one forum where the pi4 uses 1.5W feeding Flightaaware SDR https://discussions.flightaware.com/t/power-consumption/84502
  5. The LTE router is running openWRT - wouldn't it be funny if it supported ssh and contained a raspberry pi?
  6. NEC2D can be used to simulate antennas - but resurrecting and compiling NEC2 FORTRAN will be a project in its own right. I also had C++ code archived off to drive NEC2 and do genetic antenna optimisation.
  7. This is in the ntp.server which is running chrony and gpsd. Paware was loaded so the pi had something else to do and could build entropy.
  8. The ntp.server and ntp2.server deployments are running 32 bit Debian.
  9. The YSWG deployment is running 64 bit Debian.
  10. Note that I have had prior success with the ublox modules - choose modules that have an SMA socket for an external active patch antenna, because it is more than likely you will need that antenna placed in a window area.
  11. You can use a raspberry pi 4 if you have more intensive workloads - noting the increased power consumption.
  12. I will enquire about connecting a new SIM card to my existing account rather than pay-as-you go top-up cards which are a pain to renew (Need to write another letter on company letter head to purchase and attach a new SIM card to the plan)
  13. Dual Anderson connectors can be wired together to permit daisy chaining. Do so through the circuit breaker unless one is put into the vehicle wiring. The later is the required arrangement for aircraft wiring.
  14. Wiring Preferences.
  15. Trixie libraries are not qualified by piware, though source code has been compile and binaries distributed by abxc567

references

categories