Anti Sleep Alarm System For Drivers (Simple) | Arduino Projects For Engineering Students

Поділитися
Вставка
  • Опубліковано 2 лис 2024

КОМЕНТАРІ • 116

  • @runbehera2138
    @runbehera2138 7 місяців тому +4

    Thank❤❤, you are the best no body in you tub gives code but you given in your chanel ,. Thanks very much😊😊😊😊😊❤❤❤❤❤

  • @HimanshuRaj-x2f
    @HimanshuRaj-x2f 6 місяців тому +30

    All is good but coding is wrong right ✅️ coding is
    const int sensorPin = 2; // Pin connected to the IR sensor (or eye detection sensor)
    const int motorPin = 8; // Pin connected to the motor
    const int buzzerPin = 9; // Pin connected to the buzzer
    unsigned long eyesOpenTime = 0; // Variable to store the time when eyes were first detected open
    void setup() {
    pinMode(motorPin, OUTPUT); // Set motorPin as an OUTPUT
    pinMode(buzzerPin, OUTPUT); // Set buzzerPin as an OUTPUT
    pinMode(sensorPin, INPUT); // Set sensorPin as an INPUT
    digitalWrite(motorPin, HIGH); // Turn on the motor initially
    }
    void loop() {
    if (!digitalRead(sensorPin)) {
    // Eyes are closed, reset the timer
    eyesOpenTime = 0;
    // Start buzzer if eyes are closed for 2 seconds
    delay(2000);
    if (!digitalRead(sensorPin)) {
    digitalWrite(buzzerPin, HIGH);
    }
    // Stop motor if eyes are closed for 4 seconds
    delay(2000); // Additional delay after starting buzzer
    if (!digitalRead(sensorPin)) {
    digitalWrite(motorPin, LOW);
    }
    } else {
    // Eyes are open, reset the timer and turn off buzzer
    eyesOpenTime = millis();
    digitalWrite(buzzerPin, LOW);
    // Turn on motor if eyes were closed for less than 4 seconds
    if (millis() - eyesOpenTime < 4000) {
    digitalWrite(motorPin, HIGH);
    }
    }
    }

    • @Sachinyadav80681
      @Sachinyadav80681 3 місяці тому +1

    • @amrita.....
      @amrita..... 3 місяці тому +1

      Will this code be work ? 🙏🙏🙏Because when I open my eyes ,buzzer beeps & motor starts and when I close my eyes, buzzer stops , motor also stops. What to do please tell me 🙏🙏🙏🙏 on 7th August there's an exhibition. Plzzz help 🙏🙏🙏🙏

    • @hottriksmaths2657
      @hottriksmaths2657 2 місяці тому

      Bhai ye code run kare raha hai

    • @generalknowledgeworld6091
      @generalknowledgeworld6091 Місяць тому

      Ye kahan kis app se upload karna hai 😢

    • @rajeshaggrawal3670
      @rajeshaggrawal3670 Місяць тому

      Arduinodroid​@@generalknowledgeworld6091

  • @FlokasFootballer
    @FlokasFootballer 4 місяці тому +2

    Thank you brother, that was so helpful

  • @totalfactsandshorts839
    @totalfactsandshorts839 5 місяців тому +2

    Thanks broo. Nobody gave code in youtube but you did ❤️ may god gives you a long and healthy lifee

  • @NasrinHossainTania
    @NasrinHossainTania 7 місяців тому +2

    Wil it work if we use 5v relay modeul 3 chanel

  • @Tejan444
    @Tejan444 7 місяців тому +1

    Bro challenge for you do a solar charge and battery. Do a cooler are thing in summer only with solar energy

    • @PendTech
      @PendTech  7 місяців тому

      Ok I will do for you

  • @sureshYadav-pv9ou
    @sureshYadav-pv9ou 7 місяців тому +1

    Please sir one project Arduino UNO use anti sleep drive project please sir

  • @amrita.....
    @amrita..... 3 місяці тому +2

    🙏🙏🙏I put the IR sensor on a distance from my eyes as you said. But now, when the buzzer beeps ,motor starts and when buzzer stops motor also stops. What to do please tell me 🙏🙏🙏🙏 on 7th August there's an exhibition and I want this project to work fine. I have checked the circuit 4 to 5 times there is no fault. Is there any fault in code ? Plzzz let me know 🙏🙏

    • @papiatung3842
      @papiatung3842 2 місяці тому +1

      Are Young Solve the problem? I have the same problem

    • @vedantningot4401
      @vedantningot4401 27 днів тому

      you know what that IR sensor does not detect any eye black or white colour. IR sensor is an object detector so there is one screw like structure present on it so you can adjust the distance(range) of eye pupil and eye lashes . so make such adjustment such that when you open eye it can't detect but when you closed the eye the eye lashes is detect by senssor as an object and then it can blew alarm and stop motor❤

  • @amrita.....
    @amrita..... 7 місяців тому +4

    🙏🙏🙏🙏🙏I had made this project but buzzer works alternatively. When I opens my eyes after 3 second it beeps . But when I close my eyes it doesn't beeps. While motor works properly. I have rechecked 4 to 5 times but there is no circuit fault, what should I do ? Plzzz let me know... 🙏🙏🙏🙏🙏

    • @PendTech
      @PendTech  7 місяців тому +2

      set the IR sensor distance according your eye..
      either you can use eye blinking sensor instant of IR sensor

    • @amrita.....
      @amrita..... 3 місяці тому +2

      I put it on a distance from my eyes. But now, when the buzzer beeps ,motor starts and when buzzer stops motor also stops. What to do please tell me 🙏🙏🙏🙏 on 7th August there's an exhibition and I want this project to work fine

    • @GaneshSahu-nh6fz
      @GaneshSahu-nh6fz День тому

      The code is wrong

  • @runbehera2138
    @runbehera2138 7 місяців тому +2

    Audino R3 SMD hoga ki

  • @RajkumarRaju-wn9gz
    @RajkumarRaju-wn9gz 3 місяці тому +1

    Thanks for video ❤😊

    • @PendTech
      @PendTech  3 місяці тому

      My pleasure 😊

  • @sensorchannel
    @sensorchannel 7 місяців тому

    Super bro👍👍👍

  • @KrishVaddi
    @KrishVaddi 7 місяців тому

    Super bro💙

    • @PendTech
      @PendTech  7 місяців тому

      Thanks dude 🤟🏻

  • @trog-ff
    @trog-ff Місяць тому

    Bhai anti sleep alarm project ke saman general Store me milege

  • @vankudothdev6770
    @vankudothdev6770 4 місяці тому

    Bro can we use board rather then arduino company

  • @ddeepakkumar1682
    @ddeepakkumar1682 Місяць тому +4

    Aap apna mobile bhejiye mujhe nahin Banane a raha hai 25 tarikh ko Le Jana Hai Mera

  • @KaushalKishoreGiri-i2u
    @KaushalKishoreGiri-i2u 20 днів тому

    Kya Arduino UNO use kar sakte with same connection

  • @SradhanjliJena-k8n
    @SradhanjliJena-k8n 2 місяці тому

    Kya yah project dhup mein bahar kam kar sakta hai

  • @unique_avi_
    @unique_avi_ 5 місяців тому +2

    Bro what is the budget of this project

  • @Eaghpd5kz
    @Eaghpd5kz 7 місяців тому +1

    brother please make a video about how to make fire fighting robot.

    • @PendTech
      @PendTech  7 місяців тому

      ok next video for you 👍🏻

  • @NaRutoGamerzofficialonfire1231
    @NaRutoGamerzofficialonfire1231 6 місяців тому +1

    Can we make it without Relay Module

  • @ChinniECIL
    @ChinniECIL 4 місяці тому +4

    I have made this project and it worked but the motor is not stable i.e. it is not stopping can u plz help me

  • @yadavviensh7978
    @yadavviensh7978 3 місяці тому +1

    We can use jumper wires

  • @TheBijoyGamerz
    @TheBijoyGamerz 6 місяців тому +2

    Bro how did u do the coding in phone???

    • @PendTech
      @PendTech  6 місяців тому

      using ArduinoDroid mobile app

    • @TheBijoyGamerz
      @TheBijoyGamerz 6 місяців тому

      No, how did u connect the usb?☺️

    • @TheBijoyGamerz
      @TheBijoyGamerz 6 місяців тому

      I wana talk to u do u have what's app
      Cuz i am having some confusion and my science fest is soon. ☺️

    • @Jayshandilya
      @Jayshandilya 3 місяці тому

      ​@@PendTechpls tell me how I can coding in phone I don't know

  • @ashutoshkumar-gm6el
    @ashutoshkumar-gm6el 3 місяці тому

    From where can I study about full component and connection

  • @rajeshvishwakarma9362
    @rajeshvishwakarma9362 2 місяці тому

    Is projejct me kya 2 lagna h please uski jankari den.

  • @pradeepgupta948
    @pradeepgupta948 11 днів тому

    Lekin bhaiya aise toh bich me gadi rukne se accident bhi ho sakta hai na

  • @RavinaChaudhary-y7v
    @RavinaChaudhary-y7v Місяць тому

    Which cable use ????

  • @GaneshSahu-nh6fz
    @GaneshSahu-nh6fz 6 днів тому

    Bro please respond,the Arduino code which you have given is not working properly,please check it and see if it is correct or not, please help ,and bro will the code work if we use eye blibk sensor instead of ir sensor🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏

    • @PendTech
      @PendTech  5 днів тому

      okay, change the video description. I will provide the another code.

    • @ganeshsahu4412
      @ganeshsahu4412 2 дні тому

      When i open The eye, buzzer still works, i think either the circuit diagram or the code is wrong, please help me

  • @bhavishorkhanal728
    @bhavishorkhanal728 6 місяців тому

    top of the code there is written pend tech we have to copy that or not

    • @lsonaoaobaj
      @lsonaoaobaj 6 місяців тому

      Karo yaa mat karo usase kuch nahi ho raha

  • @NamanVerma-ty1rv
    @NamanVerma-ty1rv 5 місяців тому

    The motor is working alternatively while buzzer is working well

  • @tameshwarsahu4648
    @tameshwarsahu4648 2 місяці тому

    Coding ke liye konsa cable lagayenge plz help

  • @purish2
    @purish2 7 місяців тому +1

    ❤👍

  • @deepakdeepu5247
    @deepakdeepu5247 3 місяці тому +2

    Sir relay module is not working

  • @Kavita-qo6bk
    @Kavita-qo6bk 2 місяці тому

    Kya ye sahi coading hai please koi batao

  • @carttonspk
    @carttonspk 26 днів тому

    Please bhaiya help me Mera science exhibition 17 October ko hai

  • @Eaghpd5kz
    @Eaghpd5kz 6 місяців тому

    please brother make a alcohol detection car and auto cut of engine using arduino ❤

  • @gautamborkar2833
    @gautamborkar2833 5 місяців тому

    Bro Maine same connection Arduino Uno par kiya but motor nahi chal rahi hai sensor work kar raha hai

  • @TECNO_RAJA
    @TECNO_RAJA 3 місяці тому +1

    Hello song is project Mein kya-kya Saman aaega

  • @augustinemlelwa
    @augustinemlelwa 7 місяців тому

    The project is unavailable in Amazon

  • @mlp9982
    @mlp9982 3 місяці тому

    pero por que no te lo pones bien a los anteojos ??? veo que lo sostenes con las mano y no te lo pones normalmente por que??

  • @Abhayupadhyay-
    @Abhayupadhyay- 24 дні тому

    Sensor Ulta work kr rha h aankh khulne pe Awaz aa rha h band hone pe nahi aa rha h plzzz reply 😢

  • @BimlaDevi-m4g4b
    @BimlaDevi-m4g4b Місяць тому

    Bhaiya ji mujhe bhi Doge project banane ke Saman

  • @rohidas5401
    @rohidas5401 2 місяці тому

    Bahi ye work to karege na

  • @HemchandraPandit
    @HemchandraPandit Місяць тому

    You make wireless project please

  • @sunitamishra5449
    @sunitamishra5449 6 місяців тому +1

    Bhai plese wireless anti sleep alarm banao

    • @PendTech
      @PendTech  6 місяців тому

      ok obviously I pick your comment

  • @chilgoza6699
    @chilgoza6699 6 місяців тому

    motor is running continuosly and buzzer also

  • @vijaysargar3942
    @vijaysargar3942 5 місяців тому

    hello
    Mera project achhe se run nhi ho raha jab aankh band krr leta huu alarm aur gear motor dono ghumne lagte hain aur jab bhi kholta huu dono band ho jate hai

  • @kunalpatil2252
    @kunalpatil2252 3 місяці тому

    If we blink our eyes then also it will sound the alarm

  • @Tejan444
    @Tejan444 7 місяців тому +1

    Hlo

  • @ISLAMIC.WAY.78656
    @ISLAMIC.WAY.78656 2 місяці тому

    Sir aurdino board ka full name plzzzz

  •  Місяць тому

    My project is not work
    Please help me

  • @MohdSalman-ve8ub
    @MohdSalman-ve8ub 2 місяці тому

    order nahi ho pa raha hai plz

  • @carttonspk
    @carttonspk Місяць тому

    Bhai code upload karne per ulta work ho raha hai, kya Kare

  • @sarasmishra6900
    @sarasmishra6900 4 місяці тому

    Your Program is not working problem line 53 and 69

  • @sanjuktasahu8486
    @sanjuktasahu8486 Місяць тому

    Cost please

    • @PendTech
      @PendTech  Місяць тому

      you can check the video description

  • @uttambhowmik4981
    @uttambhowmik4981 5 місяців тому

    Bro i need your help

  • @papiatung3842
    @papiatung3842 2 місяці тому

    motor is nót Working pls help

  • @chilgoza6699
    @chilgoza6699 6 місяців тому

    please do something

  • @MeenuSuman-dc7nq
    @MeenuSuman-dc7nq Місяць тому

    Sir aap ni mila

  • @yashvardhan4079
    @yashvardhan4079 3 місяці тому +1

    All in fake