MiniFRC Power Up Dumpy McDumpsterface Tutorial

by The_Overlord in Circuits > Robots

1139 Views, 3 Favorites, 0 Comments

MiniFRC Power Up Dumpy McDumpsterface Tutorial

Full robot.JPG
MiniFRC 5: POWER UP Teaser

Tutorial for Dumpy McDumpsterface, a MiniFRC Power up robot!

Materials:

- Chassis material of choice (needs to be at least 7in by 5in ~1/4in thick)

- 1 sheet of dollar store foam core

- 4 motors

- 4 wheels

- 1 arduino uno

- 1 arduino motor shield

- 1 6 AA battery holder

- 1 9 gram servo

- 1 bamboo skewer at least 3 1/2in long

- 6 AA batteries

- 1 HC-06 bluetooth chip

- 4 female headers

- wires to solder to motors

- wires for bluetooth chip

Tools needed:

- soldering iron

- hot glue gun

- hot glue sticks

- small phillips head screwdriver

- box cutter or x-acto knife

If you have any questions email me at: tklemmer19@rthighschool.org

Prepare Your Chassis

chassis.JPG
91062F50-0BAE-42D9-A9B0-D9530C372ACB.jpeg

1. Choose your chassis from a material ~1/4in thick. In this tutorial I made my chassis from foam core because that was the only material I had on hand. Do NOT use foam core for your chassis.

2. Cut the chassis into a 7in by 5in rectangle.

Make the Dumper Holder

front holder.JPG
0B66DA40-250F-4C45-A95E-8BED79F66756.jpeg
01DEBA41-D4CB-4EC6-9485-55D7E3526794.jpeg
92AFBC4D-797B-4F9B-B4FF-88FA3DDFEBDC.jpeg

1. Cut two 5in by 2 1/2in rectangles out of foam core.

2. Glue the two rectangles together.

3. Glue the dumper holder onto the front of the chassis. (one of the 5in sides)

Make the Dumper Holder Supports

dumper holder support.JPG
83F80442-90EB-4832-8316-82CD5B7E51E4.jpeg
987270A7-AC72-4C04-BA8C-076C0AFE2269.jpeg

1. Cut two triangles with side lengths of 2in by 2 1/4in.

2. Glue the triangles to the chassis ~1/4in - 3/8in from the outside edge of the chassis. (2in side on to the dumper holder, 2 1/4in side onto the chassis)

Make the Dumper

dumper top view.JPG
dumper side.JPG
dumper back.JPG
77A995B5-5BAE-47FD-9D18-A7D1BD081C17.jpeg
40EEED93-8C39-4CE1-ADFA-C6FE5F4A9562.jpeg
165BE94A-BA61-4C1B-9570-32625EF0C235.jpeg
C84A3285-76D7-4BF4-AE9C-3FE2EA095E4F.jpeg
AD156B1B-5CE6-4397-B63E-8B47E36EC724.jpeg

1. Cut one 6in by 6 3/4in rectangle out of foam core. (Base)

2. Cut two 1 1/2 in by 6 3/4in rectangles out of foam core (Side)

3. Cut one 6in by 1 1/2in rectangle. (Back)

4. Glue the two side pieces to the 6 3/4in side(s) of the base rectangle. (one on each side)

5. Glue the back piece onto the backs of the other wall pieces.

Attach the Dumper to the Dumper Holder

hinge view.JPG
9C18D29A-AF31-41DA-9DC2-4398771AE074.jpeg
94FB2F7B-8F68-4DB5-BB18-59E2728184BD.jpeg
710D3119-A7D6-4DE1-864C-8B7D05A5C225.jpeg

1. Line up the front of the dumper to the center of the dumper holder.

2. Use packing tape to attach the top of the dumper (where the cube will sit) to the front side of the dumper holder.

3. Use packing tape to attach the bottom of the dumper to the back side of the dumper holder.

4. line the inside of the dumper with packing tape to create a smooth surface for the cube to slide along.

Insert the Battery Holder

batery pak place.JPG

1. Glue the battery holder in between the dumper holder supports.

2. Put 6 AA batteries into the battery holder.

Put the Arduino Into Place

arduino placement.JPG
BAF46889-83D0-4932-9B96-560FD54CD257.jpeg
batry holr mod.jpg

1. Use a piece of tape wrapped around itself and stick it to the arduino.

2. Line up the side of the arduino with the side of the battery holder and the back of the arduino with the front of the battery pack.

3. Make sure that the barrel connector from the battery pack an reach the black power port on the front of the arduino.

3a. If the barrel connector does not reach, trim the thin plastic surrounding the wires coming from the barrel connector. This should allow for the wires to bend enough to reach the black power port.

Wire the Bluetooth Chip

9fd876dc-7352-4085-8443-3f775a8a1233.jpg
port colors.png
board wit wires.jpg
chip wit wires.jpg

1. Solder a female header into analog pin 0 (green circle)

2. Solder a female header into analog pin 1 (purple circle)

3. Solder a female header into the ground port (brown circle)

4. Solder a female header into the 5 volt port (red circle)

5. Connect a wire from the VCC (voltage) pin on the bluetooth chip to the 5+ port (red circle) on the arduino.

6. Connect a wire from the GND (ground) pin on the bluetooth chip to the ground port (brown circle) on the arduino.

7. Connect a wire from the TX pin on the bluetooth chip to analog pin 0 (green circle) on the arduino.

8. Connect a wire from the RX pin on the bluetooth chip to analog pin 1 (purple circle) on the arduino.

Connect the Motor Shield to the Arduino

shield line up.jpg
shield on board.jpg

1. Line up the pins on the motor shield with the female header ports on the arduino.

2. Softly push down until the pins on the motor shield are all the way into the female header ports on the arduino.

Prepare the Servo

0A8B69A4-E14B-4875-A3BF-F47A63A3AD7A.jpeg

1. Screw the servo horn onto the servo.

2. Cut a bamboo skewer to 3 1/2in.

3. Glue the bamboo skewer to the servo, but make sure not to cover the screw.

Attach the Servo

servo place.JPG
image.jpg

1. Line up the servo 1/2in from the right side of the robot (opposite the arduino)

2. Line up the servo 3in from the back of the robot.

3. Glue down the servo

4. Plug the servo into the port labeled SER1 on the motor shield, make sure the brown wire is closest to the edge of the motor shield.

Solder the Motors

stripped wire.jpg
wire hook.jpg
motor w wire.jpg
strain relife.jpg

1. Cut 8 pieces of wire ~6in long. (preferably 22 gauge solid core wire)

2. Strip ~1/4in off of each end of all the wires.

3. Create a "hook" from the exposed wire on one end of each wire.

4. loop the "hook" through the hole on the copper "ear" coming from the motor.

5. Solder the wire into place. Each motor should have two wires, one on each side.

6. Repeat for all other wires.

7. loop the wire to the other side of the motor and secure it in place with a ziptie. (reference picture)

Attach the Motors and Wheels

motors on boi.jpg

1. Glue down each motor, motor ear/wire solder spot facing in, flush against the side and ~1in in from the front and/or back side.

Connect the Motor Wires to the Motor Shield

wires in ports.jpg

1. Put both the black wires from the two left motors into the left side of motor port 1 (M1)

2. Put both the red wires from the two left motors into the right side of motor port 1 (M1)

3. Put both the black wires from the two right motors into the right side of motor port 2 (M2)

4. Put both the red wires from the two right motors into the left side of motor port 2 (M2)

Download the Software You Need

minifrc1.jpg

1. Download the software package from: This link

2. Follow this tutorial to get set up.

Make sure to download the SimpleSoftwareServo Library.

Make sure to download the code named "DefaultBotServo.ino"

Programming the Arduino

servo.gif
fig.1.JPG

1. Open the code titled "DefaultBotServo.ino"

2. Find the line of code pictured above. (you might have to click on it to see it)

3. Change the 0 in the parentheses to a 95. This changes the position where the servo stays at (neutral position), unless the button is pressed.

Uploading Code

68747470733a2f2f696d616765732e696e646965676f676f2e636f6d2f66696c655f6174746163686d656e74732f3936383239392f66696c65732f32303134313032393036333834312d706c75672e706e673f31343134353839393231.png
Screenshot (14).png

1.Plug in the arduino to your computer with the blue cable.

2. On the "tools" tab in the arduino software, hover your mouse over the "port:" option. A list of ports named COM with a random number should appear.

3. Select the port labeled with "(Arduino/Genuino UNO)".

4. Upload your code.

5. If no ports are labeled with "(Arduino/Genuino UNO)", try selecting each COM port and attempt to upload until it works.

6. After code is uploaded, unplug the blue cable.

Connect to Your Robot Over Bluetooth

MiniFRC Tutorial aka Easy Bluetooth Arduino Robot!

Watch the video (start at 12:24, end at 21:54) on how to connect to your robot. The video will also show how to change motor direction to make sure the robot drives correctly.