Code Monkey home page Code Monkey logo

pulse's Introduction

Jet Propulsion Laboratory, California Institute of Technology (NASA JPL)

PULSE - a pendant to warn you when you touch your face

Here’s the tool and equipment list, materials, circuit diagram and assembly instructions. The ability to solder is necessary to assemble the PULSE pendant. Except for the IR sensor unit, the parts are generic and can be purchased broadly. Example links for purchasing these parts are shown.

Table of Contents

Tools and equipment needed

  1. Home-class 3D Printer (PLA material or other as user option; you can also send files out for on-line order)

  2. Soldering Iron and solder

  3. Wire Stripper

  4. Helping Hands Stand to Assist Soldering (optional)

Materials Required and links for ordering

Materials_Required.jpg

  1. IR Sensor unit: Pololu 38 kHz IR Proximity Sensor Order Here or equivalent in function and size determined by CAD here

  2. PNP Transistor: 2N3906 or equivalent: Order Here or equivalent in function

  3. 1 K Ohm standard resistor: Order Here or equivalent in function

  4. Slide Switch to fit case: Order Here or equivalent in function and size determined by CAD here

  5. Vibrating Motor to fit case Order 10x2.0mm Vibrating Motor Here or Order 10x3.4mm Vibrating Motor Here

  6. W1 – 5 cm; W2 – 4 cm; W3 – 2 cm; W4 – 2 cm; 22 Gage Wire

  7. Heat shrink tubing to cover leads: Order Here or equivalent to cover a 2.5mm diameter wire

  8. Battery Holder: Order Here or equivalent in function and size determined by CAD here

  9. 3V CR2032 Coin Battery: Order Here or equivalent in function

  10. Dark colored paint (i.e., acrylic, oil, nail polish etc.) such as black, navy blue, dark green, etc. (Required only when utilizing non-black colored case material)

Pendant Case

The PULSE pendant case was designed to hold the existing parts. Other pendant designs can be created as desired as long as the IR sensor will fit and has a clear view to the front of the pendant.

If not using black material for case, the bottom of the IR emitter will need to be painted black or covered with black electrical tape to absorb any light. If this is not done, the sensor will read false motion and vibrate continuously. Only the flat bottom, do not cover the whole LED.

Download STL Files

cad_with_parts.jpg

Circuit Diagram

Circuit_Diagram.jpg

Central to the design of the PULSE pendant is the infrared sensor unit (U1 in the diagram) that provides a high (~3 V) output signal to pin 3 by default, and drops low (~1 V) when the LED detector (D1) receives a signal indicating your hand (or other reflecting object) is in front of the pendant. L1 is the radiating infrared LED. When pin 3 goes low, it powers the PNP transistor (Q1) to energize the motor (M1) causing it to vibrate and the pendant to pulse. V1 is the 3 V battery in the case and S1 is the slide switch. Pin 4 on the infrared sensor is an enable input and is not used.

Assembly of the PULSE pendant

  1. Wire W1 solders to the center pin of the switch and wire W2 solders to an end pin of the switch. The third pin on the switch can be clipped off – it is not used. Heat shrink covers the pins. This picture shows the completed switch next to an assembled PULSE pendant

assembly_step_1.jpg

  1. The other end of W2 solders to the emitter pin of the transistor as well as wire W3. (This is a three-way connection – wires W2, W3 and the transistor emitter pin are connected together; this is the positive voltage). The picture shows the use of a helping hands to perform the soldering of three leads, and then the end result. Heat shrink is used to cover the lead at the transistor.

assembly_step_2.jpg

  1. The other end of wire W3 then attaches to pin 2 of the IR sensor

  2. Wire W4 (ground), attaches to pin 1 of the IR sensor

  3. The 1 K Ohm standard resistor attaches to the middle or base pin of the transistor. Use heat shrink to cover the connection

  4. The 1 K Ohm standard resistor attaches to pin 3 of the IR sensor. This picture shows the assembly so far

assembly_step_5.jpg

  1. The red wire of the vibrating motor solders to the collector pin of the transistor. Use heat shrink to cover the connection

assembly_step_6.jpg

  1. The black wire of the vibrating motor solders to the ground port of the battery case (jointly with W4). The other end of W1 solders to the positive pin of the battery holder. This picture shows the completed assembly and the wires folded for insertion into the bottom case

assembly_step_7.jpg

  1. The motor and switch snap into the case base

  2. The IR sensor slides into the case base rails

  3. The electronics are gently tucked into the case base

assembly_step_10.jpg

  1. Using a dark colored paint (i.e., acrylic, oil, nail polish etc.) such as black, navy blue, dark green, etc., lightly paint over the emitter as shown in the image below. Using a dark colored pen or marker will not work the same as paint.

assembly_step_11.jpg

  1. With the electronics in the case base, the battery can be installed, the switch can be set on; move your hand in front of the IR sensor and the red LED on the sensor board will light and the case will PULSE!

GitHub_Video_Thumbnail.jpg

  1. Install the top case. Attach a necklace of your choice and PULSE is complete

Frequently Asked Questions - FAQ's

  1. Q: How is battery life / current draw with the current design? I have trichotillomania and this would be a fantastic help for me and many other sufferers. However it would mean we would have to wear it all day, every day to kick the habit. From an environmental perspective I imagine we would need to change this to take a small rechargeable battery (possibly charge circuitry too) to result in less batteries going to landfill/recycling centres.

    A: The infrared sensor is the largest current draw and at continuous operation runs the battery down over a day or two depending on use. We are looking at a Version 2 that would include a rechargeable battery. Please look at the Version 2 FAQ question for changes we are considering.

  2. Q: I assume painting the IR sensor is to reduce the gain a bit? Since the high brightness version is backordered, would the low brightness version work? The range is 12 inches. Perhaps using a shorter lanyard. Or we could find another source, which would have us altering the print job.

    A: We paint the bottom of infrared sensor to limit stray transmitted IR light from bouncing back to the IR receiver. The pendant case color effects this quite a bit - for example a black case does not need the IR transmittor painted. The low-brightness version does work but with reduced range.

  3. Q: Can we order these already built?

    A: We are seeking production houses that would be interested in producing PULSE.

  4. Q: Are you planning on making a version 2?

    A: We Are. Functionality for Pulse Version 2 will have a Printed Circuit Board (PCB) holding all electronics. Standard form factor of PCB with infrared (IR) sensor and switch having standard alignment to pendant case

Acknowledgements

In early March of 2020, it was becoming quite apparent that the pandemic has reached the United States. We, like so many other countries, would have to partake in precautionary methods to protect ourselves from contracting a novel virus that was affecting the world in unrecognizable ways.

With little information available, we turned to the CDC for guidance. They provide the general public with a clear list of tasks to help prevent infection, one of which was advising us not to touch our faces. As the news unfolded and the warnings heightened, we found ourselves immersed in discussions related to the topic, most of which consisted of commiserating on the laborious task of not touching our face. During a Monday morning tag-up, and as our team members revealed how often they touch their face, Tom Cwik, the engineer, and Faith Oftadeh, the designer, suddenly realized that a simple wearable device may help with this problematic subconscious behavior.

Immediately, we started pulling together a list of inexpensive and easily accessible parts, sketching out ideas, and once the concept seemed plausible, we agreed to pursue it all while JPL closed and transitioned to telework. Within days, we found ourselves adjusting to a new way of living. While working from home, managing childcare, and attempting to do “business as usual,” we continued developing PULSE via text and Facetime during the nights and weekends. When it came to creating a proper casing for the pendant, Dan Kolenz joined the team as the CAD mechanical designer. After prototyping and working through sluggish online parts ordering, coupled with frequent late-night texting, facetime sessions, and 3D printing in the garage, we managed to create an operating prototype.

Dave Gallagher, JPL’s Associate Lab Director provided significant encouragement and JPL support to move forward. Rafael Martinez paved the way from within JPL to allow us to release PULSE and bring it to where it is today. Lisa Harbottle volunteered to demo and model the pendant, Gary Bolotin gave a review of the electronics, Kristy Kawasaki designed the website, and Olivia Cwik was key to soldering and added to the Readme.

Our goal was to create a simple device that can help minimize the spread of a virus. We also hope that the public can further develop this concept. As we return to our office spaces and attempt to integrate back into society, we believe that PULSE may help others stay as healthy as possible.

In The Press

  • Radio interview with KNX LA 1070 AM
  • Featured on KTLA channel 5 morning news and ABC LA channel 7 June 30, 2020
  • Live via zoom on Fox channel 26 Morning Show, Houston, Wednesday July 1, 2020
  1. Techcrunch
  2. USATODAY
  3. Mashable
  4. Daily Mail
  5. CNet
  6. UK News (United Kingdom)
  7. Engadget
  8. GovTech
  9. SlashGear
  10. TheDenverChannel
  11. TechTimes
  12. TrendHunter
  13. Cosmopolitan
  14. Futurism
  15. NewsMax
  16. Houston Chronicle
  17. MSN
  18. CoronaCOVID19
  19. PublicReleases
  20. PasadenaNow
  21. NewsErector
  22. InceptiveMind
  23. 3DPrintingDesign
  24. FirstPost
  25. 8NewsNow
  26. Telecino (Spain)
  27. Tivi (Finland)
  28. GCN
  29. India Times (India)
  30. Yahoo! news
  31. Tribune (Pakistan)
  32. Groupo Fórmula (Mexico)
  33. El Tiempo (Colombia)

Disclaimer

Disclaimer: The designs herein have not been reviewed, cleared, or approved by FDA or other regulatory authority, nor have they received Coronavirus Disease 2019 (COVID-19) Emergency Use Authorizations for Medical Devices. Neither California Institute of Technology (including the Jet Propulsion Laboratory)("Caltech") nor its employees or agents provide any representation or warranty, express or implied, for fitness for a particular purpose, safety, efficacy, or non-infringement of any third party intellectual property rights. Caltech offers these device designs in good faith to help healthcare providers and others prevent the spread of and treat patients with COVID-19. Physicians and other healthcare providers bear full responsibility to convey warnings and obtain patients' informed consent.

The research was carried out at the Jet Propulsion Laboratory, California Institute of Technology, under a contract with the National Aeronautics and Space Administration.

pulse's People

Contributors

chrismattmann avatar rafaelmartinezasc avatar tomacwik avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pulse's Issues

Flyback Diode

M1 is an inductive load hooked up to transistor Q1 without any reverse voltage protection. It's possible that the motor is small enough that any voltage spikes it would create are small enough to not harm Q1, but this is neither documented or handled. Would you please either add a protection diode to the motor in the plans or document the lack of a need for a protective diode?

Case triggering sensor and fit

The case as provided constantly triggers the sensor even with paint applied as suggested. The only way to stop the pololu sensor from constantly triggering from the case is to pull the board all the way thru the front of the case.
Also noted the cad rendering in the readme doesn't match the files provided.
20200714_075445
20200714_075432

Sun issues

The pulse keeps activated with directs sun-rays, that could mean an outdoor problem

Only triggers when hand is directly in front / Access to 3D files?

Many of the news articles and videos I've seen promoting this show the trigger area being a cone shape going upwards. This is not the case. The sensor is only triggered when your hand is directly in front of it. Most of the time when you touch your face, you don't bring your hand up perfectly in the center of your body like you have to do to trigger this in it's current form.

The pendant case needs to be angled upwards at about 15 degrees for it to work as described. I would edit the design if the 3D files were provided (not just the STL) ... or I may just make one from scratch that uses a heat set brass threaded insert as well, so that a single screw can hold the case in place. The "snug fit" design isn't very reliable.

List of Issues and possible fixes

When I get time in the next week or so I'm going to do a complete redesign of the case and the circuitry. I've made 5 of these and have found the design to be rather poor I'm afraid. Here is a list of all the issues I have encountered so far. I'm sure I'll be able to add more soon.

Issue 1 - Hand is only detected when it is right in front of your upper rib cage / neck depending on length of necklace, which rarely happens when you causally touch your face as you typically don't lift your hand from the center of your rib cage straight up. You just reach either hand up to your face, approaching from the side - If you're lucky it will vibrate for a fraction of a second as your hand passes over it. The photos and video promoting this item are misleading, showing that your hands can be detected when they are straight up at either side of your face. This is certainly not the case. It only works when your hand is in the center of your body, below your chin.
Fix - Have two sensors (not in the center of your body, but placed 160mm apart with a complete new style - not a small pendant but a long curved pendant) to detect both hands. I've tested this by just holding the current design to either side, and it will detect your arm the whole time you touch your face.

Issue 2 - Can't feel the vibrations if standing - pendant needs to be resting on you (when sitting or lying) to make contact with your body to feel the very faint vibrations.
Fix - have an option for a buzzer - the vibrating motor or buzzer can be selected with the same style of slide switch already used - or have 3 switches, one for on/off, one for vibrate on/off and one for buzzer on/off.

Issue 3 - To change the battery, you have to open the whole case, exposing all the fragile circuitry. This is no good for someone who isn't used to handling small fragile items. It can easily be broken in many ways as one of my friends has already broken theirs, the black IR sensor snapped clean off of the top of the circuit board when changing the battery. Also, the guide says the the sensor "snaps in place" - again this is not the case, it barely holds it in an upright posistion, I have resorted to using hot glue to fix all the components in place, and with a clear, or white case, the sensor needs to be sticking out a long way to avoid false triggering by the case. - if it is in place like the photos show, even with the underside painted black, it vibrates constantly without stopping.
Fix - My new design will have a dedicated opening for just changing the battery (batteries? I may include 2 batteries) and will have secure holders for the sensors.

Issue 4 - sensor needs to be sticking out really far to stop false triggering
Fix - Print in BLACK plastic, the need to paint the underside of the sensor is not a good fix for this issue.

Battery life?

How is battery life / current draw with the current design?
I have trichotillomania and this would be a fantastic help for me and many other sufferers. However it would mean we would have to wear it all day, every day to kick the habit.
From an environmental perspective I imagine we would need to change this to take a small rechargeable battery (possibly charge circuitry too) to result in less batteries going to landfill/recycling centres.

Discuss the addition of a CONTRIBUTING file

If you're interested in contributions from the community, then it's good to discuss what kinds of contributions you want, and what would constitute a "valuable" contribution. You don't want folks going off and doing work to make a contribution that you won't value, not do you want someone's well-considered contribution to be rejected because they didn't follow some unwritten guidelines.

It would be good to start by reading Setting guidelines for repository contributors. The article includes examples of good CONTRIBUTING files as well as some additional reading.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.