Da Whip 2.0

by j260g414 in Circuits > Arduino

90 Views, 1 Favorites, 0 Comments

Da Whip 2.0

PXL_20240320_215007775.jpg
PXL_20240320_215007775.jpg
PXL_20240320_215101846.jpg
wiring.PNG

We made a car for class. It's actually pretty cool.


The name "Da Whip" is pronounced as Stewie from Family Guy says, "Cool Whip."

Supplies

  1. Arduino 
  2. Two breadboards 
  3. Three line sensors 
  4. Two hobby DC motors 
  5. Motor controllers 
  6. IR remote 
  7. IR sensor 
  8. Two Arduino wheels 
  9. Two swivel wheels (rubber bands optional)
  10. Various jumper wires (MM, MF, FF) 
  11. Battery pack 
  12. AA Batteries 
  13. 3D printed chassis 
  14. Hot glue 
  15. Three 3D Printed Parts

Step 0.png
Step1.png
Step 2.png
Step 3.png

Building instructions: 

  1. Attach the Arduino and the breadboards to the chassis. 
  2. Hot glue the motors to the bottom of the chassis opposite of each other and attach the wheels. 
  3. Wire the motors and motor controllers into the Arduino using the wiring diagram. 
  4. Attach the top printed part, while mounting the 2nd breadboard with the ultrasonic distance sensor and IR sensor also using the wiring diagram 
  5. Attach the swivel wheels. 
  6. Mount the line sensors to the front of the car pointing towards the ground. 
  7. Download the file containing the code to the Arduino. 
  8. Connect your computer to the car and upload the code. 
  9. Disconnect computer and attach battery back to Arduino. 
  10. Control the car with the IR remote 
  11. Run and have fun.

Wiring Directions

Pin 6 - ECHO

Pin 7 - TRIG

Pin 8 - BIN1

Pin 9 - BIN2

Pin 10 - PWMB

Pin 11 - PWMA

Pin 12 - AIN2

Pin 13 - AIN1

Pin 2 - IR Remote

Analog 0-2 - Line Sensors