$9 Computer Board C.H.I.P

My $9 Computer C.H.I.P. is due to arrive in two weeks.
Has any one used this board for receiving adsb & feeding data?

https://farm6.staticflickr.com/5613/30852256996_1bec3abba4.jpg

provide us more info about cpu and ram

Sent from my SM-N910F using Tapatalk

https://c6.staticflickr.com/6/5335/30890948845_e19d56ec40_z.jpg

*WiFi B/G/N Built-in!
Plug C.H.I.P. in and hop on the internet in 60 seconds flat.

1GHz Processor
C.H.I.P.'s R8 processor allows C.H.I.P. to be small and powerful enough to handle any task you can throw at it.

4GB of High-speed Storage
C.H.I.P. comes with storage onboard, so there’s no need to purchase an SD card. C.H.I.P. is ready to go.

512MB of RAM
C.H.I.P. comes with enough RAM to start your projects right away.

Bluetooth 4.0
Wirelessly connect keyboards, mice, and controllers to C.H.I.P. With a few clicks and an old stereo, turn C.H.I.P. into an AirPlay or Bluetooth speaker.

C.H.I.P. Works with ANY Display
C.H.I.P. is designed to work with any screen. Old or new. Big or small. Connect via C.H.I.P.’s built-in composite output or add a simple adapter for either VGA or HDMI.*

https://getchip.com/pages/chip

http://docs.getchip.com/chip.html#introduction

.

The CHIP system comes preinstalled with an OS and ready to install piaware.

CHIP has instructions on how to connect to the device here:
docs.getchip.com/chip.html

Grab piaware builder (git clone) and run the script. Instructions on in the README.
github.com/flightaware/piaware_builder

Plug in the RTL dongle and hope the USB port can source enough power to run the dongle.
I had to use a powered USB hub on my beta CHIP board to have the system stable.
There were power and reliability problems but it was as a beta board and I am fairly sure they fixed those problems.

The CHIP they are sending out now are the final design of the production boards so it will be nice to find out how well they work.

@david.baker

Thanks David for detailed guidance. I hope installation and operation of Piaware 3.1.0 (add-on) will be smooth. Delivery is expected in 10 to 15 days. I will try to install all necessary adsb software i.e. dump1090, 4 data feeders, web portal (if possible). Will post results after that.

I’ve got a pair of final production C.H.I.P.s that I bought with this idea in mind and ran into a couple of issues (which were annoying enough to be showstoppers for me for ADS-B). PiAware 2.x installed easily; I never tried 3.x on them. I eventually gave up on it for the following:

  1. With firmware 4.4 (and later), they include an Ethernet over USB gadget driver built into the kernel that could not be disabled. This is problematic for us because it generates a random ethernet MAC every time it reboots. Unfortunately, this is the MAC that is used for identifying the feeder to FlightAware, so I wound up accidentally creating a new PiAware site every time I rebooted. The only solution they offered was to downgrade to firmware 4.3 (which is no longer getting useful additions/upgrades). I think the solution for this will have to come from the PiAware software side of things.

  2. Power, power, power. The C.H.I.P. has an on-board LiPo battery charging chip (AXP209) that limits the current draw on the USB power input to 500 mA so you don’t cook your laptop if using it to power the C.H.I.P. You can bypass this using a new command in firmware 4.4 (yeah, that firmware 4.4), or by powering through the GPIO pins. If you don’t do one of these things, the power draw from starting dump1090 and the USB receiver will cause C.H.I.P. to crash and turn off.

I tried running it through a powered USB hub (I just swapped a C.H.I.P. for my old RPi B that is running PiAware and a Pro Stick very happily via a Pluggable hub) and still had trouble with it crashing when under load. The power management stuff keeps improving, though. I get the impression that the power stuff can be sorted out with enough diligence - maybe connect a 2-3A 5V power supply to the correct pins and bypass the AXP209 chip entirely, and use a powered USB hub to run your USB receiver.

  1. The R8 CPU is not very powerful. It’s a single-core 1Ghz ARMv7 and is just a little more capable than an old RPi model B/B+. It really bogs down when doing anything CPU intensive, even apt-get update. I suspect that it would struggle in an area with lots of planes to track/decode, and running 4 data feeders and a web portal may be just too much.

All that said, it’s a pretty interesting piece of hardware and a clever approach, but I’m sticking with my RPis and Orange Pi for ADS-B. I’ve finally gotten one C.H.I.P. very stable running a display of a ThingSpeak data channel and am pleased with it, though I really want HDMI out (but $22 shipped for the C.H.I.P. HDMI adapter isn’t going to happen). The other one is in a box doing nothing – if anyone wants it, shoot me a message and let’s make a deal.

Apologies to FA for veering off topic… Did you get the VGA adapter with the CHIP? If so, how was it? I salvaged the screen from an AOC USB monitor and bought a cheap driver circuit off of eBay, but it only has VGA input and no HDMI. I was thinking about making a small magic mirror with it and a Pi but the CHIP might be a better way to go if I don’t have to convert the HDMI to VGA, plus the CHIP is smaller.

@gismonkey
Thanks for the detailed and very useful review.

No, I’m just using the composite video out. Good luck with the magic mirror!

Regarding problem #1, cant add the MAC spoof into the cmdline.txt as such and reboot to get your static MAC issue resolved? (Assuming they will run raspian/arm) - I’m not familiar enough with the hardware. If vanilla Debian, should be able to accomplish the same using iproute or macchanger I think.


sudo sh -c "sed -i 's/$/ smsc95xx.macaddr=b8:27:eb:xx:xx:xx/' /boot/cmdline.txt"

I don’t have a CHIP, the other issues you raised could be the stopper for higher traffic sites.

piaware 3.2.0 (you’ll need to build it yourself at the moment) has an option that lets you override the MAC address used for site selection, which might help in this case.
(YMMV, experimental feature, is likely to go away once a better alternative is in place)

Got this email newsletter:

*C.H.I.P. gets 3D acceleration, the web flasher gets updated and Alpha C.H.I.P.s get out of the vault.

	 				 			 				 				 				 				 				 				 				 				 				 				 							 							 								 							 							 								 	 				 				 				 			 				 				 				 GR8 News! We've updated C.H.I.P.s software, improved our Chrome web flasher and we're bringing Alpha C.H.I.P. out of the vault. Read on!

C.H.I.P. goes 3D (NAND, there’s more!)

Last week we announced 3D acceleration for PocketC.H.I.P. and we’ve already seen the community run Quake 3 and Kodi! Today, we’re excited to bring 3D acceleration to C.H.I.P.

Head over to our new and improved Chrome web flasher to get 3D on your C.H.I.P.(s)! As an added bonus for updating, our new C.H.I.P. software will double the storage of all C.H.I.P.s shipped to date. That’s and extra 4 gigs!*

INSTALLATION OF DUMP1090-MUTABILITY ON $9 BOARD “C.H.I.P.”
Received my C.H.I.P. board. Tried to install first ONLY dump1090-mutability using JP’s automated script to see how it goes.

When reached the stage to configure automatic start of dump1090-mutability, the C.H.I.P. crashed. Tried several time, exactly same happens:


Configuring dump1090-mutability
dump1090 can be started automatically via an init-script. Otherwise, the init-script does nothing; you must run dump1090 by hand. You can modify the options used when automatically starting dump1090 by running “dpkg-reconfigure dump1090-mutability” as root, or by editing /etc/default/dump1090-mutability.

Start dump1090 automatically?


Enabling lighttpd integration…
Enabling dump1090: ok
Run /etc/init.d/lighttpd force-reload to enable changes
Restarting lighttpd…
Processing triggers for systemd (215-17+deb8u5) …

…CRASH… :frowning: :confused: :open_mouth: :angry: :frowning:

Rebooted, and tried to run dump1090-mutability manually:

chip@chip:~$ sudo dump1090-mutability
[sudo] password for chip:
Sun Nov 20 12:50:45 2016 UTC dump1090-mutability v1.15~dev starting up.
Using sample converter: UC8, integer/table path
Found 1 device(s):
0: Realtek, RTL2838UHIDIR, SN: 00000001 (currently selected)
Found Rafael Micro R820T tuner
Max available gain is: 49.60 dB
Setting gain to: 49.60 dB
Gain reported by device: 49.60 dB

*5dc03cf497411a;
CRC: 000000
RSSI: -22.2 dBFS
Score: 750
Time: 181312.08us
DF:11 AA:C03CF4 IID:0 CA:5
All Call Reply
ICAO Address: C03CF4 (Mode S / ADS-B)
Air/Ground: airborne

*59a3ed7c8d77f4;
CRC: 000000
RSSI: -22.8 dBFS
Score: 750
Time: 269945.58us
DF:11 AA:A3ED7C IID:0 CA:1
All Call Reply
ICAO Address: A3ED7C (Mode S / ADS-B)

*5dc05f82c51da4;
CRC: 000000
RSSI: -18.1 dBFS
Score: 750
Time: 622513.33us
DF:11 AA:C05F82 IID:0 CA:5
All Call Reply
ICAO Address: C05F82 (Mode S / ADS-B)
Air/Ground: airborne


…30 seconds passed…
…CRASH… … :frowning: :confused: :open_mouth: :angry: :frowning:
.

That looks like a lot like the crashing I saw that was probably related to power supply. Once you get the cpu load up a little, the combined power draw of the C. H. I. P. and the receiver is probably over the 900 mA limit they set, so it shuts down to keep from frying your computer’s USB port.

Are your crashes the power off, no lights on any more kind? That’s what I was having.

You may have more success with running the receiver through a powered USB hub. You might even consider the powering the C. H. I. P. through the GPIO pins, since it bypasses the power controller. The wiki has a great section on power.

@gismonkey

When the crash occurs, both the purple and green lights turn off.

With the power adapter (2 Amps) which came with the board, crash occured in less than 1 minute of stsrting dump1090. I used another adaptor from China (3 Amps) and with it the crash occured about 3 minutes after starting dump1090.

I tried to uninstall dump1090 so that I can do a fresh install, but it refused to remove/purge it saying the package is in bad condition:

chip@chip:~$ sudo systemctl status dump1090-mutability -l
[sudo] password for chip:
● dump1090-mutability.service
Loaded: not-found (Reason: No such file or directory)
Active: inactive (dead)

chip@chip:~$ sudo dpkg --purge dump1090-mutability
dpkg: error processing package dump1090-mutability (–purge):
package is in a very bad inconsistent state; you should
reinstall it before attempting a removal
Errors were encountered while processing:
dump1090-mutability

chip@chip:~$ sudo dpkg --remove dump1090-mutability
dpkg: error processing package dump1090-mutability (–remove):
package is in a very bad inconsistent state; you should
reinstall it before attempting a removal
Errors were encountered while processing:
dump1090-mutability
chip@chip:~$

How to format its memory card and reinstall the Operating System? Its memory card is not temoveable.
.

Try dpkg --configure -a, it may fix the package state. Generally “in a very bad state” means that something happened like a crash in the middle of a package operation.

@obj
Thanks Oliver, it worked, and the Map with planes started showing.
I have used generic DVB-T (black) to minimize load.
Also, I used a 3 Amps power adapter, which has worked successfully on my RPI+ProStick.
However after running successfully for about 5 minutes, the C.H.I.P. crashed :frowning: :cry: :angry:

Below are the details if anyone is interested to see.

chip@chip:~$ sudo dpkg --configure -a
[sudo] password for chip:
Processing triggers for systemd (215-17+deb8u5) …
chip@chip:~$ sudo reboot

chip@chip:~$ sudo systemctl status dump1090-mutability
[sudo] password for chip:
● dump1090-mutability.service
Loaded: not-found (Reason: No such file or directory)
Active: inactive (dead)

chip@chip:~$ sudo dpkg --purge dump1090-mutability
dpkg: error processing package dump1090-mutability (–purge):
package is in a very bad inconsistent state; you should
reinstall it before attempting a removal
Errors were encountered while processing:
dump1090-mutability

chip@chip:~$ cd /adsb-receiver/build/dump1090-mutability
chip@chip:~/adsb-receiver/build/dump1090-mutability$ sudo dpkg -i dump1090-mutability_1.15~dev_armhf.deb
Selecting previously unselected package dump1090-mutability.
(Reading database … 94614 files and directories currently installed.)
Preparing to unpack dump1090-mutability_1.15~dev_armhf.deb …
Unpacking dump1090-mutability (1.15~dev) over (1.15~dev) …
Setting up dump1090-mutability (1.15~dev) …
Enabling lighttpd integration…
Enabling dump1090: ok
Run /etc/init.d/lighttpd force-reload to enable changes
Restarting lighttpd…
Processing triggers for systemd (215-17+deb8u5) …

chip@chip:~/adsb-receiver/build/dump1090-mutability$ sudo /etc/init.d/lighttpd force-reload
ok ] Reloading lighttpd configuration (via systemctl): lighttpd.service.

chip@chip:~$ sudo dpkg-reconfigure dump1090-mutability


Enabling lighttpd integration…
already enabled
Run /etc/init.d/lighttpd force-reload to enable changes
Restarting lighttpd…

chip@chip:~$ sudo nano /etc/default/dump1090-mutability
#added Latitude & Longitude, as this option was not presented in dpkg-reconfigure step above. Saved file

chip@chip:~$ sudo systemctl restart dump1090-mutability
[sudo] password for chip:
chip@chip:~$ sudo systemctl status dump1090-mutability -l
● dump1090-mutability.service - LSB: dump1090 daemon (mutability variant)
Loaded: loaded (/etc/init.d/dump1090-mutability)
Active: active (running) since Sun 2016-11-20 16:31:09 UTC; 6s ago
Process: 781 ExecStop=/etc/init.d/dump1090-mutability stop (code=exited, status=0/SUCCESS)
Process: 791 ExecStart=/etc/init.d/dump1090-mutability start (code=exited, status=0/SUCCESS)
CGroup: /system.slice/dump1090-mutability.service
└─801 /usr/bin/dump1090-mutability --net --ppm 0 --fix --lat 43.5xxx --lon -79.6xxx --max-range 300 --net-ri-port 30001 --net-ro-port 30002 --net-bi-port 30004,30104 --net-bo-port 30005 --net-sbs-port 30003 --net-heartbeat 60 --net-ro-size 500 --net-ro-interval 1 --net-buffer 2 --stats-every 3600 --write-json /run/dump1090-mutability --write-json-every 1 --json-location-accuracy 1 --quiet

Nov 20 16:31:09 chip systemd[1]: Started LSB: dump1090 daemon (mutability variant).
chip@chip:~$

Dont be shocked by so few planes.
Using Generic DVB-T (black) and stock whip antenna, inside room away from window

https://c4.staticflickr.com/6/5762/31021781971_a9e30c1a10_b.jpg
.
.
.
.
.
…C.H.I.P. CRASHED AFTER FIVE MINUTES… :frowning: :open_mouth: :confused: :angry: :cry:
.
.
.
.
.

Not good. I though they would be able to fix the USB power problems in the retail version.

The only way I was able to stop the crashing on the beta board was to use a powered USB hub.
Powered USB hubs can easily be $15 which raises the cost of a complete system a lot.
It does run stable but there are better solutions that don’t require a USB hub.

For reference: The regular RTL dongles uses around 270mA of power. The FA dongles use 300mA of power.

It also took until the Raspberry Pi 2 for the hardware problems to be figured out.
This isn’t uncommon in the mini computer world to have a buggy first version and sometimes a buggy second version.

[quote=“david.baker”]…The only way I was able to stop the crashing on the beta board was to use a powered USB hub.
Powered USB hubs can easily be $15 which raises the cost of a complete system a lot…
[/quote]

  1. THE $9 ILLUSION
    C.H.I.P. Board… $ 9.00
    Case… $ 2.00 :frowning: not a case, a base plate worth 25 cents
    USB Wall Charger … $ 7.00
    Shipping from USA to Canada … $10.33 :cry: :angry: :open_mouth: :astonished: :frowning:
    ===================================
    TOTAL Paid to Next Thing Co… $ 28.33
    Peripheral to be purchased separately:

  2. Powered USB Hub … $ 15.00

  3. AV to HDMI Converter… $ 10.00
    ===================================
    GRAND TOTAL … $ 53.33
    ===================================
    No wired network socket provided, but on board WiFi is there.

  4. Orange Pi PC
    Orange Pi PC Board + Transparent case + Power adaptor… $ 23.00
    Postage from China to Canada… $ 5.89 :smiley:
    ==========================================================
    TOTAL Paid to Chinese Seller at Aliexpress… $ 28.89
    Peripherals purchased: (Optional, as wired network socket has been provided)
    Unbranded wifi dongle RTL8188CUS… $ 2
    Orange Pi’s OS Armbian has poor WiFi driver support, and most dongles will not work.
    I tried 2 different types of wifi dongles, did not succeed, and am using wired network.
    ==========================================================
    GRAND TOTAL… $ 30.89
    ==========================================================
    .

Hello to all,
I am new here on ADS-B forums and ADS-B in general but I have been Ham radio operator some 19 years now so I know the basics about ADS-B.
I was experimenting with raspberry Pi for long time and last year i got my C.H.I.P, it was used for all kind different projects. I had Pi running as feeder and from last month it stopped working for some reason, i was thinking to replace it with c.h.i.p but i read here that it will not be good to run as feeder because power problems.
Didn’t have much choice, so I decided to give it a try.
Flashed it with firmware to operate without GUI (as they say headless)
When power was first plugged in it was without dongle so it worked ok, installed mutability/dump1090 (many thanks to abcd567, i found all needed info on his posts)
After reboot it was not happy when i plugged in dongle, it halted (brownout), so I tried different approach. I had 5V 2,5A power supply from some old device and I cut off connector and soldered 2 pin headers on small piece of PCB.
Plugged it in on CHG-in and GND.
And it worked.
It is now running for few days but w-fi is not good on that part of building so it has a lot of “holes” in feeding.
All is positioned very low on my office window and antenna is generic one that came with the dongle.

Yesterday I saw red square for MLAT notifying me about anomalie that CPU is running out of resources. Weather was really bad (strong thunderstorm) and there was not many planes at that moment so it could be something else that was bugging it.
For now, my only concern will it be able to deliver enough CPU power.
Don’t know how to monitor CPU usage via command line… I am new in linux world :slight_smile:

Next task for me is to repair Pi to run them in parallel to see the difference.

P.S. sorry for bad english :slight_smile: