LXJS / training-nodebots

MIT License
1 stars 5 forks source link

Prepare yourself for the nodebots training! :) #6

Open fbaiodias opened 10 years ago

fbaiodias commented 10 years ago

Hey Michael Geers!

In order to prepare for this training you should do the following workshopper exercises. If you have questions, please open an issue and we will be glad to answer, you might be helping other participants too.

Nodebot Workshop

The nodebot workshop is a nodeschool workshopper built especially for LXJS.

Learn the basics of the johnny-five api, as a series of code challenges.

johnny-five is an api for working with Arduino and other rapid prototyping boards.

You don't need an Arduino for this workshop.

The workshop will pose a challenge, and will test your code.

The low level code to talk to the Arduino is stubbed out.

You will be writing working, executable johnny-five code.

Each of your solutions can be run directly as a node program.

Wire up an Arduino, connect the USB and you can see you solution run for real.

Getting started

  1. Install Node.js
  2. Install node-gyp dependencies for your system
  3. Install the nodebot workshop: npm install -g nodebot-workshop
  4. Start the workshopper: nodebot-workshop
  5. Select an exercise, read the instructions and code your solution
  6. Check your solution: nodebot-workshop verify your-solution.js
  7. Run your solution: plug in your Ardunio and type node your-solution.js

    Materials

No materials are required for the workshopper, but if you want to build your circuits and see your code running for real then get your hands on one of these:

Have fun!