Archive for the C.H.I.P. Category

Punked it!

Posted in C.H.I.P., Networking on July 30, 2017 by asteriondaedalus

So, the joke I had with Mike Brady, the chap who maintains shairport-sync, was that the problem I was having with dropping of audio was that I was listening to my wife’s punk music.

The acid test for the fix I have used (basic interpolation and longer background buffer) was to pump The Living End to two of the C.H.I.P.



Of course, Madam was too consumed by her Sunday afternoon sitting of Criminal Minds to appreciate the success … so she told me to turn off the Backroom link.

So, the one for her office is ready, just needs some fiddling to fit the speaker on top of the storage cabinet.

I am now looking at setting up one in the gazebo in the backyard and one under the veranda in the front yard (we have a pool area in the front).


Ah ha!

Posted in C.H.I.P., Linux on July 26, 2017 by asteriondaedalus


I am now building the third C.H.I.P. with shairport-sync.

I went to look on the gateway admin page to check to see if the other two were still up.

Neither turned up in the wifi list.


So I went to the iPad and sure enough, I could see and select the other two as Airplay targets.

So, I ssh’d in and I could connect to both  AND I could ping from both.  That validates both that I can get out and the DNS setup is still working.

So, it looks like there is some bug in the gateway web admin since I can’t have internet access if something isn’t right.

Not sure if that relates though to the OPiZ story as that was definitely devices dropped.

Still, so many niggly confounding problems.

So, I will ignore them and build the third C.H.I.P. for Madam’s office.

What the!?

With the static IP set, the third C.H.I.P. can be seen on the gateway wifi list.  The only difference between the third C.H.I.P. and the other two is it is connected by USB to my PC for the setup.  Why on earth would that make a difference as to whether it is “seen” by the gateway list?

Okay, so I had deleted a network scanner off my Android phone when I found it had broken post an update.  I downloaded a new one tonight that similarly could only see the new C.H.I.P. attached to my PC???  I scrapped that one and downloaded yet another one and it could see all three C.H.I.P.???  Fracked if I know what is going on there.

Too dopey to bother with, no concern given I can still talk to board by USB and all other evidence is that, from the C.H.I.P. point of view everything is fine.


Posted in C.H.I.P., Linux, Orange Pi on July 22, 2017 by asteriondaedalus

So, here it is Sunday.

Morning coffee in hand while I wake up.

Dogs still asleep but will be doing backflips once they hear me getting their leads out for the Sunday bush walk.

OPiZ still up, node-red console full of reports of reboot every 5 odd minutes.

Since it has been in this reboot cycle since Friday night I am happy enough the nodejs, node-red, npm combo is not the contributing factor to the ethernet and usb stopping.

After the walk I will … well I will have a nap.  But after the nap I will … well I will build another C.H.I.P. with shairpoint-sync for the second sound bar.

Later tonight I might have another go at the emqttd install on the OPiZ.

I am still not sure how that might induce the dropping  of devices, but it in hindsight there is a conspicuous connection since the problems seemed to start once I had installed and was running the emqttd – that observation holds over the at least a dozen times I re-burnt then setup a distro for the OPiZ.

Curious, because these are the exact same steps to set up a Raspingdoodleburry Pi or ODROID-W with the same combo of app – neither with any problems with devices dropping.

Pump up the volume

Posted in C.H.I.P., Embedded, Linux on July 22, 2017 by asteriondaedalus

So Target had finally dropped prices of sound bars with aux input to AUS$49 so I can deal with the wife’s nagging about the BOSE wifi sound system with a $9 C.H.I.P. and a $49 sound bar.



Perfect for the bedhead in the main bedroom and the window sill in the guest bedroom or in the book case in the wife’s study.

I only bought two as we had the speaker tower in the backroom.

Now, given all the problems I had with debian server distro and the OPiZ, here I am using nmcli to setup the static IP for the wifi on the C.H.I.P. with no problems.

Given I had the 3-pin serial cable out, I just swapped it over to the C.H.I.P. from the OPiZ.

I flashed with the headless server version 4.4 of for the C.H.I.P..

I used nmcli to setup the wifi using the provided example.

I then used “sudo nmtui” and setup the static ip and then reboot.

I found the device on my gateway list of wifi devices … bute!

To install shairpoint-sync I simply followed the instructions at Hackster.

The trick is where the instruction asks for interpolation to be set to soxr I reset it back to basic.  I also set the alsa property:

audio_backend_buffer_desired_length_in_seconds = 0.5 (it was set to 0.15).

I did this because the audio would drop out briefly.  Evidence is the soxr interpolation takes a grunting cpu and there might have been some network problems.  So, between relaxing the interpolation and buffering more audio, the dropping of audio apparently has ceased – much to Madam’s delight.

The nuisance, the wife has given up her iPhone for a Samsung S8 – which she doesn’t like.

I found you can get Airplay running on Android so we could get by.  I bought her a new laptop but she hasn’t moved her iTunes to that yet.

She hasn’t installed iTunes on the PC that I built her.  iTunes is on her old laptop so there are some politics there to get that transferred – especially as I have my eye on her old laptop to be my 64bit Debian dev box.

So while the Airplay route is “comfortable” it is rather “complicated”.

However, she has an iPad that she now hardly if ever uses so it can be the server for the house music.

Too easy drill sergeant!

Too easy, that is, because even though I am using a debian based distro on the C.H.I.P., and essentially using the same tools to set up the C.H.I.P. as I was the OPiZ, I am having no problems with C.H.I.P. headless server.


Oh … yes, if she asks BOSE was bought out by Thompson.



Here’s the theory …

Posted in Arduino, Beaglebone Black, C.H.I.P., General niff naff and trivia on April 29, 2017 by asteriondaedalus

… straight forward really.

MOOS-IVP happily compiles and runs on on of my Beaglebone Blacks.


Sooooo, no stretch (pardon the pun) for MOOS-IVP to fit onto a C.H.I.P.!


Both are 1GHz processors with 512M of memory.

The standard approach, in any event, is run MOOS-IVP on the linux board and have an arduino interfacing with the hardware.

Of course, I am running against the AIO:

You could just as easily run against a raft of other boards, such as:

Or even a Parallax Propeller board!

That would all depend on what you are offloading to the hardware layer.

Xmas sales!

Posted in C.H.I.P. on December 20, 2016 by asteriondaedalus

Wow, a shield for your Arduino with Wifi and Airplay and Audio, down from AUS$159 to AUS$99 for Xmas!

Or just ask Mike Brady for Airplay on your US$9 C.H.I.P.!

No, not that “Mike Brady“.

Wow! An ESP-13 shield down from AUS$34.95!  Or a WEMOS D1 R2 for US$6.  US4.60 if you buy 5 at a time, and you get AUS$3.14 change from the price of the ESP-13.