Hackster is hosting Impact Spotlights: Robotics. Watch the stream live on Thursday!Hackster is hosting Impact Spotlights: Robotics. Stream on Thursday!

What’s a Nodebot?

This past weekend, cities around the world celebrated Nodebots day. Hackster.io was proud to sponsor the first Nodebots meetups in Africa —…

Monica Houston
9 years ago

This past weekend, cities around the world celebrated Nodebots day. Hackster.io was proud to sponsor the first Nodebots meetups in Africa — one in Abuja, Nigeria and one in Bulawayo, Zimbabwe. Hackster Ambassadors also ran Nodebots meetups in Dallas and Seattle.

Nodebots are Javascript controlled robots. Anyone who knows a smattering of Javascript can use it to control Arduino, Raspberry Pi, Intel Edison and many other boards.

Why use Javascript to program robots?

As we found from Hackster’s survey, almost 30% of IoT developers feel most comfortable programming in JavaScript. Also, as you’ll see, Nodebots code can often be written in just a few lines.

How does it work?

The typical way to create a nodebot is using Johnny-Five, but you can also use Cylon.js, particle-api.js (for the Particle), or Tessel’s “native” JavaScript. Using Johnny Five, if you want to control a microcontroller via usb serial, you upload Firmata to your microcontroller. If you’re using a board running linux or you want to control via Wifi or bluetooth, you install a plugin. This will map the IO pins on your board and make them controllable via Javascript. The JavaScript program is executed from either a host machine or your linux dev board running Node.js.

Check out the projects below, as well as my presentation (created for the 2015 CascadiaJS conference) for step-by-step instructions:

Here are a few more fantastic resources for getting started with Nodebots:

Happy hacking!

Monica Houston
I don't live on a boat anymore.
Latest articles
Sponsored articles
Related articles
Latest articles
Read more
Related articles