Saturday, June 28, 2014

PWM DC Motor Control and Display PWM Duty Cycle 0 -255 on 7 seg

PIC 16F877A board PWM DC Motor Control and Display duty cycle 0 to 255 on 7 Seg
Project Image

Project Video


Parts List:
1. PIC 16F877A Micro Controller Board.
2. Connecting wires .
3. DC Motor Small (6Volts)
4.Wheel

H/w Connection Details
Port B connected to 2 KEY INPUT Switch
 RB6  -> sw6  (Increase pwm duty)
 RB7  -> sw7  (decrease pwm duty)

Port D Connected to 7 SEG
 RD0  ->D0
 RD1  -> D1
 RD2  -> D2
 RD3  -> D3
 RD4  -> D4
 RD5  -> D5
 RD6  -> D6
 RD7  -> D7
Port A Connected to 7 SEG Digit

RA0 -> DIGIT 1
RA1 -> DIGIT 2
RA2 -> DIGIT 3
RA3 -> DIGIT 4

To Change Speed of DC Motor Press Key
SW6 -> Decrease PWM Duty
SW7 -> Increase PWM Duty

No comments:

Post a Comment