Close
0%
0%

Smart glasses: Notifications and heart-rate

(Inspired by work from Alain Mauer)

Public Chat
Similar projects worth following
Inspired by the work of Alain Mauer on his Arduino Glasses a HMD for Multi-meter I would like to make a similar set without the Multi-meter but instead simple android notifications and a heart rate monitor clipped to your ear(HEART RATE PULSE SENSOR).I'm still a nube so I'll need all the help I can get.Special thanks to Alain Mauer since he's inspired this design and I'd never even have thought of this without his work: https://hackaday.io/project/12211-arduino-glasses-a-hmd-for-multimeter

My goal with this project is a attachment for a pair of glasses (ideal when excising) that displays the following

  • Show notifications
  • Show time
  • Show heart rate 

The plan relating to heart rate monitoring is a simple heart pulse sensor clipped to your ear.

The main hardware is based on arduino. Please view my logs for additional information (coding, planning, renders...) since all progress will be uploaded there until the project is complete and I can start working on the instructions.

Stensile Rev 2.pdf

Printable stencil for body(meant for perspex)

Adobe Portable Document Format - 1.33 kB - 01/31/2019 at 12:17

Preview
Download

body rev 1.fbx

Initial case design rev 1 (cut perspex)

fbx - 42.18 kB - 01/30/2019 at 08:13

Download

design 3.fbx

Alternative design 1 3d model

fbx - 214.48 kB - 01/29/2019 at 19:48

Download

design 2.fbx

Design iteration 2 3d model.

fbx - 599.48 kB - 01/29/2019 at 16:46

Download

design 1.fbx

Design iteration 1 model.

fbx - 689.51 kB - 01/29/2019 at 16:45

Download

  • 1 × HEART RATE PULSE SENSOR
  • 1 × OLED DISPLAY MODULE Blue 0.96 INCH 128X64 4PIN (29.28mm * 27.1 mm)
  • 1 × Expand BLUNO BEETLE V1.1 (28.8mm * 33.1mm * 3.8mm)
  • 1 × 1A LITHIUM BATTERY CHARGING MODULE (6mm * 30mm * 17mm)
  • 1 × Battery LiPo 500mAh 3.7V (22.1mm * 17.2mm)

View all 7 components

  • Starting back up soon!

    Virgilius199506/13/2019 at 12:26 0 comments

    For any who may be interested I'm just letting you know my exams are now done so after the completion of 1 payed project I'll be back and hopefully we'll be able to finish this by the end of July with a fully working prototype... And take it form there. 

  • More new hardware and toys(New PulseMonitor)

    Virgilius199502/14/2019 at 10:33 0 comments

    So just a short update on what I've been up to.

    I've received a 0.96" oled(for software testing, will be using something smaller for the final design), my first bread board(and some other stuff), the 1A charger module I'll be using and finally the new heart rate monitor.

    I've wired some of it together so I can start testing code and must admit its going pretty well. The only issue I've got is with the heart rate sensor since it gives allot of noise(I've had to set the threshold into the decimals to get consistent results). I've contacted the people who make the official sensor and it seems I've been sold a counterfeit, so Ill be playing around with this till payday and then order an official one.

    Following is the code I'm working on right now::

    #include <Adafruit_SSD1306.h>
    #define USE_ARDUINO_INTERRUPTS true    
    #include <PulseSensorPlayground.h>

    const int PulseWire = 0;       
    const int LED13 = 13;         
    float Threshold = 534.445;                                          
                                   
    PulseSensorPlayground pulseSensor;

    Adafruit_SSD1306 display(4);

    void setup() {
        display.begin(SSD1306_SWITCHCAPVCC, 0x3C);
        display.clearDisplay();
        display.display();

     
      pulseSensor.analogInput(PulseWire);   
      pulseSensor.blinkOnPulse(LED13);       
      pulseSensor.setThreshold(Threshold);   

      pulseSensor.begin();
        
    }

    void loop() {
      display.setTextColor(WHITE);
      display.clearDisplay();
      display.setCursor(0,0);
      display.println("Pulse:");                       
      display.display();
      int myBPM = pulseSensor.getBeatsPerMinute();  

    if (pulseSensor.sawStartOfBeat()) {           

      display.setCursor(50,0);
      display.println(myBPM);                       
      display.display();

    }
    else
    {
      display.setCursor(50,0);
      display.println("---");                       
      display.display();
    }

      delay(1); 
    }

    Following are some pics of the setup

  • Update: Got my first hardware

    Virgilius199502/07/2019 at 11:03 0 comments

    Just a simple update:

    I've ordered and received the following

    Beetle Bluno                                                                                                                                                           Heart Sensor(Yes the name is very creative)

    Unfortunately the heart sensor I was sent is a dud and I've contacted the seller (diyelectronics.co.za) and they've been gracious enough to offer a replacement. Hopefully on Monday I will de-solder the dud and soled up the replacement.

    I've been using the following script to test the sensor(only get garbage). Hopefully on monday I'll have a working sensor connected and I can start playing around with variables to get an ideal and reliable output.

    const int inputPin = A0;
    const int threshold = 550;

    void setup() {

      Serial.begin(115200);
    }

    void loop() {

      int signal = (analogRead(inputPin));

      if (signal > threshold)
      {
        Serial.println(signal * 5);
      }

      delay(10);
      Serial.println(10);
    }

  • Updates: Ordered hardware, resin casting and 0.49"

    Virgilius199502/02/2019 at 12:39 0 comments

    So some developments. I have finally had a chance to order most of the hardware I'm planning on using. So by Tuesday the wiring and programming can commence. EXPECT REGULAR UPDATES!

    In other news I've been looking at resin casting for the components with the goal of making the case as small as possible as well as making the design waterproof, I do plan on running with it after all, so please comment if you have anu thoughts.

    Lastly I'm looking at replacing more hardware, to be specific I'm looking at replacing the 0.96" screen with a 0.49 which should reduce the volume dramatically... also the weight. Please see concept for the 0.49" oled:

    As always please let me know your thoughts.

  • Initial Planning stage 8(Probably going to leave the prism)

    Virgilius199502/01/2019 at 13:04 0 comments

    Owk after spending some time looking at some articles(see previous post) I've desided to pivot to a prism-less design. Currently working on getting it as small as possible. I'm including some pics but I'm uploading another stencil and schematic when I've finished the initial beta device... Think I'm uploading a bit too much.

    Anyway here are the pics. 

  • Optical combiners and transparent mirrors

    Virgilius199502/01/2019 at 11:27 0 comments

    Just a simple update. I hope to be ordering my initial hardware this weekend and am also looking into some alternatives to a prism. I've seen some work done with a sheet of transparent material for the actual display to eye but have been avoiding this as these setups usually look a bit clunky to me and more that that I'm worried about the visibility of the text when in strong sunlight. This has led me to a couple of articles on semi transparent mirrors. Any advice in material choice will be appreciated. I will link what I've been looking at.

    Also I wanted an opinion on wether or not its worth getting something like the amazon link or if its fine to use some normal cut acrylic maybe with a film on it?

    Optical design idea:

    Articles:

    http://www.tinmith.net/wayne/thesis/piekarski-ch2-background.htm

    https://www.nature.com/articles/s41598-017-03117-w

    https://medium.com/@RDelly/how-augmented-reality-headsets-work-diving-into-different-optical-designs-50d6240933ef

    https://www.kguttag.com/2016/10/21/armr-optics-for-combining-light-for-a-see-through-display-part-1/

    https://www.amazon.com/12-Acrylic-See-Through-Mirror/dp/B017ONH3EG/ref=sr_1_3?ie=UTF8&qid=1549020001&sr=8-3&keywords=transparent+mirror

  • Initial wiring guide

    Virgilius199501/31/2019 at 13:53 0 comments

    Just as simple wiring guide for the design I'm planning.

    If I made a mistake(hope not it since this is easy) do let me know. 

  • Initial Planning stage 8 (design rev 3 case rev 2 )

    Virgilius199501/31/2019 at 11:00 0 comments

    Design revision 3: pics and stencil

    This design is based on my updated hardware selection stated in the previous update. As before these images are more or less to scale and the measurements are correct. But as before since I haven’t actually bought anything yet I don’t know how much the design will be changed when wires are added. This update also includes the changes I’ve made regarding optics (see post on not understanding optics). Please use the stencil once I've uploaded it instead of this image.

  • New day new hardware!

    Virgilius199501/31/2019 at 10:41 0 comments

    Just a small update: I've been looking around and decided for the sake of size and weight to switch to the beetle with Bluetooth built in. I'll upload a new design as well as a stencil later today.

  • Initial Planning stage 7 (I don't understand lenses)

    Virgilius199501/30/2019 at 20:40 0 comments

    I've been trying to figure out how the lens setup should work. At this point I'm looking at a biconvex 30 diameter and 50 mm focal point lens and a 20mm x 20mm x 17mm right angle prism. The lens is placed 1 cm from the screen and the prism 1.5 cm from the lens.

    Please help me I don't know what I'm doing!!?

View all 18 project logs

Enjoy this project?

Share

Discussions

nagup wrote 04/22/2021 at 21:08 point

How's it going 

  Are you sure? yes | no

Mike Szczys wrote 01/29/2019 at 17:37 point

The heart rate pulse monitor got me thinking. I know it clips onto your ear lobe because it's shining light through it to sense the inflow/outflow of blood. But I wonder if there's a way to do this that incorporates it into an earphone. That would give it two uses -- lets you listen to audio and provides a place for the sensor that looks normal (well, if you consider the "Airpod" look to be normal :-D )

  Are you sure? yes | no

Virgilius1995 wrote 01/29/2019 at 17:49 point

That would be amazing but since I've got no experience making custom circuitry(just a basic soldering skill and understanding of basic electronics) and have nowhere local to print it(live in Africa) I'm forced to use of the shelf parts. This is what i'm looking to use:

https://www.diyelectronics.co.za/store/touch-sensors/1182-heart-rate-pulse-sensor.html

  Are you sure? yes | no

Mike Szczys wrote 01/29/2019 at 22:14 point

I haven't used that sensor, but I remember seeing a demo of it on a Hackaday.io project: https://hackaday.io/project/16386-pulse-sensor-arduino-compatible

  Are you sure? yes | no

Mike Szczys wrote 01/29/2019 at 22:16 point

Ah, and here's one I remember seeing that uses somewhat simple components (op-amp, LED, phototransistor). If you're just getting started in hardware this might look a little daunting, but keep it in mind as before long you'll have the confidence to give it a try https://hackaday.io/project/3378-diy-arduino-pulse-sensor

  Are you sure? yes | no

Virgilius1995 wrote 01/30/2019 at 06:21 point

Thanks Ill make sure to have a look!

  Are you sure? yes | no

Virgilius1995 wrote 01/30/2019 at 06:42 point

That diy sensor https://hackaday.io/project/3378-diy-arduino-pulse-sensor doesn't seem to complicated but since I don't have access to the hardware/services to make custom integrated circuitry I wouldn't be able to scale it down enough(or really at all).

  Are you sure? yes | no

nagup wrote 01/29/2019 at 17:22 point

Hey, I'm making something very similar, also inspired by Alain. Check it out and leave any questions you have there, I'd love to help you out if I can.

  Are you sure? yes | no

Virgilius1995 wrote 01/29/2019 at 17:31 point

Thanks Ill do that. Appreciate it!

  Are you sure? yes | no

Virgilius1995 wrote 01/30/2019 at 20:41 point

I've uploaded an idea for a lens setup... any ideas?

  Are you sure? yes | no

nagup wrote 02/01/2019 at 14:24 point

Your setup looks fine, its pretty simple just finding the correct lens is hard. I've been looking for software to plot rays like you have in stage 7, what is that software called?

  Are you sure? yes | no

Virgilius1995 wrote 02/01/2019 at 16:03 point

https://ricktu288.github.io/ray-optics/simulator/

I've checked the android store and a couple of pages on google and this is the closest I've been able to find. I'd prefer something that can generate a lens based on its specifications ...but no luck there so far.

  Are you sure? yes | no

Virgilius1995 wrote 01/29/2019 at 17:12 point

Please as stated I'm new to this type of stuff (I've only had one other project, a raspberry pi umpc) and need as much help as I can get. So any advice is welcome!

  Are you sure? yes | no

Mike Szczys wrote 01/29/2019 at 17:38 point

Looks like you're doing great so far. My advice is just to get *something* working and methodically improve parts of it as inspiration strikes. Looking forward to following along with your progress!

  Are you sure? yes | no

Virgilius1995 wrote 01/29/2019 at 17:45 point

Thanks I appreciate the support. To be honest I've not even bought anything yet. So besides the coding which I'll start tomorrow I'm not going to do much with hardware till payday XD.

  Are you sure? yes | no

Similar Projects

Does this project spark your interest?

Become a member to follow this project and never miss any updates