Freeduino Rover


– Rover chasis from RobotShop.ca

– Freeduino from MaxSerial

– Solarbotics motors

– still have the Lego NXT I2C communication cable connected

– IR receiver from a toy

… still building it…

FreeduinoRover2

While building it...

Under the hood

Under the hood

I all of a sudden started to have issues with the MaxSerial Freeduino: it would constantly and spontaneously AUTO-RESET, whenever the RS232 cable was NOT plugged in…

I finally found the solution after some search on the internet, MANY THANKS to SPIFFED for it:

“If you transmit data, while the DB9 shield is unterminated, any activity radiates energy through the shield and into the RX and DTR lines. Since they’re normally pulled low on the RS232 side, transmitting a ‘0’ sends the TX line high, which radiates a high into the DTR and RX lines, the MAX232 inverts this into a low pulse on the reset line, and the chip resets. The solution is simple, connect the DB9 shield to the arduino’s ground, the easiest way is with a short wire/jumper between pin 5 of the connector and the adjacent mounting lug. It’s likely non-kosher to terminate the shield on the DCE end, but it shouldn’t do any harm.

“…RS-232 cable attached via a USB-to-Serial adapter…”   Perhaps the USB-to-Serial adaptor is either leaving the shield unterminated or terminating it with a non-trivial impedance to ground.

“…or when the there is no cable attached at all”     In this case nothing was terminating the shield.”

It really worked well for me, and you can see the shorting wire between Pin5 and the lug.

FreeduinoRover3

“Nasty” problems with the Pololu motor controller… I first used the “low voltage” onethinking that my small motors will need more than 1A each (this “low voltage” version supports up to 5A).

The problem is that when I finally installed it and made it work, I connected it to 9V without realising that the max was 7V !!! Some nice blue smoke resulted, and I had to writedown 40$ losses…

I reordered it, but they didn’t have it in stock (Pololu’s customer service is the best I’ve ever seen… very very helpful and QUICK !) so I ended up with this version which supports higher voltages but only 1A per motor… It turned out his is more than enough, I did some measurements and it never uses more than 200mA !

I actually spent around half a day on making this controller work… don’t worry it’s very easy to use, but ignoring the user’s guide is never a good idea… 🙂  I actually (don’t ask why, there’s no logical reason…) didn’t use the RESET line… It has to be connected and HIGH, otherwise randomly and constantly resets the controller… Once I realised this, everything went smoothly !

FreeduinoRover4

A few months,  one move from NYC to London and another Pololu motor controller burnt later…

FreeduinoRover5FreeduinoRover6FreeduinoRover7

_____________________________________________________________________

Here’s the LB1836 based Pololu serial motor controller:

General specifications

Motor driver: LB1836
Motor channels: 2
Control interface: non-inverted TTL serial1
Minimum operating voltage: 1.8 V
Maximum operating voltage: 9 V
Continuous output current per channel: 0.5 A
Peak output current per channel: 1 A
Maximum PWM frequency: 600 Hz2
Minimum logic voltage: 2.5 V
Maximum logic voltage: 5.5 V
Reverse voltage protection?: N

Notes:

1 Autodetects baud rates between 1200 and 19,200 bps.
2 750 Hz when controlling only one motor.

LB1836 based Pololu serial motor controller

Advertisements

One Response to Freeduino Rover

  1. FabricePubilier says:

    OMG, didn’t realized I should have to bring some electronic spare parts to make friend with your babies!
    I’m expecting soon you’ll be posting things like that attached to your robots: http://fr.youtube.com/watch?v=Jd3-eiid-Uw

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: