-
1Step 1
Disassemble the LCD shutter glasses. This will expose the electronics.
-
2Step 2
These contacts will control whether the LCDs are dark or clear. 5V through a small resistor (56 ohms or so) to the "+" marked pads will darken the lenses. ("-" should be connected to GND.)
-
3Step 3
Accelerometer is wired like this:
In my case I used:
Analog 0 = X axis
Analog 1 = Y axis
Digital 2 = 0g Detected
-
4Step 4
Sound Detector is wired like so:
Analog 2 = Sound detector "Envelope" output.
-
5Step 5
In my code, Digital 3 is connected to a momentary button connected to GND.
(It is used to modify the code's behaviour - at startup you can disable or enable various sensors with button presses.)
-
6Step 6
Analog 3 is the GSR (Galvanic Skin Response) sensor.
The two contacts are conductive metal. Normally two fingertips are used to keep touch with the contacts.
I placed two copper contacts like so, in spots my index and middle fingertips naturally fell when holding the unit:
-
7Step 7
Analog 4 is the Temperature sensor input.
The TMP36 outputs an analog voltage that represents the temperature.
A simple formula gives the temperature based on voltage:
float celsius = ((voltage * 1000) - 500) / 10;
-
8Step 8
Analog 5 is the ambient light sensor.
It outputs an analog voltage that is proportional to the amount of light it is exposed to.
I mounted it inside the glasses frame.
-
9Step 9
A working Arduino sketch bases on the above wiring can be downloaded here.
At startup/reset the glasses will blink dark once.
You have a few seconds to change configuration (not remembered between power cycles). Hit the button a number of times to change operation.
Lenses will blink once per button press as feedback. After hitting the desired # of times, just wait. The glasses will blink back the # you entered as feedback then begin operating.
Button is not pressed = normal startup
- 1x press disable GSR
- 2x = enable ONLY GSR
- 3x = enable only Temperature
- 4x = enable only Light
- 5x = enable only Accel
- 6x = enable only Audio
- 7x = "strobe" mode (where glasses flip on and off rapidly) all sensors ignored - useful to evaluate opacity
- 8x = "blink" mode (normal, except glasses flick on/off like eyes blinking semirandomly)
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.