Introduction: Wearable Arduino Lie-detecting Ring
To begin with…gossip☺:
Tom, a student of 5th grade back from the primary school. Once he backs to home pressed to sit down by his father. Then the father rummages for a long time, finally get one tiny thing covered by dusts.
His father turns it ON and wear it to Toms’ forefinger.
Tom is so confused. And his father begins asking questions like “How’s the weather today? How’s the weather tomorrow? “and so on. When Tom is sure that there is something wrong in with the head of his father, suddenly, the father’s face turns into seriously and ask him rapidly: “Have you told your mother that I used my private saving to buy the League of Legends' skin?”
Frozen and shocked for seconds, Tom answers: “No…I have not”. While, this tiny thing turns into RED?!
Tom’s father staring at the Red color in the ring, says slowly: “My son, the ring can test lies…” Furious dad and poor Tom...
After 20 years
This time, Tom turns into a qualified happy single indoor man, and the father is old. He calls Tom to come and put the old ring to Tom and says now it belongs to Tom. Tom don’t accept but throw it to the ground, says angrily, “This harmful thing, I will never treat my son like you did before! “Well, his father says, “When your grandpa passed it to me, I am exactly like you are doing now. But your grandpapa said the ring can help configure the real feeling, although we cannot judge the true love objectively, the heart beat will not lie. When I wear the ring to the street, I found the girl who turns the in RED, who finally proved to be my wise in destiny. “Then Tom’s father staring at her photo affectionately and says, “My son, you are not as young as a child, take it to find the one！”Bend and take the ring in the ground, cannot waiting the father finish the talking about their 1st meeting in the street, Tom runs away, well it is too attractive to find your true love!
Here back to the main part
Recently, I played one heart rate monitor sensor, from the wiki page I know the principle is based on PPG (Photoplethysmography) techniques. Our heart is like a pump, constantly making the body’s blood circulating. Once the heart stretches or shrinks, it will transport oxygen from the breath to every part of the body by blood. Put the heart rate sensor to the finger or the wrist, it will detect the under PPG value, then verifying the changes to figure out the heart rate. I have to mention its tiny size, the good choice for wearable device.
Through the former tests, there is some little bugs to detect heart rate by digital values. I found that even my finger stays still, the result shows changes in vain. What is the most annoying thing is that when put the sensor close to finger belly, it can figure out the heart rate once in a while. But if the way you wear is like the way to wear a ring, and the sensor is close to the back of the finger, well, especially the root, there is nothing can be detected. Well! Well! It still cannot stop the sensor’s strength, the second demo in wiki is to detect the PPG by the analog value. Therefore, when I upload the program to sensor and wear the sensor like a ring, even though the sensor is close to the root back finger, the data still can be stably and precisely printed into the serial monitor in IDE.
Hereafter, I have an idea to programming to convert the analog value to the heart rate.
Design Idea Select the small Beetle as the main control, one RGB LED as the state indicator. Then the heart rate passes the heart rate value to Beetle, and Beetle control RGB to show red when the heart rate is higher than the last one or show green if nothing special. About power supply, I have used 2 diodes and 1 30 Ohm resistor to supply the lithium battery with DC-DC module (5v-4.2v)
4. DC-DC Module (5v-4.2v) x1
5. 3.7v 50mah Lithium Battery x1
6. Plug-in Diode x2
7. Plug-in Resistor 30 Ohm x1
8. Dial Switch x1
9. Sewing Kit x1
The Beetle in the image has already be cut and its 4 sharp corners are moved away; While, there should be the other diode.
Step 1: Cut Off the Accessory Telescopic Band to 6~7cm.
Step 2: Heat the Two Ends for a While With Flame to Remove Burrs and Sewing the Telescopic Band to the Sensor.
Step 3: According to the Connection Diagram As Below to Weld.
From the left to the right of the connection diagram, responding to the top-down of the spatial order during actual installation, e.g. the RGB LED is at the top of the housing and the heart rate sensor is mounted at the bottom of the housing
Step 4: There Is Double-sided Adhesive in the Back of the RGB Belt Itself. So You Can Remove the Sticker to Paste to the Back of the Beetle.
Step 5: Burning the Program
Step 6: Wrapping the Exposed Wires and Pins With Paper Tape to Avoid Short-circuit. Then Install All Parts to the Crust and Fix Them With Hot-melt.
Step 7: Finally, Put Some Hot-melt to the Heart Rate Sensor to Stick It to the Crust and Keeps It Parallel to the Bottom.