Added: 2 years ago
From: makemagazine
Views: 282,229
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:
see all

All Comments (317)

Sign In or Sign Up now to post a comment!
  • what is the sheild you are using?

  • 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.

  • more arduino vids please

  • 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 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)

  • @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

  • @steamisM50 These servos can indeed be modded to turn like a motor.

    Do a search, I think the pot is removed

  • Don't you need a relay for the servo so that the board doesn't fry?

  • is it the only way that we can control the servo motors simultaneously in arduino?

  • Ah, maybe the makings for a computer controlled lathe.

  • is it C language?

  • @mattlange00  yup

  • @mattlange00 arduino is very close to c and processing lang but it is it's own lang

  • I have 1 5v port and 1 3.3v and it won't work

  • @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.

  • as is done with a servo 360??

  • 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.

  • This is awesome!

  • Can this servo turn a doorknob?

  • I always wished things could be this straight forward!

    I am throwing my PIC CHIPS away.

  • Hi,

    I'm interested in hardware, and I would like to know if these Arduino boards are re-usable.

  • @ComputerImprov to what i understand yes they are

  • @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.

  • This guy sounds nice...

  • awesome description!

  • 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 Just pretend the sheild isnt there, its the same

  • 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 use a digital servo

  • 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. !!!!! !!

  • is Servo.h already on my Arduino or do I have to upload it?

  • Could you just connect the servo to the digital port 1 and then controll its movement via pc?

  • is a trimpot (10k) the same as a potentiometer? (10k) If not, what is a potentiometer?

  • @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.

  • can you use a 5k pot?

  • worth to watching only from 0:00 to 0:06

  • its an adafruit protoshield, but your advertising the maker shed?

  • @jvcrules because they sell it on the maker shed? it would be stupid not to

  • hi,like ur vid a lot.can run a car wiper motor using that same system?

  • 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?

  • map function is a bit overkill, you could just do some simple division to get it down to the value you want

  • my servo goes the wrong way. what can i do to fix that.

  • @bears7777777 I believe you swap the ground(black) and hot(red)

  • @grahamcrackeh no, i got it fixed. i just had to change the map from (0, 1023, 0, 179) to (0, 1023, 179, 0 )

  • Anyone else notice that the thumbnail for this video looks like an elephant?

  • How would you make this same setup with a unipolar stepper motor (4 wires)? Is it possible?

  • Yes, but will it blend?

  • Im makung a awesome flash light right now, it has not a led but a old bulb.

  • My Arduino's digital pins are only outputting 0.18v Does anybody know that the problem could be?

  • @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?

  • Comment removed

  • @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).

  • Is the pot linear or log taper?

  • I like how this guy explains stuff really well, this video helped me understand the Arduino a little better

  • i want to modify the 'knob' sketch to control 360+degree servos, but dont know how

  • @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.

  • great work man!

    could you please tell me which model of arduino and prototype board you're using?

    thanks!

  • ok but now i'm not shure can I power 5 servos from the arduino

  • How to make the code so that you can control 2 servos with 2 separate potentiometers

  • @013dirtdiver u would need to define 1 more potentiometer and 1 more servo in the code

  • it worked! nice job man

  • will that work on UNO ?

  • @013dirtdiver sure thats just an Arduino with newer features!

  • quick question... were did you get that usb battery backpack????

  • Hello buddy,

    How do you control digital servos with shorter frame time?

  • Ohhh, Arduino is programmed in C++, awesome, I'm gonna make one!

  • 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

  • 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!!!

  • Couldn't you just connect the yellow wire of the servo to the analog on the pot??

  • @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?

  • @codymannthedestroyer do u know a servo works.

  • @basil404575 thanks

  • 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 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

  • Shitty-ass focus!

  • @CommonRaven Yeah, I think I'll do that just to be safe.

  • 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)

  • @ctpctp Thanks. Exactly what I was looking for.

  • Comment removed

  • cant find the protoshield on makershead site....

  • @zazw3 It's called the "maker shield."

  • can u do this on a breadboard connected to the arduino instead of the protosheild???

  • @EvanLuther yes

  • @EvanLuther yes. he said u could on the vid

  • Makemagazine hello, can you tell me how you mounted the blue strip on the circuit?

  • Comment removed

  • could u messege me the t link to tne code

  • Comment removed

  • could I use several servos?

  • @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!!!!!

  • switch to 0.23

  • is that a 9-volt baterry in the battey pack

  • Can you do this with a DC motor and if so could you tell me what would be different

  • @TheXXSCOPEDXx a dc motor can not be controlled with the same precision...

  • nice.

  • and i thought lego mindstorm was sick...

  • is that c programming???

  • @SuperNeckerman yes.

  • @SuperNeckerman yes it is

  • you should hook that up to kipkays camera pole it has tow srvose

  • once the program is in can it be put into a circuit without the ardunio

  • @ronlan1984 yes sir

  • 3:00 Germany!

  • @lHenry97 jaaaaa

    schwarz

    rot

    gold

    or in english

    black

    red

    gold

  • @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

  • @web1bastler doppelsprachen FTW

  • @lHenry97 Awhhhhh, your awesome for noticing that.

  • @lHenry97 lol

  • can the arduino play sounds without buying any extra stuff?

  • @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.

  • @lucirz No.

  • 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.

  • this is class... cant wait to get into this shit!!

  • can i do this with tree potentiometeres becuse i dont have an arduino for now i dont know if i can

  • 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.

  • Can you slow down the speed of the servo by reducing the voltage appropriately?

  • how do you make a wireless

  • @emoney550 with an xBee arduino + ProtoShield and a xBee reciever

  • @emoney550 Xbee

  • @emoney550 combine it with XBee and send serial commands via the XBee Modules :)

  • @emoney550 Xbee or bluetooth module

  • this demonstration inspired me for my senior design!!

  • amazing. Still looks very complicated but really awesome

  • 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.

  • 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

  • can you use it with a 12v dc motor?

  • @mlav85 no

    

  • 8:39 did anyone else hear the iphone email tone?

  • Holy shit that was easy :D

  • does anyone know where i could find a servo?

  • @MrCelloman21 hobby shop

  • how do you get it to transmit wirelessly

    

  • @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

  • @13rugrat it would be much better

  • @13rugrat i am 12 and i know how

  • ok so its so easy to do yet its pretty tricky?? theres one contradiction eating another!!!!!!

  • You can buy a servo potentiometer from HobbyKing for $6.... such a waste.

  • What if it's 200K ?

  • 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.

  • 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..

  • what programming language does the arduino use?

  • @shegar2011 Processing, C basically

  • @shegar2011 check it out on there home page.

    its there own language that is very closely related to C/C++

  • I'm guessing the header file looks INSANE, lol.

  • 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.

  • "Pound symbol" @5:50 ??

  • @BarrykeNL # = pound symbol

  • @ludnix # = hash

  • would it work if he just connected the potentiometer to the servo and then to the power without using the Arduino ?????

  • @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 ok thanks

  • Now, how do you get 2 servos to work with 2 pots on one arduino?

  • its pretty simple, you make the same program but you essentially duplicate the code for the other servo out put and other pot output

  • I tried it. doesn't quite work :p

  • really?

    what is the problem you are getting?

  • 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 Try this example that uses 2 servos: . Omit the line that says Servo refresh() if you are using a newer audrino.

  • exactly like b0bb0bs0n says below just copy paste anything to do with the servo and pot then change the pins...easy!

  • in like eveyother video you can here the mail notification in the background

  • Nice video

  • servo can be more for him?

  • Comment removed

  • how about this servo motor can turning around 360 degree

  • what a pointless comment for those who have never used a servo before it is probably very helpful