Skip to main content

Posts

[01.) BLERG POST: 4 mechanical piano

  link to video :)
Recent posts

[04.) BLerG POST: INTERACTIVE PROJECT:4: PROPOSAL: Non-Sufficient Bacon/ INsufficient Bacon ]

 Non-Sufficient Bacon/ INsufficient Bacon  Materials and links: Arduino TM 1637 - 4 digit/7segment display  or Smaller digit display Matte Black LED display infared sensors  or IR BreakBeam sensor 10 led strip *(if not using the display, or as timer? ) Pig body itself (pre-made or not?) small speaker Project Idea: NON SUFFICIENT BACON (haha cause bacon means money too):     I want to create a piggy bank that charges you if you do not feed it fast enough, acting like an NSF fee (Non-Sufficient funds). A display on the front will show the current amount in your bank, and charge you if you miss the timer. Every coin you pass through restarts the timer and adds a small amount back to the fund.           A timer noise will tick (or led lights go out) until a coin is put into the slot. If a coin is put within the time limit, (still deciding if it should be 30 seconds quick or 5 minutes long) the pig will make a noise and add 5 to the...

[03.) BLerG POST: MILESTONE PROJECT 1: STUPID PET TRICK]

 Jurassic Paper Brainstorming: * Using lights and a sensor (motion? light?) to activate an addressable light strip in sequence and music and sounds; cast against cutouts of dinos and environment.  Materials: *LEDs *Speaker *spot light *fake plant?  To test: *make sure that each of the cut outs are sized correctly * Test light movement to simulate real movement * choose a proper sensor that will work for the project * Choose a location to stage and document Strip lights to move and simulate light MY CODE #include #ifdef __AVR__ #include #endif // what pin are the neopixels on? #define PIN 10 // how many pixels? #define NUMPIXELS 10 int counter = -1; //declare a neopixel (software) object Adafruit_NeoPixel pixels = Adafruit_NeoPixel(NUMPIXELS, PIN, NEO_GRB + NEO_KHZ800); void setup() { pinMode(9, INPUT); digitalRead(9); pixels.begin(); // This initializes the NeoPixel library. pixels.show(); // start with all pixels off Serial.begin(9600); } void ...

[03.) BLERG POST: 2: Interactive LED Circuit]

 #2 Interactive LED Circuit My Circuit (photo): My Code: void setup() { // serial communication Serial.begin(9600); //LED pins pinMode(8, OUTPUT); pinMode(9, OUTPUT); pinMode(10, OUTPUT); pinMode(7, OUTPUT); pinMode(12, OUTPUT); //button pinMode(13, INPUT); //enable pullup resistor on pin 13 digitalWrite(13, HIGH); } void loop() { //is button being pressed? if (digitalRead(13) == 0) { digitalWrite(8, LOW); digitalWrite(9, LOW); digitalWrite(10, LOW); digitalWrite(7, LOW); digitalWrite(12, LOW); } else { //in 1st setting if (analogRead(A0) = 300) { digitalWrite(8, LOW); digitalWrite(9, HIGH); digitalWrite(10, LOW); digitalWrite(12, LOW); digitalWrite(7, LOW); } //3rd setting if (analogRead(A0) >= 500) { digitalWrite(8, LOW); digitalWrite(9, LOW); digitalWrite(10, HIGH); digitalWrite(12, LOW); digitalWrite(7, LOW); } //4th setting if (ana...

[01.) BLERG POST: 1: The Beginning]

 "MyBlink"  The red light, she blinks.