Saturday, June 16, 2018

Cardboard Electronic Pianos

We built Cardboard Electronic Pianos at the Queen Creek Library and Glendale Velma Teague Library. These are really basic with a single C scale using Arduino Nano, cardboard cut on the laser, copper tape, and a few wires. Removed a lot of complexity and left some room for upgrades to the code.

Below is the code for the piano. Could use some debounce, or the ability to play multiple notes.

#include "pitches.h"

int buttonState = 0;

int buttons[] = {
  2, 3, 4, 5, 6, 7, 8, 9
};

int tones[] = {
  NOTE_C4, NOTE_D4, NOTE_E4, NOTE_F4, NOTE_G4, NOTE_A4, NOTE_B4, NOTE_C5
};


void setup() {
  Serial.begin(9600);
  pinMode(buttons[0], INPUT_PULLUP);
  pinMode(buttons[1], INPUT_PULLUP);
  pinMode(buttons[2], INPUT_PULLUP);
  pinMode(buttons[3], INPUT_PULLUP);
  pinMode(buttons[4], INPUT_PULLUP);
  pinMode(buttons[5], INPUT_PULLUP);
  pinMode(buttons[6], INPUT_PULLUP);
  pinMode(buttons[7], INPUT_PULLUP);
  //pinMode(11, OUTPUT);
  //digitalWrite(11, LOW);
}

void loop() {
  int keypressed = false;
  for (int x = 0; x < 8; x++) {
    buttonState = digitalRead(buttons[x]);
//      Serial.print("button - ");
//      Serial.print(buttons[x]);
//      Serial.print(" - ");
//      Serial.println(buttonState);
      if (buttonState == LOW) {
        tone(12, tones[x]);
        delay(10);
        keypressed = true;
        break;
    }
  }
 
  if (!keypressed) noTone(12);

  // delay(1);
}

Tuesday, February 20, 2018

Paper Beads

I had fun making these paper beads at Craft night at HeatSync Labs. Craft night is the 3rd Monday of every Month at 7pm.

Friday, February 2, 2018

Planet Whiteboard

This super awesome planet shaped white board was our soldering project at the Red Mountain High School STEM Expo. We also did some giveaways with Bartholomew Robots.

Sunday, October 22, 2017

How to Select Electronic Components

These are some great articles by Octopart on how to select components. There are definitely times where you have to delve deeper than your supply voltage and amperage ratings. These articles are great at covering more of the nuances.

How to select voltage regulator
How to select a capacitor
How to select a resistor
How to select an inductor
How to choose a connector
Octopart guide ic packages
How to choose a microcontroller


Caught this because Hackaday shared it (post).

Sunday, July 9, 2017

Custom Bookmarks and Forgetting Letters

Engraving a bunch of new stamps and it seems I forgot some letters while setting up my files. The name of this font is Anabel and I thought it would make a great set for embossing. It's going to come out with colored letters not the way it shows on the screen.

Heading out to Juniper Library today and making bookmarks. If I get time I'll make an I heart Science stamp.

Saturday, June 17, 2017

Organizing my embroidery floss

Today I spent some time organizing my embroidery floss while listening to music. It was pretty relaxing. It's really satisfying to get the first row of the spool nice and even.

Reminder: Monday is Craft Night at HeatSync Labs and you can make your own stamp for free. See details here; https://www.meetup.com/HeatSyncLabs/events/240538489/

Wednesday, June 7, 2017

BoeBot Robots with Scottsdale Library

Just finished assembling these robots for the Scottsdale Library. We are doing senior makers programs teaching about electronics, programming, robotics and more.

See their schedule online. Next class is up on Saturday at Appaloosa Library this Saturday from 10:30 am - 12:30 pm