2024 FC ROVER MARK_2 2.0

by kimlenny05 in Circuits > Arduino

164 Views, 2 Favorites, 0 Comments

2024 FC ROVER MARK_2 2.0

IMG_7987 (1).jpg
step 11.png
step 6.png
IMG_7988.jpg

Get ready to meet FC Rover Mark_2 2.0—the ultimate DIY project that's more than just a toy car! It’s the hands-on experience that every kid and kid-at-heart has been dreaming of. This is not just any remote-controlled car; it’s a fully buildable, customizable, next-level robotic buddy! Imagine building a vehicle from scratch, learning coding, playing with Arduino, and getting hands-on with circuit boards all while having a blast. 

But wait—this isn’t your ordinary bot. Once it’s up and running, FC Rover Bot doesn’t just drive around aimlessly—it plays tag with YOU! That’s right, this little guy is programmed to chase and dodge in a game of tag like no other. So, whether you’re a kid or an adult looking to dive into the exciting world of robotics, Rover Bot is your new best friend. Get ready to level up playtime and bring out the tech genius in you. Tag, you're it! 

 

Supplies

15267-SparkFun_Inventor_s_Kit_-_v4.1-01a.jpg
  1. SparkFun RedBoard Qwiic/Arduino Uno Board 
  2. Arduino and Breadboard Holder 
  3. SparkFun Mini Screwdriver 
  4. SparkFun Motor Driver (with Headers) 
  5. Pair of Rubber Wheels 
  6. Pair of Hobby Gearmotors 
  7. Small Servo 
  8. Ultrasonic Distance Sensor 
  9. 6' USB micro-B Cable 
  10. Photoresistor 
  11. Red, Blue, LEDs 
  12. Mini Slide Switch 
  13. Piezo Speaker 
  14. AA Battery Holder 
  15. Two 330 and Two 10K Resistors 
  16. Motor Driver 
  17. Adhesive Velcro Pads 
  18. Hot Glue and Hot Glue Gun 
  19. 3D printer/access to some 3D printer (the shell can be cardboard, but the spacer must be solid) 

BUILDING PHASE

Screenshot 2024-11-25 184600.png

This project uses 3D printing; print out the stl files given below for the cover of the car and the wheel spacer. PUT STL FILES HERE. For the rest of the building process use the given Tinker CAD Model with all the wiring as shown below to help guide you along. 

motor1Pin1 = 12;  // Motor 1 pin 1 

const int motor1Pin2 = 11;  // Motor 1 pin 2 

const int motor2Pin1 = 5;    // Motor 2 pin 1 

const int motor2Pin2 = 4;    // Motor 2 pin 2 

const int enable1Pin = 10;  // PWM pin for motor 1 speed control 

const int enable2Pin = 6;    // PWM pin for motor 2 speed control 

const int ultrasonicTrigPin = 8; // Ultrasonic sensor Trig pin 

const int ultrasonicEchoPin = 9; // Ultrasonic sensor Echo pin 

const int switchPin = 3;    // On and off switch pin 

const int photoresistorPin = A0; // Photoresistor pin 

const int redLEDPin = 2;    // Red LED pin 

const int blueLEDPin = 1;    // Blue LED pin 

const int buzzerPin = 13;    // Buzzer pin 

Velcros Strips

step 2.png

The first step of the building process is putting Velcro strips on the bottom of the base plate in the areas shown below.  


Attaching Components

step 3.jpg
IMG_7988.jpg

Putting all the components on the breadboard. This includes: 

  1. The Motor Driver 
  2. The Speaker 
  3. The Ultrasonic Sensor 
  4. Red and Blue LEDs 
  5. Two Gear Motors 
  6. One 10kOhm Resistor 
  7. Two 330Ohm Resistor 

Be sure to keep both gear motors on standby for they will be used in the next step. 

Wiring Motor Driver

step 4.png

The next step is to wire up the motor driver. First be sure to wire your Arduino's ground and 5V to the breadboard. Below shows an image of what each motor pin does to gain a better understanding of each wire in the car. 

Wiring Speaker

step 5.png

Next up wire up the speaker to pin 13.  

Wiring Ultrasonic Sensor

step 6.png

After wiring up the speaker it is time to wire up the ultrasonic sensor. Have the trig output go to pin 9 and the echo output go to pin 8. Make sure to set pins up to power and ground for the ultrasonic sensor.  

Note: The ultrasonic sensor must be flipped in the opposite direction to what is in the tinkerCAD photo. Be sure to read the plug-in spots when wiring.

Wiring Photoresistor

step 7.png

Wire up the photoresistor to A0.  

Wiring LEDs

step 8.png

Wire up both LEDs. Make sure red goes to pin 2 and blue goes to pin 1. This will conclude the wiring process.  

Attaching Wheel Bearing

IMG_7994.jpg
IMG_7995.jpg

Now hot glue the wheel spacer and the ball bearing together and let that cool. 

Attaching Wheel Bearing

IMG_7995.jpg

After the hot glue cools attach the wheel spacer to the back velcro on the strip. 

The Chassi

step 11.png

Now it is time to put the cover on the car. Make sure to push the gear motor wires through each side opening when attaching the cover. 

Attaching Gear Motors

IMG_7978 (1).jpg

After the cover is on, attach each gear motor to the velcro strips on the bottom of the base plate. 

CODE

Next download the code in Tinker CAD as shown below making sure all your pins line up with the pin assignments in the code.  

Uploading Code

Upload your first code to arduino uno

Load your code into the arduino using the Arduino.IDE software from your computer. During this process the Arduino must be plugged into the computer and the silver power socket via the USB cable in your kit. Instructions on how to upload the code are located below.  

 Note: * Make sure you clear the default Arduino.IDE that is in place*

Powering the Arduino

Disconnect the power cable from the Arduino and computer. Then connect the Arduino to the battery holder via the attached cable on the holder. Do this by threading the cable through the semicircular port on the cover and plugging it into the black battery port next to the silver usb/upload port.  

 

TAG YOUR IT!!!

Congratulations! You have successfully completed your Rover. Find a dark room, a flashlight and TAG Your new (ROVER MARK_2 2.0).


(Note: the board glows a slight bit in the dark, as there is a light when the board is plugged in, so some electrical tape could be used to cover it up)