Device to detect movement of eye

I am new in Arduino ( already build 1 project ).
I want to make a device that can detect eye movement (not tracking , not direction just motion )
while kept Eyelid close.
In cheap (ofcourse)

Before discussing in detail I like to give some point.
I don't want to attach anything on Eyelid . I want to make it like a sleeping mask.

Here's some approach I was thinking :-

  1. Using TOF sensor - I thing about finding distance between that mask to eye
    Becouse when we look straight our eye-ball is at center and there is a little rise that can decrease
    Distance between that mask and eye (to see this ,close your eye and put a finger on it and look
    Left-right )

PROBLEM - the distance change is very small (probably in millimetre ). there is a sensor named
vl53l0x that can detect distance in resolution of 1mm but I thing it's not enough

  1. Using motion sensor (PIR sensor) - this is good from detecting motion .

PROBLEM - it use difference between infrared light to function (every object emitted ir light)
So you can think that if background and object have emitted same amount of infrared light
So this cannot detect motion , that is the case of mine becouse closed eye and skin emitted same
Amount of light.

3.optical sensor approch - I know that mouse have built-in small resolution ( journaly 16x16 pixel ) camera To detect motion

PROBLEM - it does not have much problem but Arduino is unable to capture multiple photos fast
Probably around 3 photo in 1 second and the target should be very close to camera .
Also it's really hard for me to get information from photos
And personally I think it's become very complex (also less knowledge in coding) :confused:

I want to be straight so I am telling you that I didn't do any experiment mentioned above becouse
I am student and don't have much money to do that experiment .

I am open to any suggestion for detect that motion or any advice .
I am making it to detect REM sleep

Sorry for bad English

The only idea I can suggest, is those stick on electrodes near your temple, to detect the muscle motion ‘currents’.

1 Like

This is for "lucid dreaming" perhaps? :thinking:

Have you researched it?

1 Like

Appreciate your reply !

As my knowledge , I think it will attach to body and I don't want it
I want it to be like a sleeping mask

You got it right .
I read about it and try to do it for around 6 months now.
So I thing to build a gadget for lucid dreams

Good to know that people know about it :relaxed:

If you don't want to use electrodes my best guess is to use an IR-LED to illuminate under the mask and some kind of IR light sensor to detect the reflected light. You will need something like an IR phototransistor, and possibly an amplifier to get the very tiny changes into a range you can measure.

1 Like

There are health hazards associated with using IR to track eye movement.

Yes, the hazard is low when the eyelid is closed, but what if it opens? Unless you know what you are doing (and if you have to ask on a hobby forum, you probably don't) then you shouldn't use IR. Google infrared eye tracking safety for more information.

1 Like

Thank you for your reply !
It's a nice solution .
But I don't know how to amplify Singal and record it
I will research on it and try to build it and let you know
Again thanks :blush:

Appreciate your reply.
I google IR light damage and read some point below

We can see the left side of light spectrum is more harmful like x ray or gamma wave so technically visible light is more harmful then IR Light.

But I also read that IR is also harmful if it exceed the certain limit so I try to use it's very low amount of light becouse it's under the mask and there is no other light come in so it's should be easy to detect ir receiver to detect the change

And it is only when our eyes are closed !
Sorry if I write something wrong or didn't understand your question properly becouse English is not my first language

I just build a prototype using ultrasound sensor.
I just convert cm distance to mm .
And take average to 10 or more value so get accurate values.
Then it takes 2 reading and find different between then ,if the distance is more then 5mm then eye is move otherwise it's not .

It works but not as accurate as I thought
Sometimes the reading is very fluctuate.

So now I am thing to do the same with ir light and test it.
If this is also not work I use TOF sensor for accuracy

Sorry my English is bad :slight_smile:

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.