Author Topic: linking 30 actuators to an ooPIC  (Read 1619 times)

0 Members and 1 Guest are viewing this topic.

Offline NestorClassFourTopic starter

  • Beginner
  • *
  • Posts: 3
  • Helpful? 0
linking 30 actuators to an ooPIC
« 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.
« Last Edit: July 22, 2007, 11:46:21 AM by Admin »

Offline hazzer123

  • Supreme Robot
  • *****
  • Posts: 460
  • Helpful? 3
Re: URGENT! I can't get the damn microcontroller to work!
« Reply #1 on: July 20, 2007, 11:03:33 AM »
Please read this 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

...
Imperial College Robotics Society
www.icrobotics.co.uk

Offline Admin

  • Administrator
  • Supreme Robot
  • *****
  • Posts: 11,658
  • Helpful? 169
    • Society of Robots
Re: URGENT! I can't get the damn microcontroller to work!
« Reply #2 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.

Offline Ro-Bot-X

  • Contest Winner
  • Supreme Robot
  • ****
  • Posts: 1,431
  • Helpful? 25
  • Store: RoBotXDesigns.ca
Re: linking 30 actuators to an ooPIC
« Reply #3 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.
Check out the uBotino robot controller!

 


Get Your Ad Here