yes you can use but the fitting of the IR sensor is little bit tricky .... actually this is also IR Sensor, we are using but this is in the compact form which can be fitted easily in the goggles.
Code is given at :- circuitsbazaar.com/anti-sleep-alarm-project-using-eye-blink-sensor/ You just need to change the time delay function a little bit . Updated code is given here according to your requirement :- // Code Of Anti Sleep Alarm Project // circuitsbazaar.com define SENSE A0 // for eye blink sensor output void setup() { pinMode(SENSE, INPUT); pinMode(2, OUTPUT);pinMode(LED_BUILTIN, OUTPUT); // Pin number 13 of arduino nano } void loop() { if(digitalRead(SENSE)) { digitalWrite(LED_BUILTIN, LOW); pinMode(2, LOW); } else { delay (5000); if(digitalRead(SENSE)) { digitalWrite(LED_BUILTIN, LOW); pinMode(2, LOW); } else digitalWrite(LED_BUILTIN, HIGH); pinMode(2, HIGH); } }
Exit status 1 indicates that a process has finished (or “exited”) in failure. Please copy the code as it is ....... as it is on my website circuitsbazaar.com/anti-sleep-alarm-project-using-eye-blink-sensor/
Yes you can use but make it compact. However, there are some things to keep in mind. IR sensors can be affected by ambient light. This means that you may need to take steps to reduce the amount of ambient light in your project. IR sensors can be used to detect other objects besides eyes. This means that you will need to make sure that your project is designed to only detect eyes.
Hi sir do you have a program for using IR sensor? Can I please ask for it? I am working on a project and it is really confusing me and the deadline is near.
here in this project there is no use of D2 but you can use it in future project upgrades to control the car ignition system as well. This means if you will sleep then car engine will also stop through a relay connected at pin D2. for this project don't consider it(D2).
@@santhoshkumar.vsurya1506 Where you are trying to open it? . Just copy from the article i am giving you and paste it in arduino. it's working properly. The article is :- circuitsbazaar.com/anti-sleep-alarm-project-using-eye-blink-sensor/
Hi sir good day, I would like to ask what is the use of pinMode(2, OUTPUT); in the code? As far as I can see there are no components that are connected to the digital pin 2. I am really confused. Hoping for your reply sooner.
Amazon only deliver to india and sri lanka. Can u post international please. Another question, what else sensor can be replace for eye blink sensor as in video. How about tracker sensor like TCRT5000
1. I don't know from which country you are from. It's also available in the USA Amazon Website as well .... 2. If you don't find it in your country then worry not .... because eye blink sensor is nothing but a simple IR Transmitter and Reciever Pair. ... you can make it home... make sure you are creating it smallest possible pcb. The IC you can use is LM358 . Better if you can go for SMD Components.... 3. Instead of TCRT5000 , you can use simple transmitter receiver pair of Infrared sensor.
Don't worry just change the logic in the programming from HIGH to LOW to run the buzzer. If still problem persist then please check the logic of the IR sensor as well or contact us at circuitsbazaar.com for detailed support .
i have given coding and circuit diagram on the article on my website :- circuitsbazaar.com/anti-sleep-alarm-project-using-eye-blink-sensor/ if you don't know how to do coding in arduino then watch some youtube video regarding " How to program Arduino "
sir i bought an eye blink sensor .its made in india and is square in shape but when i connected it with aurdino nano . It is working opposite . like the buzzer beeps when I open my eyes and stops when i close them please sir provide me a code for that .
Code is given in description link .. or click on the link of the website in the description ..... circuitsbazaar.com ... everything is explained there.... or you can just make the sensor logic opposite in the programming and your hardware will start working
Its a very good project. I did this but in that continuously producing sound.. How can I solve this? Sensor is properly working. But sound producing continuously.... pls give rply
Yes it's an amazing project to make ...... if you face any issue then go the article on circuitsbazaar.com regarding the same .... the link of the article is in the description below....
In the context of Arduino programming, an "uploading error" refers to a problem that occurs when you're trying to upload your code from your computer to an Arduino board, but the process encounters an issue and fails to complete successfully. This error can be caused by various factors, and the error message you receive will provide more information about what went wrong. Some common reasons for uploading errors in Arduino programming include: Incorrect Board or Port Selection Driver Issues USB Cable Problems Conflicting Software Memory Issues Bootloader Problems Physical Connection Issues Conflicting Libraries External Hardware Problems
Code is properly working ... uploading error means there is some other problem. In the context of Arduino programming, an "uploading error" refers to a problem that occurs when you're trying to upload your code from your computer to an Arduino board, but the process encounters an issue and fails to complete successfully. This error can be caused by various factors, and the error message you receive will provide more information about what went wrong. Some common reasons for uploading errors in Arduino programming include: Incorrect Board or Port Selection Driver Issues USB Cable Problems Conflicting Software Memory Issues Bootloader Problems Physical Connection Issues Conflicting Libraries External Hardware Problems
Link for code / circuit diagram and all the detail is given in the description ... please go through that .... or you can go through this article circuitsbazaar.com/anti-sleep-alarm-project-using-eye-blink-sensor/
I have written the code for Arduino UNO. The link for the complete article which is having code as well is given in the description below..... All the codes written for Uno will work with Nano due to the less number of analog pins in Uno. But the code written for Nano will not work in Uno because there are 8 analog pins in Nano but there are only 6 analog pins in Uno. So you can use this code directly for Arduino nano.
Article link is given in the description of the video ... just go to that article and code is given over there .... code for arduino uno or nano is same. you just need to select Arduino UNO instead of Nano while burning the code in the board
Greetings, I like the concept and would like to implement the same for my use. I would like to add some more features to the solution. please share the email ID / Whatsapp ...
Sir can you tell how to do when the buzzer ring a tyre in a motor stop
For this just program a relay and attach motor to that relay. Day after tomorrow will release a video on this with complete details.
What we should program in audio Nano
check the description.... the article link is given over there, where i have given the code and all the written material.....
Sir explain this confusion that code is not working
Please provide the code you are using and I will help you fix it.
Good explanation
Thanks ☺
Can we use ir sensor instead of eye blink sensor.
yes you can use but the fitting of the IR sensor is little bit tricky .... actually this is also IR Sensor, we are using but this is in the compact form which can be fitted easily in the goggles.
Ok Sir
Will the ir rays emitted from sensor harm our eyes if used for long time.
yes for long period of time if you will use they can affect your eyes
@@The.Innovative.IndianThen this sensor is not a good choice for this application as it can cause permanent damage to our eyes.
right brother ..
how to adjust the timing of the sense its only 2 sec and I want to do that sensor will sense after 5 sec
plz tell me
Code is given at :- circuitsbazaar.com/anti-sleep-alarm-project-using-eye-blink-sensor/
You just need to change the time delay function a little bit .
Updated code is given here according to your requirement :-
// Code Of Anti Sleep Alarm Project
// circuitsbazaar.com
define SENSE A0 // for eye blink sensor output void setup()
{
pinMode(SENSE, INPUT);
pinMode(2, OUTPUT);pinMode(LED_BUILTIN, OUTPUT); // Pin number 13 of arduino nano
}
void loop()
{
if(digitalRead(SENSE))
{
digitalWrite(LED_BUILTIN, LOW);
pinMode(2, LOW);
}
else
{
delay (5000);
if(digitalRead(SENSE))
{
digitalWrite(LED_BUILTIN, LOW);
pinMode(2, LOW);
}
else
digitalWrite(LED_BUILTIN, HIGH);
pinMode(2, HIGH);
}
}
Bro can we connect these sensor to any mirror
From there on words can we connect from our eyes.....
Brother please elaborate your question ... i didn't what you want to say
Sir,if I connect this to a motor what is the code to stop the motor while sleeping
Soon another video is coming on this
Will it work without the aurdiono nano
yes you can use arduino uno or other arduino series microcontrollers
sir ek error aaagaya while compiling
exit status 1
'define' does not name a type; did you mean 'rewind'?
Exit status 1 indicates that a process has finished (or “exited”) in failure.
Please copy the code as it is ....... as it is on my website
circuitsbazaar.com/anti-sleep-alarm-project-using-eye-blink-sensor/
There was a little typing mistake in the code but now has been updated...... Please check it again .... i have tested it .... It's working perfectly
@@The.Innovative.Indian Thank you sir for quick help, I am going to test it
Sir buzzer is buzzing continusly what can I do
Since the digital signal from zero to one or 1 to 0 to stop it.
Sir aurdino isme already aata hai isme koi code nahi dalna hoga
Arduino you buy from the market is blank with sample code.... you have to burn the code in that ...... code is given on the website circuitsbazaar.com
@@The.Innovative.Indian tq ❣️
Sir apne Arduino nano
Ko perchance Kane ke lia two links di ha to dono same he ha na ?
Yes both are same ... you can buy from any one of them....
How can we use relay in this and coding for that?
Any of the pin define as relay and make on n off on your requirement
@@The.Innovative.Indian i want circuit diagram please
Amazing project ❤️
Thanks brother ❤
Sir can we use ir sensor instead of this??
Yes you can use but make it compact. However, there are some things to keep in mind.
IR sensors can be affected by ambient light. This means that you may need to take steps to reduce the amount of ambient light in your project.
IR sensors can be used to detect other objects besides eyes. This means that you will need to make sure that your project is designed to only detect eyes.
Sir can we use ir sensor in replace of eyeblink sensor ?
Yes you can use ... just make the ir sensor module size small so that you can fit that on the specs
Hi sir do you have a program for using IR sensor? Can I please ask for it? I am working on a project and it is really confusing me and the deadline is near.
Great project
Thanks🌹
sir…can you add some more features which is can add water spray during eye blink works?
Its very easy you can add a water spray motor
@@The.Innovative.Indian can you added water spray motor to this project?
YES I WILL ADD AND WILL MAKE A VIDEO
here in this project there is no use of D2 but you can use it in future project upgrades to control the car ignition system as well. This means if you will sleep then car engine will also stop through a relay connected at pin D2. for this project don't consider it(D2).
how price
Sir code can't open
@@santhoshkumar.vsurya1506 Where you are trying to open it? . Just copy from the article i am giving you and paste it in arduino. it's working properly. The article is :- circuitsbazaar.com/anti-sleep-alarm-project-using-eye-blink-sensor/
@@santhoshkumar.vsurya1506 or use this code :-
#define SENSE A0 // IR Sensor
void setup()
{
pinMode(SENSE, INPUT);
pinMode(2, OUTPUT);
pinMode(LED_BUILTIN, OUTPUT); // 13+
}
void loop()
{
if(digitalRead(SENSE))
{
digitalWrite(LED_BUILTIN, LOW);
pinMode(2, LOW);
}
else
{
delay (2000);
if(digitalRead(SENSE))
{
digitalWrite(LED_BUILTIN, LOW);
pinMode(2, LOW);
}
else
digitalWrite(LED_BUILTIN, HIGH);
pinMode(2, HIGH);
}
}
plz bro say how can i do in D2 pin who one are connect relay yah motor plz show me plz 🙏🖤😢
Very nice brother
Thank you❤
Can the eye blink sensor work in foggy weather?
Yes it will work in foggy whether too....
Can we use something else instead of IR sensor so that it does not affect our eyes?
Can we use ultrasonic sensor instead of IR sensor?
#define SENSE A0 // IR Sensor void setup() { pinMode(SENSE, INPUT); pinMode(2, OUTPUT); pinMode(LED_BUILTIN, OUTPUT); // 13+ } void loop() { if(digitalRead(SENSE)) { digitalWrite(LED_BUILTIN, LOW); pinMode(2, LOW); } else { delay (2000); if(digitalRead(SENSE)) { digitalWrite(LED_BUILTIN, LOW); pinMode(2, LOW); } else digitalWrite(LED_BUILTIN, HIGH); pinMode(2, HIGH); } }
Sir can we use it sensor
i think you are asking about ir sensor. yes you can use ir sensor.
Hi sir good day, I would like to ask what is the use of
pinMode(2, OUTPUT);
in the code? As far as I can see there are no components that are connected to the digital pin 2. I am really confused. Hoping for your reply sooner.
No use in the current project... This is for the future use if you want to attach some type of motor as well..... So for this project neglect it
@@The.Innovative.Indian thank you for the reply
Superb
Thanks❤
Super channel
Thanks ❤
Amazon only deliver to india and sri lanka. Can u post international please. Another question, what else sensor can be replace for eye blink sensor as in video. How about tracker sensor like TCRT5000
1. I don't know from which country you are from. It's also available in the USA Amazon Website as well ....
2. If you don't find it in your country then worry not .... because eye blink sensor is nothing but a simple IR Transmitter and Reciever Pair. ... you can make it home... make sure you are creating it smallest possible pcb. The IC you can use is LM358 . Better if you can go for SMD Components....
3. Instead of TCRT5000 , you can use simple transmitter receiver pair of Infrared sensor.
But materials required is there
circuitsbazaar.com/anti-sleep-alarm-project-using-eye-blink-sensor/
Yes everything regarding the project you will find here.....
Sir ye all object kaha milega
you can buy it from anywhere online or we can also supply these
Sir mera project work nahi kar raha hai
Buzzer opposite work kar raha hai please help me sir....
Don't worry just change the logic in the programming from HIGH to LOW to run the buzzer. If still problem persist then please check the logic of the IR sensor as well or contact us at circuitsbazaar.com for detailed support .
Sir how should we want to do coding and set a program
i have given coding and circuit diagram on the article on my website :- circuitsbazaar.com/anti-sleep-alarm-project-using-eye-blink-sensor/
if you don't know how to do coding in arduino then watch some youtube video regarding " How to program Arduino "
God bless you be healthy 🙏
Thanks❤
Super sir
Thanks ❤
sir yeh problem hai ke code kaam nahi kar raha hai please help
what actually is the issue . what compilation error you are getting
sir i bought an eye blink sensor .its made in india and is square in shape but when i connected it with aurdino nano . It is working opposite . like the buzzer beeps when I open my eyes and stops when i close them please sir provide me a code for that .
Code is given in description link .. or click on the link of the website in the description ..... circuitsbazaar.com ... everything is explained there.... or you can just make the sensor logic opposite in the programming and your hardware will start working
Sir plzz explain it briefly , i am also facing problems
Plzzz sir really keen request to explain , why it is working opp
Its a very good project. I did this but in that continuously producing sound.. How can I solve this? Sensor is properly working. But sound producing continuously.... pls give rply
Please Go through the Programming of this Project Carefully. There are chances that your Code is not properly checked
you can try this code :-
// @circuitsbazaar / Innovative Indian Projects
#define SENSE A0 // IR Sensor
void setup()
{
pinMode(SENSE, INPUT); // Attach the Eye Blink Sensor signal pin
pinMode(LED_BUILTIN, OUTPUT); // 13+ // Buzzer Attached
}
void loop()
{
if(digitalRead(SENSE))
{
digitalWrite(LED_BUILTIN, LOW);
}
else
{
delay (2000);
if(digitalRead(SENSE))
{
digitalWrite(LED_BUILTIN, LOW);
}
else
digitalWrite(LED_BUILTIN, HIGH);
}
}
Or you can visit this article :-
circuitsbazaar.com/anti-sleep-alarm-project-using-eye-blink-sensor/
Loved the project and going to build it, hope I did not face any issue
Yes it's an amazing project to make ...... if you face any issue then go the article on circuitsbazaar.com regarding the same .... the link of the article is in the description below....
Sir eye blink sensor aur googles kaha se mile ge plz bata dein ?
The link is given in the description of the video ... check it
Sir what is the price at amazon ?
It's showing uploading error
In the context of Arduino programming, an "uploading error" refers to a problem that occurs when you're trying to upload your code from your computer to an Arduino board, but the process encounters an issue and fails to complete successfully. This error can be caused by various factors, and the error message you receive will provide more information about what went wrong.
Some common reasons for uploading errors in Arduino programming include:
Incorrect Board or Port Selection
Driver Issues
USB Cable Problems
Conflicting Software
Memory Issues
Bootloader Problems
Physical Connection Issues
Conflicting Libraries
External Hardware Problems
Hi sir..the code is not working
Code is properly working ... uploading error means there is some other problem.
In the context of Arduino programming, an "uploading error" refers to a problem that occurs when you're trying to upload your code from your computer to an Arduino board, but the process encounters an issue and fails to complete successfully. This error can be caused by various factors, and the error message you receive will provide more information about what went wrong.
Some common reasons for uploading errors in Arduino programming include:
Incorrect Board or Port Selection
Driver Issues
USB Cable Problems
Conflicting Software
Memory Issues
Bootloader Problems
Physical Connection Issues
Conflicting Libraries
External Hardware Problems
How much cost for total
For this one right now 2800
Super super
Thanks ❤
How to do coding
you need learn how to program arduino... lot of free tutorial exist on youtube . just go through them
Hi sir plz ho sake to iske code la link send kijiye mere bete ne bahot try Kiya but ho na raha code ka issue hai plz help.u
Link for code / circuit diagram and all the detail is given in the description ... please go through that .... or you can go through this article circuitsbazaar.com/anti-sleep-alarm-project-using-eye-blink-sensor/
@@The.Innovative.Indian this code is not working
Bro please give program for aurdino nano for these project 👍🏻
I have written the code for Arduino UNO. The link for the complete article which is having code as well is given in the description below..... All the codes written for Uno will work with Nano due to the less number of analog pins in Uno. But the code written for Nano will not work in Uno because there are 8 analog pins in Nano but there are only 6 analog pins in Uno. So you can use this code directly for Arduino nano.
sir, please provide code of Uno aurdino
Article link is given in the description of the video ... just go to that article and code is given over there .... code for arduino uno or nano is same. you just need to select Arduino UNO instead of Nano while burning the code in the board
Sir what is the cost of this project ?
Right now 2800
Thank you sir
Sir the code is not compiling
Check your compiler .... It's tried & tested code , and working properly
How to install any new library in proteus software
Click Here to download the Proteus simulation file.
Code of the project:
#define SENSE A0 // IR Sensor void setup() { pinMode(SENSE, INPUT); pinMode(2, OUTPUT); pinMode(LED_BUILTIN, OUTPUT); // 13+ } void loop() { if(digitalRead(SENSE)) { digitalWrite(LED_BUILTIN, LOW); pinMode(2, LOW); } else { delay (2000); if(digitalRead(SENSE)) { digitalWrite(LED_BUILTIN, LOW); pinMode(2, LOW); } else digitalWrite(LED_BUILTIN, HIGH); pinMode(2, HIGH); } }
Bro please give me Arduino nano code
And how to apply please help me 🥺
please Check description ... i have written a complete blog on this where you will find code circuit diagram theory and every other detail
But there is nothing
circuitsbazaar.com/anti-sleep-alarm-project-using-eye-blink-sensor/
Everything is given here ....
Total cost kitna hoga
you can visit this :- circuitsbazaar.com/anti-sleep-alarm-project-using-eye-blink-sensor/
I also select this project in my 2nd year
Glad , you selected this .... let me know if face any problem
@@The.Innovative.Indian ofcourse...why not 😇
Sir can you tell please.. Which type of the cross question teacher can be asked in this
Please help me sir
please go through this :-
circuitsbazaar.com/anti-sleep-alarm-project-using-eye-blink-sensor/
i will make it with a attiny 10
That's a great option . it will save lot of power and you won't need heavy battery on Goggles
Bhai Mera problem aa raha hai kal school me dena hai plz help bro please give me Instagram I'd😥😥😥😥😭😭😭😭
instagram.com/circuitsbazaar/
please go through the blog i have given in the description .... your all the doubts will be cleared over there ....
Greetings, I like the concept and would like to implement the same for my use. I would like to add some more features to the solution. please share the email ID / Whatsapp ...
Great you can go ahead . you can write us to circuitsbazaar@gmail.com. Let us know if we can help in adding some more features
sir i have sent you message in instagram, i hope you can help us
Sure & got it brother ....