RC car lesson (#519)

* initial drop

* fixing summary

* adding images

* Adding basic connect code

* connect section

* moving video

* adding ignores
This commit is contained in:
Peli de Halleux
2017-08-25 17:02:13 -07:00
committed by GitHub
parent 588f127ddd
commit 743979b9ea
17 changed files with 261 additions and 0 deletions

View File

@ -0,0 +1,76 @@
# Make
### @description Hacking the car electronics
### ~avatar avatar
Hack the @boardname@ into the car!
### ~
https://youtu.be/gH__3l_oDeM
## Materials
* a toy RC car with 4 or 6 AA batteries
* a cable trimmer
* small Philips screw driver
![A toy RC car](/static/mb/projects/rc-car/rccar.jpg)
## Step 1: Remove the batteries!
Make sure all the batteries are removed from the toy car!
## Step 2: Remove the cover
Remove the various protective covers until you have access to the electronic controller. Make sure to keep track of all the screws you remove,
you will need them again!
## Step 3: Cut out the electronic board
Follow the motor and power cables and cut the wires as close as possible from the electronic board. You should end up with a total of 8 cables:
2 for power, 2 for the steering motor and 2 pairs for the torque motors.
![Electronic board removed](/static/mb/projects/rc-car/elecremoved.jpg)
## Step 4: Prepare the cables
Using the wire trimmer, expose 1/4 inch (1/2 cm) of metal on each wire so you can attach it to the motor driver.
![Various cables](/static/mb/projects/rc-car/cables.jpg)
## Step 5: Connect the battery cables
* Connect the cables from the battery section to the power input on the motor shield.
Make sure the **+** cable goes into the **+** port!
* Connect both torque motors to the **motor 1** connector in the motor driver.
Make sure to connect the cables of same colors so that your wheel turn the same direction!
* Connect the remaining motor cables to the **motor 2** connector.
![Wiring](/static/mb/projects/rc-car/wiring.jpg)
## Step 6: Slot in the @boardname@
Probably the easiest step, insert the @boardname@ in the edge connector until clips in.
## (Optional) Step 7: Cut out a slot in the cover to fit the @boardname@
Depending on your car size, you may be able to fit back the decoration top back on the car.
Otherwise, get some cardboard, scissors and a glue gun to rebuild it yourself!
![Cutout](/static/mb/projects/rc-car/cutout.jpg)
## (Optional) Step 8: Paint job
Once you have replaced the cover (original or carboard), decorate it to your taste!
![Painted](/static/mb/projects/rc-car/painted.jpg)
That's it, it's time to code!
### ~button /projects/rc-car/code
Code
### ~