Это видео недоступно.
Сожалеем об этом.

Arduino Tutorials: Basic programming , blinking LED and using switch![code is in the description!]

Поделиться
HTML-код
  • Опубликовано: 26 янв 2017
  • In this video, we will learn basic Arduino programming, and we will write a program to make a blinking LED and controlling an LED using a switch!
    This is one of many videos yet to come, so subscribe and leave your feedback!
    Link for code: [WILL REUPLOAD LATER]
    Cheers!

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

  • @vampyceiling6678
    @vampyceiling6678 4 года назад

    I've searched many vid. and like this but only your tutorial worked
    Thank you very MUCH IT WORKS!!!!

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

    Super 👍 Thanks

  • @erikhoffman
    @erikhoffman 4 года назад +3

    I am looking to incorporate in my project using arduino with 5 buttons to pulse the associated relay
    That means that each switch will create a short single output pulse no matter how long the button is pressed
    Your help will be greatly appreciated
    Many thanks
    Erik Hoffman
    London, UK

    • @TechieBaksh
      @TechieBaksh 4 года назад +1

      Yes, you can do with the use of Delay() function .. between on and off timings of your output.

  • @11-stem3avancenarenzel6
    @11-stem3avancenarenzel6 3 года назад +4

    Where is the code?

  • @Ausssie_adventures_with_4Paws
    @Ausssie_adventures_with_4Paws 3 года назад +3

    Wheres the code you were going to upload later??

  • @harshverma8580
    @harshverma8580 5 лет назад +5

    You have written in code that when switch output is high then led output will be high but in video when you press button led turns off means it is getting output low🤔

    • @KKMaity
      @KKMaity 3 года назад

      he did it wrong when wiring .. switch was pulled to ground

  • @hafeezmughal806
    @hafeezmughal806 4 года назад

    Thank you, Bhai ya bta de k led light or black color ky wire, white color k bord me jha mrzy dal sktay ha

  • @karthikkannekanti5434
    @karthikkannekanti5434 3 года назад +1

    bro,
    you have enabled access to ur personal data too !!

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

    the codes were not readable

  • @aarontaylor7150
    @aarontaylor7150 3 года назад

    Great video sir can you do you a video on 5 push buttons?

    • @michaelalbaer8077
      @michaelalbaer8077 3 года назад

      Of course you can do it ... Just follow same steps on each pushbutton

  • @gmlcks1908
    @gmlcks1908 3 года назад

    @Shyam Sundar
    we can operate this in VSCode using Platform I/O?

  • @copycatpenguin2k990
    @copycatpenguin2k990 5 лет назад +1

    it did not work why???

  • @sheshanhettiarachchi5595
    @sheshanhettiarachchi5595 3 года назад

    something is wrong with code didn't work

  • @kaushalyepalugaswewa3168
    @kaushalyepalugaswewa3168 5 лет назад

    Very simple

  • @hafeezmughal806
    @hafeezmughal806 4 года назад

    Ya Jo ap wires lga rhay ha is ky blkl smjh nhy lg rhy koncy wire ks number k sath lgany he.
    College lock down ky wja se bnd he kuch chezo ky smjh nhy lg rhy

  • @anonymniuzivatel3164
    @anonymniuzivatel3164 2 года назад

    you have to put a resistor in there or it will burn out over time

  • @Fpvcrewgr
    @Fpvcrewgr 6 лет назад

    Can you tell me how I can write the code so when I press the push button the led turns ON and stays ON and when I press it again it turns OFF and stays OFF untill I press it again to turn ON.
    Thank you !!!

    • @kavi2790
      @kavi2790 5 лет назад

      if(digitalRead(BUTTON) == HIGH)
      {
      digitalWrite(LED,HIGH);
      }
      if(digitalRead(BUTTON) == HIGH && digitalRead(LED) == HIGH)
      {
      digitalWrite(LED, LOW);
      }
      try this one
      you might blow up something be careful

    • @alexradoi8318
      @alexradoi8318 5 лет назад

      forum.arduino.cc/index.php?topic=200933.0
      this is what you need
      You will find a lot of info on that matter
      sorry for the late response

    • @MinecraftXXXXL
      @MinecraftXXXXL 5 лет назад

      Int state = 0 ; //initialize as global variable or in setup
      If(digitalRead(buttonpin))
      {
      State! = state;
      }
      digitalWrite(ledpin, state) ;

  • @vlogswithmazi
    @vlogswithmazi 3 года назад

    Plz give me link arduinobord plz

  • @noorussabasaeed2288
    @noorussabasaeed2288 2 года назад

    Code please

  • @conquerorzzz
    @conquerorzzz 5 лет назад +1

    Bro i will subsceibe you if you will make more videos

  • @christianbautista9010
    @christianbautista9010 2 года назад

    can you give me the code dude?

  • @motornowindia7342
    @motornowindia7342 5 лет назад

    Very simple and basic blaahhhhhhhhhh

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

    give me the cod e

  • @summerarduino3595
    @summerarduino3595 3 года назад

    Code!

  • @ankamamaladze3710
    @ankamamaladze3710 3 года назад

    thats not blinking!

  • @vlogswithmazi
    @vlogswithmazi 3 года назад

    Plz sir plz

  • @nartymmd
    @nartymmd 5 лет назад +1

    God, where is pull down resistor? Stop teaching people this madness.

    • @shyamsundarsaravanan7398
      @shyamsundarsaravanan7398  5 лет назад

      Arduino has very low output current that's why I didn't add it.

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

      @@shyamsundarsaravanan7398 some time you'll get error signal

  • @MinecraftXXXXL
    @MinecraftXXXXL 5 лет назад

    What about blinking using Millis? People who use delays in the program are stupid