gRover Robotics Platform

This is gRover, the Grove-Platform Rover; it is a general, all-purpose rover for house exploration.

Foreword:

This page is a bit of a mess, I'll admit. The PDF file attached is much neater and contains much more information about the project than this page's text does. For more pictures, see the gRover Flickr Photoset. This rover build uses parts graciously provided by Seeed Studio.

Description:

I purchased an RC car from the thrift store for $2. It had no remote control to go along with it, but it did have a 4.8V Ni-Cad battery pack, a chassis, a steering motor, and a drive motor. While the 4.8V Ni-Cad battery does not have enough voltage to power the I2C Motor Driver (it may be useful in another project), the motors and chassis provide a great base for a robot.

Features:

To me, this build was more about making a framework that other users could utilize to easily use the Grove platform to make a rover. I created gRover with the following (easily-modifiable and easily-expandable) features:

  • Autonomous Mode: Drive the rover around autonomously using the on-board sensors for guidance
  • Remote Control: Drive the rover around with commands sent over the serial port (currently non-functional, as it interrupts I2C. A Bluetooth Twig using NewSoftSerial should work well.)
  • Cat Spooker: Lie in wait until a cat approaches, then make some noise and start Autonomous mode (This can be replaced with something more interesting. I'm open to suggestions)
  • Cat Taunter: Make a noise every 15 seconds while there isn't a cat in the area. (Ditto)
  • Motor Test: Run a test of the motors connected to the I2C Motor Driver Twig
  • Sensor View: Get a live view of sensor data on the OLED Display

Parts:

Qty

Part Name

SKU#

1

R/C Truck

1

Arduino (or Arduino Clone)

1

Battery Box (Output: 8-15V)

1

Stem – Grove Base Shield

SLD12148P

1

Twig – OLED Display 128x64

OLE35046P

1

Twig – I2C Hub

ACC53133P

1

Twig – I2C Motor Driver

ROB72212P

1

Twig – I2C Touch Sensor

SEN51153P

1

Twig – Sound Recorder

SEN71254P

1

Twig – Buzzer

COM22458P

1

Twig – PIR Motion Sensor

SEN32357P

1

Twig – 80cm Infrared Proximity Sensor

SEN39046P

1

Twig – 3-Axis Accelerometer

SEN21853P

2

Twig – Chainable RGB LED

COM53140P

1

Twig – Sound Sensor

SEN12945P

1

Twig – Vibrator

ROB51043P

3

Grove – Universal 4-Pin Cable (5 ea)

ACC113170

Part Usage: The Twigs perform the following tasks:

  • The 3-axis Accelerometer Twig helps track the rover's movements, and can be used to tell if it is standing still (despite motors turning) (not currently implemeted into Auto Mode)
  • The OLED Display 128x64 Twig and I2C Touch Sensor Twig are used as a User Interface, mounted on the top of the robot (or under a clear polyurethane shell for weatherproofing). The Vibrator Twig is used as tactile feedback for the I2C Touch Sensor Twig's buttons, (also known as “feelers”) which aren't physical buttons but actually touch sensors.
  • The Buzzer Twig is used as audible feedback in addition to the Vibrator Twig's tactile feedback, and can be used for sound effects if the Sound Recorder Twig isn't used.
  • The PIR Motion Sensor Twig is set to a fairly short range, and is used to either detect obstacles, or (in some cases) wait for obstacles (like cats!) to approach it.
  • The 80cm IR Proximity Sensor Twig is used to detect obstacles ahead of the rover.
  • The Sound Recorder Twig has various sounds recorded, such as a monster-truck engine and a car horn.
  • The Chainable RGB LED Twigs act as pseudo-Police flashing lights (with two RGB LEDs, flashing in a red/blue pattern)
  • The Sound Sensor Twig is used to control the robot by clapping. (Not currently implemented into Auto Mode)
  • The I2C Motor Driver Twig is used to control the drive and steering motors in the RC car.

Downloads:

For more information, please see the attached PDF file. The code (which is ~1850 lines long, including lots of comments) is attached as a ZIP file.

The code is CC BY-SA licensed to the extent possible, given that the code has minor sections taken from example code from the Seeed Studio wiki (links are available in the PDF and in the code headers), and for the Touch Sensor Twig, from Rory Nugent (cited in the code).  If I have missed a citation, please let me know.

The documentation PDF is CC BY-SA.

gRover Robotics Platform
AttachmentSize
GRoveR.zip v1.0: Arduino .PDE and relevant files52.58 KB
gRover.pdf v1.0: Step-by-step instructions, API Guide and How-To282.34 KB

Trackback URL for this post:

http://erroraccessdenied.com/trackback/1691

Reply

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <b> <i> <u> <cite> <ul> <ol> <li> <dl> <dt> <dd> <blockquote> <br> <p> <img> <pre>
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.
  • Lines and paragraphs break automatically.

More information about formatting options