Ready to get started? make sure to follow these steps
Questions? If you have questions and if something is not clear, send us a note using this form
Tutorial video to install the Arduino software, Node.JS, Johnny-Five and an awesome editor - tutorial by Chelsea.
Let's get started
1. Download and install Node.JS
Once the package is downloaded, double click on it from your downloads directory and follow the steps until the install is completed.
2. Verify your Node.JS Installation
Make sure Node.JS is installed successfully and it is running by checking the version number.
To find the Terminal window simply search for the "Terminal.app" on the search bar of Finder. Double click and it will open your Terminal window. You will use this window to send all your commands.
2.2 Check the version of node installed by typing:
Verify that your version starts with 0.10 or 4.
If you get an error message, Node.JS was not installed or failed it's installation. Try downloading it again and re-installing it.
2.3 Install Johnny-five. Johnny-five is the library necessary to send commands to the Arduino. Install it using the command below:
sudo npm install johnny-five
You will be prompted for your password. Make sure there were no error messages.
Have you installed the Arduino software already?
1. Download and Install the Arduino software
Select the Mac OS platform and the download should start. Once completed, simply click on the Arduino package to start the installation.
Find the Arduino icon and add it to you Applications Dock.
2. Connect your Arduino board to the USB port.
When adding electronic components on your Arduino board, you should disconnect the Arduino and reconnect it when ready to run your program.
3. Prepare your Arduino Board
Follow these steps to get Firmata uploaded correctly.
3.1 Launch the Arduino IDE by clicking on the Arduino icon.
This will open the development environment.
3.2 Open the Firmata Sketch
3.3 Select the correct board
By default, Arduino should have already selected the Genuino/Uno board. If not, select Genuino/Uno.
3.4 Select the correct port
Select the available port for your Arduino. On most computer there should only be one port to choose from.
3.5 Upload the program
Click on the icon to upload the code. Check the bottom of the IDE to make sure there were not errors during the upload. Errors will show in an orange font.