@ShaneNL69 Servos have limited rotation to them, so can only go from 0 to 90, some max out at 360, and some are unlimited spin servos. it depends on the servo for what you can do with them
@ShaneNL69 Also, in this example. he is turning the servo with a potentiometer, which cannot go more than 360 degrees (or for that matter, all the way to 360 degrees)
What would the code be for writing an LED's brightness with Serial Communication? So I would want to be able to type any number from 1-255 and have that number correspond with its brightness. I know I could probably right seperate lines for each number, but that would take forever. So bassicly how do you write 1 "through" 255 and have it turn on the LED at the brightness of the typed number
@bababoy11 Just connect a wire on the breadboard from the closest row to the arduino (where the red plus sign is) to 5v and the one where the blue minus sign is to ground and connect any 5v/ground wires to the breadboard in those rows. If you want, PM me and I'll send you a link to a picture of it.
It is really nice, an you can learn a lot from it. But if you only want to control a servo with a potentiometer then a simple transistor would do... :)
@thepetyo I don't think so, with an ordinary motor yes, but a servo uses a PWM signal to turn to a desired angle. A 555 IC will do the job for that though.
@ComputerImprov They are re-usable. They are very tough board, I haven’t fried mine yet, and you don’t what to know what mistakes I put this board through.
- How to shorten my delay. My 'project' isn't responding as direct as in the video. (Hint: there's a relation between the delay and the blinking of the build-in led on the Arduino./ Blink? -> Delay.
Thanks for this video.I recieved my Duemillanova last week and started with the blinking led. (haha, build in) Just to be sure i connected a external led. OK.
This was my next 'project' and all went more-or-less ok. Thumbs up!!
I'm slowly working my way to a airial camera with remote pan/tilt head etc. !!!!! !!
@formulaformula1133 Yes and no. A trimpot is a variable resistor as well...it just doesn't have the pole to rotate. A trimpot is usually smaller as well. Also, you need a screwdriver to turn it. It usually is a bit less accurate as a potentiometer.
@mtdeezy Could be that you have them on input mode. Or that at some point they got shorted out and are now broken. But make sure that pinmode is set to OUTPUT.
@Bizorke oops. I forgot to do that. But now when I try to use the digital pins to power a motor it spins it as if its only getting 3v. I read the voltage and it is in fact 5v.. but it doesnt act like it. Why would it do that?
@mtdeezy Sorry, I replied but deleted my answer since I misinterpreted your issue. The problem here is that the Arduino is not a very good power source. A motor is basically a big giant inductor, which takes a LOT of current. Although the Arduino is capable of outputting 5V, there is a limit to how much current it can source and sink. What you should do is create a simple transistor driver for the motor so that you can use an external power supply rather than the Arduino directly.
@mtdeezy Also, you should be careful about what you plug in to your Arduino, as you could very easily burn it out. I just wanted to say, check out my channel - I have a video on how to use Arduino for a bidirectional motor controller using a simple H-bridge circuit. You also gave me a good idea for a vid. Maybe I'll add a tutorial on transistors tomorrow.
I have been wondering if there is a way to cennect a 2.4 GHz 4 channel RC transmitter to an arduino,(I have a USB cabel connecting the transmitter to my computer).
Hi there again, can someone in here please help, I need to know how can this same example be done using a motorized slide potentiometer connect and respond to DAW (cubase). My real intention is to create a daw controller with 32 motorized fader and 32 buttons for other controls, can someone here please help or am I speaking an alien language here?
@silycaon I know next to nothing about arduino, but it seems evident that if you actually have a 360 degree servo, then you would map the pot (0,1023) to 0,359 instead of 0,179.
Hi there can you guys show an example illustrating how can a motor driver slide pot with touch sensitive be connect and respond to my DAW using a "alps pot". please kind mail us if you get it done
Dude your videos are juste great!! I didn't knew anything about Arduino and now I can control a motor and do many cool things with LEDS... Thank you! :D
1) Always list in the comments section the items needed (Arduino, jumpers, 10K pot, Servo (what kind?))
2) link to the software needed (you just babbled something about some subdirectory but I had no clue what you were referring to... figured it out with some Googling, but c'mon... tighten that up!! ;-) )
The items needed list could be linked to your site for more sales.. right? ;-)
@codymannthedestroyer maybe but the turn ratio's would be different, the whole reason you put it through the arduino is to better control the servo so that it turns evenly with the pot, as the servo has 1024 possible steps and the pot only 180. make sense?
Doesn't the servo draw too much current (>30mA)? I've been told not to ask more than that from a single pin. Or is that only from IN/OUT pins? If so then how much can +5V and gnd handle?
@gizmoguyar The servo gets its power from a 5V power pin. The I/O pin that it is connected to is delivering just the signal for position, not any current to run it. The 5V pins will supply up to the limit of the on-board voltage regulator, or the max your power supply will deliver (i.e. if powering from a USB cable it will be limited by the USB port's max output)
@lucirz Yes it can. There is a built in tone function to play sounds. All you need is a speaker to plug into one of the digital I/O pins. I have a video with an arduino project with sound.
@purplemutantas thanks i just saw the video, how much did that speaker cost? can i use a normal speaker on it? sorry if my questions are stupid, i'm a complete noob to microprocessors and the arduino. also is there a way to attach a camera to the arduino and have the images show up on my compter in real time so that i can see what the camera is seeing just by looking at my computer?
@lucirz It was a cheap speaker from radio shack. Any small speaker should work fine. You could also wire up a headphone jack to plug into computer speakers.
I am not sure about hooking a camera to an Arduino. But you wouldn't need an arduino for that. Assuming you aren't using a webcam, get a video capture card.
int in c++ (and other languages) does not stand for "instance", it stands for integer, meaning a whole number. other variable types are float, bool, char, and more.
Hello sir, im a beginner and i just want to know if you hava a video of the same concept but instead of a nob, a button operates it and the servos moves up and down,,,,,
Wow....I fly Remote control airplanes and one problem I come across is when working with servos you find yourself trying to zero them out in construction,if they are not at 90deg exactly your control surface will need to be trimmed out,could could zero them by setting up the whole system..but that wastes lots of time,this would be so handy by simply having a setup where you could have it write say from the pot to one part of the board and to another 90deg,then setup would be super easy.
You can buy a WiFi Shield for it which can transmit and receive. I assume you would need a receiver on the servo side. I'm not sure how the code would go though.
Hello , Can you control a biger servo or a step motor with this circuit ? and if yes how ? . I want to use it for position my wind turbine without a yawing tale . Just make it automatic go after wind..
so i am not really good with electronics but and i have a question that's not really related to this project but, i have a 9 volt battery so what resistor, or potentiometer would i use to take me back to 0v, so that i can control the voltage of the motor.
@husam27 No, you need to be able to convert values from the potentiometer (0-1023) to values acceptable by the servo (0-179). This is done using the map() function.
what is the sheild you are using?
shuriken204tv 22 hours ago
Is there a board that has the built in secondary power supply ? I know the ubotino can do this but seems it is not produced anymore.
robertlam18 4 days ago
more arduino vids please
LCRAMBOR1 1 week ago
Y U NO 360 TURN WITH SERVO! that is possible right ? Can you then continue if you make a 360 turn or is it limited to example max 360 degrees?
ShaneNL69 1 week ago
@ShaneNL69 Servos have limited rotation to them, so can only go from 0 to 90, some max out at 360, and some are unlimited spin servos. it depends on the servo for what you can do with them
steamisM50 1 week ago
@ShaneNL69 Also, in this example. he is turning the servo with a potentiometer, which cannot go more than 360 degrees (or for that matter, all the way to 360 degrees)
steamisM50 1 week ago
@steamisM50 Oh well, thank you for the intel :) I ordered my Arduino last week, and am waiting for it to arrive. Want to make a quadro-pet :D
ShaneNL69 1 week ago
@steamisM50 These servos can indeed be modded to turn like a motor.
Do a search, I think the pot is removed
applyapology 1 week ago
Don't you need a relay for the servo so that the board doesn't fry?
desktopgeek98 1 week ago
is it the only way that we can control the servo motors simultaneously in arduino?
sex48 2 weeks ago in playlist Arduino - Servers
Ah, maybe the makings for a computer controlled lathe.
desertbard 2 weeks ago
This has been flagged as spam show
What would the code be for writing an LED's brightness with Serial Communication? So I would want to be able to type any number from 1-255 and have that number correspond with its brightness. I know I could probably right seperate lines for each number, but that would take forever. So bassicly how do you write 1 "through" 255 and have it turn on the LED at the brightness of the typed number
TheForgaven 3 weeks ago
is it C language?
mattlange00 3 weeks ago
@mattlange00 yup
zawwar123456 2 weeks ago
@mattlange00 arduino is very close to c and processing lang but it is it's own lang
LmfaoReviews 2 weeks ago
I have 1 5v port and 1 3.3v and it won't work
bababoy11 1 month ago
@bababoy11 Just connect a wire on the breadboard from the closest row to the arduino (where the red plus sign is) to 5v and the one where the blue minus sign is to ground and connect any 5v/ground wires to the breadboard in those rows. If you want, PM me and I'll send you a link to a picture of it.
mjrdoctor 1 month ago
as is done with a servo 360??
SAMEDOKAWA 2 months ago
It is really nice, an you can learn a lot from it. But if you only want to control a servo with a potentiometer then a simple transistor would do... :)
thepetyo 2 months ago
@thepetyo I don't think so, with an ordinary motor yes, but a servo uses a PWM signal to turn to a desired angle. A 555 IC will do the job for that though.
DannickFox 1 month ago
This is awesome!
kennyfication88 3 months ago
Can this servo turn a doorknob?
teknoguy1212 3 months ago
I always wished things could be this straight forward!
I am throwing my PIC CHIPS away.
Bracerjack 3 months ago
Hi,
I'm interested in hardware, and I would like to know if these Arduino boards are re-usable.
ComputerImprov 4 months ago
@ComputerImprov to what i understand yes they are
thegamer589 3 months ago
@ComputerImprov They are re-usable. They are very tough board, I haven’t fried mine yet, and you don’t what to know what mistakes I put this board through.
JoachimPetersen 3 months ago
This guy sounds nice...
kolleamm 4 months ago
awesome description!
PanosXYgr 4 months ago
can you please show the schematics for this project. i have an arduino dbut i dont have the shield. tnx for the wonderful video!
Rk17 5 months ago in playlist elec tutorial
@Rk17 Just pretend the sheild isnt there, its the same
BoltAndPennyFan 4 months ago
2 Questions:
- Servo 'jitters' often, how to get rid of this?
- How to shorten my delay. My 'project' isn't responding as direct as in the video. (Hint: there's a relation between the delay and the blinking of the build-in led on the Arduino./ Blink? -> Delay.
RadioRon100 5 months ago
@RadioRon100 use a digital servo
Robots4Sale 3 months ago
Thanks for this video.I recieved my Duemillanova last week and started with the blinking led. (haha, build in) Just to be sure i connected a external led. OK.
This was my next 'project' and all went more-or-less ok. Thumbs up!!
I'm slowly working my way to a airial camera with remote pan/tilt head etc. !!!!! !!
RadioRon100 5 months ago
is Servo.h already on my Arduino or do I have to upload it?
ndyt 6 months ago
Could you just connect the servo to the digital port 1 and then controll its movement via pc?
superant10000 6 months ago
is a trimpot (10k) the same as a potentiometer? (10k) If not, what is a potentiometer?
formulaformula1133 6 months ago
@formulaformula1133 Yes and no. A trimpot is a variable resistor as well...it just doesn't have the pole to rotate. A trimpot is usually smaller as well. Also, you need a screwdriver to turn it. It usually is a bit less accurate as a potentiometer.
therobomaker957 1 week ago
can you use a 5k pot?
bellerve201 6 months ago
worth to watching only from 0:00 to 0:06
baluertl 6 months ago
its an adafruit protoshield, but your advertising the maker shed?
jvcrules 7 months ago
@jvcrules because they sell it on the maker shed? it would be stupid not to
dumle29 6 months ago
hi,like ur vid a lot.can run a car wiper motor using that same system?
aorc24 7 months ago
ayo if i was trying to use four servo for wheels do i need 4 potentiometers
DO THE SAME way you did 4 times or use jumper from the same one?
cajst56st 7 months ago
map function is a bit overkill, you could just do some simple division to get it down to the value you want
moffboffjoe 8 months ago
my servo goes the wrong way. what can i do to fix that.
bears7777777 8 months ago
@bears7777777 I believe you swap the ground(black) and hot(red)
grahamcrackeh 8 months ago
@grahamcrackeh no, i got it fixed. i just had to change the map from (0, 1023, 0, 179) to (0, 1023, 179, 0 )
bears7777777 8 months ago
Anyone else notice that the thumbnail for this video looks like an elephant?
Oatinator 8 months ago
How would you make this same setup with a unipolar stepper motor (4 wires)? Is it possible?
mattv88888888 8 months ago
Yes, but will it blend?
Plane4D 9 months ago
Im makung a awesome flash light right now, it has not a led but a old bulb.
RoShAnOWNEDyou 9 months ago
My Arduino's digital pins are only outputting 0.18v Does anybody know that the problem could be?
mtdeezy 9 months ago
@mtdeezy Could be that you have them on input mode. Or that at some point they got shorted out and are now broken. But make sure that pinmode is set to OUTPUT.
Bizorke 9 months ago
@Bizorke oops. I forgot to do that. But now when I try to use the digital pins to power a motor it spins it as if its only getting 3v. I read the voltage and it is in fact 5v.. but it doesnt act like it. Why would it do that?
mtdeezy 9 months ago
Comment removed
Bizorke 9 months ago
@mtdeezy Sorry, I replied but deleted my answer since I misinterpreted your issue. The problem here is that the Arduino is not a very good power source. A motor is basically a big giant inductor, which takes a LOT of current. Although the Arduino is capable of outputting 5V, there is a limit to how much current it can source and sink. What you should do is create a simple transistor driver for the motor so that you can use an external power supply rather than the Arduino directly.
Bizorke 9 months ago
@mtdeezy Also, you should be careful about what you plug in to your Arduino, as you could very easily burn it out. I just wanted to say, check out my channel - I have a video on how to use Arduino for a bidirectional motor controller using a simple H-bridge circuit. You also gave me a good idea for a vid. Maybe I'll add a tutorial on transistors tomorrow.
Bizorke 9 months ago
I have been wondering if there is a way to cennect a 2.4 GHz 4 channel RC transmitter to an arduino,(I have a USB cabel connecting the transmitter to my computer).
013dirtdiver 10 months ago
Is the pot linear or log taper?
pleasecho2 10 months ago
I like how this guy explains stuff really well, this video helped me understand the Arduino a little better
ScarredToons 10 months ago
This has been flagged as spam show
Hi there again, can someone in here please help, I need to know how can this same example be done using a motorized slide potentiometer connect and respond to DAW (cubase). My real intention is to create a daw controller with 32 motorized fader and 32 buttons for other controls, can someone here please help or am I speaking an alien language here?
timlopes247@gmail.com
TimLopesPro 10 months ago
i want to modify the 'knob' sketch to control 360+degree servos, but dont know how
silycaon 10 months ago
@silycaon I know next to nothing about arduino, but it seems evident that if you actually have a 360 degree servo, then you would map the pot (0,1023) to 0,359 instead of 0,179.
SiliconM4trix 10 months ago
great work man!
could you please tell me which model of arduino and prototype board you're using?
thanks!
cillino25 10 months ago
ok but now i'm not shure can I power 5 servos from the arduino
013dirtdiver 10 months ago
How to make the code so that you can control 2 servos with 2 separate potentiometers
013dirtdiver 10 months ago
@013dirtdiver u would need to define 1 more potentiometer and 1 more servo in the code
MultiJohn12321 10 months ago
it worked! nice job man
013dirtdiver 10 months ago
will that work on UNO ?
013dirtdiver 11 months ago
@013dirtdiver sure thats just an Arduino with newer features!
jrigvd 10 months ago
quick question... were did you get that usb battery backpack????
legoclockfreak710 11 months ago
This has been flagged as spam show
Hi there can you guys show an example illustrating how can a motor driver slide pot with touch sensitive be connect and respond to my DAW using a "alps pot". please kind mail us if you get it done
timlopes247@gmail.com
TimLopesPro 11 months ago
Hello buddy,
How do you control digital servos with shorter frame time?
RCpropo 11 months ago
Ohhh, Arduino is programmed in C++, awesome, I'm gonna make one!
superant10000 11 months ago
Dude your videos are juste great!! I didn't knew anything about Arduino and now I can control a motor and do many cool things with LEDS... Thank you! :D
DrDiablo36 11 months ago
Suggestion for your vid's that would be helpful:
1) Always list in the comments section the items needed (Arduino, jumpers, 10K pot, Servo (what kind?))
2) link to the software needed (you just babbled something about some subdirectory but I had no clue what you were referring to... figured it out with some Googling, but c'mon... tighten that up!! ;-) )
The items needed list could be linked to your site for more sales.. right? ;-)
Thanks!!! Enjoyed the demo very much!!!
3dsman 1 year ago 34
Couldn't you just connect the yellow wire of the servo to the analog on the pot??
codymannthedestroyer 1 year ago
@codymannthedestroyer maybe but the turn ratio's would be different, the whole reason you put it through the arduino is to better control the servo so that it turns evenly with the pot, as the servo has 1024 possible steps and the pot only 180. make sense?
dmars444 11 months ago
@codymannthedestroyer do u know a servo works.
hazzks 11 months ago
@basil404575 thanks
morcharuke 1 year ago
Can some one help....I have a servo but it does not have the 2 prongs sticking out,do I have to buy a new servo
morcharuke 1 year ago
@morcharuke Ther servo that is used in this video has a three pins. But he had the pin by adding a male- to male adapter for the servo connector
basil404575 1 year ago
Shitty-ass focus!
sippe30 1 year ago
@CommonRaven Yeah, I think I'll do that just to be safe.
gizmoguyar 1 year ago
This has been flagged as spam show
you can find it in file,sketchbook,examples,servo,...knob
droid7627 1 year ago
Doesn't the servo draw too much current (>30mA)? I've been told not to ask more than that from a single pin. Or is that only from IN/OUT pins? If so then how much can +5V and gnd handle?
gizmoguyar 1 year ago
@gizmoguyar The servo gets its power from a 5V power pin. The I/O pin that it is connected to is delivering just the signal for position, not any current to run it. The 5V pins will supply up to the limit of the on-board voltage regulator, or the max your power supply will deliver (i.e. if powering from a USB cable it will be limited by the USB port's max output)
ctpctp 1 year ago
@ctpctp Thanks. Exactly what I was looking for.
gizmoguyar 1 year ago
Comment removed
ps3gamer8996 1 year ago
cant find the protoshield on makershead site....
zazw3 1 year ago
@zazw3 It's called the "maker shield."
gizmoguyar 1 year ago
can u do this on a breadboard connected to the arduino instead of the protosheild???
EvanLuther 1 year ago
@EvanLuther yes
MultiJohn12321 1 year ago
@EvanLuther yes. he said u could on the vid
MultiJohn12321 1 year ago
Makemagazine hello, can you tell me how you mounted the blue strip on the circuit?
AndreaDs5 1 year ago
Comment removed
AndreaDs5 1 year ago
could u messege me the t link to tne code
cocaobobo 1 year ago
Comment removed
AndreaDs5 1 year ago
could I use several servos?
vortegaunt 1 year ago
@vortegaunt
I think you need to define more servos and potmeters and use seperate analog and digital in/output positions and create a loop for each servo.
I think you can copy and paste the parts from the library program and change the variables and of you go.
I will order my starter kit soon!!!!!
SCRTpilot 1 year ago
switch to 0.23
DDgun99 1 year ago
is that a 9-volt baterry in the battey pack
beasterG11 1 year ago
Can you do this with a DC motor and if so could you tell me what would be different
TheXXSCOPEDXx 1 year ago
@TheXXSCOPEDXx a dc motor can not be controlled with the same precision...
Beaverman20 1 year ago
nice.
artifactingreality 1 year ago
and i thought lego mindstorm was sick...
Edit9D 1 year ago
is that c programming???
SuperNeckerman 1 year ago
@SuperNeckerman yes.
ivaniclixx 1 year ago
@SuperNeckerman yes it is
yacumanajiri 1 year ago
This has been flagged as spam show
you should hook that up to kipkays camera pole it has tow servose
johnhodgson90 1 year ago
you should hook that up to kipkays camera pole it has tow srvose
johnhodgson90 1 year ago
once the program is in can it be put into a circuit without the ardunio
ronlan1984 1 year ago
@ronlan1984 yes sir
HowBoutDemBoyzz 1 year ago
3:00 Germany!
lHenry97 1 year ago 41
@lHenry97 jaaaaa
schwarz
rot
gold
or in english
black
red
gold
web1bastler 1 year ago
@web1bastler
red, white and blue with white stars were a little bit costly :D
Rot, weiß und blau mit weißen (oder meinetwegen silbernen) Sternen drauf, wär auch ein bisschen teuer geworden :D
Elune137 1 year ago
@web1bastler doppelsprachen FTW
programaster 1 year ago
@lHenry97 Awhhhhh, your awesome for noticing that.
NetHawk41 7 months ago
@lHenry97 lol
petereish 7 months ago
can the arduino play sounds without buying any extra stuff?
lucirz 1 year ago
@lucirz Yes it can. There is a built in tone function to play sounds. All you need is a speaker to plug into one of the digital I/O pins. I have a video with an arduino project with sound.
purplemutantas 1 year ago
@purplemutantas thanks i just saw the video, how much did that speaker cost? can i use a normal speaker on it? sorry if my questions are stupid, i'm a complete noob to microprocessors and the arduino. also is there a way to attach a camera to the arduino and have the images show up on my compter in real time so that i can see what the camera is seeing just by looking at my computer?
lucirz 1 year ago
@lucirz It was a cheap speaker from radio shack. Any small speaker should work fine. You could also wire up a headphone jack to plug into computer speakers.
I am not sure about hooking a camera to an Arduino. But you wouldn't need an arduino for that. Assuming you aren't using a webcam, get a video capture card.
purplemutantas 1 year ago
@lucirz No.
Nadrealis 1 year ago
Now, how do I record these movements, as in motion capture, so that I can play my movements back? Thank you for this informative video.
zorchart 1 year ago
this is class... cant wait to get into this shit!!
strasheep 1 year ago
can i do this with tree potentiometeres becuse i dont have an arduino for now i dont know if i can
kiriakoskakos 1 year ago
I bought a kit from ebay, an arduino duemilanove, some leds and other stuff, AND a breadboard. This "protoshield" would be the close to a breadboard?
thank you.
marcioairplane 1 year ago
Can you slow down the speed of the servo by reducing the voltage appropriately?
leebee1989 1 year ago
how do you make a wireless
emoney550 1 year ago 58
@emoney550 with an xBee arduino + ProtoShield and a xBee reciever
TechBoywii 1 year ago
@emoney550 Xbee
jrigvd 10 months ago
@emoney550 combine it with XBee and send serial commands via the XBee Modules :)
GreatFlo 8 months ago
@emoney550 Xbee or bluetooth module
ohotis 6 months ago
this demonstration inspired me for my senior design!!
electrichotmatt 1 year ago
amazing. Still looks very complicated but really awesome
tuberoako777 1 year ago
int in c++ (and other languages) does not stand for "instance", it stands for integer, meaning a whole number. other variable types are float, bool, char, and more.
sspence65 1 year ago
Hello sir, im a beginner and i just want to know if you hava a video of the same concept but instead of a nob, a button operates it and the servos moves up and down,,,,,
eyeball56 1 year ago
Wow....I fly Remote control airplanes and one problem I come across is when working with servos you find yourself trying to zero them out in construction,if they are not at 90deg exactly your control surface will need to be trimmed out,could could zero them by setting up the whole system..but that wastes lots of time,this would be so handy by simply having a setup where you could have it write say from the pot to one part of the board and to another 90deg,then setup would be super easy.
RCSonicjet 1 year ago
ahhhh i can NOT CONNECT THE POTENTIOMETER HOW DO YOU DO THIS THERES TWO THING ON THE BOTTOM AND THE CONNECTORS ARE TOO FAR APART
TheBONExHEAD 1 year ago
can you use it with a 12v dc motor?
mlav85 1 year ago
@mlav85 no
50red510 1 year ago
8:39 did anyone else hear the iphone email tone?
WeAreTwoDoorsDown 1 year ago
Holy shit that was easy :D
meanberganimation 1 year ago
does anyone know where i could find a servo?
MrCelloman21 1 year ago
@MrCelloman21 hobby shop
50red510 1 year ago
how do you get it to transmit wirelessly
13rugrat 1 year ago
@13rugrat
You can buy a WiFi Shield for it which can transmit and receive. I assume you would need a receiver on the servo side. I'm not sure how the code would go though.
Google WiFi Shield Arduino
Hope that helps
:P
Joxman2k 1 year ago
@13rugrat it would be much better
Arjoonmoal 1 year ago
@13rugrat i am 12 and i know how
50red510 1 year ago
ok so its so easy to do yet its pretty tricky?? theres one contradiction eating another!!!!!!
niguana22 1 year ago
You can buy a servo potentiometer from HobbyKing for $6.... such a waste.
thechoosendude 1 year ago
What if it's 200K ?
cristian3131 1 year ago
Is there anyway to do this wireless? Or use a Ethernet shield and control it with my computer perhaps? Idk, I'm just thinking of ways to do this.
listenUPeveryonee 1 year ago
Hello , Can you control a biger servo or a step motor with this circuit ? and if yes how ? . I want to use it for position my wind turbine without a yawing tale . Just make it automatic go after wind..
mariusporneala 1 year ago
what programming language does the arduino use?
shegar2011 1 year ago
@shegar2011 Processing, C basically
jnardiello 1 year ago
@shegar2011 check it out on there home page.
its there own language that is very closely related to C/C++
itachisxeyes 1 year ago
I'm guessing the header file looks INSANE, lol.
Divinized 1 year ago
so i am not really good with electronics but and i have a question that's not really related to this project but, i have a 9 volt battery so what resistor, or potentiometer would i use to take me back to 0v, so that i can control the voltage of the motor.
husam27 1 year ago
"Pound symbol" @5:50 ??
BarrykeNL 1 year ago
@BarrykeNL # = pound symbol
ludnix 1 year ago
@ludnix # = hash
mondoman712 1 year ago
would it work if he just connected the potentiometer to the servo and then to the power without using the Arduino ?????
husam27 1 year ago
@husam27 No, you need to be able to convert values from the potentiometer (0-1023) to values acceptable by the servo (0-179). This is done using the map() function.
RBDurgin 1 year ago
@RBDurgin ok thanks
husam27 1 year ago
Now, how do you get 2 servos to work with 2 pots on one arduino?
mtktm 1 year ago
its pretty simple, you make the same program but you essentially duplicate the code for the other servo out put and other pot output
b0bb0bs0n 1 year ago
I tried it. doesn't quite work :p
mtktm 1 year ago
really?
what is the problem you are getting?
b0bb0bs0n 1 year ago
Then how do you have it setup? I'm getting a bunch of errors trying to verify the script.
I've even tried writing one in an array format with no luck :(
mtktm 1 year ago
@mtktm Try this example that uses 2 servos: . Omit the line that says Servo refresh() if you are using a newer audrino.
RBDurgin 1 year ago
exactly like b0bb0bs0n says below just copy paste anything to do with the servo and pot then change the pins...easy!
numex106 1 year ago
in like eveyother video you can here the mail notification in the background
BlanchProductions 1 year ago
Nice video
leucir 1 year ago
servo can be more for him?
men28yoo 1 year ago
This has been flagged as spam show
great tutorial, thanks!
out of interest, I dont suppose you have tried controlling multiple servos in the same way with multiple potentiometers through one arduino?
is it a case of simply repeating the code and adding more ins/outs ?
milos23 1 year ago
Comment removed
milos23 1 year ago
how about this servo motor can turning around 360 degree
bestamerica 2 years ago
This has been flagged as spam show
this is kindergarden stuff
PhatQ45TT1 2 years ago
what a pointless comment for those who have never used a servo before it is probably very helpful
nemesisdog2 2 years ago