Society of Robots - Robot Forum

Electronics => Electronics => Topic started by: NestorClassFour on July 20, 2007, 08:56:22 AM

Title: linking 30 actuators to an ooPIC
Post by: NestorClassFour on July 20, 2007, 08:56:22 AM
REALLY IMPORTANT!!! Can someone please tell me how to link the on-board computer (ooPic) with my actuators. The real problem is I have over 30 actuators! HELP!

"I see the logic of your plan, it just seems too.....heartless," (Sonny, I robot, 2004)


admin edit: I changed your subject 'URGENT! I can't get the damn microcontroller to work!' to something more useful.
Title: Re: URGENT! I can't get the damn microcontroller to work!
Post by: hazzer123 on July 20, 2007, 11:03:33 AM
Please read this http://www.societyofrobots.com/robotforum/index.php?topic=1480.0 (http://www.societyofrobots.com/robotforum/index.php?topic=1480.0)

Some examples of what you didnt tell us -

what actuator?
Your code so far
Your application

...
Title: Re: URGENT! I can't get the damn microcontroller to work!
Post by: Admin on July 22, 2007, 11:45:16 AM
Quote
The real problem is I have over 30 actuators!
Its going to be really hard to do this. You will need to use a controller that can do I2C daisy chaining (Ive never done this, so cant really help you here).

99% of all microcontrollers dont have more than about 25 digital outputs, so you may need to cut down on your actuators. Or use multiple microcontrollers.
Title: Re: linking 30 actuators to an ooPIC
Post by: Ro-Bot-X on July 22, 2007, 01:03:05 PM
ooPic microcontroller uses objects and each object uses a few bytes of object data. For example, a oServo object uses 4 bytes and a oServoX uses 6 bytes. The total amount of object memory is 86 bytes. So, if you are using 30 servos you will need 120 bytes of object memory, a lot more than one ooPic offers. I would sugest the use of 2 ooPic-R boards linked by I2C. These boards have 16 I/O lines factory built for servo use.