Hi Brandon,
I recommend you visit avrfreaks.com and browse the
appnotes and use projects. I'm sure you'll find the info you require. Don't you
want to use the ADC instead of the comparator?
I have not used the analog features on AVRs yet but
I'm pretty sure that for low frequency signals like temp sensors they are
perfectly suitable. Be sure you understand the resolution of the data you're
reading and verify it's sufficient for your application.
Sander
----- Original Message -----
Sent: Thursday, May 16, 2002 8:02
AM
Subject: [avr-gcc-list] Analog
comparator
I have given up on the use of
an external A/D converter in my project and I was wondering if it would be
possible to use the analog comparator found on my AT90S2313? I am trying to
measure voltage change in a remote temperature sensor. Anyone have an opinion
on the usefulness of the analog comparator? I am new to AVR and
microcontrolers in general but have been reading a great deal lately. Any
ideas will be much appreciated. Thanks B
|