AlaMode works on the New Pi 2

ICoutesy Element 14

I grabbed a couple of the Pi 2’s as soon as I could, and started testing with AlaMode. First, the new Pi 2 is quite snappy, even the web browser is quite useable. It should be a marvelous platform for your IOT projects! Especially with AlaMode.

It has the same form factor as the B+ so you have to plug the AlaMode’s shorter GPIO connector into one end of the header, and the board overlaps the connector end of the Pi by a few millimeters. I recommend putting some electrical tape over the metal cans of the connectors to keep from shorting AlaMode’s headers.

Because the Pi 2 has a new processor, the GPIO base addressed changed, which makes us update our patched version of avrdude. (needed because standard Arduinos use serial ports handshaking to toggle the reset line, we use a GPIO pin)

Though there’s not a lot of doc out on the Pi 2 (it’s mostly completely backward compatible) the helpful folks on the Raspberry Pi forum gave me all the info I needed, including some code to detect which version of Pi you are running on.

Get the new setup here:

[code]wget https://github.com/wyolum/alamode/blob/master/bundles/alamode-setup.tar.gz?raw=true
tar -xvzf alamode-setup.tar.gz
cd alamode-setup
sudo ./setup[/code]

Note if you haven’t already, you’ll need a new version of Raspbian that supports the Pi2, plus installing Arduino before running the setup above.

Leave a Reply