LED Patterns with Arduino 12 LEDs and 12 Patterns

Поделиться
HTML-код
  • Опубликовано: 24 мар 2020
  • Find electronic components on www.utsource.net/
    Utsource is a proffesional elelctronics supplier with more than 2 million product, lower price with free shipping.
    Utsource also provide 0 profit health care product like masks and Infrared Thermometer..., you can order it here www.utsource.net/home/healthcare
    Hello and welcome back to creative stuff..
    In this video we are going to make an Arduino 12 LED 12 Pattern ,LED chaser.
    This chaser is a combination of different LED lights effect. It includes Blinking, running, chasing and random LED effects. It utilizes pin 2 to 13 accommodate 12 LED. In this tutorial we are going to create a circuit with 12 LEDs and program it in various ways so that we have different LED blinking patterns. We are going to experiment with LED as well as with the Arduino random function. We are going to make a random selection of which led to blink as well as a random amount of time for which this LED will blink. The code is very flexible.. you can use the same code for any number of LEDs you want to use by just changing 1 simple thing in the code..at the beginning of the code just add the number of Ardunio pin number.
    To make this project we are going to need :-
    1----1x Breadboard www.utsource.net/itm/p/922129...
    2----1x Arduino UNO www.utsource.net/itm/p/864718...
    3----12x 5mm LED www.utsource.net/itm/p/649348...
    4----12x 100E resistor www.utsource.net/itm/p/845278...
    5---- connecting wires
    Arduino Code:-drive.google.com/open?id=1DfD...
    Subscribe to my channel
    / creativestuff
    If you want to support my channel financially, you can do that here
    paypal.me/creativestuffyt
    Contact for business:-
    facebook - / creativestuff101
    Email:- rupak3219@gmail.com
    whatsapp- +917657022069 (whatsapp only, dont call)
    If you like what i do here and want to help me financially so that I can make more videos for you...then,this is for you :- paypal.me/creativestuffyt
    MAKE YOUR OWN 7 SEGMENT DISPLAY
    • MAKE YOUR OWN 7 SEGMEN...
    how to make WIRELESS SCROLLING DISPLAY BOARD
    • how to make wireless s...
    How to make an ELECTRIC SCREWDRIVER
    • How to make an Electri...
    How to Control a LOT of LEDs with Arduino & 74hc595
    • How to Control a LOT o...
    #creativestuff #electronics
  • НаукаНаука

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

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

    Thank you. These were some great code examples of different types of scrolling Larson Scanner types of LED patterns.

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

    Thank you sir....
    Thank you very much sir

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

    This is amazing. Can you add a push button to change LED patterns?

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

    Thank you for share 👍

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

    For pattern 11 and 12, instead of random(0, num_of_leds +1), can i just put random(0, num_of_leds)? without the '+1' as the number of led is already equal to 12 and the array myled[i] is only available for i=0 to i=11.

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

    Great build can I use 8mm jumbo leds with this circuit? Joe

  • @sharvataadhethiya7150
    @sharvataadhethiya7150 3 года назад +5

    Sir can u copy past the programing in the descrption box so it will be easy

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

    what if i use a arduino nano ? it doesnt have the analog pins

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

    can you write this in Ladder Logic, for PLC?

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

    Can we program it into an another IC to use in an electronic circuit to run and how?

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

    Nice

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

    “Pattern11 was not declared in this scope”….. what to do?

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

    Good

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

    Bahi doubt intead connecting the the red Color we can give another colors aaa bhai

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

    Many thanks
    I have a text file stored in sd memory as follows, it consists of three columns
    0'10,0
    10,0,0
    0,0,10
    0,0,0
    10,0,0
    ..
    I have three LEDs connected to three terminals (pins) of the Arduino, for example 7,8,9
    How do I get a code that enables the Arduino UNO to read the text file and convert each number 10 to 5 volts on one of the three pins
    Thus, it will light three LEDs sequentially according to the data stored in the SD card memory. Thank you very much

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

    Sir can you send me code for it

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

    Wer can i getvthat program code??

  • @bendigorafaelh.6610
    @bendigorafaelh.6610 2 года назад

    I cant open the code?

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

    How can we change the way of lightening of leds please. For exmpl 2 leds by leds. Or six leds by six leds

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

      change the "i++" into "i+2" if u want to light 2 leds by leds.

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

    Hi. Why does the chase stop at the end and not loop to the start again? Many thanks

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

      because he ask money to fix code 😂

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

    Sir can you copy paste program please

  • @raint9125
    @raint9125 4 месяца назад

    Add more welcome light ...

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

    Arduino microcontrollers are not damaged when exceeding 200mA of voltage? 12 LEDs x 20mA = 240 mA load

    • @embedded-academy
      @embedded-academy 3 года назад +1

      the Arduino pins have limitations. Also, 20 mA is way too much current per LED.
      you can use LED driver ICs for much higher currents or a dozen of BJTs depending on space and availability.
      wokwi.com/arduino/projects/286613901413450248
      for the simulations, for now - to visualise, play, edit for yourself - you can tinker with it as long as you like 😀

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

    Upload a video on blink a led for 5 min or more

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

    Which arduino that you used for this program? Nano Uno ??? Which one?

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

    ✔✔✔😎✔✔✔

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

    Hi nice work. More how many LED could be added?

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

      as many outputs your arduino has...or you can use shift registers to control as many as you want.
      this video can help you with that ruclips.net/video/aNSTsFWWP_s/видео.html
      also you can control rgb leds in this manner too ruclips.net/video/aNSTsFWWP_s/видео.html

  • @4xwhite31
    @4xwhite31 Год назад

    y el codigo
    podes ´pasarlo

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

    Sir this video is super but the codeing is not clearly so you put the code clearly

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

    Can I use 270k resistor

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

      270k or 270ohm??? if 270 ohm then you can use but the brightness of the leds will be reduced

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

    Coding bhi batade plx

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

    what if i want to make only one pattern?

    • @embedded-academy
      @embedded-academy 3 года назад

      you can disable the remaining patterns.
      I have just made a simulated code for it. you can have a look!
      wokwi.com/arduino/projects/286614554198147592
      Please ask here, if you need more support

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

    Could you make it runs into 2 groups of 6 leds seperate same time with 1 arduino board,please?

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

    resistor koto ohm?

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

      220R, at video 100R

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

    When it plays the last pattern it just stops, how can i make it loop back to the beginning? (I am a complete noob, only just bought one!) Thanks!

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

      you can press the reset button in the Arduino

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

      @@RPI_Arduinotronics I meant automatically using the code, don't want to have to sit there pressing reset all the time lol

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

      @@debasismandal2872 Like I said, I am a complete noob with the arduino, how would I write that as code?

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

    I want a cod please

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

    Coding is difficult

  • @AnilKumar-ks8wb
    @AnilKumar-ks8wb Год назад

    Hindi bol 😡