Topic : Analog Comparator in AT89C2051

Forum : 8051

Original Post
Post Information Post
February 12, 2013 - 8:50am
Guest

Hello,
I am a student and currently working with AT89C2051. I'm new to this microcontroller. I,m using it in a circuit in which I need to compare a variable analog input to reference voltage using analog comparator of AT89C2051. I need to perform some operations in accordance with the logical output of comaprator. But I've stuck on it and don't know how to use this analog comparator. Please provide me the complete details/ C-code to perform this ASAP..

Replies
Post Information Post
+1
0
-1
February 13, 2013 - 3:17pm
Raisonance Support Team

Hello,

The first thing to do is to read the data sheet, you can find it in the ARM website:
http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.faqs/ka11103.html
If you make a search on the web with the key word: "AT89C2051 analog comparator" you will find a lot of things.

Regards,
Etienne

+1
0
-1
February 14, 2013 - 8:13am
Guest

I've used both the ways but I'm not able to read the adc output..