We like car and we like to build our own Atmel Mega32 MCU based radio-controlled NSX. We set three goals in the initial project proposal and they are as the following:
(1) Build a RC NSX with the same performance as the original car.
(2) Add extra features such as headlights and brake lights.
(3) Add distance IR sensor to avoid collision.
Our objective is to build a RC car with all the circuitries including two H-bridges, a 433MHz transmitter and a receiver, a remote controller and Mega 32 prototype boards. We expect it to perform or even out-perform the stock NSX with better steer and speed handling and longer operating range. We also want it to have some cool features such as distance sensor to avoid collision and brake lights to blink when the speed is lowered.
High level design:
Rationale & project idea:
We played RC car when we were small and now we are capable to build our own RC car and we like to make this hobby more interesting with some cool features that are hardly seen on the toy market. With a limited $25 budget, it made this tasks to be more challenging but also interesting. We were very clear to set out preliminary design and very careful to order parts.
In this project, we use radio frequency to transmit and receive data and hence we implement this design with a transmitter end part and receiver end part. The receiver end has plenty of circuitries and the transmitter is relatively simple to build. The detail of hardware design is explained in next section. We were lucky enough to find a pair of cheap receiver and transmitter from www.radiotronix.com.
Two H-bridges are built to in this project . One is used to control the DC motor for speed and another is used to control the steering of another DC motor. We successfully had the stepper motor in the lab worked but we decided not to use it to provide variable turning angles for the steering. It was because we were unable to find gears to fit into the NSX and hence unable to test and determine if the output torque was large enough to turn the car.
Two prototype boards are built for the Mega32 MCUs. On the transmitter end, there is a 3-pot slide for varies speed control. Interpretation of the potentiometer value is handled with ADC0 of Port A. Four switches are used for left or right turn, headlights and bottom lights on/off and a last button for resetting the Mega32 MCU.
- RC NSX
- IN4001 diodes
- 150Ω, 220Ω, 10K, 100K resistors
- 0.1μ, 27pF capacitors
- 16MHz crystals
- voltage regulator -7805
Total cost: $21.27
For more detail: Radio Control Car