Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

10kHz PWM Input to PIC & measuring duty cycle, possible?

Status
Not open for further replies.

shsn

Junior Member level 3
Joined
Nov 28, 2012
Messages
26
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,523
Hi,

I'm aware that PIC microcontrollers are capable of detecting PWM input signal with so-called CCP module. I was wondering whether PICs can measure the duty cycle of a 10kHz PWM signal and program it to drive a few LEDs depending on the duty cycle.

Is it possible? or is it better to use an RC filter to convert the PWM to DC and use ADC to control the LEDs?

Thanks!

Eric.a
 

I was wondering whether PICs can measure the duty cycle of a 10kHz PWM signal and program it to drive a few LEDs depending on the duty cycle.
Eric.a

Dear I have measured 2 MHz PWM Signal with variable duty cycle. It is absolutely possible to measure this period and drive the LED's.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top