Beginners: please read this post and this post before posting to the forum.
0 Members and 1 Guest are viewing this topic.
I have seen it done a few times with a go-cart, which is what I will be implementing it on. So, for now I am going to try to accomplish this as I have the parts already. [...] if someone can add more details to that guideline to help me better understand possibly.
Well, I got the parts this site recommended under "Build Super Servo".
I have the wiper motor, servo, motor controller. It doesn't explain it but that is the reason I mentioned the first site in the op because I figured I am to follow that. But was wondering if there are anyone that has went through this process before and could offer better detail or advice.
So, if I incorporate a pot and the motor controller(that I chose above) I should still be able to accomplish what you have done correct?
Would the information you have provided change when using this motor controller?
The other motor is for something not related to the steering with the cart. It is related to braking of some sort, which I am not involved with. So we thought to just buy a motor controller that can handle two outputs rather than two separate motor controllers.
What do you mean by on how, 'planning to steer the wheels'?
[...]So your system will probably look like this: Microcontroller-- gets wireless signal from another microcontroller that gives the desired steering angle-- gets the current steering angle from the potentiometer on the end of the steering shaft-- calculates the speed and direction for the motor controller to move the steering shaft from the current position to the desired position-- sends the speed and direction signal to the motor controllerMotor controller-- gets 12 Volt power from a power source (battery?)-- gets a speed and direction signal from the microcontroller-- sends current to the motorMotor-- gets current from the motor controller-- moves the Pitman arm which steers the wheelsPotentiometer (or other position sensor)-- senses the current steering angle-- sends the current steering angle to the microcontroller
I sure wonder why you find it harder to weld 4 MOSFET's to an existing servo and be done with it
So let me just repeat some suggestions. I would not try to use a servo. I don't think that will help. You will instead need to write some software for your microcontroller, though, that implements a closed-loop control system based on the angle of your Pitman arm as feedback. Ok, so the software side we have some other people over that area. I will let them know this approach. I will probably be apart of that with it being my area of steering alsoYou will need to get that angle position. We used a potentiometer fixed to the bottom of our steering gearbox with the wiper attached to the Pitman arm. You might be able to do that too. What are you using for your second microcontroller? That's what will need to calculate the speed and direction signals for your motor controller. You will probably want to use a PID algorithm. You might be able to find one in a code library that you can use. For example, I think there is a PID library written for the Arduino. We are using the basic arduino uno for both microcontrollers along with xbee shield and accessories to communicate wirelessly. One receives inputs from wheel/pedals - relays wirelessly to other which sends to outputs. I will look into the possible PID library.So your system will probably look like this: MicrocontrollerYes, this would be the one that receives signals from the MicroC that takes inputs.-- gets wireless signal from another microcontroller that gives the desired steering angle-- gets the current steering angle from the potentiometer on the end of the steering shaft-- calculates the speed and direction for the motor controller to move the steering shaft from the current position to the desired position-- sends the speed and direction signal to the motor controllerMotor controller-- gets 12 Volt power from a power source (battery?) Yes, battery-- gets a speed and direction signal from the microcontroller-- sends current to the motorMotor-- gets current from the motor controller-- moves the Pitman arm which steers the wheelsPotentiometer (or other position sensor)-- senses the current steering angle-- sends the current steering angle to the microcontrollerThis outline seems pretty much like what needs to happen.Does that seem right? Any questions on the basic approach? Anything you need guidance on?