Archive for the Erlang Category

It has just occured to me …

Posted in Chapel, ConCurrency, Erlang, ODROID-C1, Parallel Talk, Parallella on May 19, 2017 by asteriondaedalus

… what a coincidence.

The Parallella and the Odroid-C1 PCB are same size (almost).  Is that Feng Shui, synchronicity or serendipity?

Pity the post holes don’t line up.

It occurred …

Posted in Embedded, Erlang, ODROID is wonderful, OpenSprinklette on December 5, 2016 by asteriondaedalus

… that after all the fluffing around with TTB on the inherited RaspingBreathBurryDOodlePi, I did rather prefer my mix I built originally on one of my ODROID-W.

Still, now I have got the additional ODROID-C1 it makes more sense for use as the house automation server.

The reason is that there is a UPS module that I can get from HardKernel that will help with survival requirements (given the blackouts we occasionally get in sleepy little Adelaide).

I do rather like the 7″ touch display you can get for the C1 as well.  Although, that isn’t strictly necessary since we will browse into the node-red running on it.


Erlang on C.H.I.P.

Posted in Embedded, Erlang on July 30, 2016 by asteriondaedalus

Well, with github and down (for some dangblasted reason) I tried building Erlang on one of my C.H.I.P. from instructions here (for RaspbreathyPiklette).


Sorta stuck after that as … github is down.  Git can’t find it, ping can’t browser can’t.  The site reports up and running but still can’t connect.



Posted in Agent, Erlang, Python RULES!, RabbitMQ, XMPP on June 8, 2015 by asteriondaedalus

So, sorted the BlackWidow and likely the YellowJacket connectivity. The socket approach seems to be the better option, and that is TCP based, so porting of mqtt code might still be possible – although the application is simple enough so a Python adaptor on the host between the boards and the mqtt server would do just as well.

Now, the other side is that I opted for moving from emqttd to RabbitMQ as the mqtt broker.  This is due to the fact that there is likely a way to get RabbitMQ talking to Spade agents via XMPP (with some work).  This might be a way of integrating Profeta agents into the picture without deep integration into Spade that I have been currently investigating.

Not to mention likely being able to use the same inter-agent communication for eJason base experiments.

Essentially using mqtt as a ‘blackboard‘.

Setting up the ODROID-W

Posted in Embedded, Erlang, ODROID-W, Raspberry Pirate on October 10, 2014 by asteriondaedalus

A second package turned up in my PO box from Hardkernel.  It was the extra ODROID-W for my parts drawer and also the connector sets I forgot to get.  Trying out the ODROID-W plus base board was a little hard without the connectors, yes?

Ah! That's better.

Ah! That’s better.

A little soldering etc. then bomb Rasbian onto an SD card, then dump the Erlang and, yes, the blinking LED experiment.

This weekend I promised myself.  I have already put lighting up a Beaglebone Black with the cross-compiled Erlang experiment I put together on my 32bit Debian box.  I just need to sort the SD card reader/burner on that machine.

The box that turned up also included four button cells for the on-board RTC (you know the one the Raspberry Pi doesn’t have).  So, I had forgotten I had ordered those, I ordered 8 button cells from them to get connectors for the board for the lipo cells, not the other day.  So it means I can sort out battery power for the board ahead of schedule.  All good.

Batteries smatteries

Posted in Embedded, Erlang, Raspberry Pirate on October 2, 2014 by asteriondaedalus


I ordered a couple of extra ODROID-W without base board – just to have on hand for those spontaneous projects.

I haven’t ordered any batteries from Hardkernel due in no small part to the problems ordering batteries from overseas and the hassle with conniptions about lipos and fire.

So, I thought I would buy batteries locally.  They have JST and not  Molex 51021-0200 connections but I thought I would just add a jumper to the battery.  Ordered Molex jumpers to find, go figure, they are too big!

So now I have to sort out batteries from Hardkernel – if and only if they can send them.

The saving grace will be they sell button batteries for the RTC that have the right Molex connector.  Worst case I have to buy 8 of those to get the 4 molex connectors I will need for my ODROID-W boards.


So, to get the molex connectors from Digikey they will cost $0.34 (that is 34 cents) for ten.  Then $34 (that is 3400 cents) to post.  Why? They’d fit in an envelope with a stamp!  I ended up ordering 8 RTC button cells from Hardkernel.  They have the same connector so I will snip 4 and piggy back the connector on the batteries I bought.  If you think about it that is necessary because the batteries still need charging and the new molex connectors will not fit the charger – catch 22.

No real biggy.  Most RC batteries have two connectors, one for charger and one for power train.

Erlang on BBB

Posted in Beaglebone Black, ConCurrency, Embedded, Erlang on September 17, 2014 by asteriondaedalus

So, tried to set up nerves-sdk on my 64bit Debian box.  Had trouble sourcing i386 libraries so I chickened out and jumped on my 32bit Debian box.

32bitSlow build but I got a linux image for the BBB cross compiled with erlang and elixir (no less) so I will look at putting the image on a card to see if the thing took.  I need to get an FDDI serial cable for my BBB to talk to the erlang onboard so soon.