Tutorial 09 - Light Dimming Demo (Free)

Tutorial 09 - Light Dimming Demo (Free)

This program shows how to use ULN2003A and PWM mode to control light dimming.

More details

Online only

Add to my wishlist

  • Currently 0.00/5

Rating: 0.0/5 (0 votes cast)

25 other products in the same category:

Customers who bought this product also bought:

This program shows how to use ULN2003A and PWM mode to control light dimming. When program run, the DC light will dim from dark to bright. This tutorial will work with the Hi-Tech C compilers. 

 

PWM (Pulse-width modulation) Operations:

  • PWM Period = [(PR2) + 1] x 4 x Tosc x (TMR2 Prescale Value)
  • Pulse Width = (CCPRxL:CCPxCON) x Tosc x (TMR2 Prescale Value)
  • Duty Cycle Ratio = (CCPRxL:CCPxCON)/4(PR2 + 1)
  • Tosc = 1 / Fosc


iBoard connection:

  • RC2(CCP1): ULN2003A Module (O3): LED Light (-)
  • * (12Vdc): ULN2003A Module (*): LED Light (+)

 

  Video:

  • Tutorial 9 - Light Dimming Demo: Video

 

  

 

Download:


Customers feedback

Cart  

No products

Shipping $0.00
Total $0.00

Cart Check out



Top rated

No top rated at this time