The Cyboard Truck
This cardboard project is called "Cyboard Truck" inspired by design of Tesla Cyber Truck. This is my first instructable. I am 13 years old.
Supplies
- Cardboard
- Hot Glue Gun
- Ruler
- 2 Motors & Arduino
- 9V Battery Pack
Dimensions
Refer to these dimensions for cut outs.
Make Frame of the Cyboard Truck
Use dimensions and cut cardboard as shown in the figure
Tire Rim and Hood
Wheels
Cut 12 pieces of 3 inch diameter wheels
Construct Chasis
Setup Wheels
Build the Body
Connect 2 motors to the wheels and control using Arduino
Step 7 : Arduino Code
//L293D
//Motor A
const int motorPin1 = 5; // Pin 14 of L293
const int motorPin2 = 6; // Pin 10 of L293
//Motor B
const int motorPin3 = 10; // Pin 7 of L293
const int motorPin4 = 9; // Pin 2 of L293
//This will run only one time.
void setup(){
//Set pins as outputs pinMode(motorPin1, OUTPUT);
pinMode(motorPin2, OUTPUT);
pinMode(motorPin3, OUTPUT);
pinMode(motorPin4, OUTPUT);
//Motor Control - Motor A: motorPin1,motorpin2 & Motor B: motorpin3,motorpin4 }
void loop(){
analogWrite(9, 200);
analogWrite(10, 0);
analogWrite(5, 200);
analogWrite(6, 0);
delay(3000);
analogWrite(9, 0);
analogWrite(10, 0);
analogWrite(5, 0);
analogWrite(6, 0);
delay(5000);}