Let's Make Robots!

Boe-Bot with Arduino Pro Mini

Navigate around with Ultrasound, obstacle avoidance

BoeBot Arduino Pro Mini

I finally decided to clean the dust off the Parallax BoeBot and decided to replace the BoeBot’s microcontroller (Basic Stamp 2) with the Arduino Pro Mini. Here are the two microcontroller boards. They are pin to pin compatible as you can see below. The Arduino board is a drop-in replacement for the BS2.

I picked the 5V, 16MHz, ATmega 328 version (make sure to use this version 8MHz won't be fast enough). My Arduino Pro Mini board did not come with the headers or 6 pin connector for serial interface. I had to manually solder those myself. So get your iron hot and ready to solder,

 

How to program the Arduino Pro Mini, the BoeBot’s serial interface does not work to program the Arduino. Therefore, you would need a USB to serial adapter such as FT232RL or the CH340 like the one I got. Make sure you get driver for your USB to Serial adapter so that Windows recognizes the serial port.

 

Peripherals:

The Arduino Pro Mini has two pins for I2C connections. I used these pins to connect an I2C 16x2 LCD. Make sure you get the one with the I2C interface board, see back of LCD on picture below.

Ultrasonic Range Finder SRF04 or SRF05, I purchased the SRF05 for my robot.

Peripherals

Tips:

Since I bought my Arduino Pro Mini board on eBay for some reason (perhaps firmware) when I program the board using the Arduino software under Tools -> Boards. I have to select the Arduino Mini w/ATmega328 instead of the Arduino Pro or Pro Mini (5V, 16Mhz) w/ ATmega328

Make sure to test the Arduino board with USB to Serial interface by downloading the blink LED program first. By default there is a onboard LED connected to output pin 13 on the Arduino Pro Mini. So throubleshoot your serial interface.

When programming the Arduino Pro Mini board it must be unplugged from the BoeBot otherwise you would get a communication error message. This is because the serial pins TX/RX are wired to I/O pins on the BoeBot board.

Once the Arduino board is placed on the BoeBot Socket the I/O pins marked on the BoeBot do not match the Arduino. Therefore, you need to use this table below to map the pinout.

There are sufficient pins on the Arduino Pro Mini to do the same jobs that the BS2 could do. In addition, you have the flexibility to port over your Arduino sketches and add sensor or peripherals. The Pro Mini board has extra port and pins that are accessible to connect the I2C display directly on the Pro Mini board, see picture below.

So bring your BoeBot back to life with a new and improved brain!

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Cool! I didn't think the old ones could be so easily recycled. Now I can look for an old BOE bot.
I never realized the pin out situation. Very cool, that means my old BX board and my home built ones can now become pro minis. Good info, thanks for sharing. Stephen

Nice simple mod to extend the life of your BoeBot, cool

Cool way to bring life back into the good old boe bot

-I didn't realise you could just replace the  BS2 with an arduino mini so easily !

I'm still using the boe-bot chassis - now did I throw the pcb board away, or it in the spares box somewhere...?