4 wheel drive RC car question
dsomashe
Posts: 21
Thanks to the help of several of you, I managed to get my activity bot to be both RC controlled as well as autonomously search and avoid obstacles. It's pretty awesome.
I was wondering though, is there a way for the propeller board to power four wheels? I see a lot of 4wd RC smart car kits out there, but they seem to all be for arduino.
Are there any 4-motor motor shields for propeller? How do I use the propeller language to program these?
Basically, I just wanted to convert my current robot program into a larger, more rugged off road type vehicle. Is this possible?
-Deepak
I was wondering though, is there a way for the propeller board to power four wheels? I see a lot of 4wd RC smart car kits out there, but they seem to all be for arduino.
Are there any 4-motor motor shields for propeller? How do I use the propeller language to program these?
Basically, I just wanted to convert my current robot program into a larger, more rugged off road type vehicle. Is this possible?
-Deepak
Comments
Definitely possible to control 4 motors. Perhaps some of the robotics experts will chime in with details in a while.
I looked at something similar for the two Inspection Robots I have on my workbench. One is a large platform (about 28" long with 8" wheels) and does have the ability for each wheel to be independently driven, so a similar solution with two of Parallax's DHB-10 boards was my plan so I can also leverage the onboard Props for additional horsepower.
However,there are others on this forum with more solid experience driving multiple DC motors in collaboration and there may even be good code out there already. Hopefully somebody reads this thread and provides details.
Right now my activity bot is able to ping and avoid obstacles and follow a drive routine to simulate "exploration".
I basically was hoping for it to do the exact same thing, but in a more robust four-wheel drive chassis that I could drive outside. Is this possible?
The short answer is it's definitely possible. I don't personally know how to program that project, but someone like Duane or Erco (that hang out in the robotics forum) probably does.
You will need some kind of motor controller as stated above. Right now your Activity Board controls the servos acting as motors by simple pulses. But to have the same kind of control with a DC motor, you will most likely hook the motors to a small controller board, and that to the Activity Board. If you are using the latest WX version, maybe it's possible to run them directly from the Activity Board because it can do more amps, but someone else will have to confirm that. A small motor controller is inexpensive though.
Most small controllers have input and output to control 2 motors, which should work fine.
Does the 4WD R/C car actually have 4 motors? Most would only have one big motor with a drive shaft going up to the front axle from a transfer case, giving you 4WD much like a real life Jeep or truck.
Sometimes they actually have 2 motors, one for each axle, but that's a more expensive way to do it. It would be extremely rare for it to have 4 motors, as in one for each wheel. I believe I have only seen one tank based bot like that.
It is all still for sale if you are interested... here was the original post with pics...
http://forums.parallax.com/discussion/165169/reduced-two-robots-and-two-boards-for-sale#latest
The motor controller i used was pretty generic, from ebay i think. It handled the current efficiently, and allowed independent control of each wheel. To make this a practical setup though, i think you would need to add wheel encoders to the mix. I could never get her to roll straight, as each motor seemed to behave slightly differently.
Note that in my setup I was not powering the motors through the prop as you alluded to in your original post. That doesn't sound like a good idea. Instead your motor control powers the motors. Your prop just needs to tell the motor controller which wheels to spin, in which direction, and how quickly.
Good luck with your bot! Let us know how it works out.
robotshop.com/en/adafruit-16-channel-i2c-servo-controller.html
Interesting! I was helping a buddy on installing the new tires and some forged wheels on his Dodge Ram when he mentioned about building 4 wheel drive rover RC project. This will be a great idea to start with.
Contact Carol Hazlett - she has lots of experience with this! https://forums.parallax.com/profile/59314/Carol Hazlett
Check out some of her work here - https://forums.parallax.com/discussion/161045/robothon-2015-seattle-robotics-society
I sent her a message to look at this thread!
with the truck. The motors can be
controlled with same commands that you would use to control CR servos. It makes the programming easier but speed control is much dicier
as there is only a small area of control. The motors are either too slow or running away. I have changed now to a 15 AMP motor controller
board wired to the FLiP to give me much better control over the motor's speed. I can get away with a 15 AMP controller because the truck is going
to be used for Robomagellan which does not need speed. If you are going to run at high speeds you may need more amperage. If you want more specific info
post here or email me at carolhaz391@gmail.com. I had done this project earlier with an Arduino, but now program it with Blocklyprop which is more fun!
In this video I am still using the ESC which is why the motors are running so fast. I will post video of the newer set up as soon as I get the GPS guiding the
movements of the truck.
Thanks for this! You are the best!
Any idea how big you want this to be?
Also do you want something slow with lots of torque or something that goes fast?
Do you have tools to fabricate anything?
I liked Mike's scratch built rover, https://forums.parallax.com/discussion/164517/temper-robot-update