12V Pink Truck Car With Adjustable Handlebar Joystick Steering Mod
by WSUGoBabyGo in Circuits > Assistive Tech
760 Views, 1 Favorites, 0 Comments
12V Pink Truck Car With Adjustable Handlebar Joystick Steering Mod
Materials List
Parts Needed
- 12V Vehicle*
- 1” PVC Pipe
- PVC T-joint
- Flexible PVC neck joint
- KY033 Black White Line Hunting Sensor*
- Thumbstick Joysticks
- 1” PVC mount x2
- 3” Threaded machine screws w/nuts
- Five wire telephone cable
- Wire nuts and set screws
- On/Off flip switches x2
- Pool noodle
- ¾” PVC mount x4
- ATTTINY 85 x2
- Bread Board
- 6V 4 Wheeler Hot Pink Car
- Wire Connectors (Assorted Sizes)
- Velcro
Tools Needed
- Wire Strippers
- PVC cutters
- 18V drill w/drill bits
- Screwdriver
- Soldering iron w/solder
*Click For Purchase Link
Kill Switch Installation
- Under the seat, cut the red wire that connects the motor to the battery.
- Insert Female Crimp. Connect the wires from kill switch to both ends of the wire attaching two male crimp to the ends of the wires.
- After connecting the wires to the kill switch, let the wires run through the outside of the back vehicle
Handlebar Creation
- Flexible PVC neck adaptor is secured to the 1” PVC stem
- ¾” PVC pipe is cut into three smaller pieces: 3” x1, 8” x2
- ¾” PVC pipe pieces combined with PVC T-joint as shown
- Outer layer of 5 wire telephone cable stripped off, threaded through PVC stem through hole
Handlebar Mounting
- Drill used to create and ream hole just under handlebar shaft placement for wire to go through
- 1” PVC pipe cut to length of 14”
- 1” PVC mounts x2 used to secure 1” PVC pipe to car via 3” machine screws (see next picture)
- Set screws placed to complete mounting and hold PVC
Wiring the Handlebar
- The wires that were threaded through the handlebar stem then need to have approximately 1” stripped from either end of them.
- Set the thumbstick joystick, using screws, onto the top of the handle bar and connect the wires from the joystick to a colored wire from the 5 colored telephone cable.
- Here is the coloring scheme we used (we only used 3 out of the 5 cables)
- GND - Green
- 5V on each joystick- RED
- VRx of Left Thumbstick - White
- VRy of Right Thumbstick - Black
- Hint: Remember the color that you have assigned to each
- Here is the coloring scheme we used (we only used 3 out of the 5 cables)
Solder ATTINY 85 Microcontroller to Breadboard
- Solder Both ATTINY 85 Chips to a portion of the board.
- Each ATTINY will be used to control one of the Thumb-stick Joysticks
- HINT: We placed a white tape to signify that this controller is meant for the Y axis thumb-stick
- Assign a piece of wiring that is consistent with where they will end up going in accordance to the car controller and the thumb-sticks (circuit diagram in next slide)
Connecting Joystick to Microcontroller
- Circuit diagram showing the wiring configuration for the joystick controller and ATTINY 85 Micro-controller
- The Left/Right Joystick will go into the X Axis pin of the Microchip and the Up/Down Joystick will be soldered to the Y Axis Joystick
- The Digital Out from each of these controllers will then be wired to the Car’s Controller Input
Connect Microcontroller to On-Board Microcontroller
- Open the Black on-board microcontroller and solder a piece of wire that controls each directions as well as a wire for voltage and ground
- That will be 5 wires total
- Referring to the circuit diagram on the last screen. Connect the Digital Out of both ATTINY’s to the wire soldered to the corresponding pins on the onboard controller using a wire connector
- Use Velcro tape to Attach Breadboard to wall of car
Set Up the Light Sensor
- Connect the KY033 Light Sensor to a Ground and 5V wire by bundling it with those corresponding cables using a wire connector
- Connect the “S” line to the micro-controller by bundling that signal line to the X-Axis analog input from joystick
Position the Light Sensor
- Use a stiff apparatus and Velcro to to position the light sensor directly above the small Rod in the circular centerpiece of the axle
- Attach a piece of White/Shiny Tape to the Small Black metal rod in the center axle piece.
- Use the code attached to load to the KY033 using Arduino IDE.
Downloads
Set Up a Switch for the Joystick Controller and Stock Remote Controller
- Connect the OFF Switch by bundling the 5V wire of the Black Onboard Microcontroller using a wire connector
- Connect the ON switch by bundling a piece of wire to the 5V input source of the ATTINY 5V wires using a wire connector
Cushion the Joystick Handlebars
- Wrap the handlebars and joystick with pieces of pool noodles that are cut to installation size.
- Use pictures as reference