16:00 saying is pinMode(aPin, INPUT) + digitalWrite(aPin, HIGH) = pinMode(aPin, INPUT_PULLUP) this lead to activating the internal pull-up resistor If a digital pin is configured as an INPUT, digitalWrite() will enable (HIGH) or disable (LOW) the internal pullup on the input pin
Thank you for the great video! What is really annoying about casual servos is when Arduino starts we can only guess the position of a servo, but do not know it, so we usually need to reset it to some position, which happens pretty fast and looks like servo is about to kill itself with a sudden movement. (Hi from Ukraine!)
You can open the bottom of servos and add a site to the middle potentiometer pin and file a little away from the case and run it out and use it the same way. It’s all the 4 pin analog feedback servos have different than a normal servo.
Great vid, wish you would of opened the servo up and shown the internal difference between that one and a standard, would of been fun to watch you mod a standard servo to have this function also
I am building a heater control actuator and circuit for a 55 year old pickup. A $5-$20 actuator that’s strong is used in auto’s that fall into this category of “Analog Feedback Actuators” tutorial you shown, for heater door control.The actuators have a potentiometer built in, gear driven by the motor. So in a salvage yard, this is a 5 pin type. Cut the wires to get a connector. Question: Is the EEPROM on the Arduino or motor controller? After the limited movement is recorded, a linear potentiometer on the dash can control the heater door position by moving the “Heat Lever” to half for example. If 0-255 was the range, that request would open to 1/2 or 128 by the dash controls. This must be how auto engineers design the “Logic” board for the HVAC module. I don’t have social media but maybe I can follow this link to sign up for discussion on this event. I really don’t have a laptop to write code, nor buy an Arduino, motor controller if so simple is available. Thanks kindly for help on this 4 yr old subject.
What happens if you have programmed specific movements into say a robot arm , and at some point power is lost , the movement stops, when it’s restarted what will happen ? Can it remember where it was in the movements or return to start when power resumes ?
Another excellent pedagogical vid, thanks The scheme rests entirely on the quality of the pot, its precision, linearity, and wear pattern, so are highest quality pots necessary?
Rather than a pot, would it not be better to use a variable capacitor? I'm thinking pots have wipers that are likely to wear and change resistance over time. On an arduino, a Capacitive sensing library should be able to read position of capacitor.
AWESOME information perhaps we can use DB1 to record a specific path that we need DB1 to follow each time, from a start point to an ending point, then back to home, if we flip-flop the recorded sequence to return DB1 to the original start point, Umh... I will continue this discussion on the forum (maybe call it "Servo as INPUT Path", does anyone have any suggestions as to what it will take to do this? Thanks
I know this is old, but does this playback the sequence with the same speed you moved the motor ? i.e you move the shaft slow then move it fast, will it replay it at the same speeds you did ?
Can we get analog read from a continuous rotation servo? And is that possible to recording and playing back servo motion with a continuous rotation servo without push button?
I came here looking for info on this too. I’ve seen a 360 servo with the extra feedback wire for sale, but it’s not clear if it’s exact position can be set like with non-360 servos.
Does manually turning the shaft generate electricity, that may damage components? Or does manually turning the servo motor otherwise damage the motor. I am trying to create a manual override for safety.
Great channel!!! Do you have any video about an analog isolator? That is, the input ranges from 0 to 5 volts and the output follows the range input 0 to 5 DCV. I appreciate!!!
Hi Sir, I am doing some reserch about making my own motion simulator using diy build actuators with servo motors. I will be controlling the servo motor with Simtools software through arduino. As far as i know, the servo motor on the actuator should have encoder, but what kind of encoder ? can you help me out please. What should i ask to the manufacturer for the specifications?
How do you overcome the noise issue in the analog feedback? The servo feedback signal changes erratically even when the servo is not moving, as I have seen it from previous experience.
Bill has the UNO plugged into his computer via a USB cable so that he can use the Serial Monitor functions. So the UNO is getting its 5 volt power from the computer.
It depends on your schematics. It's streightforward -- if device( e.g. switch) connected to your input is never "floating" i.e. contains internal pull-up/pull-down resistor-- you can use regular INPUT pinMode. Otherwise you should use INPUT_PULLUP. This will guarantee that if device is not returning stable values( e.g. when button is not pushed), the pin will be PULLED-UP to internal buil-in 20k-150k resistor in microcontroller and return you stable value instead of the enviromental noise. You can read official documentation here www.arduino.cc/en/Tutorial/DigitalPins P.S. Also, please pay attention to PIN13 -- on majority of Arduino compatible boards this pin is also connected to onboard LED. That's why you don't want to use it with INPUT_PULLUP mode.
Please can you check my query on your video re power supply. I am asking what fuses you used. I live in South Africa and am trying to make my own power supply. Thank you. Chris Borchardt
Yet another brilliant video! Production, sound and content are superb, as well as your teaching style. Thanks very much.
Just a quick note to say thank you for all the videos. I have learned SO MUCH from them.
Best channel on ever, well explain and very professional thanks for your time
16:00 saying is
pinMode(aPin, INPUT) + digitalWrite(aPin, HIGH) = pinMode(aPin, INPUT_PULLUP)
this lead to activating the internal pull-up resistor
If a digital pin is configured as an INPUT, digitalWrite() will enable (HIGH) or disable (LOW) the internal pullup on the input pin
Never thought about using a servo as input - very cool. Thks
loving your tool wall! awesome vids, thanks!
I like it. Very helpful video 👍
Thank you for the great video!
What is really annoying about casual servos is when Arduino starts we can only guess the position of a servo, but do not know it, so we usually need to reset it to some position, which happens pretty fast and looks like servo is about to kill itself with a sudden movement.
(Hi from Ukraine!)
very true..... God damn every fking time.
You can open the bottom of servos and add a site to the middle potentiometer pin and file a little away from the case and run it out and use it the same way. It’s all the 4 pin analog feedback servos have different than a normal servo.
Hey Bill. Good to see you back.
New to your channel, and have enjoyed all that you do. Your vids are really clear and easy to follow. thanks for posting great content.
Awesome 👍
Thanks for sharing such an amazing tutorial on servo.
Great vid, wish you would of opened the servo up and shown the internal difference between that one and a standard, would of been fun to watch you mod a standard servo to have this function also
Outstanding video in every way, Thank you for producing it.
That's cool. I don't have a use for it but, it looks something to play around with.
got dang mang
this is a very well put video sir!
This was a very cool video, thank you
excellent tutorial .thanks
This is great!...now to teach it to weld for me.
The best way to thank this modest teacher www.patreon.com/dronebotworkshop/overview
I am building a heater control actuator and circuit for a 55 year old pickup. A $5-$20 actuator that’s strong is used in auto’s that fall into this category of “Analog Feedback Actuators” tutorial you shown, for heater door control.The actuators have a potentiometer built in, gear driven by the motor. So in a salvage yard, this is a 5 pin type. Cut the wires to get a connector.
Question: Is the EEPROM on the Arduino or motor controller? After the limited movement is recorded, a linear potentiometer on the dash can control the heater door position by moving the “Heat Lever” to half for example. If 0-255 was the range, that request would open to 1/2 or 128 by the dash controls. This must be how auto engineers design the “Logic” board for the HVAC module. I don’t have social media but maybe I can follow this link to sign up for discussion on this event. I really don’t have a laptop to write code, nor buy an Arduino, motor controller if so simple is available.
Thanks kindly for help on this 4 yr old subject.
how do you have such a clean workbench , you are making the rest of us look bad !
very inspiring video , thank you Sir !
VERY GOOD!!
cool, this will make a great annimation for props,
cool instruction!
Well Done!!
You are great sir
Nice
What happens if you have programmed specific movements into say a robot arm , and at some point power is lost , the movement stops, when it’s restarted what will happen ? Can it remember where it was in the movements or return to start when power resumes ?
thank you Sir
Another excellent pedagogical vid, thanks
The scheme rests entirely on the quality of the pot, its precision, linearity, and wear pattern, so are highest quality pots necessary?
thank you
great dear sir. i can copy my trip servo and repeat it. thank you so much
Rather than a pot, would it not be better to use a variable capacitor? I'm thinking pots have wipers that are likely to wear and change resistance over time.
On an arduino, a Capacitive sensing library should be able to read position of capacitor.
Hello,
Great vidéo !
Is it possible to do this with an FB5311-360M ?
AWESOME information perhaps we can use DB1 to record a specific path that we need DB1 to follow each time, from a start point to an ending point, then back to home, if we flip-flop the recorded sequence to return DB1 to the original start point, Umh... I will continue this discussion on the forum (maybe call it "Servo as INPUT Path", does anyone have any suggestions as to what it will take to do this?
Thanks
I know this is old, but does this playback the sequence with the same speed you moved the motor ? i.e you move the shaft slow then move it fast, will it replay it at the same speeds you did ?
Great! Are there servos with negligible resistance to turning by hand? I’m thinking motorized volume control.
Sorry, what's the difference with the Servo.read() function?
The servo is moving in 5 degree intervals between 0 and 180 degrees. What is the unit of the feedback value?
like it...thanks
Thanks for your tutorial, but
do you provide lesson program for us to learn?
Спасибо было интересно !
Google translated : Thanks, it was interesting
Can we get analog read from a continuous rotation servo?
And is that possible to recording and playing back servo motion with a continuous rotation servo without push button?
I came here looking for info on this too. I’ve seen a 360 servo with the extra feedback wire for sale, but it’s not clear if it’s exact position can be set like with non-360 servos.
Thanx sir
How to make stepper motor run as servo motor with potentiometer??plz help
Does manually turning the shaft generate electricity, that may damage components?
Or does manually turning the servo motor otherwise damage the motor.
I am trying to create a manual override for safety.
Suspect it puts strain on the gears which is why most recommend not to manually turn it. Plastic gears probably aren’t up to the job.
Congratulations from Belgium but why a return wire for information when you know the number of steps servo can directly send to a specific position.
@dothemathright 1111 I search the internet I see no one can buy this type of servo?
You are confusing this servo motor with a stepper motor they are different. Servo takes a analog input Stepper takes a digital input.
Great channel!!! Do you have any video about an analog isolator? That is, the input ranges from 0 to 5 volts and the output follows the range input 0 to 5 DCV. I appreciate!!!
Could you make a video to explain how to modify a standard servo motor to become an analog feedback servo motor?
It’s not really worth the hassle. It’s literally one extra while added to the same servo setup. Pennies extra.
I'm thinking your description of the resistor as a 'dropping resistor' be changed to 'current limit' resistor, as that really is its function..
Where can I buy this servo?
Hi Sir,
I am doing some reserch about making my own motion simulator using diy build actuators with servo motors. I will be controlling the servo motor with Simtools software through arduino.
As far as i know, the servo motor on the actuator should have encoder, but what kind of encoder ? can you help me out please.
What should i ask to the manufacturer for the specifications?
How do you overcome the noise issue in the analog feedback? The servo feedback signal changes erratically even when the servo is not moving, as I have seen it from previous experience.
Is it possible to convert the saved output to g-code? Thanks!
thank sir how much load it can handles
hi! i cant rearch your sity nor forum ( are there any restrictions for countries ? and where to buy servo shown ?
Can I use DXW90 Servo for this
Interesting. I'm not too familar with servos. Is the any problems with blowback voltage when moving the servo by hand?
there could be if you move it too fast.
@@TuttleScott Thanks. Do you know if this modified servo accounts for that?
Good lessen Bill. One question for you, should there not be a Vcc / 5 volt to the UNO ?
Greatings from the Netherlands.
Bill has the UNO plugged into his computer via a USB cable so that he can use the Serial Monitor functions. So the UNO is getting its 5 volt power from the computer.
Thanks, I was looking at the blue parts layout. Learned again from this series 😉
How to make by push button forward and reverse direction through it ardiuno, by push two button
Is there any advantage to using pinMode INPUT and then asserting high, over using pinMode INPUT_PULLUP?
It depends on your schematics. It's streightforward -- if device( e.g. switch) connected to your input is never "floating" i.e. contains internal pull-up/pull-down resistor-- you can use regular INPUT pinMode. Otherwise you should use INPUT_PULLUP. This will guarantee that if device is not returning stable values( e.g. when button is not pushed), the pin will be PULLED-UP to internal buil-in 20k-150k resistor in microcontroller and return you stable value instead of the enviromental noise.
You can read official documentation here www.arduino.cc/en/Tutorial/DigitalPins
P.S. Also, please pay attention to PIN13 -- on majority of Arduino compatible boards this pin is also connected to onboard LED. That's why you don't want to use it with INPUT_PULLUP mode.
No, disadvantage yes it takes 2 instructions (more code) rather then 1 instruction
my servo wont move manually, how to enable manual movement? i am using PCA9685
I’m guessing use a servo with lower torque rating
It does not accept PWM
its only compatible with it
They're so expensive. The cheapest I could find was $14.95 CAD.
Please can you check my query on your video re power supply. I am asking what fuses you used. I live in South Africa and am trying to make my own power supply. Thank you. Chris Borchardt
some explanation is interesting, but with a lot of chatter witch is a disadvantage & bad explanation of internal pullup resistors
please make dc motor + encoder = dc servo motor and arduino dc servo driver project on youtube. and please explain share with us. thank you.