Source Code: create.arduino.cc/editor/mertarduinotech/d3dde748-e44e-44dd-a09b-25dadc34a508/preview Recommended Items: Use Your Muscles in Project - amzn.to/3wdL45C 37 Sensor & Module Packages - amzn.to/3m66WeQ Try this Robot Arm - amzn.to/3fq8DCl Best Resin 3D Printer - amzn.to/39tY8KB Arduino Compatible Kits - bit.ly/2J2AFF7 Banggood Spring Sale - bit.ly/3slMbOn
very beautifully with animation you have make the connection of components...... iam not from any electronic profession but your video made me understand so easily....god bless you...for this tutorial.
what is exactly the functionality of the write function? does it tell the servo to go to a specific position relative to the defined position entered as a parameter or does it tell the servo to rotate by a certain angle passed as the parameter
Same question what's the program used to make the wiring schematic in the beginning of the video? Name and site for download if you could please out place of purchase...
May I ask a question? I have arduino nano. Exaclty same script but repeated 4xand same with servos and potentiometer. When I set two potentiometer on about 180 deegree, everything shakes. Is there a way to prevent this?
Good evening, would you know a code to control one server motor with three potentiometers? This is for a wave machine, in order to control amplitude, frequency, and pattern? Thanks in advance! 🙏
Yardım! birden fazla servo bağladığım zaman çalışmıyor başka kodlarada baktım bir sürü video izledim hepsini denedim hiç birinde olmadı tek başına 1 servo takınca sıkıntı yok ama 1 den fazla olunca kafasına göredönmeye başlıyor ne yapabilirim ??
ty so much keep up the good work... really good for beginners... im really thankful... it such a really good work since there r some notes given beside the code so i could understand the code.... I hope you can help me with another thing.... i am making a robotic arm with servo... it need 4 servo and 4 potentiometer how can i connect it all
hi brother i hav understood all the lines of the code except this val = map(val, 0, 1023, 0, 180); // scale it to use it with the servo (value between 0 and 180) can you please explain this?? 1023..... etv
Yes, Although You will be required to use a ADC converter, I personally use the ADS1115, if you have any further questions on this let me know, I will consider making a video on it. Thanks
Mert Arduino Tutorial & Projects I am a final year b.tech student and we are doing a project of 4 wheel steering in city cars. In that project we have to steer the rear wheel of a replica of the real car using a stepper motor
i made a double code fot two servos and i made a face that can turn left-right and up-down, but it is hand controlled. this is the code i used: #include Servo myservo; Servo myservo2; int potpin = 0; int potpin2 = 1; int val; void setup() { myservo.attach(9); myservo2.attach(8); } void loop() { val = analogRead(potpin); val = map(val, 0, 1023, 0, 180); myservo.write(val); delay(15); val = analogRead(potpin2); val = map(val, 0, 1023, 0, 180); myservo2.write(val); delay(15); } the setup is that you add another servo to d8 and another potenciometer to analog1, and take the second servo and atach it to the first one.
Source Code: create.arduino.cc/editor/mertarduinotech/d3dde748-e44e-44dd-a09b-25dadc34a508/preview
Recommended Items:
Use Your Muscles in Project - amzn.to/3wdL45C
37 Sensor & Module Packages - amzn.to/3m66WeQ
Try this Robot Arm - amzn.to/3fq8DCl
Best Resin 3D Printer - amzn.to/39tY8KB
Arduino Compatible Kits - bit.ly/2J2AFF7
Banggood Spring Sale - bit.ly/3slMbOn
very beautifully with animation you have make the connection of components...... iam not from any electronic profession but your video made me understand so easily....god bless you...for this tutorial.
what is exactly the functionality of the write function?
does it tell the servo to go to a specific position relative to the defined position entered as a parameter or does it tell the servo to rotate by a certain angle passed as the parameter
What software did you use to make the graph or image to show how everything should be connected at the beginning of the video??
How would I setup using external power for the servo? Do you have a video explaining?
Anyone knows what software he use? TIA
Can we use the potensiometer as a set point? So the motor will move after we control the potensiometer
I can't seem to find the website that has the source code, can you please send it in this comment? In the comment's reply, thank you!
Will this still work if I use a 20K pot or will I need to add in a few other components to correct the higher resistance?
Very cool, what is the software you are using to make the diagram?
Same question what's the program used to make the wiring schematic in the beginning of the video? Name and site for download if you could please out place of purchase...
Does it matter what kind of Arduino uno I use?
i suggest an arduino uno since that's the most common one
Martinus Oostelbos
I put it together thank you
May I ask a question? I have arduino nano. Exaclty same script but repeated 4xand same with servos and potentiometer. When I set two potentiometer on about 180 deegree, everything shakes. Is there a way to prevent this?
is it possible to control multible servos with this?
my servo motor (mg996r) rotating continuously . Potentiometer don't work . why?
same issue
same here
Nice and easy thank you
and can you please tell me software name that you drew diagram with?
In which software you were designing that diagram
kindly tell about software where you simulated this
Good evening, would you know a code to control one server motor with three potentiometers? This is for a wave machine, in order to control amplitude, frequency, and pattern? Thanks in advance! 🙏
How much current and voltage are you giving at the input of the Arduino??
will a linear potentiometer work [10k ohm]?
thanx for the reply btw great video''
Is it possible to implement this using C
Yardım! birden fazla servo bağladığım zaman çalışmıyor başka kodlarada baktım bir sürü video izledim hepsini denedim hiç birinde olmadı tek başına 1 servo takınca sıkıntı yok ama 1 den fazla olunca kafasına göredönmeye başlıyor ne yapabilirim ??
Worked and I love it so much! thank you!
thx for your sharing, I learn too much from your examples....
Can I use 20k pot
I'm getting an error message when I try to upload to the board, any suggestions on what I'm doing wrong?
hello friend, asks to do this project using the microcontroller ATtiny85?
Bonjour,
Est il possible avoir un système servomoteur / potentiomètre sans la arduino or genuino board? Donc une connexion directe.
Merci
Hugo Gomes
Non, ce n'est pas possible.
Me encantan tus vídeos, buena suerte, y espero que llegue a los likes y visitas que merece. :)
Mert Arduino Tutorial & Projects bana çevap verebilirmisin o parcaları nerden aldın
Mert Arduino Tutorial & Projects çok saol ben senin hayranınım süper şeyler yapıyorsun
Mert Arduino Tutorial & Projects saol
hey, the servo is making noise, buzzing when not operating
mine too any solution for that
Nice project! By the way, what name is the software you used at the begining (0:37)?
Great, thank you!
@@oscargarin What was the software?
@@VanDerLaars Mert Arduino
ty so much keep up the good work... really good for beginners... im really thankful... it such a really good work since there r some notes given beside the code so i could understand the code.... I hope you can help me with another thing.... i am making a robotic arm with servo... it need 4 servo and 4 potentiometer how can i connect it all
will this work with a 100k potentiometer because it works but my servo keeps jittering and i dont know what to do, help please
I am trying hard but it not working please help me sir!!
why my servo do nothing when i rotating the potentiometer ? is it must to use adaptor ?
same
this video helped me a lot lot thanx again I made this and it is awesome
why i can't download this code??
yeah it is not downloading
hi brother i hav understood all the lines of the code except this
val = map(val, 0, 1023, 0, 180); // scale it to use it with the servo (value between 0 and 180)
can you please explain this?? 1023..... etv
map functions maps the analog value from 0 to 1023 to 0 to 180 degrees?
Would a 5k or 100k Potentiometer do?
i think you would then destroy your servo or your arduino
Potansiyometre ile servo motorun kullanım amacı nedir? Ne işe yarıcak ki elimizle kontrol ediyoruz?
otomatik kapı açma kapama (delay) için kullanamam yani ? Dogru mu anladım :)
Is this possible with a raspberry pi?
Yes, Although You will be required to use a ADC converter, I personally use the ADS1115, if you have any further questions on this let me know, I will consider making a video on it. Thanks
How to control a power steering motor using this board.
Mert Arduino Tutorial & Projects I am a final year b.tech student and we are doing a project of 4 wheel steering in city cars. In that project we have to steer the rear wheel of a replica of the real car using a stepper motor
Can u do this with a raspberry pi?
apakah bisa membuat 2 motor servo dengan 1 potensiometer?
thanks! works perfectly!
Hello,
It's a very good video. Thank you very much for the tutorial!!!
i made a double code fot two servos and i made a face that can turn left-right and up-down, but it is hand controlled. this is the code i used:
#include
Servo myservo;
Servo myservo2;
int potpin = 0;
int potpin2 = 1;
int val;
void setup() {
myservo.attach(9);
myservo2.attach(8);
}
void loop() {
val = analogRead(potpin);
val = map(val, 0, 1023, 0, 180);
myservo.write(val);
delay(15);
val = analogRead(potpin2);
val = map(val, 0, 1023, 0, 180);
myservo2.write(val);
delay(15);
}
the setup is that you add another servo to d8 and another potenciometer to analog1, and take the second servo and atach it to the first one.
it says"'Servo' does not name a type.
Can you give your code so I can check and give you the solution?
the code doesnt work
doesn't work ...(
Nice i got it, Thank you
can I use 4k ohm potentiometer ?
thanks.
you should never supply the power to a motor from arduino. always use external source.
I didn't know it didn't working😢😢😢😢
exelente
Why english