JavaScript Powered Arduino with Johnny-Five

Arduino
JavaScript Powered Arduino with Johnny-Five

connected-arduino-uno

Posting at the Safari Books Online Blog, Derick Bailey has created an Arduino project that bows before Atwood’s Law (“Any application that can be written in JavaScript, will eventually be written in JavaScript.”):

It should be no surprise, then, that JavaScript can also be used to control off-the-shelf hardware, circuits and other electronics like the Arduino platform. Through the use of frameworks like Rick Waldron’s Johnny-Five for NodeJS, and the “StandardFirmata” software package for Arduino, you can write JavaScript on your computer and use it to control and manipulate nearly any aspect of an Arduino-based hardware setup.

But before you take over the world with your JavaScript powered robots, you’ll need to get a few of the basics out of the way. You’ll need to know how to get an Arduino to communicate with your JavaScript program. You’ll need to know how to build a circuit that works properly. And you’ll need to know how to manipulate that circuit, through the use of Arduino, with your JavaScript code. And before you do any of that, you’ll need a few hardware parts to work with.

Check out the article for all the code, Fritzing diagrams, and list of electronic parts you need to control a USB-tethered Arduino from a Node app running on your computer: JavaScript Powered Arduino with Johnny-Five. (You can also find our MAKE books up on Safari Books Online; they’ve got a link at the end of Derick’s post to one of my favorites: Make a Mind-Controlled Arduino Robot.

6 thoughts on “JavaScript Powered Arduino with Johnny-Five

  1. eksith says:

    Reblogged this on This page intentionally left ugly and commented:
    Even though I’m not a JS fan, this is pretty bloody impressive! I think I’ll still stick to C++ for my robot build ;)

  2. rick waldron (@rwaldron) says:

    So… this is exciting :)

    To anyone reading… If you have any questions, need help or want to show me awesome things you’ve made with Johnny-Five, don’t hesitate to ping me on IRC or twitter @rwaldron or email me directly waldron.rick@gmail.com

  3. make money online for teenagers says:

    Hello! Somesone in my Facebook group shated this website with us so
    I came to give it a look. I’m definitely loving the information.
    I’m book-marking and will be tweeting this to my followers!
    Superb blolg and wonderful design.

Comments are closed.

Discuss this article with the rest of the community on our Discord server!
Tagged

I'm a tinkerer and finally reached the point where I fix more things than I break. When I'm not tinkering, I'm probably editing a book for Maker Media.

View more articles by Brian Jepson

ADVERTISEMENT

Maker Faire Bay Area 2023 - Mare Island, CA

Escape to an island of imagination + innovation as Maker Faire Bay Area returns for its 15th iteration!

Buy Tickets today! SAVE 15% and lock-in your preferred date(s).

FEEDBACK