Coder Social home page Coder Social logo

pjf / clockwork-masters Goto Github PK

View Code? Open in Web Editor NEW
3.0 4.0 1.0 737 KB

Code for the Celestial Bodies exhibition in Melbourne

Home Page: https://www.facebook.com/alexandrachambersdesigner/posts/663117497168829

License: Other

Arduino 14.92% C++ 47.75% C 0.98% Makefile 0.47% KiCad Layout 35.87%

clockwork-masters's Introduction

Arduino code for Clockwork Butterfly's Celestial Bodies performance in July 2016.

What is this?

This repository contains designs and software for an arudino-compatible board used to run lighting effects in live performances. A typical board consists of:

  • 1 x Teensy-LC microcontroller, which runs the show.
  • 3 x Strings of LED lights, to delight the audience.
  • 3 x 2N7000 MOSFETs, for low-side driving the LEDs strands.
  • 3 x 10Ω resistors, for current limiting the LED connections
  • 3 x 33Ω resistors, to stop the MOSFETs from ringing.
  • 3 x Hall Effect Sensors (4 in the original build) for user configurable events.
  • 1 x 3-axis accelerometer, for movement-reactive effects.
  • 1 x 4-dip switch bank, for configuring the board without needing to reprogram.
  • 1 x S7V7F5 5V step-up/step-down voltage regulator, giving us lots of power flexibility.

For simplicity, the boards used in the performance run off 5V USB batteries, but we've also had success withe 3.3V CR2032 coin batteries, and 9V cells. The main difference is higher voltages allow for more juice to be pumped to the lights, which affects their brightness.

Things to find here

Circuit diagrams are in the kicad directory, with various reference materials (including the main board design) in the reference directory. This main directory contains the source code for the boards.

Building with PlatformIO

Sample usage for an Arduino Uno after installing platform.io:

platformio run -e arduinouno --target upload

Or for a Teensy (3.0 or LC, respectively):

platformio run -e teensy30 --target upload
platformio run -e teensylc --target upload

Or to build for all platforms specified in the platformio.ini:

platformio run

Installing on Teensy boards

Note that if you are using the Arduino IDE with a Teensy microcontroller you will need to install Teensyduino.

What does it look like?

Pictures:

Finished board, front Finished board, back Display piece audience members can interact with

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.