LED TRAFFIC LIGHT - Arduino tutorial #27

แชร์
ฝัง
  • เผยแพร่เมื่อ 6 พ.ค. 2024
  • A LED traffic light is a nice component where you can easily control three different LEDs. There is no need for additional resistors since the PCB already uses SMD resistors.
    A challenge could be to control multiple traffic lights from a single Arduino. This way you can create your own crossing with sensors and control the traffic lights.
    The Arduino for beginners tutorials series guides you through the world of Arduino. A video is around 10 minutes and shows you step-by-step how to build the circuit and write the code. The website contains the course material, circuit diagram, Arduino code and shopping list of all the components used in the tutorial.
    ⬇️ Arduino code, circuit diagram and part list arduino-tutorials.net/tutoria...
    👉 More tutorials and projects on arduino-tutorials.net
    🇳🇱 Deze tutorial is ook in het Nederlands beschikbaar • 🇳🇱 LED VERKEERSLICHT /...
    CHAPTERS:
    00:00 Introduction
    00:15 Components
    01:33 Building the circuit
    02:12 Arduino code
    08:04 Running the project
    COMPONENTS
    🇨🇳 Arduino Uno (clone) with cable
    arduino-tutorials.net/r/Jd28hF
    🇳🇱 Arduino Uno (clone)
    arduino-tutorials.net/r/8237Hd
    🇳🇱 Arduino Uno SMD (original)
    arduino-tutorials.net/r/Ud29dh
    🇳🇱 Arduino Uno Chip (original)
    arduino-tutorials.net/r/Jd82ha
    🇨🇳 Jumper wire assortment (MM/MF/FF)
    arduino-tutorials.net/r/Fh378fg
    🇨🇳 Jumper wire male-male
    arduino-tutorials.net/r/7346GD
    🇳🇱 Jumper wire male-male
    arduino-tutorials.net/r/8237Jd
    🇨🇳 Jumper wire male-female
    arduino-tutorials.net/r/sjf83h
    🇳🇱 Jumper wire male-female
    arduino-tutorials.net/r/a7DH2g
    🇨🇳 LED traffic light
    arduino-tutorials.net/r/Fh82fg
    🇳🇱 LED traffic light
    arduino-tutorials.net/r/438Jdg
    #arduino #BasOnTech

ความคิดเห็น • 17

  • @Gbrxllei-dd4wq
    @Gbrxllei-dd4wq 8 หลายเดือนก่อน

    Can we use this with a soil moisture sensor? If so... How to code the Arduino so that the light turns red when the plant needs water, turns yellow when it's almost dry, and green when it's okay?

    • @BasonTech
      @BasonTech  8 หลายเดือนก่อน

      Sure you can! On what part do you get stuck?

  • @zulhisham6749
    @zulhisham6749 6 หลายเดือนก่อน

    can we use the same pin if we have multiple led traffic light?

    • @BasonTech
      @BasonTech  6 หลายเดือนก่อน

      Not without additional components. If you use multiple on the same pin both traffic lights would show the same lights turned on. Besides the brightness would become significant less.

  • @BasonTech
    @BasonTech  4 ปีที่แล้ว +1

    👉 Don't forget to check arduino-tutorials.net for more Arduino tutorials and projects.
    If you have questions, don't hesitate to ask them in de comments. Remember: There are no stupid questions 😃
    🔔 Want to stay up-to-date with the latest videos? Subscribe to the Bas on Tech channel!

  • @eriknelson6158
    @eriknelson6158 2 ปีที่แล้ว

    Why is the green light so low compared to the others? is it because the yellow and red use 13mA and the green needs 25mA? What can I do to make the green as bright as the yellow and red LED?

    • @BasonTech
      @BasonTech  2 ปีที่แล้ว

      This might differ per board. You can really do much about it unless you are willing to solder and replace the LED.

  • @sharmilaarmstrong4867
    @sharmilaarmstrong4867 4 ปีที่แล้ว

    hello Bas on Tech would you mind sending sketch please thank you

    • @BasonTech
      @BasonTech  4 ปีที่แล้ว

      Hi Sharmila, what sketch are you referring to?

    • @sharmilaarmstrong4867
      @sharmilaarmstrong4867 4 ปีที่แล้ว

      @@BasonTech the Traffic light one thank you

    • @BasonTech
      @BasonTech  4 ปีที่แล้ว +1

      @@sharmilaarmstrong4867 The code of every video is part of the course material. There is a link in the description of every video. I'll update the video description to make it more clear 😃

    • @sharmilaarmstrong4867
      @sharmilaarmstrong4867 4 ปีที่แล้ว

      @@BasonTech Thank you

    • @sharmilaarmstrong4867
      @sharmilaarmstrong4867 4 ปีที่แล้ว

      @@BasonTech hello do the step for the traffic light code do you need to add them together

  • @gnvinternationalambassador925
    @gnvinternationalambassador925 ปีที่แล้ว

    Nederlander :D

    • @BasonTech
      @BasonTech  ปีที่แล้ว

      Zeker! Op arduino-lessen.nl/ vind je de tutorials ook in het Nederlands 😉