39. RASPBERRY PI
General purpose computer
Great for video, audio, “actual
code”, web servers
Has GPIO for controlling LEDs,
motors, etc.
Use whatever language you
want: JavaScript, Python,
Golang, Ruby, etc, etc.
43. CONNECTIVITY
Arduino is standalone by
default, R-Pi has Ethernet
Can use add-on WiFi - Tricky
and $$$
Spark Photon / Oak - WiFi
native Arduinos
44. POWER
One of the most confusing
areas in DIY electronics
Volts, Amps, Amp Hours, etc.
Can be tough to know if your
project requires a hearing aid
battery or a car battery.
USB power is nice…if available
48. PI_PIPER GEM
GPIO access for in Ruby
Nice evented structures for
“listening” on pins for changes
Even supports SPI, a protocol
for more advanced
communication
51. ARTOO
Released in 2012
Supports a wide range of
Arduino-based boards
Bundles support for sensors
and devices as libraries (LED,
Servo, Button, Sensor)
33 Github stars..seems low
52. ART00require 'artoo'
connection :arduino, adaptor: :firmata, port:
'/dev/ttyACM0'
device :led, driver: led, pin: 13
work do
every 1.second do
led.on? ? led.off : led.on
end
end