pxt-calliope/docs/projects/rc-car.md
Galen Nickel 01f665b268 Edits for 'RC car' project. ()
* Edits for 'RC car' project.

* Line spacing below video frame.
2017-08-29 15:47:09 -07:00

56 lines
1.6 KiB
Markdown

# RC car
### ~avatar avatar
Hack a toy RC car and control it with your @boardname@ and Kitronik parts!
### ~
https://youtu.be/xQJCZwVvjyw
### ~ hint
**Warning**
This activity involves opening an electronic toy, cutting its wires and reconnecting them. Your toy could end up becoming totally useless. Hacking has its risks and rewards!
### ~
## Materials
* toy RC car with 4 or 6 AA batteries
* 1 @boardname@ (optionally, another @boardname@ too if you want radio control)
* wire trimmer
* small Philips screw driver
* [1 Kitronik motor driver](https://www.kitronik.co.uk/5620-motor-driver-board-for-the-bbc-microbit-v2.html)
## What's our hack plan?
Most toy RC cars use 3 small DC motors to operate:
* 1 DC motor to spin (torque) the back wheels
* 1 DC motor to spin (torque) the front wheels
* 1 DC motor to steer the front wheels
What we're going to do is open up the RC car, remove the existing electronic controller, and replace it with the **Kitronik** motor driver that controls 2 DC motors. We will connect the two torque motors to one controller and the steering motor to the other controller.
After the motor driver is connected, we will use a @boardname@ to control it. Also, we can use another @boardname@ as a radio controller for the @boardname@ that's in the car.
### ~ hint
**Getting a car to hack**
Ask friends or family members if they have any old RC cars lying around. Scout around at thrift shops and other second hand stores for donated RC cars.
### ~
## Activities
* [Make](/projects/rc-car/make)
* [Code](/projects/rc-car/code)
* [Connect](/projects/rc-car/connect)
### ~button /projects/rc-car/make
Let's make it!
### ~