Skip to content

Latest commit

 

History

History
74 lines (49 loc) · 2.29 KB

README.md

File metadata and controls

74 lines (49 loc) · 2.29 KB

Ca$h on Delivery

Consumes dropship events from 5-by-5 and produces lighting effects using NeoPixel lighting strips.

dropship architecutre

Using the ino compiler

The ino compiler allows you to avoid the shit Arduino IDE.

$ brew install pip
$ brew install picocom
$ pip install ino

ino depends on your existing Arduino installation.

With the version of Arduino that I have, I was getting errors compiling the Robot_Control library so fuck it:

$ rm -rf /Applications/Arduino.app/Contents/Resources/Java/libraries/Robot_Control

Setup up the submodule for the arduino library:

$ git submodule init
$ git submodule update

Now move your source code into the expected directory structure. Use the udp_server as an example.

$ ino build && ino upload && ino serial
$ ino build -m mega2560 && ino upload -m mega2560 && ino serial

And you're off to the 🐴 races

  • After importing any library in vendor using the Arduino app, it will copied to and compiled from Documents/Ardunio/libraries/<library>, not vendor.

  • Exit ino serial - cntl-A cntl-X

Portable Hardware

Parts List

Instructions

  • Attach WiFi Shield to Arduino
  • Connect NeoPixel data line to Arduino Pin 6
  • Power NeoPixel with Arduino GND and 5V pins.
    • This limits the number of pixels you can use. The 5V pin can supply 500mA of current and each pixel can drop up to 60mA at full brightness. We rarely use full brightness in the default program.
    • If you would like to power more, get an external 5V power supply or lower the NeoPixel brightness with setBrightness().

Notes

  • NeoPixel strips are not designed for a lot of repeated flexing. Be aware where you mount them.

Reference