Shop OBEX P1 Docs P2 Docs Learn Events
ADC1298 and BS2 Help. — Parallax Forums

ADC1298 and BS2 Help.

Bruce RichardsonBruce Richardson Posts: 2
edited 2006-08-17 15:22 in General Discussion
Hello all,

Need a little help understanding how to read ADCs. I'm using BS2 and the ADC1298 adc. I referred to APPKIT: "Using the LTC1298 12-bit Analog-to-Digital Converter". If I'm reading DC voltages the values read are steady. My project will require that I read 60hz AC signals (actually a half wave will make it to the ADC input). I can also read these voltages, but·these readings are all over the board (which I think I understand because·it's·mesuring·where the wave happens to be at the time I ask for the conversion). The final project will have a window of about 10 ac cycles to get the votage reading.

Should I take several readings and average (in this case will I need to control the clock or sample rate, I'm just continously looping now at what ever speed the BS2 is running)?
I have even considered filtering the halfwave input to look more pure DC.

Any of your tips will be appreciated,

Bruce

·

Comments

  • BeanBean Posts: 8,129
    edited 2006-08-17 15:00
    Bruce,
    If you are trying to find the amplitude of the AC signal, you would be better off just applying the half-wave to an RC filter and reading the steady DC voltage that results.

    Is that the intent of reading the AC signal ? If not, what IS the intent ?

    Bean.

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

    Low power SD Data Logger www.sddatalogger.com

    "You're braver than you believe, stronger than you seem, and smarter than you think" Christopher Robin to Pooh
    ·
  • Bruce RichardsonBruce Richardson Posts: 2
    edited 2006-08-17 15:22
    Bean (Hitt Consulting) said...
    Bruce,
    If you are trying to find the amplitude of the AC signal, you would be better off just applying the half-wave to an RC filter and reading the steady DC voltage that results.

    Is that the intent of reading the AC signal ? If not, what IS the intent ?

    Bean.

    Yes, reading the amplitude of the AC is exactly what I want.·I will be reading the voltage from a current shunt in an AC welding application. Guess I need to get working on a filter design (new challenge).

    Thanks Bean,

    Bruce
Sign In or Register to comment.