Baby O Code

Please post all questions and answers in here. This way people can easily see if someone else has the same problem.

Moderators: BeligerAnt, petec, administrator

SamO
Posts: 8
Joined: Fri May 17, 2013 9:06 pm
Location: Hampshire

Baby O Code

Post by SamO »

Can someone please put a link up to the code used to program the Pololu Baby O ESC?
I've searched through the forum on their website but can't find it :cry:

Cheers :)
SamO
Team Jeopardy

Andrew_Hibberd
Posts: 1133
Joined: Tue Jan 20, 2004 12:00 am
Location: London
Contact:

Re: Baby O Code

Post by Andrew_Hibberd »

Sample code is on the 3PI page here http://www.pololu.com/docs/0J37/4

I wrote my own code using the pulsin function rather than the interrupts in the code above, so I could read in a 3rd channel for a weapon servo.
TEAM GEEK!

User avatar
BeligerAnt
Posts: 1872
Joined: Wed May 15, 2002 12:00 am
Location: Brighton
Contact:

Re: Baby O Code

Post by BeligerAnt »

Gary, Team BeligerAnt

SamO
Posts: 8
Joined: Fri May 17, 2013 9:06 pm
Location: Hampshire

Re: Baby O Code

Post by SamO »

Thanks for the reply's guys :)
SamO
Team Jeopardy

User avatar
bitternboy
Posts: 759
Joined: Sat Jun 06, 2009 7:36 pm
Location: Sheffield

Re: Baby O Code

Post by bitternboy »

Hey, I was wondering if there was anywhere the Baby O and Programmer combo was available in the UK?
Jonathan Atkinson
Before you criticize another person, first walk a mile in their shoes. Then, when you critisize them, you'll be a mile away and have their shoes.

Andrew_Hibberd
Posts: 1133
Joined: Tue Jan 20, 2004 12:00 am
Location: London
Contact:

Re: Baby O Code

Post by Andrew_Hibberd »

All the pololu suppliers in the UK and EU are linked on the pololu web site:
http://www.pololu.com/distributors
TEAM GEEK!

User avatar
bitternboy
Posts: 759
Joined: Sat Jun 06, 2009 7:36 pm
Location: Sheffield

Re: Baby O Code

Post by bitternboy »

Ah, Cheers for that :)

Was wondering though, has anyone ever given one of these a run as an antweight controller. I can see them being similar to the Baby-o due to them both using the ATmega328 and I could break 3 of them for the price of breaking 1 baby-o.
http://www.ebay.co.uk/itm/Pro-Mini-atme ... 4acfd7211e

Thoughts?
Jonathan Atkinson
Before you criticize another person, first walk a mile in their shoes. Then, when you critisize them, you'll be a mile away and have their shoes.

User avatar
peterwaller
Posts: 3187
Joined: Fri Feb 15, 2002 12:00 am
Location: Aylesbury Bucks
Contact:

Re: Baby O Code

Post by peterwaller »

As far as I can see the ebay one does not have motor drive capability.

User avatar
BeligerAnt
Posts: 1872
Joined: Wed May 15, 2002 12:00 am
Location: Brighton
Contact:

Re: Baby O Code

Post by BeligerAnt »

Peter's right, that's just a clone of the Arduino Pro Mini. The Arduino is simply an ATMega328, crystal oscillator and reset switch. It looks like this one can work off a 12V supply too.
The Baby O includes a motor driver IC which can drive a pair of gear motors.
Note: The Baby O really doesn't like more than 8V and whilst they seem to be OK in short battles I did have one in Wheely Little Cheese which didn't quite pass the "all day at MakerFaire" test.
Gary, Team BeligerAnt

User avatar
bitternboy
Posts: 759
Joined: Sat Jun 06, 2009 7:36 pm
Location: Sheffield

Re: Baby O Code

Post by bitternboy »

Ok, makes sense; I'll get myself a Baby-O.
The Baby O really doesn't like more than 8V
That's a bit worrying, the spec on the pololu website says it takes 5-13.5V :-?
I'll go easy on it :P
Jonathan Atkinson
Before you criticize another person, first walk a mile in their shoes. Then, when you critisize them, you'll be a mile away and have their shoes.

Post Reply