Configuring Johnny-Five For Node-RED on Raspbian

Configuring Johnny-Five to work with the Node-RED graphical development tool in Raspbian

Node-RED is a wonderfully productive drag and drop development tool for creating Node.js apps. It is especially useful in IoT development since there are tons of useful nodes to interface with your Raspberry Pi. While Node-RED comes with a bunch of python based Raspberry Pi nodes that let you read/write from the GPIO pins, keyboard, and mouse, it does not come out of the box with nodes that let you work with I2C, SPI devices, or various sensors. This is where Johnny-Five comes in really handy. Once you install the install the Johnny-Five nodes you can drag and drop them onto the palette and wire them up with a host of other nodes to create fully functional apps in minutes or in some cases seconds. However, getting the Johnny-Five nodes to work in Raspbian is a bit tricky because the Pi needs root in order to access the I/O pins, so I thought I would document all the steps to make it work (this is for a Raspberry Pi 2 Model B) -> Configuring Johnny-Five to work with Node-Red




Tim Choo on August 30th 2016

Hi! The Johnny-Five community is building new projects every day. We made this newsletter to tell you about what's new, what's good, and what's next for Open Source robotics. Join us in exploring what we can make together.

Fork me on GitHub