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
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?
Sure you can! On what part do you get stuck?
can we use the same pin if we have multiple led traffic light?
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.
👉 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!
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?
This might differ per board. You can really do much about it unless you are willing to solder and replace the LED.
hello Bas on Tech would you mind sending sketch please thank you
Hi Sharmila, what sketch are you referring to?
@@BasonTech the Traffic light one thank you
@@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 😃
@@BasonTech Thank you
@@BasonTech hello do the step for the traffic light code do you need to add them together
Nederlander :D
Zeker! Op arduino-lessen.nl/ vind je de tutorials ook in het Nederlands 😉