LED Blinking Program Using Node js and Arduino.

Node.js is a very powerful JavaScript-based framework built on Google Chrome’s JavaScript V8 Engine. It is used to develop I/O intensive web applications like video streaming sites, single-page applications, and other web applications. Node.js is open source, completely free, and used by thousands of developers around the world.

Node isn’t a program that you simply launch like Word or Photoshop: you won’t find it pinned to the taskbar or in your list of Apps. To use Node you must type command-line instructions, so you need to be comfortable with (or at least know how to start) a command-line tool like the Windows Command Prompt, PowerShell, Cygwin, or the Git shell (which is installed along with Github for Windows).

Components Required

1 x Arduino Uno board

1 x LED

Software Required

Johnny-Five :- Johnny-Five is the JavaScript Robotics & IoT Platform. Released by Bocoup in 2012, Johnny-Five is maintained by a community of passionate software developers and hardware engineers. More than 75 developers have made contributions towards building a robust, extensible and compatible ecosystem. We will achieve this with the Johnny-Five library for Node.js to program our robot. Johnny-Five uses a protocol called Firmata to communicate with the micro-controller over the USB .

Step 1 – Setting up Firmata to Arduino Board

Before going to start programming with NodeBots, First we need to load Firmata onto Arduino board.