top of page

Mini Cybertruck (2021)

I decided to enter the competition not for the competitive aspect but for the learning opportunity and the experience. I’ve noticed the best way to learn something is through projects and innovation so this is my way of learning!!!

​

As a part of the competition, I will include my coding development and my mechanical design development in photographs (on the left) and in a separate page here!!

WizProdigy Competition.PNG

Github Link for relavant code:

ImaginIndustries/Mini-CyberTruck (github.com)

Step 1: Getting Acclimated

Before I get all my materials I first want to get acclimated to the Arduino IDE and get a better understanding of the basics. After I have a rudimentary understanding of how to accomplish the bare minimum and actually construct it I will begin to implement my own innovative additions to the project !!!

1A: Familiarize self with LED's and accessory devices

Code for controlling LED with button 

The code on the left can be used to control an LED with two buttons. Since the code is relatively simple I configured the LED to respond to the Joystick inputs instead of button inputs

Controlling LED with Button.PNG
Joystick Code.PNG

Code for reading Joystick inputs

The code here can be used in conjunction with a monitor and a single analog joystick. The joystick will then send its corresponding X and Y values to the computer and it will print the resulting values. I used the same code minus the printing feature in the DC motor control code.

LED Controlled by Joystick

LED Controlled by Joystick Code.PNG

I wanted to test out certain blocks of code. This is essentially how the LED indicator will function. When the analog joystick value reaches a certain point the LED will turn on.

​

I combined the Joystick code with the LED code to visualize how the LED indicator would work (similar to red lights on a reversing car). 

 

This was fairly easy to interpret and learn because it is similar to how you would structure it using python code.

​

I also included comments on the left of the code to better understand what's happening if I were to come back to review the code eave and come back to review the code. 

Compiled Code Version 1

image7.jpeg

Step 2: Constructing IR Remote Car v1.0

image5.jpeg

Testing v1 Video

New Code 

 I decided to switch to an IR remote control scheme but I will still try other options in the future. Although the primary plate is made of aluminum I used cardboard for the top plate. Something else that was interesting is that the battery cell I was planning on using wouldn’t power the entire car so I had to get another battery. Interestingly enough I had a portable battery for a drink mixer that had a USB connection. I utilized the blue cord that comes with the Arduino and the portable battery to power the car.

Step 3A: Learning 3D printing and 3D Modeling

This was my first print, it was a pre-loaded model that came with the SD card. Although it was a nice way for me to see what the 3D printer could do, unfortunately, it was not a good way for me to gauge the efficiency of the bed level because the print had an overall small size.

image2 (2).jpeg
image1.jpeg

My next print was not only a learning experience but also the next step in my build. I found an Arduino case on Thingiverse that I used to function as an extra protective casing for my electronics. Unfortunately the first time I printed out the case I did not consider how the case had to be configured in the slicer software. 

Step 3B: Printing Parts (v2.0 & v2.5)

The process of fusing the truck and upper chassis together was relatively simple. I essentially melted the pieces together with a stove and a hot knife.

image1 (6).jpeg
image4.jpeg
Base Chasis Image.PNG
991074843.jpg
image0 (11).jpeg

 

The base plate chassis was completely designed by myself utilizing Autodesk Fusion 360.

image9.jpeg

The idea for the trunk actually came to me a little while after I printed both chassis. As I realized it would be more efficient to have the battery on the outside for easy access and it would also take some load off the main chassis.

Cybertruck Version 2.0

70B4002B-BDC9-4F2D-920D-AFFA611215B8.JPG

By May 18th,  I finished 3D printing my new base and upper chassis with slightly larger dimensions to allow me to put the L298N module on the underbelly. It also has the perfect dimensions so I can put the Cybertruck case on top.
There was some slight warping but it’s virtually unnoticeable. 

​

The key part about this build is the trunk. Fortunately, the slicer software I used allows for easy and quick editing of the dimension of your prints. The key was finding the perfect balance between the length and weight to ensure that the weight would not disrupt the car while in motion and that the length would allow carrying a second battery.

image2.jpeg

Cybertruck
Version 2.5

In this iteration, a trunk was added not only add to the cybertruck aesthetic but also to function as a way to store the additional battery.

Step 4: Version 3.0 Cybertruck

image0 (16).jpeg

This is Version 3 of my IR car. A problem I had with v2 was that the PLA case was blocking the IR sensor which leads to sporadic control over the car. I went into Autodesk and removed the top and side portions to allow for better signal reception. 

image2 (4).jpeg
image1 (9).jpeg

Final Presentation

​

  • YouTube
  • Twitter
  • LinkedIn
  • Instagram

© 2023 by Walkaway. Proudly created with Wix.com

bottom of page