Warning: Constant WP_MEMORY_LIMIT already defined in /home/domains/museduino.org/docs/wp-config.php on line 93
posts – Page 2 – Museduino

LED

Overview

This tutorial will teach you how to wire up an LED with the Smorgasboard.

Components

Arduino
A/B USB cable
Museduino Shield
Museduino Smorgasboard
CAT5 cable
LED
screw driver

Setup

The main Museduino Shield’s header pins align with the Arduino headers. The shield should be stacked on top of the Arduino like below:

Next, let’s determine the I/O available on port A of the Museduino shield. Use the pinout chart to find Arduino Digital pin 6.

After reviewing, you will find that Digital pin 6 is Satellite Pin 5 on Port A.

Satellite boards have a solder mask to label Satellite I/O pins. You can find Satellite I/O 5 by locating the circled number 5.

Each Satellite I/O has a 4 pin configuration. Review the pin configuration chart:

This tutorial uses a Smorgasboard Satellite. Satellite I/O 5 has the following pin configuration (from the left of the screw terminal block):

1 – Power

2 – Signal pin with resistor in series

3 – Direct signal pin

4 – Ground

Museduino boards were designed for robust rapid-prototyping. By including a resistor in series in the pin configuration, this minimizes the need for additional parts, breadboards or soldering.

Simply, connect the positive side (anode) of the LED to the screw terminal pin 2 (signal + resistor in series) and the negative side of the led (cathode) to screw terminal pin 4 (ground). You will need a screwdriver to tighten/loosen the screw terminals.

Then, connect the Smorgasboard satellite to Port A on the Museduino Shield via CAT5 cable.

Code

Copy code below or download from Github.

Upload the sketch to your microcontroller. You should have a blinking LED.


/*
  Museduino | LED Tutorial
  Turns on LED for one second, then off for one second, repeatedly.
*/
 
// Digital Pin 6 on Satellite Pin 5 via Port A
int s5A = 6;

// the setup routine runs once:
void setup() {                
  // initialize the digital pin as an output
  pinMode(s5A, OUTPUT);     
}

// the loop routine runs over and over again forever:
void loop() {
  digitalWrite(s5A, HIGH);   // turn the LED on (HIGH is the voltage level)
  delay(1000);               // wait for a second
  digitalWrite(s5A, LOW);    // turn the LED off by making the voltage LOW
  delay(1000);               // wait for a second
}

Want to add a button?

Arduino Day 2017

Arduino Day 2017

The Cultural Technology Development Lab will host an Arduino Day Show & Tell at the NM Museum of Natural History & Science, in Albuquerque NM.

Day: Saturday April 1st
Time: 10:00am-12:30pm
Where: Museum Classroom #2 (subject to change)
Cost: free

Open Source Hardware for Exhibits & Installations

10:00-10:15 – Welcome, What is Arduino Day, who are we & why do we participate?
10:15-11:15 – What is open source hardware? How is it used in museum environments? What are some examples? How have we built off of the Arduino platform to make robust, responsive exhibits, demonstrations
11:15-11:45- Museum tour of open source in action! Behind the fabric at the Hall of the Stars
11:45-12:30- Return to classroom, questions, additional demos,  resources, how to get involved.

Puppet Theater

Our puppet theater sample project (created for Hands of Enchantment Puppeteers in Albuquerque, NM) uses the Bluetooth LE Shield in order to control the color of the neopixel strips with the Adafruit Bluefruit LE Connect iphone/android app. The final version uses Museduino 2.0,  with 2 30-neopixel strips and 2 external power satellite boards.

Pneumatic Tubes

Our pneumatic tube system is built as two stations that can send and receive messages on either end. Originally, each station housed their own arduino, but were autonomous systems, existing together but not communicating directly.

The original version was built for the Santa Fe children’s museum in NM.

Since then, we have redesigned our pneumatic tubes prototype with the Museduino. Now we can use one Arduino for both stations. When a station sends a message, the lightbulb on the receiving end gets a light pulse, and when the other side receives the message, the sending side pulses. It’s a more real system, and despite the fact that its a complete anachronism, the joy of sending pneumatic messages feels current to us!