Code Monkey home page Code Monkey logo

cod's Introduction

Ca$h on Delivery

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

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

cod's People

Contributors

kasima avatar southgate avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.