# Solar powered ACARS/VDL and ADSB station

**URL:** <https://community.airframes.io/t/solar-powered-acars-vdl-and-adsb-station/139>\
**Category:** tbg.airframes.io\
**Created:** [November 3, 2023, 11:28am UTC](https://community.airframes.io/t/solar-powered-acars-vdl-and-adsb-station/139 "2023-11-03T11:28:16Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![thebaldgeek](https://community.airframes.io/user_avatar/community.airframes.io/thebaldgeek/32/141_2.png) [@thebaldgeek](https://community.airframes.io/u/thebaldgeek)\
**Post date:** [November 3, 2023, 11:28am UTC](https://community.airframes.io/t/solar-powered-acars-vdl-and-adsb-station/139/1 "2023-11-03T11:28:16Z")

</div>

Long running ‘real time’ topic of my solar powered ‘tracker’ setup.

For years I have been mulling over the idea of putting a solar powered (no power on the roof) setup on the roof of our office building. It has a pretty nice outlook and I have always wondered about how it might perform as much as how I might go about building a 24 \* 7 \* 365 setup.

My son finally pushed my buttons and forced me into some action a few weeks back.  
First, quick and dirty test…

Since there is no power on the roof and no way to run an Ethernet cable we have to go Wi-Fi. The Pi Wi-Fi is beyond horrible and I did not have time to muck about building USB Wi-Fi stick drivers from source for a quick and dirty proof of concept test, so I went the hardware hack route to get some Wi-Fi on a Pi that would pickup our office SSID while on the roof…

 ![image](https://community.airframes.io/uploads/default/original/1X/83e787517ee2e5de354fa97917703f94714542b5.jpeg)

I just hacked off the SMA adaptor of an old Wi-Fi antenna I had laying around.

 ![image](https://community.airframes.io/uploads/default/original/1X/cdc5c04a53a4882b70cc399c5fc5d7866f3fb28c.jpeg)

Next up, prepare the Pi.

 ![image](https://community.airframes.io/uploads/default/original/1X/42fe8c513da340a3f974ee45e375cf35fafa423e.jpeg)

Solder the antenna coax to the Pi PCB.  
It helps to have some magnification here as center of the antenna does not have a lot of space and can easily short out on the ground plane.

Our company makes hardware, so I have access to some nice gear…

 ![image](https://community.airframes.io/uploads/default/original/1X/30dc4ff3e2674dcadde1675bc5befa77588a64e3.jpeg)

 ![image](https://community.airframes.io/uploads/default/original/1X/f7eadc670aaf0cb2366ad8a68822581eb907b24e.jpeg)

Now that we have good Wi-Fi, a quick build of dumpvdl and Node-RED we can head onto the roof and test things out…

 ![image](https://community.airframes.io/uploads/default/original/1X/6b02ce893f0d203641b32eab3b1a3556d9bd70de.jpeg)

We only had a spare [dpd Airband](https://dpdproductions.com/collections/aviation-base-mobile-antennas) indoor antenna, but it was enough for a test.  
My son is checking the messages on his phone via the Node-RED interface. More about that interface in a week or so I suspect.

The thing to note with this photo is the background, you can see why I wanted to test out an antenna up there, its pretty nice view up and down the valley.  
The west out to the ocean is going to be hopeless and I’m Ok with that. I know from my home setup that I can hear the ACARS messages from the aircraft coming in from the ocean just fine given their altitude.

![image](https://community.airframes.io/uploads/default/original/1X/3557cb07da91329da31be55872e28ec44c3ff32c.jpeg)

(Decoding lat/long positions from those VDL messages that include it and plotting them on the [worldmap](https://flows.nodered.org/search?term=worldmap) node)  
I’m very happy with the coverage after the first hour.  
Solid range in the expected 3 directions. Much better than my home setup just a few miles away.  
I think I have satisfactorily answered the question. Yes. It will be worth the time and money to build this thing.

---

<div class="post-metadata">

**Author:** ![thebaldgeek](https://community.airframes.io/user_avatar/community.airframes.io/thebaldgeek/32/141_2.png) [@thebaldgeek](https://community.airframes.io/u/thebaldgeek)\
**Post date:** [November 3, 2023, 11:44am UTC](https://community.airframes.io/t/solar-powered-acars-vdl-and-adsb-station/139/2 "2023-11-03T11:44:23Z")

</div>

First step in the ‘real build’ is to pick a base image to build it on.  
Since I don’t do a lot of ADSB I figured that would be the first place to start and I wanted something that I could not worry about and allow me to focus on other parts of the build.

Since I wanted to feed a few ADSB sites, I thought that [adsb.im](https://adsb.im/home) would be a good start. Never used it before, so figured it would be a good time to test it out. Honestly, the checkbox feeder approach also sounded appealing.

 ![image](https://community.airframes.io/uploads/default/original/1X/f04dad42636d7a058033e298f2d5d88583c96676.png)

I lost a lot of time trying to install it on a Pi3, it turned out that the model Pi3 I was using is not supported, so if going with this method, be careful about the SBC you pick. The Pi4 worked fine.  
The docs and support for this build are deliberately sparse as to not overwhelm a new user, for example adding the PlaneFinder option is currently not supported and getting help to add it seems missing.  
The DietPi build of this setup is complicated to work with in SSH, so keep that in mind if you plan to add on extra software like Node-RED. The non Diet builds will be smoother to work with in shell.

I strongly considered trying out the [SDR-Enthusiasts](https://sdr-enthusiasts.gitbook.io/ads-b/) image. It has both ADSB and I think ACARS stuff built in but the docker learning curve seemed to go against what I wanted to achieve with this build. Also I was not sure how they went about sharing the ACARS data and did not want to end up in a dead end docker in that regard.  
In short, high learning curve with an unknown outcome with that option so I did not test it.

Next up I thought I would build on the [adsbexchange](https://www.adsbexchange.com/ways-to-join-the-exchange/build-your-own/) image.  
For some unknown reason, even after burning the image a few times and trying two different Pis, the best menu I could come up with looked like this:

![image](https://community.airframes.io/uploads/default/original/1X/92af35a67a4860279a70d7b475a6b36db6988a37.png)

I just wanted something quick and did not want to faff about in 2 different config files that I forget the names and locations of to get the thing running. Also the Grafana stuff seemed to add a pretty high CPU use load for nothing beyond some odd eye candy… I just wanted a light weight ADSB image…

Third (forth?) option I tired was [airplanes.live.](https://airplanes.live/image-guide/) While it gave a fuller menu than adsbexchange, adding other feeds to other sites is a Linux command line mess.

Bottom line, ADSB just like ACARS is a bit of a ‘pick your poison’ with no current ‘one size fits all’, but there is clearly a lot of effort going into both systems to improve that initial install experience.

---

<div class="post-metadata">

**Author:** ![thebaldgeek](https://community.airframes.io/user_avatar/community.airframes.io/thebaldgeek/32/141_2.png) [@thebaldgeek](https://community.airframes.io/u/thebaldgeek)\
**Post date:** [November 3, 2023, 11:50am UTC](https://community.airframes.io/t/solar-powered-acars-vdl-and-adsb-station/139/3 "2023-11-03T11:50:32Z")

</div>

Next up, Wifi.  
Its 2023, so a USB wifi dongle on a Pi will be easy right?  
Not so much.  
I have no idea why, but I think they just expect everyone to use the on board wifi and nothing else. Trouble is, the range is about 5 feet at best, and once you put a good metal heat sink case on, the range drops to inches.

So, here we are. I think the build process is going to vary based on what Wifi dongle you chose, so do some up front reading before you part with your cash.

I found one that had a pretty good Github walk through on building the drivers.  
Trouble is, it needed the Linux Kernel and at some point in the past year the Pi guys forked something and so the install script was complaining that it could not find them on the disk (trust me, they were there), but the odd work around (after too much Google Foo) is to simply add `ARM_64bit=0` to the /boot/config.txt

Once I did that, the drivers built and adding the SSID and password to the usual supplicant file (`sudo nano /etc/wpa_supplicant/wpa_supplicant.conf`) had me up and running… Oh, and you need to add ‘auto wlan1’ to the `sudo nano /etc/network/interfaces` file or it wont come up after a reboot…

Ahhhh Raspberry Pi in 2023, making computer tech so easy for the home hobbyist. NOT!

---

<div class="post-metadata">

**Author:** ![thebaldgeek](https://community.airframes.io/user_avatar/community.airframes.io/thebaldgeek/32/141_2.png) [@thebaldgeek](https://community.airframes.io/u/thebaldgeek)\
**Post date:** [November 3, 2023, 12:11pm UTC](https://community.airframes.io/t/solar-powered-acars-vdl-and-adsb-station/139/4 "2023-11-03T12:11:25Z")

</div>

Next up, solar monitor.

I just needed a way to read, at the very least, the battery voltage in Node-RED.  
There are a few A2D (analog to digital) converters for the Pi. I wanted more than one and I wanted a pretty small tight form factor so went with the 4 channel Waveshare.

> **[Amazon.com: 4-CH Current/Voltage/Power Monitor HAT for Raspberry Pi...](https://www.amazon.com/4-CH-Current-Voltage-Power-Monitor/dp/B085WQCVVW)**
>
> 4-ch Current/Voltage/Power Monitor HAT for Raspberry Pi, I2C/SMBus Interface Overview This is a 4-ch current and power monitor HAT designed for Raspberry Pi. Via the I2C or SMBus interface, it is easy to monitor each channel's current, voltage, and...

> **[Current/Power Monitor HAT - Waveshare Wiki](https://www.waveshare.com/wiki/Current/Power_Monitor_HAT)**

Not sure I need to measure current, but it was nice it has that option.  
It fits sort of backwards on the Pi (screw terminals are inside the case in the middle of the Pi), so I had to use a short ribbon cable to move it outside the case.

 ![image](https://community.airframes.io/uploads/default/original/1X/af0b1ed0d89d4c9aa0c5721da7247191f00f7ec5.jpeg)

Not a big problem, but worth noteing.

Powering up the pi and installing Node-RED [using the usual script](https://nodered.org/docs/getting-started/raspberrypi) I quickly found an issue… The Wave share has addressed the 4 x INA219 converter chips (they use the i2c interface) sequentially but the Node-RED node for it has hard coded the addressing to match the single unit INA219’s like you find at Adafruit where their addresses are set by jumpers.

> **[GitHub - adafruit/Adafruit\_INA219: INA219 Current Sensor](https://github.com/adafruit/Adafruit_INA219)**
>
> INA219 Current Sensor. Contribute to adafruit/Adafruit\_INA219 development by creating an account on GitHub.

In short, single INAs go 40, 41, 44 and 45.  
The Wavehsare are 40, 41, 42, 43. (Hex).

You can confirm what you have by installing `sudo apt install i2c-tools` then run `i2cdetect -y 1` and you should see your i2c devices like thus:

![image](https://community.airframes.io/uploads/default/original/1X/d979ba38c6bda0e07d2f7224fea9b3d924222328.png)

First up, [install the INA219 node](https://github.com/easybotics/node-red-contrib-easybotics-ina219) by adding it to the pallet in Node-RED (Tip, just search for ‘ina219’, its the only node listed).  
BEFORE you place the node and deploy, you need to edit two files and restart node-red.

`nano /home/pi/.node-red/node_modules/node-red-contrib-easybotics-ina219-sensor/ina.html`

and

`nano /home/pi/.node-red/node_modules/easybotics-ina219/ina219.js`

First up, the html file:

 ![image](https://community.airframes.io/uploads/default/original/1X/2303b5d0c86a9992478faa0df58fbc84dae4330e.png)

Change the text in the red box to match the waveshare addressing.  
Note you can change the white names, but its not really used in Node-RED anywhere interesting, so I left it one-to-one hex addressing naming.

Save and exit.

Next the .js file

 ![image](https://community.airframes.io/uploads/default/original/1X/b162abd706bdb63b64fa0213751d88f98757c686.png)

Change the addresses in the red box.  
Save and exit.  
Restart Node-RED: `sudo systemctl restart nodered.service`  
Ok, now you can place your nodes and hook them up.  
Unless you need fast (tip, you don’t) poll rates slow things down a bit, I have about 15 seconds, batteries cant charge that fast!

My rough flow looks like this at this early stage…

 ![image](https://community.airframes.io/uploads/default/original/1X/5c6526acc6e045a33946a13d6ecc148daef36a9d.png)

The resulting boring graph with the unit sitting on the test bench…

 ![image](https://community.airframes.io/uploads/default/original/1X/b02f249724fa0c2103ffbe0718fa6c6d19f157bd.png)

I suspect it will become more interesting once its on the roof and the day night cycle kicks in.

Regardless of how it looks at this point, it working as expected.

And with that, we have the core parts of the tracker built, working and ready for the more physical aspects.

---

<div class="post-metadata">

**Author:** ![thebaldgeek](https://community.airframes.io/user_avatar/community.airframes.io/thebaldgeek/32/141_2.png) [@thebaldgeek](https://community.airframes.io/u/thebaldgeek)\
**Post date:** [November 8, 2023, 1:57am UTC](https://community.airframes.io/t/solar-powered-acars-vdl-and-adsb-station/139/5 "2023-11-08T01:57:23Z")

</div>

Hook the battery to the solar regulator first.  
This is pretty standard fare as they auto detect the battery and if you just hook up the solar panel first, they get a little nuts (and some let the smoke out).  
So, battery to reg.

 ![image](https://community.airframes.io/uploads/default/original/1X/908bd3d77b2bdd236c2b14f1ac4f2a4cd9475523.jpeg)

Once that is done, the rest is pretty smooth sailing.  
Put some bubble wrap in the box for a bit of thermal something. Really its just keeping the sun out of the lid, probably is not helping much, but is not hurting.

 ![image](https://community.airframes.io/uploads/default/original/1X/b10fe5049b8a4f1e991c5002f45566e5bb3dfde3.jpeg)

The box bolts onto the base and a mock up pole helps get things setup in the garage like it will be on the roof.

 ![image](https://community.airframes.io/uploads/default/original/1X/d432071eb7afc30fc5ea475f228509ee160507dc.jpeg)

U bolt at the bottom and need to make a bracket for the top of the panel to also hold the pole.

 ![image](https://community.airframes.io/uploads/default/original/1X/3d87818c627c9c73595cbd33dd5199b9d0984c6d.jpeg)

The Pi setup ready to drop in the box.

 ![image](https://community.airframes.io/uploads/default/original/1X/800a9986c8b7af8977b516f0fbfedf49447d84c4.jpeg)

On the morning of the install, only one hot air balloon around.

 ![image](https://community.airframes.io/uploads/default/original/1X/f9e7d8e58f50d72a03a34ac466dd69b0c17fc8c3.jpeg)

Getting the distances roughed out.  
Only need a bit of height on the antennas since we are already up a bit and a few more feed won’t make much difference.

 ![image](https://community.airframes.io/uploads/default/original/1X/c250396b6c160ab7ab3d4927831ca125dd84a357.jpeg)

Not happy with the box layout.  
If we chose to go ahead with the install I will be revisiting this for sure.

 ![image](https://community.airframes.io/uploads/default/original/1X/cee2fe6ac542a677ee57574f30cb31e6e8c5f158.jpeg)

 ![image](https://community.airframes.io/uploads/default/original/1X/ea64d726f2be9676c138a3d3cb82e8f5957e0c38.jpeg)

Up and running.  
Amazon LNA on the ADSB and gpio labs ACARS filter LNA on the PDP airband antenna.

---

<div class="post-metadata">

**Author:** ![KevinE](https://community.airframes.io/user_avatar/community.airframes.io/kevine/32/6_2.png) [@KevinE](https://community.airframes.io/u/KevinE)\
**Post date:** [November 8, 2023, 2:19am UTC](https://community.airframes.io/t/solar-powered-acars-vdl-and-adsb-station/139/6 "2023-11-08T02:19:55Z")

</div>

What is the total cost for something like this? Have some thoughts here @thebaldgeek ?

---

<div class="post-metadata">

**Author:** ![thebaldgeek](https://community.airframes.io/user_avatar/community.airframes.io/thebaldgeek/32/141_2.png) [@thebaldgeek](https://community.airframes.io/u/thebaldgeek)\
**Post date:** [November 8, 2023, 2:22am UTC](https://community.airframes.io/t/solar-powered-acars-vdl-and-adsb-station/139/7 "2023-11-08T02:22:14Z")

</div>

Great question.  
I could break out the BOM and see what it comes to.  
I had a lot of it laying around from old projects, so did not have to buy it all from new.  
I also have a great E-waste store close by…

---

<div class="post-metadata">

**Author:** ![KevinE](https://community.airframes.io/user_avatar/community.airframes.io/kevine/32/6_2.png) [@KevinE](https://community.airframes.io/u/KevinE)\
**Post date:** [November 8, 2023, 2:23am UTC](https://community.airframes.io/t/solar-powered-acars-vdl-and-adsb-station/139/8 "2023-11-08T02:23:22Z")

</div>

I think an ideal BOM would be great for folks looking to recreate or get an estimate of total equipment/costs!

---

<div class="post-metadata">

**Author:** ![thebaldgeek](https://community.airframes.io/user_avatar/community.airframes.io/thebaldgeek/32/141_2.png) [@thebaldgeek](https://community.airframes.io/u/thebaldgeek)\
**Post date:** [November 8, 2023, 6:33pm UTC](https://community.airframes.io/t/solar-powered-acars-vdl-and-adsb-station/139/9 "2023-11-08T18:33:07Z")

</div>

BOM of the major parts.  
USA Amazon links (sorry, you should be able to convert them to your area).  
Also not in any real order, feel free to post here and ask any questions about why this part or that part.

$15 each. $30 total 2 x 6 foot coax. Probably should have gone longer, they are a bit short. 8ft or 10 ft would have been better.

> **[Amazon.com: XRDS -RF KMR400 SMA to N Cable 10ft, N-Male to SMA-Male Connector...](https://www.amazon.com/KMR400-N-Male-SMA-Male-Connector-Extension/dp/B0B2DBVJX5)**
>
> Buy XRDS -RF KMR400 SMA to N Cable 10ft, N-Male to SMA-Male Connector Low Loss Extension Cable 50 Ohm SMA Cable for 3G/4G/5G/LTE/ADS-B/Ham/GPS/WiFi/RF Radio to Antenna Use: Coaxial - Amazon.com ✓ FREE DELIVERY possible on eligible purchases

$29.99. 4 channel analog to digital current/voltage Pi Hat.

> **[Amazon.com: 4-CH Current/Voltage/Power Monitor HAT for Raspberry Pi...](https://www.amazon.com/4-CH-Current-Voltage-Power-Monitor/dp/B085WQCVVW)**
>
> 4-ch Current/Voltage/Power Monitor HAT for Raspberry Pi, I2C/SMBus Interface Overview This is a 4-ch current and power monitor HAT designed for Raspberry Pi. Via the I2C or SMBus interface, it is easy to monitor each channel's current, voltage, and...

$8.99 12v to 5v DC-DC converter.

> **[Amazon.com: 12V to 5V DC Converter Car Power Voltage, Waterproof DC 6.3-22V 12V...](https://www.amazon.com/Converter-Voltage-Waterproof-Regulator-Step-Down/dp/B07Y2V1F8V)**
>
> Buy 12V to 5V DC Converter Car Power Voltage, Waterproof DC 6.3-22V 12V Step Down to DC 5V 3A 15W Voltage Regulator Buck Converter Power Supply Step-Down Module Compatible with Vehicle Car Truck Volt: Power Converters - Amazon.com ✓ FREE DELIVERY...

$20.99 Solar regulator. I would have loved to use a MPPT, but cost and voltages did not align.

> **[Amazon.com: SOLPERK 10A Solar Charge Controller Waterproof Solar Panel...](https://www.amazon.com/SOLPERK-Controller-Waterproof-Intelligent-Regulator/dp/B0946MWYPK)**
>
> Amazon.com: SOLPERK 10A Solar Charge Controller Waterproof Solar Panel Controller 12V/24V PWM Solar Panel Battery Intelligent Regulator for RV Boat car ，with LED Display : Everything Else

$64.99 100w solar panel. Note the Pi4 and SDRs draw more than you expect (10w in my case), depending on where you live you may need more solar. Also the size the battery should be carefully calculated - or do what I did and go massive overkill. Also note most solar panels are measured in Alaska in deep winter with Southern California summer sunshine. In other words, you will never get their rated output very often. So de-rate accordingly.

> **[Amazon.com : Newpowa 9BB Cell 100W Monocrystalline 100W 12V Solar Panel 100W 12V...](https://www.amazon.com/Newpowa-Monocrystalline-Compact-High-Efficiency-Off-Grid/dp/B09D7BMBWP)**
>
> Amazon.com : Newpowa 9BB Cell 100W Monocrystalline 100W 12V Solar Panel 100W 12V Compact Design High Efficiency Module RV Marine Boat Off Grid (100W) : Patio, Lawn & Garden

$60.00 40Ah battery from local E-Waste store.

$??.?? Box

$??.?? Scrap aluminum and U-Bolts.

$140 PDP ACARS antenna. The gold standard for all things air band be it voice, ACARS or VDL.

> **[ACARS Vertical Outdoor Base Antenna](https://dpdproductions.com/products/acars-vertical-outdoor-base-antenna)**
>
> Specs Gain:  2.6 dBi SWR:  1.5:1 or Less on Center Pattern:  Omni-directional Wavelength:  1/2 Elements:  1 Tuned:  130-132 MHz Band:  VHF Air Connector:  N Female Cable:  RG8X Cable Length:  12...

$60 ADSB antenna. This is not the one I used, but is the same length and is single frequency (most these days are 1090 and 978. I have zero UAT traffic here, so don’t need or want that in the mix).

> **[Amazon.com: Nooelec Omnidirectional 7dBi ADS-B Antenna - 23" Outdoor Fiberglass...](https://www.amazon.com/Nooelec-7dBi-ADS-B-Antenna-Weatherproof/dp/B08NRQF9TK)**
>
> High-quality 7dBi ADS-B antenna designed to efficiently receive flight traffic data at 1090MHz. The bundle includes a mounting kit and a free 10-meter RG58 coaxial cable for testing purposes. NOTE: for permanent installations, we recommend using an...

$13.31 ADSB LNA. I’m very happy with this little filter & LNA beyond the fact that the USB-C power connector sticks out the side. I soldered two wires to the main regulator input / ground and fed it with external +5v DC. It does not accept Bias-T. Can’t be beat for the price.

> **[Amazon.com: pizarra 1090MHz 1.09GHz ADS-B Active Saw Filter &amp;LNA 5V Power...](https://www.amazon.com/pizarra-1090MHz-1-09GHz-Active-Amplifier/dp/B0BS2WV1WJ)**
>
> pizarra Color: purplematerial: plasticconnecter: double (inner hole and outer thread)size: 56 x 13 x 7mm Contents:1 x SAW FilterOnly the above content, other are not included.Note: Light and different displays may the color of the item in the a...

$78 Air Band filtered LNA. Mixed feelings about this one. Its expensive, but does seem to work.

> **[Airband Filtered Low Noise Amplifier](https://gpio.com/collections/filtered-low-noise-amplifier/products/airband-filtered-low-noise-amplifier)**
>
> PRODUCT OVERVIEW This is a small and cost-effective Filtered Low Noise Amplifier with a passband from 118 to 140 MHz with excellent rejection of FM band. Within the Airband, the Gain is 20 dB while the Noise Figure is less than 1 dB. The RF Input has...

BOM total from here is roughly $455.  
My cost was around $140 as I had most of the parts either laying around as spares or stuff I took down from the roof of my house, ie my in use KRIV ACARS station and moved to the factory roof.
