An ATmega8 was used to build this circuit which can be used to control the DC motor found on toy car wheels with gears through IR remote control.
For controlling the speed, forward and reverse direction of the car, two PWM channels of ATmega8 are used by the circuit. This is based on the command received from the IR remote in which a Sony TV remote was used. The TSOP1738 IR detector was used for receiving the IR codes which are later decoded using the ICCAVR compiler. With minor changes, it can be easily adapted to other compilers.
The control buttons on the remote represents the functionalities such as ‘0’ for stopping motor, Channel- for reverse direction, Channel+ for forward direction, Volume- for reducing speed, Volume+ for increasing speed, and ‘1’ for starting the motor. Whenever a key is pressed on the remote, the LED will blink.
The control of the motor comes from the MOSFET H-Bridge with AVR Atmega8 microcontroller. There are 3 PWM channels in the ATmega8 where 2 are being used. The MOSFET H-Bridge receives the PWM waveforms which results in the change in the direction of motor current flow.
Click here to see the rest of the project.
Wire-to-board interconnection options from Sullins feature a wide range of sizes and applications
MCC’s TVS series high-power suppressors protect sensitive components from voltage spikes and transients
Evaluation boards that streamline evaluating circuit protection on RS-485 serial device ports
There are currently no comments.