Introduction: RoverRobot

A robot that will drive a certain distance until it senses the cargo deposit location using an ultrasonic distance sensor. Once the location is sensed, a servo motor will be used to open the cargo holder, allowing it to drop into the bucket.

Supplies

Arduino uno 

Breadboard 

Wires 

Ultrasonic distance sensor 

Servo 

2x Hobby gear motor 

H-Bridge motor driver 

6x6 Plywood squares

Hot glue

Plastic lid

Step 1: Create TinkerCAD and Code

  1. Create the wiring on the TinkerCAD website and wire the board to look like the photo above.
  2. Write the code as that follows the attached link.


Step 2: Wire Physical Board

  1. Connect the 5v to the positive and ground to the negative space of the bread board. 
  2. Connect the bottom positive to the top positive and connect the bottom negative to the top negative.  
  3. Connect the servo motor left column to 3, connect middle to positive and finally connect last column to the negative.  
  4. Place ultrasonic distance sensor connect Vcc to positive, Trig to 5, echo to 6, and GND to negative. 
  5. Place a push button over the bridge which means put it in between the top and bottom of the bread board. Connect the left pin to negative and right pin in 2 
  6. Put an H-bridge motor driver over the bridge connect it to both motor one being in top and one on the bottom. Connect the bottom side to the bottom positive and negative and do the same but with the top. 


Step 3: Build Chassis

To build the chassis,

  1. Attach two 6x6 plywood sheets together to make a 6x12 rectangle.
  2. Place a sheet in the middle of the two sheets glued together for stability and support
  3. Attach two half sheets to each side of the 12'' side of the base, perpendicularly. these will be the support for the axle and wheels.
  4. Disregard the triangle of material on the back side, it is not necessary for operation.
  5. ( not pictured ) 2 evenly placed holes on each side of the supporting plywood pieces for the axels eventually to go through.

Step 4: Build the Arm

To build the arm:

  1. create the square platform, with two angled supporting pieces at the bottom corners.
  2. attach a diagonal arm with the supporting base
  3. attach the supporting base for the servo motor: platform underneath the bucket.
  4. attach bucket to diagonal arm

Step 5: Attach Wheels and Axle

To create the axels:

  1. make a slit in the straw to ensure it fits into the hole on the Arduino wheel (only if necessary)
  2. attach the straw to the wheel, do this to both wheels
  3. connect the straw/wheel combos to each side of the servo motor to ensure the axel is going to turn.
  4. place the finished wheel system to the inside of the chassis, sliding the straw through the hole in the side, leaving the wheels on the outside

Step 6: Attach Arduino Board to Chassis

Place the Arduino board on top of the chassis, connect all wires and ensure it is good to run.

Step 7: GO!

To run the rover:

  1. Line up car where the basket is straight ahead. 
  2. Set the car on the ground  
  3. Press the button  
  4. Watch it go 
  5. Reset and repeat.

Step 8: Explanatory Video