Arduino Nano Powered 3D Printed Robot Car.

by shannonlazenby73 in Workshop > Electric Vehicles

932 Views, 3 Favorites, 0 Comments

Arduino Nano Powered 3D Printed Robot Car.

IMG_20220424_192754.jpg

Arduino Nano powered Robot Car. This is an instructable on how to make a 3D printed electric car. The inspiration and supporting documentation and files were found on "Robot arduino 3D print" by the user xoxu on thingyverse.

https://www.thingiverse.com/thing:1582398

https://github.com/drachezoil/Mindlab-robot

Supplies

IMG_20220216_163532.jpg
schematic.png
nanopinout.png

The supplies list for the Robot Car is as follows:

Arduino Nano

Motor Controller

9v battery with clip

Ultrasonic sensor

2 DC motors with wheels

DuPont cables

Remote Control with IR receiver

LED lights

3D printed chassis (file on thingyverse)


Some other optional parts I used to complete the build were:

Hot Glue and lots of it

Button switch to control power

Patience

The pinout and scematic were part of the github files linked in the intro.

Starting Build: Outer Chassis

IMG_20220424_135204.jpg
IMG_20220424_140131.jpg
IMG_20220424_140352.jpg
IMG_20220424_140717.jpg
IMG_20220424_141239.jpg
IMG_20220424_141401.jpg
IMG_20220424_141904.jpg

First, I assembled the robot onto a breadboard to verify connections and power. Afterwards I shortened all the wires needed internally so that they would fit. I started with soldering and completed the wheel/motor assembly and power switch jig before switching to hot glue due to ease of use and speed. After connectors were at the proper length I started with internal assembly.

I hot glued the LED lights and Ultrasonic sensor on to top chassis, and the back wheel onto bottom chassis.

I assembled the batter and power jig. I changed this layout later on as I needed more room internally.

I assembled the drivetrain routing wires as needed.

Installing the Nano and Motor Controller

IMG_20220424_153300.jpg
IMG_20220424_142303.jpg
IMG_20220424_142525.jpg
IMG_20220424_144420.jpg
IMG_20220424_145200.jpg

Next, I fitted the Nano and Motor controller into their final positions. Space inside is my biggest concern so I decided to hollow out wire runs in the bottom chassis to facilitate space management. I used a torch and small flat head screw driver and it worked very well!

Ch-Ch-Ch-Changes

IMG_20220424_171640.jpg
IMG_20220424_163824.jpg
IMG_20220424_164107__01.jpg
IMG_20220424_165046.jpg
IMG_20220424_165145.jpg

Soooooo, after I got the car fully assembled I noticed that the fit was still very, very tight and I was not happy with the amount of friction and lack of any airflow. Also, after just assembling it once the button broke at the wire connectors because of the lack of room so no more working button for me. It was more than just a little dissappointing because my other robot built in the previous class had a button top hat as well and I wanted to continue the tradition. I kept the button pieces and glued them back in honor of the top hat button, I did leave the button askew as to give the illusion of speed and movement to the static sculpture.

So I decided that If I had reached the limit of space inside, the only way to go was up. I drilled the top of the chassis and used a file to smooth the edges until I got the perfect friction fit for the battery. Absolute perfection. Sometimes having to fix something leads to a better outcome and this is one of those times.

Do You Know the Ro-Code?

IMG_20220424_192900.jpg

Time to code the Car. Fire up arduino IDE and feed your robot. The files used for this project can be found in their entirety through the Thingyverse link I have posted in the introduction of this project. The actual link to the github page for files can be found here. https://github.com/drachezoil/Mindlab-robot. The code will need some tweeking depending on the actual pinouts on your nano and motor controller. Also, there are a variety of code you can experiement with that would work for this robot!