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

gobabygo_2017_560.jpg
car used.png

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

IMG_20170414_194953.jpg
IMG_20170428_180141.jpg
  1. Under the seat, cut the red wire that connects the motor to the battery.
  2. 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.
  3. After connecting the wires to the kill switch, let the wires run through the outside of the back vehicle

Handlebar Creation

IMG_20170331_191317.jpg
  1. Flexible PVC neck adaptor is secured to the 1” PVC stem
  2. ¾” PVC pipe is cut into three smaller pieces: 3” x1, 8” x2
  3. ¾” PVC pipe pieces combined with PVC T-joint as shown
  4. Outer layer of 5 wire telephone cable stripped off, threaded through PVC stem through hole

Handlebar Mounting

IMG_20170331_191330.jpg
IMG_20170331_191338.jpg
  1. Drill used to create and ream hole just under handlebar shaft placement for wire to go through
  2. 1” PVC pipe cut to length of 14”
  3. 1” PVC mounts x2 used to secure 1” PVC pipe to car via 3” machine screws (see next picture)
  4. Set screws placed to complete mounting and hold PVC

Wiring the Handlebar

IMG_20170331_191344.jpg
thumbstick.png
IMG_20170414_194956.jpg
  1. The wires that were threaded through the handlebar stem then need to have approximately 1” stripped from either end of them.
  2. 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

Solder ATTINY 85 Microcontroller to Breadboard

IMG_20170414_175132_cropped.jpg
  1. 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
  2. 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

X Axis Diagram.PNG
Y Axis Diagram.PNG
IMG_20170414_175132_cropped.jpg
  1. Circuit diagram showing the wiring configuration for the joystick controller and ATTINY 85 Micro-controller
  2. 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
  3. The Digital Out from each of these controllers will then be wired to the Car’s Controller Input

Connect Microcontroller to On-Board Microcontroller

IMG_20170414_175059.jpg
IMG_20170414_194953.jpg
  1. 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
  2. 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
  3. Use Velcro tape to Attach Breadboard to wall of car

Set Up the Light Sensor

IMG_20170414_195010.jpg
IMG_20170414_194953.jpg
  1. Connect the KY033 Light Sensor to a Ground and 5V wire by bundling it with those corresponding cables using a wire connector
  2. 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

IMG_20170421_180623.jpg
  1. Use a stiff apparatus and Velcro to to position the light sensor directly above the small Rod in the circular centerpiece of the axle
  2. Attach a piece of White/Shiny Tape to the Small Black metal rod in the center axle piece.
  3. Use the code attached to load to the KY033 using Arduino IDE.

Set Up a Switch for the Joystick Controller and Stock Remote Controller

Circuit Diagram for Joystick.PNG
IMG_20170428_180136.jpg
Switch.png
IMG_20170414_194953.jpg
  1. Connect the OFF Switch by bundling the 5V wire of the Black Onboard Microcontroller using a wire connector
  2. 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

IMG_20170428_180130.jpg
IMG_20170428_180153.jpg
  1. Wrap the handlebars and joystick with pieces of pool noodles that are cut to installation size.
    • Use pictures as reference