Skip to content

LXJS/training-nodebots

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Nodebots training

Description

With this training, you'll learn how to program for Arduino using Node.js and the johnny-five library.

With this training, you will learn

  • How to wire together circuit components and an Arduino
  • How to use johnny-five to control components in a circuit
  • How to expose your hardware to the wider internet using Node.js and websockets

Trainers

Preparations for this training

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:

27 jun - 14:30h Participants

28 jun - 17:30h Participants

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •