With the wonders of 3D Printing, we are able to introduce a whole new chassis system for the standard Arduino SmartCar as sold by Ebay and Amazon Dealers. These Smart Cars are for Arduino enthusiasts to learn how sensors, servos, motors, etc work powered by the intelligence of the Arduino Micro-Controllers. It takes lots of time and patience to build this new wonder, so take your time and fully understand the following instructions. The 3D Printed chassis is printed at the highest resolution available and each of the four main parts takes approximately 30 hours to print! The Remote Control Box takes 54 hours!
1) The idea of using Bluetooth so that you can control the car via Smart Phone was limited to people who have Smart Phones, and the Programs that were available for the control were very limited. Unless you are an Android programmer, your options were (very) limited. In addition, the IR remote method is very limiting in distance. This Super SmartCar uses the much longer range NRF24 Radio Transceiver system allowing us to use standard switches, thumb controllers, etc to give us unlimited functionality using Arduino (C+) programming exclusively. This requires a second Microcontroller, but worth the extra effort. Check out this site for specs on the NRF24. It has a normal range of 800 meters or over 2600 feet! These little radios are used a lot on Radio Control Airplanes as well.
2) Many more sensors are used for Collision avoidance, Tracking, etc. Sporting three HC-SR04 Sonar sensors (range from .75 inches/2cm to 157 Inches/4m), one of them on a dual axis gimbal using the much more reliable larger MG995 Servos, One long range Sharp 2Y0A21 Proximity Infrared forward looking sensor (10 Inches/10m to 30 Inches/80m), three IR rear sensors facing 35 degrees away from each other for overlapping coverage thus better obstacle avoidance coverage with a range of .75 Inches/2cm to 12 Inches/30cm and 3 tracking sensors facing down for sensing black track tape. This arrangement can even sense an upcoming staircase and stop the car before it takes the fall!
3) The dual motor MOSFET controllers used by the standard Smart Car's are used with the difference being, we do not share a single (Dual) Mosfet controller among 4 motors, rather, we use TWO dual Mosfet controllers so that each motor has its very own control channel! This allows much more flexibility in programming movement.
4) The Arduino Uno is replaced by the much more capable Arduino Mega 2560. We needed more PWM pins, more digital pins and more of everything and this solved the problem nicely. Using a Keyes Mega Sensor Shield, we can use Dupont Connectors to plug everything in. This gives us better connectivity and less soldering. The second Arduino used on the Remote Control side of things is still using an Arduino Uno and to control things we use a Funduino Joystick Controller Shield. It will do nicely for the time being having a thumb controller with switch for X and Y and 6 button switches for more connectivity. A 3D printed Remote Control Chassis keeps the battery, switch and controller together neatly.
5) The power system sports a 5000mAh 7.4 Volt Lipo Battery for the Super Smart Car, and two 18650 rechargeable batteries for the Remote Control. This combination gives very long service between charges.
6) The design of the new Super Smart Car incorporates a hinged top for easier access to the bottom level where the Mosfet controllers and lower sensors reside. The battery is completely encased in its own battery box and a seperate toggle switch is incorporated into the chassis for easy power-up.
1) Bolt together the Chassis parts. Start with the Black Front and Rear Bottom Pieces. They are made to overlap each other, then 10 3m x 8mm screws hold them together very securely. Do not overtighten! There are nut captures for most of the assembly that can strip out so just make them snug. Tighten them so that they bottom out in the capture space, but no more. The heads of the screws are under the car with the nuts being on top (bottom tier only). Being American, I noticed these metric 3mm nuts have a standard 7/32 hex size. I use a 1/4 drive nut driver handle. The top pieces are held together with 8 of the 8mm length screws and 2 16mm longer ones on each side of the Arduino cavity. The screws are separated in the kit for easy identification. All nuts and screws are 3m x .05mm thread size and all stainless steel.
2) Install the motors. The wires go on the inside and the motors are situated so the wheels are in the center of the wheel well. A metal bracket holds the motor down using 2 30mm long screws through the brackets and then 2 10mm long screws with nuts to hold them down to the chassis as shown. Be sure to mount them so the wires are facing inwards. Two of the motors will have the bracket facing one way, 2 the other because of the left/right orientation. Push the bracket against the wires as far as needed for the long screws to go in. The shrink tubing will protect the wires. Do not put the wheels and tires on just yet.
3) Install the 2 Dual H Bridge DC Motor Drive Controller Boards. We will refer to them as just 'Motor Controllers' from now on. The cavities for them are made so the board only goes in one way due to the pin interference close to the holes. Tighten them down using the provided 4 12mm screws and nuts. Tighten the 4 nuts enough so they go inside the capture area of the chassis but do not over-tighten. Do the same with the other controller. There are two wiring harnesses that come with these controllers. One has a Yellow band around it, the other a Blue band. The Yellow band is for the Front Motor Controller, the Blue for the Rear. No need to connect them yet.
4) Push the keyed Wheels/Tires on the motors. Watch how they are keyed and they slide on for a snug fit. With the Wheels on the motors, ensure the wheels are perfectly straight in the wheel wells. If they are pointing slightly off, loosen the chassis motor mounting screws and adjust, then re-tighten.
5) Install the front IR Tracking sensors. These are the three sensors with the IR LED's facing downwards. They go in so that the IR LED's go down into their respective holes in the bottom of the chassis. Use the 3 10mm nuts and bolts to secure. With these three sensors there is three wiring harnesses. Plug one end of each harness into the sensors observing proper orientation and leave the other end loose for now. The A0 connection at the sensor is not used. Be sure to use the DC Electricians Rule #1 when installing wiring. These wires are long because they need to stretch to the front of the car even when the hinged top is open.
6) Install the rear facing IR sensors. These are the three sensors with the IR LED's facing outwards. Each one provides collision avoidance in
a different zone in the rear of the car. Use the provided 3 10mm nuts and screws to secure. Have the harnesses close by but perform the next step before
plugging them in. Do not try to tie the wires down yet because they are routed in a special way.
To finish up the Motor Controllers, hook up each motor to the Motor Controllers. Since it is DC, the penalty for hooking up these motors backwards
is, they run backwards! That can be fixed in the software, but let's do this right. The terminals on the controllers that are facing the motors are the
ones we will use to connect them. Do not over-tighten those terminal screws! They just need to be snug.
Front Motor Controller:
Drivers Side (left) - Red is in the front then Black behind it.
Passenger Side (right) - Black is in the front then Red behind it.
Rear Motor Controller:
Drivers Side (left) - Red is in the front then Black behind it.
Passenger Side (right) - Black is in the front, then Red behind it.
7) With the top chassis pieces bolted together properly, install the hinge frame on the underside of the top chassis assembly. Use the provided 4 16mm screws and nuts in their capture configuration. Install the two chassis pieces together at the hinge assembly meshing the two pieces together, then securing with the provided hinge bolt. Notice that one side of the bottom chassis hinge has a threaded hole. Slide the bolt in from the other side, then rotate the bolt to keep it in place.
Install the 6 1.75 Inch/4.5cm Aluminum Standoffs (3 on each side of the car) in the larger bottom chassis holes using the provided Phillips head screws. Only fasten to the bottom of the Car so we can use the Hinge unimpeded for now.
8) Install the wiring harnesses for the bottom rear IR sensors. Install the harnesses as before but this time, route the wires up through the left (drivers side in America) rear hole, through the holes in the battery box to the Arduino Mega Cavity. This is the only route where they are long enough.
Install the Front Fascia. Install the Sharp IR Forward Proximity Sensor in its slot in the center of the front fascia. With the connector facing up, secure with the 2 20mm screws and nuts that are provided. The 2 16mm screws are with the Fascia that go down into the bottom chassis assembly. Tighten them when you have everything nicely aligned. Once bolted down, snap in the two HC-SR04 Sonar sensors (the sensors that are looking at you!). They snap fully into place without much effort.
10) Install the Arduino Mega 2560. Do not install the Shield yet. You need to use the 6 provided 2.5m x 20mm screws and nuts to fasten down the micro-controller to the chassis. Install the wires going to the LED through the battery cover holes. Keep in mind once you install the shield the battery cover holes will be harder to access. (not impossible)
11) Slide the NRF24 Transceiver into the slot in the rear tower so that the antenna connector rests on the rear edge. With the need for doing a lot of opening and closing of the chassis during assembly, no need to install the antenna yet. Connect the harness to the NRF24 so that the red and black wires are pointing towards the left side of the car. Route the cable over the Battery Box directly to the Arduino. Instructions on how to hook it up are forthcoming.
12) Install the battery so that the battery poles are facing towards the right side of the car, then slide on the cover. The holes in the cover coincide with the holes in the battery. Connect the Battery cables to the battery by pushing them into the battery. Positive is in the front, Negative in the rear, then there is a charging sense wire in the middle. You will use this to plug in the special charger so it can determine how to balance charge the two cells differently for a full charge.
13) Install the Switch Harness. Put the wires from the harness down into the right side hole first then push the switch into the right side rear hole so that the keeper is oriented forwards. It clicks right in. Route the battery connections back through the left side rear hole and up to connect to the battery, but do NOT connect it yet. The two soldered ends, one Red for Positive and the other Black for Negative or Ground go to the closest (rear) Motor Controller as shown.
14) Install the two wire short jumper. The short red and black jumper go between the Motor Controllers to provide power to the second Motor Controller as shown. With the two jumper wires connected, you also need to connect the Arduino Power Harness to the forward Motor Controller to the same connections. The 90 degree connection goes to the Arduino.
15) Install the Arduino Sensor Shield. VERY carefully ensure all of the pins are properly aligned and push the sensor shield all the way into the Mega. Use a small flashlight to ensure all of the pins are properly seated. There are several different Mega 2560 Sensor Shields but they all work relatively the same. The Arduino Mega 2560 has 53 Digital Pins and 15 Analog Pins along with various Power Pins for 3 volt, 5 volt and up to 12 volt power input. It is very important that we do not connect our power incorrectly or we will have an instant puff of smoke and something will be damaged. If you have a shield that has a power jumper on it, such as the Keyes 1.3, remove the jumper. We want this whole project except the motor controllers to be powered through the Arduino.
This is the Sensor Shield's Drawing. Each Pin on the Arduino Mega is represented on this Shield. Along with each numbered pin is a Power and a Ground Pin. This is mainly for convenience because all of the power and ground pins are tied to the 5 volt line. While this works for most of our project, there is one exception and that is the NRF24 Radio. For that, we need to power it with 3 volts. It is not acceptable to power it with 5 volts so we need to find the 3 volt pins. They are not always marked. Look for a COM line of pins or Bluetooth line of pins and with a Multimeter locate the positive 3 volt pin. On the Keyes MEGA Sensor Shield V1.3, we use the two pins that are directly above the URF01 markings or the first two pins on the COM line of 6. For everything else, we use the standard 5 volt power that is above the numbered Digital Pins.
Each Sensor requires power, ground and sense wires in the least. The three HCSR-04 Sonar "Bug Eyes" need an additional sense wire.
The entire Super SmartCar is wired as follows:
Front Tracking Sensor Pinouts. This is for the three mounted on the bottom tier in the front. The other two wires
per sensor go to power and ground.
Left Side Sensor: Pin 5
Middle Sensor: Pin 6
Right Sensor: Pin 7
Tracking Sensor Harness Length (all three): 28 Inches/20.3cm
Rear Collision Sensor Pinouts. This is for the three mounted in the bottom tier in the rear. The other two wires per
sensor go to power and ground.
Left Side Sensor: Pin 32
Middle Sensor: Pin 31
Right Side Sensor: Pin 30
Rear Collision Sensor Harness Length: 14 Inches/35.5cm
Front Fascia Sensor Pinouts:
Left HCSR04 Sonar Sensor: Echo Pin 15 and Trigger Pin 14
Middle Sharp Proximity Sensor: Pin 16
Right HSCR04 Sonar Sensor: Echo Pin 20 and Trigger Pin 21
Front Fascia Sensor Harness Length (all three): 28 Inches/71.1cm
Front Servo System Pinouts: See Gimbal Instructions below!
Top Servo: Shield Pin 18
Bottom Servo: Shield Pin 19
HCSR04 Sonar Sensor: Echo Pin 24 and Trigger Pin 25
Front HCSR04 Harness Length: 12 Inches/30.5cm
NRF24 Transceiver Pinouts: Install the connector on the NRF24 carefully with black and red towards the left side
Red: +3v (find the +3v Pin on the shield)
Black: GND (any ground will do on the shield)
CE 3 [white] - Shield Pin 8
CSN 4 [yellow] - Shield Pin 53
SCK 5 [green] - Shield Pin 52
MOSI 6 [purple] - Shield Pin 51
MISO 7 [white] - Shield Pin 50
(connector pin #8 is unused (on the radio))
Radio Harness Length: 10 inches/24.4cm
16) Install the first Servo. The Servo is installed under the top chassis and through the front rectangular hole. The Servo is oriented so the shaft is rearward of the hole. Install the Gimbal and the second Servo as shown. The 2 piece bearing goes into the hole opposite the 2nd servos shaft, then use the metal round pieces to attach the servo's with the provided black screws. To ensure the servos motion is correct, move the servos from side to side (or up and down) and determine where to slide the metal round piece so that it is in the middle of its travel. Each servo moves more than 180 degrees so you want a full 90 one way, and a full 90 the other. Once you have determined orientation, slide the shaft into the round piece and fasten. If you have never put together a gimbal before, it can be frustrating. Click on the pictures to get a good view of how it goes together.
17) Install the HC-SR04 Sonar Sensor Bracket to the top of the Gimbal with the 4 8mm screws and nuts provided. Snap the sensor into place. If it is smiling back at you, you did it right! Install the wiring harness to the sensor following the Shield instructions above.
18) Flip the switch but be ready to flip it back off quickly! If the Arduino Sensor Shield's LED lights up and the two motor power
controllers have LEDs that are lit, you can leave it on and know that you have everything wired correctly enough to not cause a meltdown.
Once everything is nicely routed and all wires are secured, you can install the three screws on each side to secure the chassis down.
1) Route the switch wires through the round switch hole at the side of the chassis. Route the wires through the holes at the back end of the cavity through to the other side of the chassis where the battery will be placed. Connect the wires to the battery box. They are long enough to come out of the case for easy change of the Batteries. Install two 18650 batteries into the case, switch the battery case switch on (NOT the round switch yet) and place it into the battery box. Slide the cover over the battery. Place the switch cavity cover on the chassis and screw down with the 4 provided #4 x .75 Inch sheet metal screws.
2) Set the Arduino Uno into place and match up the hold-down screw holes. Fasten with 4 2.5mm x 18 screws and nuts. Push down the Funduino Joystick Shield carefully onto the Uno's mating pins. Look closely to ensure all pins are properly mated.
3) Plug in the NRF24 Radio Transceiver so that the small board rests on the chassis outcropping with the Antenna facing outwards and upwards. This gives a nice stable platform for the radio to rest.
1) Connect the Super Smart Car Arduino Mega to the computer with the Arduino IDE software. Verify then Upload SuperSmartCarSlave to the Car. Check that the correct Arduino Mega and proper Port is chosen in the IDE before trying it. You can leave the Cars power switched off for this. The USB connection will power the Arduino Mega for the process.
2) Connect the Remote Controller's Arduino Uno to the computer with the Arduino IDE software. Verify then Upload SuperSmartCarMaster to the Controller. Again the Battery power can be switched off because the USB connection to the computer will provide power for the process. Once completed, follow this standard procedure for powering your new toy...
For those of you that are unfamiliar with 3D Printers, they are very very slow. Each of the 4 halves takes a minimum of 30 hours to print. The remote control housing takes 54 hours. The point being.. not only was the original design challenging, but the printing is very time consuming, thus why this kit is expensive. Then, due to the time factor and limited number of 3D Printers, each kit is made to order. This puts each kit at least 1 week from shipment to your door. Be patient and you will be very satisfied with the end result.
The Options available below are:
All transactions are done through PayPal. Email email@example.com for International Shipping Rates.