Hey guys!
I'm an EE student and I'm planning on building a 5 DOF robot arm with servo motors. I have searched the forums but couldn't find anything suitable for my needs.
The "big picture" looks like this: 6 180-degree servos and 5 10k-pots hooked to the MCU; the analog value of the pot reading should move the servos at a high resolution, describing an almost "fluid" motion. Also, one should be able to change 2 or more pots at a given time and the corresponding motors should move simultaneously, ignoring for the moment the stability of the whole arm.
Until now, I have implemented without success a hardware PWM code which moves the servos with low res and with jitter.
I know how servos work, but I cannot find a suitable approach for this problem. I have found Xor's high res servo controller program, but I do not understand Basic and cannot figure where to put the analog reading, nor can I think of a way to generate independent PWM signals (soft or hard-ware based).
I do have to add that I have access to a large variety of MCU (PIC 16F and 18F families).
I need all the guidance I can get with this projects, so please, help me out.
I'm an EE student and I'm planning on building a 5 DOF robot arm with servo motors. I have searched the forums but couldn't find anything suitable for my needs.
The "big picture" looks like this: 6 180-degree servos and 5 10k-pots hooked to the MCU; the analog value of the pot reading should move the servos at a high resolution, describing an almost "fluid" motion. Also, one should be able to change 2 or more pots at a given time and the corresponding motors should move simultaneously, ignoring for the moment the stability of the whole arm.
Until now, I have implemented without success a hardware PWM code which moves the servos with low res and with jitter.
I know how servos work, but I cannot find a suitable approach for this problem. I have found Xor's high res servo controller program, but I do not understand Basic and cannot figure where to put the analog reading, nor can I think of a way to generate independent PWM signals (soft or hard-ware based).
I do have to add that I have access to a large variety of MCU (PIC 16F and 18F families).
I need all the guidance I can get with this projects, so please, help me out.