Introduction: Anti-Social Glasses
You look up, they tilt down! A tilt switch controls 2 servos which open/ close shutters on a pair of custom glasses.
Rob Faulkner and You-Wen Ji
Step 1: Parts
(1) 30 x 60 cm plastic sheet (We used polystyrene but its up to you!)
(1) 100cm x 1mm steel rod or equivalent
(2) Servo motors (Smaller is better, we used https://www.conrad.com/ce/en/product/1365554/Reely...
(1) Tilt switch sensor
(1) Arduino Uno
(1) 5V power supply
A head and set of eyes!
Step 2: Mechanism
Critical to the glasses is the shutters which are actuated by a servo.
We wanted to use as few mechanical parts as possible to move the glasses shutters.Initially, we wanted to use a 4-bar linkage BUT this did NOT work with the pivot radius of the rods. We reduced the mechanism to a single arm with a slot that pushes the rods in a synchronized fashion direct from the servo motor. It is important to note the servo rotates 30 degrees to open and close the shutters. The parts are found in the attached CAD file for fabrication.
Step 3: Fabrication Assembling
Lasers! Download the file (we did all the heavy lifting) and get it cut! We set everything up for 1 mm material. We used Polystyrene but you can use whatever you like (maybe even clear?)
1-Cut profiles (We used a laser cutter!)
2-Glue Appropriate Layers (Front + Sides) See Diagram
3-Bend Rods + insert to frame
4-Attach servos (Don’t forget the mounting plates!)
5-Glue sides to frame front (Reinforce maybe)
6-Connect servo arm to hinge mechanism
7-Glue on shutters (Bottom up!)
8-Attach Tilt Switch (Might have to be tuned based on how far you want to tilt your head back)
9-Your ready to be anti-social!
Step 4: Arduino
How to sensing when it needs to close/open and being an anti-social person? We start thinking when you are working or reading and someone want to talk to you, you need to look up or look straight.
Basically, the movement of your head is moving and also angle, so in the beginning, we are looking 6-axis or 3-axis accelerometer to provide the angle which to control the servo. Due to the size of the accelerometer is too big for the glasses, and most important is we don't need that much angle data.
Thinking more about how to design a glasses simple and keep the project could be more affordable for people. so following the idea, we found the tilt switch is a nice solution to sensing the angle and still provide enough data to active the servo. It super CLEAN and SIMPLE!
We studying the position and angle to place switch on the glasses found the best is close to the front and rotate it a bit. The Last step is controlling better! When we trying to get the signal from the switch, if just setting the input is HIGH/LOW will get buzzing, and we couldn't use the delay function it will slow the reaction! So we trying using the analog to read the data, and it works almost perfectly.