Source: http://farm3.static.flickr.com/2274/4515039836_a548fbba2c.jpg
Since PIC12F683 has got just one hardware PWM, software PWM based on Timer0 is implemented here to control the speeds of DC motors.
- Resistor: 330 (3), 1K (5) and 10K (1)
- Trimport: 10K (2)
- Capacitor: 100nF (2) and 10nF (1)
- One 100uH Inductor
- Two 1N4148 Diodes
- Two Blue and one Red Light Emitting Diode (LED)
- Two 2N2222A transistors
- One Mini Push Button Switch
- One Microchip PIC12F683 Microcontroller
- Microchip MPLAB v8.46 IDE (Integrated Development Environment)
- Microchip Macro Assembler MPASMWIN.exe v5.35, mplink.exe v4.35
- HI-TECH C Compiler for PIC10/12/16 MCUs (Lite Mode) V9.70
- Microchip PICKit3 Programmer (Firmware Suite Version: 01.25.20)
0 comments:
Post a Comment