Пікірлер
@SharmilaDasbose-ng4zk
@SharmilaDasbose-ng4zk 14 күн бұрын
It worked
@SharmilaDasbose-ng4zk
@SharmilaDasbose-ng4zk 14 күн бұрын
Thanks🎉🎉🎉
@Metigart890
@Metigart890 15 күн бұрын
my leds didnt turn on
@axelslosse5132
@axelslosse5132 16 күн бұрын
Nice video, but hiw can you do it when you dont want it to loop infinitely but for a specific amount of times
@Program303
@Program303 20 күн бұрын
where to find the code
@RMXSteel
@RMXSteel 24 күн бұрын
how many ohm is the potentiometer, i m gonna usa a 25kg servo
@RixtronixLAB
@RixtronixLAB Ай бұрын
Nice video, keep it up, thanks :)
@darionmackey5090
@darionmackey5090 Ай бұрын
I had a problem with shaky motor around 120 deg it would start going crazy. If you have this problem you can smooth out the movement with a capacitor wired in series with the POT. In my case 100 ųF capacitor worked great.
@explorewithzaid
@explorewithzaid 2 ай бұрын
From where can I get the code?
@dingdong1813
@dingdong1813 2 ай бұрын
tried adding include servo.h and it still said its not in my directory
@abusekak1934
@abusekak1934 2 ай бұрын
Way too hard t understand. He doesnt even say wich pins to connect on ur arduino
@blockpost12
@blockpost12 2 ай бұрын
works nicely
@davinardianto109
@davinardianto109 3 ай бұрын
// Definisi pin untuk LED dan buzzer const int ledRed = 9; const int ledYellow = 10; const int ledGreen = 11; const int buzzer = 8; void setup() { // Set pin-mode untuk LED dan buzzer sebagai output pinMode(ledRed, OUTPUT); pinMode(ledYellow, OUTPUT); pinMode(ledGreen, OUTPUT); pinMode(buzzer, OUTPUT); } void loop() { // Mengatur LED merah untuk berkedip 3x for (int i = 0; i < 3; i++) { digitalWrite(ledRed, HIGH); tone(buzzer, 1000); // Bunyikan buzzer delay(500); // Tahan LED dan buzzer menyala selama 500ms digitalWrite(ledRed, LOW); noTone(buzzer); // Matikan buzzer delay(500); // Tahan LED mati selama 500ms } // Mengatur LED kuning untuk berkedip 3x for (int i = 0; i < 3; i++) { digitalWrite(ledYellow, HIGH); tone(buzzer, 1500); // Bunyikan buzzer delay(500); // Tahan LED dan buzzer menyala selama 500ms digitalWrite(ledYellow, LOW); noTone(buzzer); // Matikan buzzer delay(500); // Tahan LED mati selama 500ms } // Mengatur LED hijau untuk berkedip 3x for (int i = 0; i < 3; i++) { digitalWrite(ledGreen, HIGH); tone(buzzer, 2000); // Bunyikan buzzer delay(500); // Tahan LED dan buzzer menyala selama 500ms digitalWrite(ledGreen, LOW); noTone(buzzer); // Matikan buzzer delay(500); // Tahan LED mati selama 500ms } delay(1000); // Tahan 1 detik sebelum mengulang }
@davinardianto109
@davinardianto109 3 ай бұрын
// Definisi pin untuk LED dan buzzer const int ledRed = 9; const int ledYellow = 10; const int ledGreen = 11; const int buzzer = 8; // Definisi pin untuk seven segment display (contoh menggunakan common anode) const int segmentA = 2; const int segmentB = 3; const int segmentC = 4; const int segmentD = 5; const int segmentE = 6; const int segmentF = 7; const int segmentG = 12; const int digit1 = A0; // Terserah pin analog mana yang digunakan const int digit2 = A1; // Terserah pin analog mana yang digunakan void setup() { // Set pin-mode untuk LED, buzzer, dan seven segment display sebagai output pinMode(ledRed, OUTPUT); pinMode(ledYellow, OUTPUT); pinMode(ledGreen, OUTPUT); pinMode(buzzer, OUTPUT); pinMode(segmentA, OUTPUT); pinMode(segmentB, OUTPUT); pinMode(segmentC, OUTPUT); pinMode(segmentD, OUTPUT); pinMode(segmentE, OUTPUT); pinMode(segmentF, OUTPUT); pinMode(segmentG, OUTPUT); pinMode(digit1, OUTPUT); pinMode(digit2, OUTPUT); } void displayDigit(int digit) { // Kode untuk menampilkan angka di seven segment display switch (digit) { case 0: digitalWrite(segmentA, HIGH); digitalWrite(segmentB, HIGH); digitalWrite(segmentC, HIGH); digitalWrite(segmentD, HIGH); digitalWrite(segmentE, HIGH); digitalWrite(segmentF, HIGH); digitalWrite(segmentG, LOW); break; case 1: digitalWrite(segmentA, LOW); digitalWrite(segmentB, HIGH); digitalWrite(segmentC, HIGH); digitalWrite(segmentD, LOW); digitalWrite(segmentE, LOW); digitalWrite(segmentF, LOW); digitalWrite(segmentG, LOW); break; case 2: // Implementasikan untuk angka 2 break; // Implementasikan untuk angka 3, 4, 5, 6, 7, 8, 9 default: // Matikan semua segment jika tidak ada angka yang cocok digitalWrite(segmentA, LOW); digitalWrite(segmentB, LOW); digitalWrite(segmentC, LOW); digitalWrite(segmentD, LOW); digitalWrite(segmentE, LOW); digitalWrite(segmentF, LOW); digitalWrite(segmentG, LOW); break; } } void loop() { // Mengatur LED merah untuk berkedip 3x for (int i = 0; i < 3; i++) { digitalWrite(ledRed, HIGH); tone(buzzer, 1000); // Bunyikan buzzer displayDigit(8); // Tampilkan angka 8 pada seven segment delay(500); // Tahan LED dan buzzer menyala selama 500ms digitalWrite(ledRed, LOW); noTone(buzzer); // Matikan buzzer displayDigit(-1); // Matikan seven segment delay(500); // Tahan LED mati selama 500ms } // Mengatur LED kuning untuk berkedip 3x for (int i = 0; i < 3; i++) { digitalWrite(ledYellow, HIGH); tone(buzzer, 1500); // Bunyikan buzzer displayDigit(5); // Tampilkan angka 5 pada seven segment delay(500); // Tahan LED dan buzzer menyala selama 500ms digitalWrite(ledYellow, LOW); noTone(buzzer); // Matikan buzzer displayDigit(-1); // Matikan seven segment delay(500); // Tahan LED mati selama 500ms } // Mengatur LED hijau untuk berkedip 3x for (int i = 0; i < 3; i++) { digitalWrite(ledGreen, HIGH); tone(buzzer, 2000); // Bunyikan buzzer displayDigit(2); // Tampilkan angka 2 pada seven segment delay(500); // Tahan LED dan buzzer menyala selama 500ms digitalWrite(ledGreen, LOW); noTone(buzzer); // Matikan buzzer displayDigit(-1); // Matikan seven segment delay(500); // Tahan LED mati selama 500ms } delay(1000); // Tahan 1 detik sebelum mengulang }
@ran9193
@ran9193 3 ай бұрын
Why does only pin 13 work on my arudino?
@HaziqMsuiii
@HaziqMsuiii 3 ай бұрын
YOOOOOO I ACTUALLY WORKS I SUBSCRIBING!!!!!🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉😮😮😮😮😮
@noahbumvr
@noahbumvr 3 ай бұрын
bro you said you where gonna link the code in the desc
@vlqdus_mdd
@vlqdus_mdd 3 ай бұрын
nice vid but my arduino uno R3 ATMEGA328P (CH340G) has its 13 pin linked to the onboard LED so not the LED on the breadboard is blinking but the onboard led, of course i can just change the code to pins 12 11 and 10 and everything works. Great tutorial for me man
@xyz.5512
@xyz.5512 3 ай бұрын
this is very well explained. i needed breakdown for my project of "robotic arm using servo and POT" and this provided me everything i needed to know. thanks!
@LIJOYDesininja
@LIJOYDesininja 2 ай бұрын
how much code full with the bround caulour also or only colered
@harakihushbee1629
@harakihushbee1629 3 ай бұрын
#include <Servo.h> //accesses the Arduino Servo Library Servo myservo; // creates servo object to control a servo int val; // variable to read the value from the analog pin void setup() { myservo.attach(9); // ensures output to servo on pin 9 } void loop() { val= analogRead(1); val= map(val, 0, 1023, 0, 180); myservo.write(val); delay(15); // reads the value of the potentiometer from Al (value between 0 and 1023) // converts reading from potentiometer to an output value in degrees of rotation that the servo can understand // sets the servo position according to the input from the potentiometer // waits 15ms for the servo to get to set position }
@muhammadsteinberg
@muhammadsteinberg 4 ай бұрын
I highly advise that you use the vertical stabilizer screws to tap out vertical stabilizer before installing. The screws are very hard to screw in with parts assembled. High probability you will strip out screw head if you don't tap out 1st.
@maharyfekede
@maharyfekede 4 ай бұрын
Thank you so much for helping me 😇👌
@Lil_chad2
@Lil_chad2 4 ай бұрын
finaly i can finish the led cock
@adammachacek8536
@adammachacek8536 4 ай бұрын
idk why it isnt working :(
@traeleon5666
@traeleon5666 3 ай бұрын
Because he gave you the wrong information. It didn’t work for me neither. I had to follow another vid.
@vlqdus_mdd
@vlqdus_mdd 3 ай бұрын
mine works, just change the code because the 13th pin on arduino uno's newer versions the pin 13 is connected to the led onboard, so just change the pins to: 12,11 and 10 and everything should work
@vlqdus_mdd
@vlqdus_mdd 3 ай бұрын
try this code: void setup() { pinMode(12, OUTPUT); pinMode(11, OUTPUT); pinMode(10, OUTPUT); } void loop() { digitalWrite(12, HIGH); delay(300); digitalWrite(12, LOW); digitalWrite(11, HIGH); delay(300); digitalWrite(11, LOW); digitalWrite(10, HIGH); delay(300); digitalWrite(10, LOW); }
@emo10001
@emo10001 4 ай бұрын
Exactly what I needed for my project! Thank you so much! Is there any way to make the LED's fade into each other rather than blink?
@MarcoQuintana-r4p
@MarcoQuintana-r4p 4 ай бұрын
The project works for me, Thank you very much.
@des2610
@des2610 5 ай бұрын
Nice presentation! Exactly what I need to know. thanks.
@sherryshah-iw4bg
@sherryshah-iw4bg 6 ай бұрын
Its says "cant access sketch"
@jacquelinewalker6357
@jacquelinewalker6357 6 ай бұрын
This is why i wish i was there, my blue and green came on -went off right away and finally got the red to work and it blink off and on. so is it post to happen like this.
@AbigaelGodinez
@AbigaelGodinez 6 ай бұрын
Thank you so much for your tuturial sir ❤ we are already done with our activities this helps us very much💗
@cookiedoughplays-by1qi
@cookiedoughplays-by1qi 6 ай бұрын
kindly share the block code
@op-kr9iy
@op-kr9iy 7 ай бұрын
<3
@op-kr9iy
@op-kr9iy 7 ай бұрын
she yle pedarasto iolad geqna prowo
@TempleGuitars
@TempleGuitars 7 ай бұрын
Hello! Thank you for this clear tutorial! I want to ask you, is it possible to buy an arduino with more outputs, and change the code so on a chain of maybe 20 LEDs, the two outside LED's activate first, then the next two etc, until they meet in the middle, then reverse until they reach the outside pair again on loop? What would that code look like?
@MyWatchP1
@MyWatchP1 7 ай бұрын
I am from Ghana 🇬🇭. Trying to learn Uno. I hope I am at the right place
@pusska0
@pusska0 8 ай бұрын
Hi, Awsome video. How would I Add another potentiometer to this circut? So I can control one servo from two potentiometers. I have managed to get one servo opperating with one pot but not two. thanks for any feedback provided.
@AnaPerez-bu6uu
@AnaPerez-bu6uu 8 ай бұрын
Nice tutorial, thank you 🥰
@Panchothefatcat
@Panchothefatcat 8 ай бұрын
I have depount cables bit what color matches the green one
@WxstedZez_
@WxstedZez_ 8 ай бұрын
Can you do this in the small breadboard?
@harinandanaprajeesh6626
@harinandanaprajeesh6626 4 ай бұрын
yes
@tahooraahmadi1417
@tahooraahmadi1417 8 ай бұрын
can you write the code for this project and not using the servo library but instead use micros and millis
@RobloxDevOriginal
@RobloxDevOriginal 8 ай бұрын
Very Nice! Thx
@appuedits973
@appuedits973 8 ай бұрын
There is no port option
@ilay7117
@ilay7117 9 ай бұрын
IT WORKED!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! GIMME A HUG MY MAN
@alexvrenando-b7l
@alexvrenando-b7l 11 ай бұрын
this is boring
@christopherchavez631
@christopherchavez631 11 ай бұрын
would this work for multiple LEDs? For example, I am trying to make a circuit where the LEDs spell out "I <3 U" where the I turns on, the <3 turns on, and then the U turns on. How would I make sure that each LED is connected to its respective resistor?
@mohdfaridrozali3319
@mohdfaridrozali3319 Жыл бұрын
Thanks for your guide😊
@yemom1664
@yemom1664 Жыл бұрын
its going in reverse somebody please help
@AqmolsAdudu
@AqmolsAdudu Жыл бұрын
I like balls
@bangucedrick-ig7qw
@bangucedrick-ig7qw Жыл бұрын
Was a great one ❤
@andrew.k3002
@andrew.k3002 Жыл бұрын
why does my servo motor just go crazy when i turn the potentiometer to the right?
@arenh8767
@arenh8767 Жыл бұрын
Hi ah when i plug my jumper cable only 13 work ah 12 or 11 didnt turn on with the corresponding light when i put it the exact way you did it