Ready to get started? make sure to follow these steps

In order to get started with the lessons, you need to prepare your Chromebook so that it can interact with the Arduino board.  All you will need is the Johnny-Five Google App installed.  This app will allow you to write JavaScript programs that will send all the commands to the Arduino board using the USB port.

Why JavaScript and not C?

JavaScript is quickly becoming a versatile language used in many different environments.  Originally used in browsers to enhance the user experience, it has also been adopted for server side functions and lately in robotics with the availability of libraries such as serialcomm and Johnny-five.  JavaScript is much easier to learn for kids when getting started.  Kids will learn all basic constructs of a program, including variable assignments, flow control and function calling.

Questions?  If you have questions and if something is not clear, send us a note using this form


Let's get started

1. Log in

In order to use your Chromebook you need a Google account and log into it.  Use your gmail account and password.

In order to use your Chromebook you need a Google account and log into it.  Use your gmail account and password.

2. App Launcher

You can add native apps on your Chromebooks.  Click on the App Launcher to start it and look for Johnny-Five.

You can add native apps on your Chromebooks.  Click on the App Launcher to start it and look for Johnny-Five.

3. Search

In the search bar, look for the Johnny-Five app.

In the search bar, look for the Johnny-Five app.

 

4. Find Johnny-Five

Find the Johnny-five app in the list

Find the Johnny-five app in the list

5. Add Johnny-Five

Click Add App to install it.

Click Add App to install it.

6. Install

The app should be downloading.

The app should be downloading.

 

7. All Apps

Click the "All Apps" icon

Click the "All Apps" icon

8. Select Johnny-Five

Make sure your Arduino is plugged in.  Double click on Johnny-Five

Make sure your Arduino is plugged in.  Double click on Johnny-Five

9. Find Arduino

Your Arduino board should be shown in the device list.

Your Arduino board should be shown in the device list.

 

10. Refresh

11. Firmata

12. Run!

If you plug your Arduino after launching Johnny-Five, click refresh to find the board.

If you plug your Arduino after launching Johnny-Five, click refresh to find the board.

Install the Firmata software on the Arduino.  This is only necessary once on new Arduino boards.

Install the Firmata software on the Arduino.  This is only necessary once on new Arduino boards.

Write the code of your lessons in the program space and click "Run" to execute your program.

Write the code of your lessons in the program space and click "Run" to execute your program.

 

13. Your Log

At the bottom of the application you will find the log.  It will list everything that happens, including any error messages in red.  Pay attention to these as they contain messages about the error and what you need to fix.  It will also contain the output of your "console.log()" commands.

At the bottom of the application you will find the log.  It will list everything that happens, including any error messages in red.  Pay attention to these as they contain messages about the error and what you need to fix.  It will also contain the output of your "console.log()" commands.

14. Yeah!

Congratulations!  You did it.

Congratulations!  You did it.

 

Have fun learning!