Bluffers Guide To Nodebots

By @olizilla

NodeBots are robots powered by JS

See:

NodeCopters are flight capable NodeBots

See:

Most NodeBots are johnny-five

johnny-five let's us talk
JS to Arduino via Firmata

Arduino is both a usb device
and IDE app…
for blinking LEDs*

*Other components are available

The IDE let's us upload programs for blinking LEDs to the Arduino

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

johnny-five is your friend

Program hardware with plain old JS and your favourite editor

johnny-five let's us talk
JS to Arduino via Firmata?

Firmata is a comms protocol
&
Arduino program

Expose Arduino functionality over the serialport

johnny-five ⇄ serialport ⇄ Firmata ⇄ Arduino

IMPORTANT
SAFETY WARNING

HARDWARE IS HARD

Usual approach is useless here

Good luck with your test coverage

Reality has a terrible API

firmata requires constant
usb connection to host

Future Tech?

@fat?

(╯°□°)╯︵ ┻━┻

Fin