Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Java C Arduino C++ Objective-C
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
ECS_Backups
libraries/processing
onsite_sketches/city_billboard
prototypes
release
.gitignore
README.md

README.md

maker-faire

These are the files for use in the maker faire. The project is by it's nature a bit messy and rough around the edges, but I am hoping this repo doesn't become too messy too quickly. Here is an overview of how the files are organized:

  1. Early prototypes are saved in the "prototypes" folder. In this folder the sketches are named as follows: TYPE_NAME_TECHNOLOGY (So Output_BubbleMaker_Arduino which also might have a Output_BubbleMaker_P5). For the most part, these files are no longer in active use as the "release" folder contains the most up to date code.

  2. Late prototypes and release candidates (if you can call them that) are saved in the folder "release". In this folder the sketches are named as follows: SPACE_TYPE_NAME_TECHNOLOGY (where space is "forest", "city", "house", or "spaceship"; type is "in" or "out"; name is a descriptive word or two; and technology is a three letter abbreviation such as "ard" for arduino and "pro" for processing). It is important that the candidates remain in this folder as they feature relative links to the arduino_map folder here.

  3. The "libraries" folder contains the ArduinoConnector library. This processing library enables our sketches to identify the appropriate arduinos to connect to based on their role names. It does so by using the data in the map.txt file located in the release/arduino_map folder. This file includes role names mapped to arduino IDs. The google docs titled "Maker Faire Interactives - Final Cut" features this information in a more human-friendly format.

PLEASE Edit this readme to provide details regarding new content or structure changes to this repository.

Note: Files labelled "general" are template files.



Prototypes Folder

INPUT

Forrest_Corner

Folder that holds input and ouput code for prototyping the forest corner. Currently features the following basic sketches for ECS testing purposes:

Input: 1 Arduino input with corresponding Processing to ECS forwarder

Output: 4 Arduino outputs with corresponding Processing to Arduino forwarders; 1 Processing ECS app with visuals; 1 Processing ECS app with sound

Prototype Sketches: Input

MAP: Arduino Pin to Serial Message to ECS Message Key

This is an overview of how the inputs on individual arduino pins are mapped to serial messages in the arduino sketches, and then how these serial messages are mapped to ECS message ids in the processing sketches.
pin : serial msg : ECS msg
2 : a : input1
3 : b : input2
4 : c : input3
5 : d : input4
6 : e : input5
7 : f : input6
an so on..

Input_General_Arduino

Platform: Arduino
Arduino sketch that takes input from pins 2 through 10. Sends a serial message whenever a switch connected to these pins is closed.

Input_General_Arduino_Pullup

Platform: Arduino
Same as sketch above but using the internal pullup resistors so that we don't need to use external resistors.

Input_General_Arduino_LED_Feedback

Platform: Arduino
Arduino sketch that takes input from pins 2 through 7. Turns on an LED and sends a serial message whenever a switch connected to these pins is closed. LEDs are connected to pins 8 through 13.
Note: this sketch uses the pullup resistors on pins 2 through 7. Therefore, when the switches are closed the pin will read LOW.

Input_General_P5

Platform: Processing
Template for Processing sketch that an input Arduino with multiple inputs to ECS. Don't forget to create a unique role_name when you create an implementation of a Processing/ECS sketch.

Input_InputTester_P5

Platform: Processing
Role_name: "inputtester"
This lets you use the keyboard to send inputs. It can do 48 of them. Each assignment to keys on your keyboard.


OUTPUT

Output_General_Arduino

Platform: Arduino
Template for sketch for an output Arduino with a single ouput. Sketch is set to respond to any serial message.

Output_General_Arduino_Multiple_Out

Platform: Arduino
Template for sketch for an output Arduino with multiple outputs. Each pin on the sketch responds to a different serial message. Uses the same map that is outlined above for the input sketches (but in reverse direction).

Output_General_Forwarder_P5

Platform: Processing
Template for Processing sketch that connects ECS to an ouput Arduino with multiple outputs. Don't forget to create a unique role_name when you create an implementation of a Processing/ECS sketch.

Output_Billboard_P5

Platform: Processing
Role_name: "billboard"
This visualizes up to 48 inputs, each sent as "input1", "input2", etc.

Output_KingKong_Bjs

Platform: Javascript with BreakoutJS
Role_name: "kingkong"
Controls the animatronic king kong using Breakout JS. Connected to ECS on port number 7847.

Output_Camera_PicFrame_of

Platform: OpenFrameworks
Role_name: "kingkong"
Controls the animatronic king kong using Breakout JS. Connected to ECS on port number 7847.

Something went wrong with that request. Please try again.