Skip to content

Instantly share code, notes, and snippets.

@olizilla
Last active December 21, 2015 20:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save olizilla/6365086 to your computer and use it in GitHub Desktop.
Save olizilla/6365086 to your computer and use it in GitHub Desktop.
A bluffers guide to NodeBots, Arduino, and Hardware

Bluffers Guide To NodeBots

NodeBots are robots powered by JS

NodeCopters are flight capable NodeBots

Most NodeBots are johnny-five

johnny-five is JS for Arduino

Arduino is a programmable usb device and IDE app

IDE uploads programs for blinking LED's to the Ardunio

IDE is love-child of Processing (Java) & Wiring (C++)

johnny-five is Ardunio IDE avoidance tool

Firmata is an Ardunio sketch and generic comms protocol

Firmata exposes Arduino pins to the serialport

Ardunio <-> Firmata <-> Serialport <-> johnny-five <-> You


Important safety notice

HARDWARE IS HARD

Testing is hard

<iframe src="//instagram.com/p/cgrjoppxlp/embed/" width="612" height="710" frameborder="0" scrolling="no" allowtransparency="true"></iframe>

Reality has a terrible API

  • The generous motor
  • The enfebled servo
  • Fudge's Constant
    • Analog noise (inputs are wobbly)
    • Digital noise (put a pull-up resistor inline with a switch)

Futures?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment