Mars Rover 6WD

by Bo Jack Murdock in Workshop > 3D Printing

2452 Views, 21 Favorites, 0 Comments

Mars Rover 6WD

884AA561-9D98-4312-9179-B890D7D05394.png
ABBF8FD6-6E1C-4F07-A970-35DF316C51AE.jpeg
B4E8A3D9-173D-4518-8BF4-2BD91276CCF8.jpeg
EFB7D493-27F0-4D8C-9388-E0CEAC0A5B63.jpeg

I started this design to become more acquainted with industrial design using Shapr3D on iPad with an Apple pencil, close up DSLR photography, fine tuning Bibo 2 printer configuration, Arduino boards, Arduino CC and C code. There will be a supplied Shapr3D file posted. Shapr3D is free for various platforms. This is a variation of RC Rocker-bogie chassis (Mini martian rover) by Tadziurski posted April 20, 2019 on Thingiverse.com.

Supplies

1D6C83CD-609D-4514-B14F-91A0BD35EECF.jpeg
626FFC92-77B6-493A-831F-07B8F46FD464.jpeg

Print & Prep Parts

D1B93746-0E03-4EB3-9221-242B87134BED.jpeg

Parts to be printed can be found here on www.thingiverse.com.

Print out rover stand, main deck, deck 2, top cover (will require support), 2 x Rockers (one mirrored, use slicing program), 2 x bogies, battery holder-large, battery holder-small, antenna mast, suspension cross bar and light bar mount.

Clean up bolt holes using corresponding drill bit size and precision hand drill for easier assembly. I don’t recommend using a drill or power driver as the speed of bit tends to melt the plastic instead of cutting away the material.

Lightly brush printed parts with acetone to achieve glossy appearance (optional).

Install Rocker & Suspension Cross Bar Axles

96313C65-9FAD-4C8B-AD95-BBC69F1040B8.jpeg
9A763E50-5718-4037-AE58-690C6084E759.jpeg
579D9963-3DD6-42F2-9D21-B57F16E6BABA.jpeg

Install left and right rocker axles to Main Deck using 2 X M5x25mm Flathead Bolts and 2 X M5 nuts using thread-locker to secure nut.

Install Suspension Cross Bar Axle to front of MainDeck using 1 X M4x25mm Flathead Bolt, 1 X M4 Nut and thread-locker.

Mount Arduino Board

30D00CE8-FE86-4F40-BD76-285C10FD3079.jpeg

Mount Arduino Mega 2560 to main deck using 5 X M2.5x14mm Socket Cap Bolts and 5 X M2.5 locking nylon nuts. Skip the bottom left hole in photo. It’s slightly out of line.

Mount Battery Holders

2E1AD860-8D56-4776-8B07-557F2D304AAC.jpeg
E18CB24E-E9F8-47BF-87B7-8F3AAFC53081.jpeg

Assemble large and small battery holders by by using CA Glue to fasten top plates. Glue battery holders in place using CA Glue as shown in photo. Use spring clamps to hold till glue sets for secure hold.

Mount Suspension Cross Bar

8B06F88D-E74A-4EBF-AEE1-0EBA4F2846B5.jpeg

Mount suspension cross bar to front of main deck using 1 X M4 nylon locking nut as shown in photo.

Assemble Header Pin Wiring Harness

2538DABC-B4DE-414B-B4BE-BD2842544740.jpeg
Soldering Header Pins

This step requires building a data wiring ribbons to:

1) Connect 2 X 4-wire ribbons from Arduino Board to control the left and right motor drivers (BTS7960)s.

2) Connect the Arduino to the FrSky RC receiver.

I don’t recommend using breadboard jumper cables “as is” for these connections as there is some wiggle factor between the male jumper pin and the Arduino female header row. This can cause erratic motor control and function. The female end of jumper wire connector, however, does fit snugly on the BTS7960 header pins.

Steps for soldering ribbon to header pins:

1) Take header strip and cut into 2 x 2-pin, 1 x 6-pin & 1 x 8-pin strips. Clean pins with alcohol and cotton swab.

2) Mount strips onto electronics breadboard to steady, by inserting long pins into board. Clean the short pins with alcohol.

3) Snip male end(s) off ribbon wire and strip off 1/4” of insulation and twist striped wire.

4) Place micro drop of flux onto header pin(s) and wire(s).

5) Melt small amount of solder on soldering iron tip and tin each wire(s) and header pin(s).

6) Cut each piece of 2 X 45mm x 2.5mm(O.D.) heat shrink tubing into four equal pieces. Slide a piece of heat shrink tubing onto first wire to soldered. Make sure there is approx. 1” between stripped end of wire and start of shrink tubing, or the tubing will shrink before have a chance to slide over header pin.

7) Solder tinned wire end to header pin and let cool.

8) Slide heat shrink tubing over header pin/wire connection and contract shrink tubing with hot gun, or gently use lighter.

9) Repeat for remaining connections to create wiring harness as shown in photo.

10) Clean flux residue off of header pins and wires with alcohol and toothbrush.

11) Soldering Header Pins Video.

Connect Wire Harness to Arduino Board

4E353CCA-E0D1-46B2-89AA-474A06DFF751.jpeg

Connect wiring harness to Arduino board as shown in photo. PIN numbers are shown in step 6 for further clarity.

Mount Motor Drivers

C9C70B5E-4BD9-42A8-AB59-CB1588F16A8E.jpeg

Mount 2 X motor drivers on Deck 2 as shown in photo using 8 X M3 x 40mm Socket Cap Bolts & 8 X M3 Nylon Lock Nuts. If slightly out of alignment and prevents install of all bolts, re-drill support posts with 3.2mm drill bit.

Assemble XT60 Battery Connector to Motor Drivers

B81F503E-417A-4167-A514-BB511C4BF05C.jpeg

This step will split power from the 1300mah Li-Po battery to both motor drivers. Cut 12AWG wire into 2 X 10” pieces and strip 1/2” off of each end. Using a set of crimpers and 2 X 10-12 AWG yellow crimp connector assemble the power harness as shown in photo.

Mount XT60 Power Connector to Deck 2

3D3E12B6-1CB5-42AF-B782-08CAF569BD14.jpeg

Mount XT60 power connector to bottom of deck 2 using 2 zip ties as shown in photo.

Mount Deck 2 to Main Deck

AD69DB39-9F2E-4525-AD3F-10BBAF03F7F8.jpeg

Feed wired from Arduino board up through center slot of Deck 2 and then mount Deck 2 to Main Deck using 4 X M3x50mm button-head bolts and 4 X M3 locking nylon nuts as shown in photo.

Connect Arduino Control Wires to Motor Drivers

930C93F9-650E-4DF0-824C-E943AD27667A.jpeg

Connect Arduino control wires to motor drivers using the photo from Step 6 for connections reference. Pin assignments are also in the .ino file.

Connect XT60 Power Wires to Motor Drivers

06AA8073-4446-49FB-8551-0310E9FAB4D0.jpeg
D32FA965-658A-4C66-98C2-85F7CB37DEE4.jpeg
0D448AA3-D793-4030-94AC-84359D6130E9.jpeg
48B1EC41-CA4C-4B9C-BC5B-CEFD7CDC1DF8.jpeg

Trim and strip power wires to fit and connect to motor drivers as show in photos. Make sure there is no exposed copper and wire insulation fits snugly against light green power connector on motor driver. Secure wires together with large pieces of shrink tubing. Zip tie cables to Deck 2 to prevent wires wiggling and coming loose at battery power connector on motor driver. See photos.

Assemble Rocker-Bogie Arms

50A9DFBA-B9D0-477D-8166-078F8B6A0AA4.jpeg
614049B8-2C21-476E-9897-10A9DAC59DC9.jpeg

Assemble rocker-bogie arms as shown in photos using 2 X M3x20mm Flathead Bolts, 2 X M3 Nuts & 2 X M3 Nylon Locking Nuts. Remember to use thread-locker on axle nuts as in Step 2. Tighten M3 Nylon Nuts so Bogie Arm doesn’t wobble on Rocker Arm, but loose enough to move freely on axle.

Solder Power Wire Leads to Motors

8E5C6E3B-11FB-41DD-9237-96F1FBAAF3DF.jpeg

In this step you will need to solder 6-pairs of 20AWG 10” power leads to the motor terminals on all six TT geared motors. When mounted on the rocker-bogie assemblies the terminals should be facing out, away from the rover. Latticing indentations should be facing out as well with the bogie arms at rear of rover. Since the polarity of the terminals are not consistent you will need to determine the + and - terminals. Looking at the motor with the terminals facing you will need to determine the proper polarity of connections so that you have three motors that rotate CCW, left side of rover, and three that rotate CW for the right side of rover. Use the small 400mah LiPo battery and the male JST pigtail to determine motor direction. Using the same soldering technique in Step 6 video solder 10” power leads to each motor.

Mount Motors to Rocker-Bogie Assemblies

91093954-7A1F-4228-877F-A99C871BFB53.jpeg



Mount motors to rocker-bogie assemblies using 4 X M3x35mm button-head bolts, 8 X M3x30mm button head bolts and 12 X M3 nylon locking nuts as shown in photo. Strip 1/4” of insulation off the end of each wire and then join like positive and negative leads together using heat shrink tubing or electric tape. Twist the striped copper wires together for future connection to the the BTS7960 motor drivers.

Mount Top Cover

E4E4FBB9-6721-40AD-BBF7-5EAEACCAE917.jpeg

Using CA glue mount antenna mast to rear of top cover. Using the bolts that came with light bar, mount light bar to light bar mount. Feed light bar wire through slotted hole at front of top cover and the up through hole at rear of top cover. Feed wires from Arduino pins 7, 8 & GND through rear hole on top cover. Photo shows an additional 3-wire servo connector for optional RGD LED strip. Mount light bar mount and top cover to deck deck 2 using 4 X M3x50mm button-head bolts and 4 X M3 nylon locking nuts.

Mount RC Receiver

472D3F27-E312-49F1-A416-9C65E86088D3.jpeg
0E853B52-8F75-4AAA-A227-6A80A63583E8.jpeg
C958F1FA-CD24-4653-BDB3-E3CA4F5B8740.jpeg

Mount RC receiver to rear of top cover using 1 X 1x1-1/2” piece of hook & loop adhesive tape. Mount antennas to each side of antenna mast using two small drops of hot glue for each antenna. Connect the following Arduino pin wires: GND, 7 & 8 to RC receiver. Connect light bar to channel 5. Connect RGB LED light strip to channel 6 (optional). Mount optional RGB LED strip to underside of main deck using hot glue as shown in photo.

Assemble Power Wire Harness

883C34AF-10F8-4F0A-904A-286DB8196669.jpeg

Using soldering and heat shrink tubing techniques, solder all positive leads and all the negative leads together using 1 X JST male power connector, 1 X JST female power connector & 1 X 5.5mm female barrel connector. The harness in photo shows one extra pair of JST connectors between the shrink tubing and barrel connector. This connection is not necessary for this project.

Mount Rocker-Bogie Assemblies to Main Deck

9BABB1AB-14F6-4288-888A-2EE47FD1C7C2.jpeg

Place rover on stand And mount rocker-bogie assemblies to main deck using 2 X M5 nylon locking nuts. Tighten bolts tight enough to remove wobble, but loose enough to move freely on axle.

Build Suspension Tie Rod Assemblies

EFE7805B-71D2-43C1-950B-B569CD13E99C.jpeg
C62F86F0-2DC4-4972-8164-46DF8A53E856.jpeg
B73B0A00-DE08-4D45-B0E5-E4146FD6B28A.jpeg

Using a pair of vice grips, a rotary tool with cutting disk and eye protection cut the socket heads off of 2 X M3 x 12mm socket head bolts. Cut enough off of the ends of tie Rod connectors so that when put end to end they measure 36mm as shown in photo. Connect tie rod connectors end to end by screwing newly created threaded Rod into center of tie Rod end. Flat surface of brass link rod ball joints must be rotated 90 degrees away from each other.

Mount Suspension Tie Rods

E9853B02-9842-46C3-937C-8FFA9927E57A.jpeg

Bolt a suspension tie rod assembly to each end of suspension cross bar using 2 X M3x14mm button-head bolt and 2 X M3 nylon locking nut. Bolt the other ends of tie rod assemblies to front of rocker arms using 2 X M3x20mm socket cap bolts and 2 X M3 nylon locking nuts.

Upload Code to Arduino Board

1) Download Mars_Rover_Mega_Working.ino

2) Install Arduino Create Agent.

3) Go to https://www.arduino.cc/ and create account.

4) Login and open Web Editor by selecting the 3x3 dots button in upper right hand corner of screen.

5) Select New Sketch button.

6) Rename new sketch to "Mars Rover Mega Working" by selecting triangle on sketch name.

7) Select triangle again and select Import File Into Sketch.

8) Navigate to the Mars Rover Mega Working.ino you downloaded earlier and select Open.

9) Verify and Save new sketch by selecting the "check mark" button.

10) Use the select Board and Port drop down menu to select Arduino Mega 2560 with proper com port (port number varies from computer to computer depending on computer config).

11) Upload and Save by selecting the "right arrow" button.

12) Unplug USB when complete.

Mars_Rover_Mega_Radio_Test.ino can be loaded with USB cable to load only enough of the code to test/verify radio communication by o showing results on the serial monitor within Arduino Web Editor. It will not allow motor function.

Bind RC Receiver to Radio

Insert small 400mah battery into small battery holder and power up receiver by connecting small battery to receiver using power wire harness. Connect battery to receiver pins as shown in photo of step 18. Bind Taranis radio and receiver as outlined in X8R manual. If not using Taranis Tx/Rx pair, refer to your equipment manufacturer for binding instructions.

Power Up Motor Drivers

Place rover on stand. Connect small battery to receiver using JST connector. Connect the Arduino board using the barrel connector on harness. Power up transmitter and place left joystick in middle position. The left joystick controls the forward and backward movement. The right joystick will rotate the rover CW or CCW. Note: Left joystick must be in center position before you can rotate the river with right joystick. Insert large battery into battery holder. Connect large battery to motor drivers using XT60 connector. Verify correct motor operation and direction on stand before placing on open surface. Have fun!