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!)
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
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.
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.
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 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!!!
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.
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.
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?
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