close-circle
Close
0%
0%

Flashing Light Prize (1) Arduino Wave Generator

Turn me on like one of your French bulbs

Similar projects worth following
close

Probable electrocution? Check.

Deadly noxious fumes? Inhaled.

KY Jelly? Lubricated.

Let's show this prehistoric bitch how we flash bulbs down town.

Notation(s)

1. Discovered the miniaturization of our previous wave generator provided less opportunity for more visually amplified waves. Ended up with a beached wave...so...crap, another words. Tip; depth, shallows and angle of attack. Next FLP (2) project will approach things differently. Vodka, levitation and flames?!

2. Plain tap water is a poor electrical conductor. Added table salt and baking soda to increase conductivity. To what ratio? This much to this much by this many.

3. (Update) Attempted several further lever variations w/o any significant increase in wave pattern. Simply requires enlarged length and depth for greater motion...that's what she said.

https://www.flashinglightprize.com/

http://tvmiller.com/index.php?entry=entry170704-203200

  • 1 × Arduino Uno
  • 1 × Micro Servo
  • 1 × Acrylic (Dollar Store Picture Frame)
  • 1 × 12V Bulb
  • 1 × 12V Power Supply

View all 10 components

  • Sketch-a-letcha-ding-dong

    Vije Miller07/04/2017 at 22:27 0 comments

    // Flashing Light Prize (1)
    // VijeMiller
    
    #include <Servo.h>
    Servo wave;
    
    // Pot Analog Pin 0
    int pot = A0;
    // Delay Value
    int val = 0;
    // Servo Positions
    int fro = 0;
    int bac = 160;
    int pos = 0;
    
    void setup() {
      Serial.begin(9600);
      wave.attach(5);
      wave.write(pos);
    }
    
    void loop() {
      // Read Potentiometer
      val = analogRead(pot);
      // Print Value
      Serial.println(val);
      // Map Pot to Delay Value
      val = map(val, 0, 1023, 0, 20);
      // Print Value
      Serial.println(val);
      // Back
      for (pos = fro; pos <= bac; pos += 1)
      {
        wave.write(pos);
        delay(val);
      }
      // Forward
      for (pos = bac; pos >= fro; pos -= 1)
      {
        wave.write(pos);
        delay(val);
      }
    }

  • Inhale

    Vije Miller07/04/2017 at 22:26 0 comments

  • Dollar Store Galore

    Vije Miller07/02/2017 at 04:15 0 comments

View all 3 project logs

Enjoy this project?

Share

Discussions

Similar Projects

Does this project spark your interest?

Become a member to follow this project and never miss any updates