Shop OBEX P1 Docs P2 Docs Learn Events
Using Analog Comparator to read a PWM analog signal? — Parallax Forums

Using Analog Comparator to read a PWM analog signal?

SteelSteel Posts: 313
edited 2006-10-13 17:45 in General Discussion
I have an RF Module that outputs the RSSI (Recieved signal Strength indicator) in a PWM signal.

The wave can be from 0% to 100% duty cycle.

I would like to use the 8-Bit ADC converter example to have my SX read the analog value from that PWM signal.

I have attached the circuit that I want to run.

With a PWM comparator using a PWM signal, is there potential for noise or mis-readings from a PWM signal?

Please help.

Shaun

Comments

  • BeanBean Posts: 8,129
    edited 2006-10-13 17:10
    Steel,
    PWM is already a digital signal. Why would you want to convert it to analog, then read it with an ADC ?
    Just measure the on-time and off-time. Or am I missing something ???

    Bean.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Cheap used 4-digit LED display with driver IC·www.hc4led.com

    Low power SD Data Logger www.sddatalogger.com
    SX-Video Display Modules www.sxvm.com

    Don't mistake experience for intelligence. And vis-vera.
    ·
  • SteelSteel Posts: 313
    edited 2006-10-13 17:45
    you're absolutely right.

    Sorry about wasting bandwidth.

    Off I go to work with PULSIN
Sign In or Register to comment.