Arduino Traffic Light Controller Tutorial Using Tinkercad
HTML-код
- Опубликовано: 16 сен 2024
- In this video, you are going to learn about how to make an Arduino traffic light controller. This traffic light controller will be used to control the flow of traffic. These can be applied at high traffic areas to avoid traffic blocks or accidents.
Arduino Code :
github.com/sma...
• Introductory Video of ...
• Arduino Tutorial (Moti...
Good job! I hope you make more videos like this, this helpful might be useful to my project😍👏🏻
~💕from🇵🇭
Great work Kartik ❤
great work bro keep it up🔥🔥
this video is so incredible.
I love it.
V good kartik👏👏
You earned a new subscriber my friend
Good going bruh keep it up ♥️
The explaination is not clear to me. When the green led of direection 1 is on and the the rest direction are red right? at this moment people from direction 2,3 and 4 cant move because they are red and people from direction 1 cant move even if it green because direction 2,3 and 4 are red. so there is no movement. Because with this explaination, it shows that each way have only one direction.
Will it not be more understandable to use a 4 way sytem road and with each way having two direction in which the leds are placed in one direction of each way?
Exactly bro......that is what i have observed as well...........
what are you use for component use for directions
Beautifully explained, way to go!
Thank you
Grt wrk👍👍
👏good job
Your video is good , but abhinav video is next level. You should watch his video.
Send link
ty
Can you send code for this?
3 way or four traffic controller can you tell please
No no actually there are 4 ways and 4 traffic Signal
@@entertainmentclubofIndia754thank you
How much will be the resistance?
220 ohms
Sir I'm asking for the code
Can u plz explain how to make this circuit on tinkercad ..., its urgent.
cannot work, already tried this one
I need the code please upload the code
Ok I will upload
Can you please upload the code sir
Thank you sir
sir plz share the tinkercad link for Arduino Traffic Light Controller
Just click on the GitHub link, code is there
this code does not works properly, pls send accurate code so that it can work on tinkercard
Bro this code is correct and working properly , you may have connected wrong circuits
@@entertainmentclubofIndia754 no. whwn i enter in the arduino ide and i verify the code types he is wrong
*when
@@alexthewolf7776 ok i upload it again
@@entertainmentclubofIndia754 where is the code?
great work!!!! i need that code kindly send me
Can you send me code
Ok I will update here today
CAN I HAVE A COPY OF THE CODE
//First of all, we define the pins where we have //connected the LEDs. int red_1=13; int orange_1=12; int green_1=11; int red_2=10; int orange_2=9; int green_2=8; int red_3=7; int orange_3=6; int green_3=5; int red_4=4; int orange_4=3; int green_4=2;
void direction_1_green(void)//green LED of direction 1 will turn ON { digitalWrite(red_1,LOW); digitalWrite(orange_1,LOW); digitalWrite(green_1,HIGH); digitalWrite(red_2,HIGH); digitalWrite(orange_2,LOW); digitalWrite(green_2,LOW); digitalWrite(red_3,HIGH); digitalWrite(orange_3,LOW); digitalWrite(green_3,LOW); digitalWrite(red_4,HIGH); digitalWrite(orange_4,LOW); digitalWrite(green_4,LOW); }
void direction_2_orange(void)//orange LED of direction 2 will turn ON { digitalWrite(red_1,HIGH); digitalWrite(orange_1,LOW); digitalWrite(green_1,LOW); digitalWrite(red_2,LOW); digitalWrite(orange_2,HIGH); digitalWrite(green_2,LOW); digitalWrite(red_3,HIGH); digitalWrite(orange_3,LOW); digitalWrite(green_3,LOW); digitalWrite(red_4,HIGH); digitalWrite(orange_4,LOW); digitalWrite(green_4,LOW); }
void direction_2_green(void)//green LED of direction 2 will turn ON { digitalWrite(red_1,HIGH); digitalWrite(orange_1,LOW); digitalWrite(green_1,LOW); digitalWrite(red_2,LOW); digitalWrite(orange_2,LOW); digitalWrite(green_2,HIGH); digitalWrite(red_3,HIGH); digitalWrite(orange_3,LOW); digitalWrite(green_3,LOW); digitalWrite(red_4,HIGH); digitalWrite(orange_4,LOW); digitalWrite(green_4,LOW); }
void direction_3_orange(void)//orange LED of direction 3 will turn ON { digitalWrite(red_1,HIGH); digitalWrite(orange_1,LOW); digitalWrite(green_1,LOW); digitalWrite(red_2,HIGH); digitalWrite(orange_2,LOW); digitalWrite(green_2,LOW); digitalWrite(red_3,LOW); digitalWrite(orange_3,HIGH); digitalWrite(green_3,LOW); digitalWrite(red_4,HIGH); digitalWrite(orange_4,LOW); digitalWrite(green_4,LOW); }
void direction_3_green(void)//green LED of direction 3 will turn ON { digitalWrite(red_1,HIGH); digitalWrite(orange_1,LOW); digitalWrite(green_1,LOW); digitalWrite(red_2,HIGH); digitalWrite(orange_2,LOW); digitalWrite(green_2,LOW); digitalWrite(red_3,LOW); digitalWrite(orange_3,LOW); digitalWrite(green_3,HIGH); digitalWrite(red_4,HIGH); digitalWrite(orange_4,LOW); digitalWrite(green_4,LOW); } void direction_4_orange(void)//orange LED of direction 4 will turn ON { digitalWrite(red_1,HIGH); digitalWrite(orange_1,LOW); digitalWrite(green_1,LOW); digitalWrite(red_2,HIGH); digitalWrite(orange_2,LOW); digitalWrite(green_2,LOW); digitalWrite(red_3,HIGH); digitalWrite(orange_3,LOW); digitalWrite(green_3,LOW); digitalWrite(red_4,LOW); digitalWrite(orange_4,HIGH); digitalWrite(green_4,LOW); } void direction_4_green(void)//green LED of direction 4 will turn ON { digitalWrite(red_1,HIGH); digitalWrite(orange_1,LOW); digitalWrite(green_1,LOW); digitalWrite(red_2,HIGH); digitalWrite(orange_2,LOW); digitalWrite(green_2,LOW); digitalWrite(red_3,HIGH); digitalWrite(orange_3,LOW); digitalWrite(green_3,LOW); digitalWrite(red_4,LOW); digitalWrite(orange_4,LOW); digitalWrite(green_4,HIGH); } void direction_1_orange(void)//orange LED of direction 1 will turn ON { digitalWrite(red_1,LOW); digitalWrite(orange_1,HIGH); digitalWrite(green_1,LOW); digitalWrite(red_2,HIGH); digitalWrite(orange_2,LOW); digitalWrite(green_2,LOW); digitalWrite(red_3,HIGH); digitalWrite(orange_3,LOW); digitalWrite(green_3,LOW); digitalWrite(red_4,HIGH); digitalWrite(orange_4,LOW); digitalWrite(green_4,LOW); } void setup() { // Declaring all the LED's as output
for(int i=2;i
Sir it's not working
Give me sometime. I will check and let you know
@@entertainmentclubofIndia754 okay sir
i need that code kindly send me😀😀😀
Sure I will upload the code.
beh sumabog samen
Can you share code
I will upload the link in few hours