Eye Blink Sensing System- Working Principle

Eye Blink Sensing System

Summary

Hello, guys have you ever heard of eye blink sensors?

They're lit! In this blog, we'll talk about the hardware and software you need to make eye blink sensor glasses, how they work, and all the dope ways you can use this tech.

From keeping tabs on drowsy drivers to controlling your devices just by blinking, this tech is getting more and more popular by the day. Get ready to dive into the crazy world of eye blink sensors with us!

introduction

Eyeblink sensors are an amazing piece of technology that can be used for a variety of applications. The working principle is quite simple and effective, based on the detection and tracking of eye blinks.

Eye movements occur when we open or close our eyes, as well as through horizontal rotations.

It's these unique patterns that form the basis for the accurate sensor readings given by a blinking-based system using light sources such as LEDs or lasers to measure changes in pupil size with extreme precision over time when looking at different positions/directions

Thus proving valuable within modern security systems where it’s all about detecting unauthorized access quickly yet subtly while providing extra protection from being deceived due to false accusations made against someone without their knowledge!

About Eye Blink Sensor

Eye blink Sensor

Eye blink Sensor is a relatively simple sensor used to detect eye blinks. It uses a simple infrared sensor to detect if the person’s eye is closed and the corresponding data received can further be processed by any logic as required for the application. 

The eye blink system comes with an IR sensor mounted on glasses which the user can wear like regular glasses, shown in the picture above.

Hardware Required

The eyeblink sensor system comes with two main pieces of hardware

1.Glasses

2.Infrared sensor

The infrared sensor is mounted on the glasses and positioned in a way so that it lines up with the user’s eye.

The infrared then gives an output HIGH signal when the sensor detects a blink, that is the uses closes their eyes. The infrared sensor also has an onboard indicator LED to alert the user of the same.

Hardware Required for eye blink sensor

The onboard infrared sensor comes with three pins

  • VCC – 5V input
  • OUT – output based on blink detection
  • GND – ground connection

VCC and GND can be connected to the system and blink detection will be signaled using the onboard LED.

In case further logics are required to keep track of the duration of the blink, number of times blinked, etc. a microcontroller can easily be paired up with a system and an appropriate code can be written on the controller to record the above.

For cases such as the above, an OUT pin is given where the logic state can either be HIGH or LOW based on the blink state. The OUT pin can directly connected to any digital input pin of any microcontroller

Software Required

The software required to read the data from the eye blink system is very simple and straightforward. The code for the same done in Arduino IDE is given below.

For this sketch, we will be connecting the OUT pin of the eye blink sensor to pin 8 of the Arduino and printing on Serial if the eye is closed or not.


int eyeBlinkPin = 8; // connecting eye blink sensor to pin 8

int detectionState; // initializing detection variable

 

void setup()

{

    pinMode(eyeBlinkPin,INPUT); // setting eyeblink pin as INPUT

    Serial.begin(9600); // Initializing serial monitor with baud rate of 9600

}

 

void loop()

{

    detectionState = digitalRead(eyeBlinkPin); // saving the eye blink state to detection variable

    if (detectionState == HIGH) // check the detection variable is HIGH

    {

        Serial.println("Eye is closed"); // if true, print the following message on serial monitor

    }

    else {

        Serial.println("Eye is open"); // if false, print the following message on serial monitor

    }

    delay(50); // providing a delay of 50ms between each loop

}

Assembly of the Glasses

Assembly of the Glasses

They eyeblink system comes preassembled, but the onboard IR sensor can easily be taken off by gently pulling it slowly from its mounting holes.

The glasses are pre-drilled from the factory and positioned in such a way that the IR sensor system has a clear view of the person’s eye and eyelid. 

Working Principle of the Eye Blink Sensor

Working Principle of the Eye blink Sensor

The IR sensor works based on the principle of IR.

The onboard IR array contains two components, an IR Emitter and an IR Photodiode

The IR Emitter emits an IR light towards the eye. The IR Photodiode is designed to detect if the radiation of the same wavelength is reflected back and detected.

If the eye is closed, the IR rays will reflect back with a larger intensity and the photodiode will detect it.

If the eye is open, the IR rays will wither go into the eye or scatter across the eye thereby causing a very low intensity of reflected IR light.

Therefore, by monitoring the Photodiode, we can come to a reasonable conclusion if the eye is indeed closed or not.

The module also comes with an onboard potentiometer which can be used to tune the sensitivity of the Photodiode.

Applications of the Eye Blink Sensor

Eye blink system can be used in variety of applications where the user attention needs to be monitored.

For example, it can be used while driving, so that an alarm or a notification can be sent if the driver’s eye is closed for more than 2 seconds.

Other applications of eye blink sensor include scientific studies to measure fatigue or can be used for research purposes to count number of eyeblinks in various different situations.

Conclusion

In this blog post, we have learned the eye blink sensor is a revolutionary innovation that has the potential to convert different areas such as pharmaceutical, gaming, and even daily life.

With the proper equipment and program, and a bit of assembly, the eye squint sensor can precisely detect eye flickers and interpret them into important information.

The prospects for enhancing medical diagnostics and virtual reality experiences are boundless.

So, if you are looking for a game-changing breakthrough, go no further than the eye blink sensor. Join it to a greater extent and propel your creativity to the next level. 

 

 

If you appreciate our work don't forget to share this post and leave your opinion in the comment box.

 

Please do check out other blog posts about Types of Sensors in IoT , Interfacing Proximity Sensors with Arduino and How DHT11 and DHT22 Sensors Work and interfacing it with a MCU on Proteus

 

Make sure you check out our wide range of products and collections (we offer some exciting deals!)

You may also like to read

Frequently Asked Questions

1. What is eye blink sensor?

Eye blink sensor can tell when you blink your eyes. Basically, it uses infrared light and some fancy photodetector thing to detect changes in the light reflecting off your eyes when you blink. It's super versatile too, you can use it to track if you're getting sleepy while driving, keep an eye on your eye health, and even control stuff with just your eyes!

2. What is the difference between IR and eye blink sensor?

IR (infrared) sensors are electronic devices that detect infrared radiation, which is invisible to the human eye. They are commonly used in various applications such as remote controls, proximity sensors, and motion detectors.

On the other hand, eye blink sensors are used to detect the movement of eyelids, which is an indicator of drowsiness or fatigue. They are commonly used in automotive applications to alert driver when they are feeling drowsy and may fall asleep while driving.

In summary, while IR sensors detect infrared radiation, eye blink sensors are designed specifically to detect eye movement and are commonly used in applications related to drowsiness detection.

Back to blog

Leave a comment

Please note, comments need to be approved before they are published.

You may also like to read