Arduino Based Shutter Glasses of Fear (AbSGoF)
Intro: Arduino Based Shutter Glasses of Fear (AbSGoF)
With this shutter glasses you are able to experience fear and probably more.
Old Elsa glasses are connected to an Arduino. The glasses are able to switch every 8ms and can be programmed freely.
Possible modes:
-> random: Glasses are transparent most day and get dark for 10 to 30 Sec. This can cause fear.
-> epileptic
-> puke
Please watch the great video:
Old Elsa glasses are connected to an Arduino. The glasses are able to switch every 8ms and can be programmed freely.
Possible modes:
-> random: Glasses are transparent most day and get dark for 10 to 30 Sec. This can cause fear.
-> epileptic
-> puke
Please watch the great video:
STEP 1: How to Connect
Connect the 2 Pins as seen on the Picture to free Arduino PWM ports.
Its the second and the third pin controlling the left and right LCDs. The first pin will control both.
On the other side connect 5V + and ground.
Thats it.
Activate an LCD with:
analogWrite(9, 40);
where 9 is your PWN port.
Deactivate with:
analogWrite(9, 0);
Possible improvements: Add 2 LEDs to enhance the dazzle effect.
Its the second and the third pin controlling the left and right LCDs. The first pin will control both.
On the other side connect 5V + and ground.
Thats it.
Activate an LCD with:
analogWrite(9, 40);
where 9 is your PWN port.
Deactivate with:
analogWrite(9, 0);
Possible improvements: Add 2 LEDs to enhance the dazzle effect.
STEP 2: Code Used in Project
Thats how you activate the to Pin 6 connected LCD:
=======================================
int Pin6 = 6;
int saft = 40;
//activate:
analogWrite(Pin6, saft);
//deactivate:
analogWrite(Pin6, 0);
=======================================
Example, flickering LCDs with big delay:
=======================================
int Pin6 = 6; // LED connected to digital pin 9
int Pin9 = 9; // LED connected to digital pin 9
int saft = 40;
void setup() {
// nothing happens in setup
}
void loop() {
analogWrite(Pin9, 0);
analogWrite(Pin6, saft);
delay(200);
analogWrite(Pin6, 0);
analogWrite(Pin9, saft);
delay(2000);
}
=======================================
=======================================
int Pin6 = 6;
int saft = 40;
//activate:
analogWrite(Pin6, saft);
//deactivate:
analogWrite(Pin6, 0);
=======================================
Example, flickering LCDs with big delay:
=======================================
int Pin6 = 6; // LED connected to digital pin 9
int Pin9 = 9; // LED connected to digital pin 9
int saft = 40;
void setup() {
// nothing happens in setup
}
void loop() {
analogWrite(Pin9, 0);
analogWrite(Pin6, saft);
delay(200);
analogWrite(Pin6, 0);
analogWrite(Pin9, saft);
delay(2000);
}
=======================================
19 Comments
Sky Coyote 14 years ago
drakesword 13 years ago
Kasaron 14 years ago
tournament 14 years ago
you mean this invention isn't completely useless?
(except the dangerous factor of random-
and the wonderful puke- and epilepticmodes)
robotguy4 14 years ago
I guess if you had it black out once it detected an extended time of movement, that would stop you getting carsick... However, good luck if you're the driver...
Kasaron 14 years ago
robotguy4 14 years ago
Also, this could be used to find the refresh rate of monitors, provided you add a way to change the "blink" rate.
Kasaron 13 years ago
tournament 14 years ago
socardeamon 14 years ago
lieuwe 14 years ago
horsti123 14 years ago
robotguy4 14 years ago
toelle 14 years ago
ikestarm17 14 years ago
robotguy4 14 years ago
If you do want to view it, download the movie and try using VLC media player.
ikestarm17 14 years ago
MrChippy 14 years ago
tournament 14 years ago