how to make Smart Blind Stick using arduino uno | arduino project | funwithelectronicss | hindi..

Поделиться
HTML-код
  • Опубликовано: 4 окт 2024
  • how to make Smart Blind Stick using arduino uno | arduino project | funwithelectronicss | hindi..
    In this video I have made a project by name '' SMART BLIND STICK ''. this project will work as a third eye for blind people.
    My other video links:
    Blinking led by ultrasonic sensor and arduino uno:-
    • Glowing led using ultr...
    How to use multimeter:-
    • learn about multimeter...
    What is potentiometer:-
    • what is potentiometer ...
    How to use breadboard:-
    • what is breadboard? | ...
    arduino code:-
    int trig = 9;
    int echo = 8;
    int buzzer = 11;
    void setup() {
    pinMode(trig,OUTPUT);
    pinMode(echo,INPUT);
    pinMode(buzzer,OUTPUT);
    Serial.begin(9600);
    }
    void loop() {
    int duration,distance;
    digitalWrite(trig,HIGH);
    delay(1);
    digitalWrite(trig,LOW);
    duration = pulseIn(echo,HIGH);
    distance = (duration/2)/29.1;
    Serial.println("cm");
    Serial.print(distance);
    delay(10);
    if(distance=20) // angled bracket are not allowed in youtube discription, so make this as "distance is less than or equal to 20"
    {
    digitalWrite(buzzer,HIGH);
    }
    else
    {
    digitalWrite(buzzer,LOW);
    }
    }
    Support me, by subscribing my channel.
    Share this video to family and friends and like the video.
    Thanks for watching....
    #funwithelectronicss #arduinoproject #smartblindstick #arduino #electronic #education #jumperwires #smartblind #smartstick #projects #programming #project

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