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
Create TinkerCAD and Code
- Create the wiring on the TinkerCAD website and wire the board to look like the photo above.
- Write the code as that follows the attached link.
Downloads
Wire Physical Board
- Connect the 5v to the positive and ground to the negative space of the bread board.
- Connect the bottom positive to the top positive and connect the bottom negative to the top negative.
- Connect the servo motor left column to 3, connect middle to positive and finally connect last column to the negative.
- Place ultrasonic distance sensor connect Vcc to positive, Trig to 5, echo to 6, and GND to negative.
- 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
- 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.
Build Chassis
To build the chassis,
- Attach two 6x6 plywood sheets together to make a 6x12 rectangle.
- Place a sheet in the middle of the two sheets glued together for stability and support
- 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.
- Disregard the triangle of material on the back side, it is not necessary for operation.
- ( not pictured ) 2 evenly placed holes on each side of the supporting plywood pieces for the axels eventually to go through.
Build the Arm
To build the arm:
- create the square platform, with two angled supporting pieces at the bottom corners.
- attach a diagonal arm with the supporting base
- attach the supporting base for the servo motor: platform underneath the bucket.
- attach bucket to diagonal arm
Attach Wheels and Axle
To create the axels:
- make a slit in the straw to ensure it fits into the hole on the Arduino wheel (only if necessary)
- attach the straw to the wheel, do this to both wheels
- connect the straw/wheel combos to each side of the servo motor to ensure the axel is going to turn.
- 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
Attach Arduino Board to Chassis
Place the Arduino board on top of the chassis, connect all wires and ensure it is good to run.
GO!
To run the rover:
- Line up car where the basket is straight ahead.
- Set the car on the ground
- Press the button
- Watch it go
- Reset and repeat.