Society of Robots - Robot Forum

Mechanics and Construction => Mechanics and Construction => Topic started by: Macintoshery on November 14, 2011, 05:41:07 PM

Title: Help us Please.
Post by: Macintoshery on November 14, 2011, 05:41:07 PM
I am part of a small robotics club. We have been working with VEX and have recently finished re-building our VEX bot for the third time.
Now we have decided to build something without VEX. With VEX, the microcontroller was pre-built and well marked, so I am very confused about a new microcontroller.
We need a microcontroller that we can plug about 35 motors into, 6 or 7 servos, and 6 or 7 sensors into. We have the motors, motor controllers and that lot. What kind of microcontroller could do all of that and be controlled by a wireless controller.

 We are also looking for a controller that would allow for the control of so many parts, please post if you know of one.
Title: Re: Help us Please.
Post by: harpo on November 14, 2011, 06:00:41 PM
Arduino mega or....
the society of robots Axon 2
Title: Re: Help us Please.
Post by: Macintoshery on November 14, 2011, 06:27:35 PM
The question is, how do we connect that many motors to it?
Title: Re: Help us Please.
Post by: harpo on November 14, 2011, 06:39:32 PM
with that many motor controllers
(have you done this yet with vex?)
Title: Re: Help us Please.
Post by: Macintoshery on November 14, 2011, 07:11:19 PM
The Motor controllers in vex just plug in to the motor and they're just small little plastic pieces that then plug into the microcontroller. Each one plugs in to a individual motor.
Title: Re: Help us Please.
Post by: Macintoshery on November 18, 2011, 10:35:12 AM
So if I wanted to use the Axon II to power our robot, what kind of remote control would be the best and most inexpensive to use?
Title: Re: Help us Please.
Post by: joe61 on November 18, 2011, 11:25:24 AM
I don't know of one controller that can do all that. You might check at http://www.pololu.com/catalog/category/10 (http://www.pololu.com/catalog/category/10) They have some rc motor controllers that you might be able to daisy chain together or something. Drop them an email and they can probably help.

Joe
Title: Re: Help us Please.
Post by: Soeren on November 18, 2011, 08:18:50 PM
Hi,

We need a microcontroller that we can plug about 35 motors into, 6 or 7 servos, and 6 or 7 sensors into. We have the motors, motor controllers and that lot. What kind of microcontroller could do all of that and be controlled by a wireless controller.
35+7+7+1 = 50
So, any microcontroller with at least 50 I/O available.

When you say microcontroller, do you mean that, or do you mean a microcontroller board?
How many motors, servos and sensors did you have running concurrently at your Vex?
Do you want to go non-Vex just to increase the amount of I/O?


The Vex microcontroller is either a PIC (18F8520 ) or a Cortex (M3).
Since it might be less confusing porting code if you go with the same microcontroller that your Vex had, perhaps you would feel more comfortable with the same controller chip.


Here's how the PIC version look:
(http://www.vexrobotics.com/media/catalog/product/cache/103/image/296x/5e06319eda06f020e43594a9c230972d/2/7/276-2170-microcontroller-top.jpg)(http://www.vexrobotics.com/media/catalog/product/cache/103/image/5e06319eda06f020e43594a9c230972d/2/7/276-2170-microcontroller-ends_1.jpg)


And here's how the Cortex version look:
(http://www.vexrobotics.com/media/catalog/product/cache/103/image/5e06319eda06f020e43594a9c230972d/n/e/new-cortex-microcontroller.jpg)
(http://www.vexrobotics.com/media/catalog/product/cache/103/image/5e06319eda06f020e43594a9c230972d/n/e/new-cortex-microcontroller-top.jpg)(http://www.vexrobotics.com/media/catalog/product/cache/103/image/5e06319eda06f020e43594a9c230972d/c/o/cortex-microcontroller-front_2.jpg)

All that aside, if you wanna control a 50 line mix of motors, servos, sensors and remote control and don't wanna use more than one controller, you need something fast, so take a look at the ChipKit 80MHz (backwards Arduino compatible) boards or some of the faster Cortex controllers.

The best way of doing something like what you want, is with distributed processing and since microcontrollers are almost as cheap as the sand inside them, you could dedicate 1, 2 or even four for the motors alone, another one for servos and yet another for sensors - this pulls a lot of the peasant work from the master controller (and make debugging and troubleshooting childs play).

Since you already have the Vex remotes (I assume), they'll be the best, or at least the cheapest  :)