@momavalencia lol. Position is controlled by comparing the real position (sensor's feedback) versus desired position. In this case, sensor feedback is a quadrature encoder (the transparent plastic wheel), and the control is the potentiometer (or joystick) in the guy's hand. Who does all this? a microcontroller with running software on it. Yes you can also attach a pot to mechanism, acting as sensor (feedback). In fact RC servos work like that while desired input is PWM. Pro servos are brushless.
I am looking to do something very similar with a dc motor with an encoder attached. Can you please share the code with me so I can get started. I will be controlling it with a pot as you did also. I cant find any code in the link you posted. I would appreciate any help at all.
I am looking to do something very similar with a dc motor with an encoder attached. Can you please share the code with me so I can get started. I will be controlling it with a pot as you did also. I ant find any code in the link you posted. I would appreciate any help at all.
This has been flagged as spam show
can you post a .HEX file that you put inside PIC
Thx
MrAlsaket 3 weeks ago
If you want more precision, you would put the encoder directly on the motor shaft.
jard18 8 months ago
Comment removed
rodstartube 6 months ago
Sir how do you control the position of the motor? How do you check the position error? Connecting a potentiometer to the shaft of the dc motor?
momavalencia 11 months ago
@momavalencia lol. Position is controlled by comparing the real position (sensor's feedback) versus desired position. In this case, sensor feedback is a quadrature encoder (the transparent plastic wheel), and the control is the potentiometer (or joystick) in the guy's hand. Who does all this? a microcontroller with running software on it. Yes you can also attach a pot to mechanism, acting as sensor (feedback). In fact RC servos work like that while desired input is PWM. Pro servos are brushless.
rodstartube 6 months ago
Sir how do you control the position of the motor? How do you check the position error? Connecting a potentiometer to the shaft of the dc motor?
momavalencia 11 months ago
This has been flagged as spam show
I am looking to do something very similar with a dc motor with an encoder attached. Can you please share the code with me so I can get started. I will be controlling it with a pot as you did also. I cant find any code in the link you posted. I would appreciate any help at all.
srmack68 1 year ago
I am looking to do something very similar with a dc motor with an encoder attached. Can you please share the code with me so I can get started. I will be controlling it with a pot as you did also. I ant find any code in the link you posted. I would appreciate any help at all.
srmack68 1 year ago
what do you call that circle transparent plastic?
rhonmanalo 1 year ago
@rhonmanalo I would call it an encoder code wheel.
Andrewinadoghat 1 year ago
Nice 1 !
dvdvideo1234 1 year ago