Tag Archives: Johnny-Five

Video NodeBots: JavaScript Powered Robots with Johnny-Five


here no denying that JavaScript is everywhere! But did you know that you could also use it to interact with a range of Sensors (i.e. distance, pressure and heat) and control Actuators (i.e. servos and LED’s)? Attend this lightning talk to find out more about the NodeBots revolution!

In 10 fast paced minutes you’ll learn about how you can get started with JavaScript powered Robots using an Arduino UNO and the Johnny-Five framework. If you are interested in picking up some JavaScript, Node.js, Arduino, Robotics or Electronics skills then this is the lightning talk for you!

There’ll also be drones!

JavaScript Powered Arduino with Johnny-Five


via JavaScript Powered Arduino with Johnny-Five – Safari Blog.

Atwood’s Law: Any application that can be written in JavaScript, will eventually be written in JavaScript.
Jeff Atwood, July 17, 2007

Other than the near omniscience of Edsger Dijkstra, I don’t think any prediction of the future of software development has been so dead-on as Atwood’s Law. JavaScript is everywhere: running applications in browsers, running the servers that feed HTML to the browser, and running database engines, to name a few. 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.

Hardware-to-Hardware Communication with Johnny-Five and PubNub


via Hardware-to-hardware Communication with Johnny-Five – PubNub.

JavaScript has taken the programming languages by storm and in recent years, it has become the most popular language of the web. JavaScript was originally used only on front end side for DOM manipulation and making interactions possible using animations and jQuery. Then the introduction of NodeJS was a game changer as it enabled JavaScript to run on server side too.

One language to rule the client and server!

When it comes to make microprocessors or microcontrollers to work with JavaScript, two libraries stand out, CylonJS and Johnny-five, for a couple of reasons:

  • Support a large number of technologies like Arduino, Raspberry Pi, drones, etc
  • Well-maintained and regularly updated
  • Many stars and forks on GitHub
  • Easy to get started with and a lot of similarity in their syntax

How to Raspberry Pi, Johnny-Five and Octoblu


via How to Raspberry Pi, Johnny five and Octoblu – www.barryschiffer.com.

Citrix Synergy 2015 was the first time I looked in to a product called Octoblu which has been part of the Citrix family since december 2014. Octoblu is best explained as an Internet of Things integration platform or as they say it

Our original mission was to connect everything to everything (people, systems, and things)

Of course we have seen other IoT workflow platforms like IFTTT(If This Then That) but all these platform have a consumer focus and lack context. What we need is a platform that can do If This And This Or This and et cetera then that, that and that et cetera.

After playing around with some basic workflows on Octoblu I decided it was time to start a project including the Raspberry Pi and some sensors. Although not that hard in the end I found it challenging to get it all running. This guide will show you how to spin up a new Raspberry Pi, create your first led on and led off Johnny Five script and connect the Raspberry Pi to Octoblu as an Octoblu Gateway.

Starting with Johnny-Five on the BeagleBone


via Starting with Johnny-Five on the BeagleBone – MORPHOCODE.

As embedded systems are becoming smaller, cheaper and more powerful, it is getting easier to bridge the gap between the physical and the digital world. We are now living in increasingly data-rich environments, largely due to the growing number of connected “things” we interact with on a daily basis. The available data can be used to better understand city dynamics and improve the quality of life we have. Projects such as the Array of things and Sense your City use DIY sensors to provide citizens with information about their surroundings.

Arduino, Raspberry Pi and Beagle Bone are among the most popular open-source hardware platforms that provide a great starting point for beginners.

Triggering littleBits w/ NodeJS Using Johnny-Five


via Triggering littleBits w/ Node.js Using Johnny-Five – Hackster.io.

If you live in San Francisco Bay Area, you probably have seen littleBits ads all over at BART stations and have wondered what they are. These orange, pink, blue, and green Lego-like pieces are amazing tools to learn about electronics and create prototypes of your ideas.

littleBits is a open-source library of electric modules that you can snap together with magnets. There are over 60 modules and more than 150,000 possible circuit combinations. littleBits works with no programming, however, you can snap modules with Arduino and easily incorporate programming into the circuits.

I love crafty things, and have no background in electrical engineering. I can crochet but don’t know how to solder or wire. So, littleBits Arduino at Heart module was naturally my first choice of microcontroller to play with. Also, as a front-end developer, my choice of programming language is JavaScript so I decided to code in node.js, using Johnny-Five. I would like to share my experience step-by-step, so read on!

Johnny-Five: The JavaScript Robotics Programming Framework


via rwaldron/johnny-five.

Johnny-Five is an Open Source, Firmata Protocol based, IoT and Robotics programming framework, developed at Bocoup. Johnny-Five programs can be written for Arduino (all models), Electric Imp, Beagle Bone, Intel Galileo & Edison, Linino One, Pinoccio, pcDuino3, Raspberry Pi, Spark/Particle Core, TI Launchpad and more!

Johnny-Five has grown from a passion project into a tool for inspiring learning and creativity for people of all ages, backgrounds, and from all across the world.

Just interested in learning and building awesome things? You might want to start with the officialJohnny-Five website. The website combines content from this repo, the wiki, tutorials from the Bocoup blog and several third-party websites into a single, easily-discoverable source:

  • If you want to find the API documentation, that’s right here.
  • Need to figure out what platform to use for a project? We put that stuff here.
  • Need inspiration for your next NodeBot? Check out the examples.
  • Want to stay up-to-date with projects in the community? Check this out.
  • Need NodeBots community or Johnny-Five project updates and announcements? This is what you’re looking for.

Johnny-Five does not attempt to provide “all the things”, but instead focuses on delivering robust, reality tested, highly composable APIs that behave consistently across all supported hardware platforms. Johnny-Five wants to be a baseline control kit for hardware projects, allowing you the freedom to build, grow and experiment with diverse JavaScript libraries of your own choice. Johnny-Five couples comfortably with:

…And that’s only a few of the many explorable possibilities. Check out these exciting projects: node-pulsesensor, footballbot-workshop-ui, nodebotui, dublin-disco, node-slot-car-bot, servo-calibrator,node-ardx, nodebot-workshop, phone-home, purple-unicorn, webduino, leapduino, lasercat-workshop,simplesense, five-redbot, robotnik, the-blender

Why JavaScript? NodeBots: The Rise of JavaScript Robotics