Anti Sleep Alarm using Arduino and Eye Blink Sensor | Project

Поделиться
HTML-код
  • Опубликовано: 11 сен 2024

Комментарии • 146

  • @confusedhacker139
    @confusedhacker139 2 года назад +4

    Good explanation

  • @Drxxx
    @Drxxx 2 года назад +2

    Super channel

  • @rannarayansharma5554
    @rannarayansharma5554 Год назад +3

    #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); } }

  • @ritukumari5256
    @ritukumari5256 2 года назад +2

    Very nice brother

  • @sobitverma4953
    @sobitverma4953 2 года назад +2

    Amazing project ❤️

  • @kurtifactory
    @kurtifactory 2 года назад +2

    Super super

  • @FRESHBOOKINGIN
    @FRESHBOOKINGIN 2 года назад +2

    Superb

  • @ritukumari5256
    @ritukumari5256 2 года назад +2

    God bless you be healthy 🙏

  • @The.Innovative.Indian
    @The.Innovative.Indian  Год назад +2

    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).

    • @mazharulmasum8972
      @mazharulmasum8972 Год назад

      how price

    • @santhoshkumar.vsurya1506
      @santhoshkumar.vsurya1506 Год назад +1

      Sir code can't open

    • @The.Innovative.Indian
      @The.Innovative.Indian  Год назад

      @@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/

    • @The.Innovative.Indian
      @The.Innovative.Indian  Год назад

      @@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);
      }
      }

    • @creativeinvention24
      @creativeinvention24 7 месяцев назад +1

      plz bro say how can i do in D2 pin who one are connect relay yah motor plz show me plz 🙏🖤😢

  • @rajeevsaini1807
    @rajeevsaini1807 2 года назад +1

    Great project

  • @karampalsingh8629
    @karampalsingh8629 2 года назад +2

    Super sir

  • @runbehera2138
    @runbehera2138 28 дней назад

    Thank you sir

  • @srilathasri4523
    @srilathasri4523 7 месяцев назад +1

    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

    • @The.Innovative.Indian
      @The.Innovative.Indian  7 месяцев назад

      Please Go through the Programming of this Project Carefully. There are chances that your Code is not properly checked

    • @The.Innovative.Indian
      @The.Innovative.Indian  7 месяцев назад

      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);
      }
      }

    • @The.Innovative.Indian
      @The.Innovative.Indian  7 месяцев назад

      Or you can visit this article :-
      circuitsbazaar.com/anti-sleep-alarm-project-using-eye-blink-sensor/

  • @AnshumanAtrey
    @AnshumanAtrey Год назад

    Loved the project and going to build it, hope I did not face any issue

    • @The.Innovative.Indian
      @The.Innovative.Indian  Год назад +1

      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....

  • @happybeats8202
    @happybeats8202 Год назад +2

    What we should program in audio Nano

    • @The.Innovative.Indian
      @The.Innovative.Indian  Год назад

      check the description.... the article link is given over there, where i have given the code and all the written material.....

  • @Swathiinam
    @Swathiinam Год назад +1

    Bro can we connect these sensor to any mirror
    From there on words can we connect from our eyes.....

    • @The.Innovative.Indian
      @The.Innovative.Indian  Год назад

      Brother please elaborate your question ... i didn't what you want to say

  • @AnshumanAtrey
    @AnshumanAtrey Год назад +2

    sir ek error aaagaya while compiling
    exit status 1
    'define' does not name a type; did you mean 'rewind'?

    • @The.Innovative.Indian
      @The.Innovative.Indian  Год назад +1

      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/

    • @The.Innovative.Indian
      @The.Innovative.Indian  Год назад +1

      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

    • @AnshumanAtrey
      @AnshumanAtrey Год назад

      @@The.Innovative.Indian Thank you sir for quick help, I am going to test it

  • @happybeats8202
    @happybeats8202 Год назад +2

    But materials required is there

    • @The.Innovative.Indian
      @The.Innovative.Indian  Год назад

      circuitsbazaar.com/anti-sleep-alarm-project-using-eye-blink-sensor/
      Yes everything regarding the project you will find here.....

  • @dhiyarifhan
    @dhiyarifhan Год назад +1

    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

    • @The.Innovative.Indian
      @The.Innovative.Indian  Год назад

      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.

  • @sreelekha7974
    @sreelekha7974 10 месяцев назад +1

    Sir can you tell how to do when the buzzer ring a tyre in a motor stop

    • @The.Innovative.Indian
      @The.Innovative.Indian  10 месяцев назад

      For this just program a relay and attach motor to that relay. Day after tomorrow will release a video on this with complete details.

  • @PritamSonkusare
    @PritamSonkusare Год назад +1

    Will the ir rays emitted from sensor harm our eyes if used for long time.

    • @The.Innovative.Indian
      @The.Innovative.Indian  Год назад +1

      yes for long period of time if you will use they can affect your eyes

    • @PritamSonkusare
      @PritamSonkusare Год назад +1

      @@The.Innovative.IndianThen this sensor is not a good choice for this application as it can cause permanent damage to our eyes.

    • @The.Innovative.Indian
      @The.Innovative.Indian  Год назад +1

      right brother ..

  • @D.s.p190
    @D.s.p190 Год назад +1

    Sir apne Arduino nano
    Ko perchance Kane ke lia two links di ha to dono same he ha na ?

  • @khairulfahmi7876
    @khairulfahmi7876 Год назад +1

    sir…can you add some more features which is can add water spray during eye blink works?

  • @princessannetraya7978
    @princessannetraya7978 Год назад +1

    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.

    • @The.Innovative.Indian
      @The.Innovative.Indian  Год назад +1

      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

    • @princessannetraya7978
      @princessannetraya7978 Год назад +1

      @@The.Innovative.Indian thank you for the reply

  • @maybelmargret837
    @maybelmargret837 Год назад +1

    Sir,if I connect this to a motor what is the code to stop the motor while sleeping

  • @jeevedjena
    @jeevedjena Год назад +1

    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

    • @The.Innovative.Indian
      @The.Innovative.Indian  Год назад

      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);
      }
      }

  • @divyakanav1566
    @divyakanav1566 Год назад +2

    I also select this project in my 2nd year

    • @The.Innovative.Indian
      @The.Innovative.Indian  Год назад

      Glad , you selected this .... let me know if face any problem

    • @divyakanav1566
      @divyakanav1566 Год назад

      @@The.Innovative.Indian ofcourse...why not 😇

    • @divyakanav1566
      @divyakanav1566 Год назад

      Sir can you tell please.. Which type of the cross question teacher can be asked in this

  • @sudeshkumari3132
    @sudeshkumari3132 Год назад +1

    Can we use ir sensor instead of eye blink sensor.

    • @The.Innovative.Indian
      @The.Innovative.Indian  Год назад

      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.

    • @sudeshkumari3132
      @sudeshkumari3132 Год назад +1

      Ok Sir

  • @Hunter0060
    @Hunter0060 Год назад +1

    Sir aurdino isme already aata hai isme koi code nahi dalna hoga

    • @The.Innovative.Indian
      @The.Innovative.Indian  Год назад

      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

    • @Hunter0060
      @Hunter0060 Год назад

      @@The.Innovative.Indian tq ❣️

  • @happybeats8202
    @happybeats8202 Год назад +2

    But there is nothing

    • @The.Innovative.Indian
      @The.Innovative.Indian  Год назад

      circuitsbazaar.com/anti-sleep-alarm-project-using-eye-blink-sensor/
      Everything is given here ....

  • @tianachopra6689
    @tianachopra6689 Год назад +1

    Will it work without the aurdiono nano

  • @dishantshastrakar25
    @dishantshastrakar25 Год назад +1

    Sir mera project work nahi kar raha hai
    Buzzer opposite work kar raha hai please help me sir....

    • @The.Innovative.Indian
      @The.Innovative.Indian  Год назад

      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 .

  • @utkarshnaik20
    @utkarshnaik20 Год назад +1

    Sir can we use ir sensor instead of this??

    • @The.Innovative.Indian
      @The.Innovative.Indian  Год назад

      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.

  • @riturathee7221
    @riturathee7221 4 месяца назад +1

    Sir buzzer is buzzing continusly what can I do

  • @moviesadda9137
    @moviesadda9137 2 года назад +2

    Bro please give me Arduino nano code
    And how to apply please help me 🥺

    • @The.Innovative.Indian
      @The.Innovative.Indian  2 года назад

      please Check description ... i have written a complete blog on this where you will find code circuit diagram theory and every other detail

  • @hurairashahid3220
    @hurairashahid3220 Год назад +1

    Sir what is the cost of this project ?

  • @mistaken3742
    @mistaken3742 Год назад +1

    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 .

    • @The.Innovative.Indian
      @The.Innovative.Indian  Год назад +1

      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

    • @bhimrajverma2337
      @bhimrajverma2337 Год назад

      Sir plzz explain it briefly , i am also facing problems

    • @bhimrajverma2337
      @bhimrajverma2337 Год назад +1

      Plzzz sir really keen request to explain , why it is working opp

  • @hurairashahid3220
    @hurairashahid3220 Год назад +1

    Sir can we use ir sensor in replace of eyeblink sensor ?

    • @The.Innovative.Indian
      @The.Innovative.Indian  Год назад

      Yes you can use ... just make the ir sensor module size small so that you can fit that on the specs

    • @princessannetraya7978
      @princessannetraya7978 Год назад

      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.

  • @rannarayansharma5554
    @rannarayansharma5554 Год назад +1

    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); } }

  • @dheemanjyotihridaykakatiro1466
    @dheemanjyotihridaykakatiro1466 Год назад +1

    Sir can we use it sensor

  • @mkgamingbgmi2024
    @mkgamingbgmi2024 Год назад +1

    How can we use relay in this and coding for that?

    • @The.Innovative.Indian
      @The.Innovative.Indian  Год назад

      Any of the pin define as relay and make on n off on your requirement

    • @mkgamingbgmi2024
      @mkgamingbgmi2024 Год назад

      @@The.Innovative.Indian i want circuit diagram please

  • @GamingKingDhruvil
    @GamingKingDhruvil Год назад +1

    Can the eye blink sensor work in foggy weather?

    • @The.Innovative.Indian
      @The.Innovative.Indian  Год назад

      Yes it will work in foggy whether too....

    • @GamingKingDhruvil
      @GamingKingDhruvil 9 месяцев назад

      Can we use something else instead of IR sensor so that it does not affect our eyes?

    • @GamingKingDhruvil
      @GamingKingDhruvil 9 месяцев назад

      Can we use ultrasonic sensor instead of IR sensor?

  • @manojkumarcr2293
    @manojkumarcr2293 Год назад +1

    Hi sir..the code is not working

    • @The.Innovative.Indian
      @The.Innovative.Indian  Год назад

      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

  • @LFzone123
    @LFzone123 9 месяцев назад +1

    Sir ye all object kaha milega

    • @The.Innovative.Indian
      @The.Innovative.Indian  9 месяцев назад

      you can buy it from anywhere online or we can also supply these

  • @manojkumarcr2293
    @manojkumarcr2293 Год назад +1

    It's showing uploading error

    • @The.Innovative.Indian
      @The.Innovative.Indian  Год назад

      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

  • @gaurishpatil6957
    @gaurishpatil6957 Год назад +1

    Bro please give program for aurdino nano for these project 👍🏻

    • @The.Innovative.Indian
      @The.Innovative.Indian  Год назад

      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.

  • @hurairashahid3220
    @hurairashahid3220 Год назад +1

    Sir eye blink sensor aur googles kaha se mile ge plz bata dein ?

  • @ameernazeerm5400
    @ameernazeerm5400 Год назад +1

    Sir how should we want to do coding and set a program

    • @The.Innovative.Indian
      @The.Innovative.Indian  Год назад

      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 "

  • @nagaraju007junnu5
    @nagaraju007junnu5 Год назад +1

    How much cost for total

  • @mrjaguar7249
    @mrjaguar7249 Год назад +1

    Sir the code is not compiling

    • @The.Innovative.Indian
      @The.Innovative.Indian  Год назад

      Check your compiler .... It's tried & tested code , and working properly

  • @Hightrack82
    @Hightrack82 Год назад +1

    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

    • @The.Innovative.Indian
      @The.Innovative.Indian  Год назад

      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/

    • @Hightrack82
      @Hightrack82 Год назад

      @@The.Innovative.Indian this code is not working

  • @ytfriendsgaming
    @ytfriendsgaming Год назад +1

    Total cost kitna hoga

    • @The.Innovative.Indian
      @The.Innovative.Indian  Год назад

      you can visit this :- circuitsbazaar.com/anti-sleep-alarm-project-using-eye-blink-sensor/

  • @riteshtiwari9268
    @riteshtiwari9268 Год назад +1

    sir, please provide code of Uno aurdino

    • @The.Innovative.Indian
      @The.Innovative.Indian  Год назад

      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

  • @kowserbanu123
    @kowserbanu123 Год назад +1

    How to do coding

    • @The.Innovative.Indian
      @The.Innovative.Indian  Год назад

      you need learn how to program arduino... lot of free tutorial exist on youtube . just go through them

  • @garymazzataz9350
    @garymazzataz9350 7 месяцев назад +1

    i will make it with a attiny 10

    • @The.Innovative.Indian
      @The.Innovative.Indian  7 месяцев назад

      That's a great option . it will save lot of power and you won't need heavy battery on Goggles

  • @manojkumarcr2293
    @manojkumarcr2293 Год назад +1

    Please help me sir

    • @The.Innovative.Indian
      @The.Innovative.Indian  Год назад

      please go through this :-
      circuitsbazaar.com/anti-sleep-alarm-project-using-eye-blink-sensor/

  • @Vikramkumar608
    @Vikramkumar608 2 года назад +3

    Bhai Mera problem aa raha hai kal school me dena hai plz help bro please give me Instagram I'd😥😥😥😥😭😭😭😭

    • @The.Innovative.Indian
      @The.Innovative.Indian  2 года назад

      instagram.com/circuitsbazaar/

    • @The.Innovative.Indian
      @The.Innovative.Indian  2 года назад

      please go through the blog i have given in the description .... your all the doubts will be cleared over there ....

  • @SudheerKumar-xg2ri
    @SudheerKumar-xg2ri Год назад +1

    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 ...

    • @The.Innovative.Indian
      @The.Innovative.Indian  Год назад

      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

  • @christiancanales1020
    @christiancanales1020 Год назад +1

    sir i have sent you message in instagram, i hope you can help us