??? 02/24/06 06:22 Read: times |
#110646 - Analog comparator Responding to: ???'s previous message |
Jack,
On the good side - you know about the function registers. On the bad side you are not familiar with the 89C2051 input/output pin characteristics. As a new member, I'll give you the benefit of the doubt and suggest you read the AT89C2051 data sheet about the input/output characteristics of the AT89C2051. There is a "bible" on the 8051 that you can read right here on this site that will teach you all the about the I/O characteristics of the standard 8051 architecture. There are variants that allow you to program the I/O characteristics but the AT89C2051 has a fixed I/O structure called "psuedo bi-directional". The P1.0 and P1.1 pins on the AT89C2051 are a bit different than a standard 8051 in that they do not have the weak pullup resistor of a standard 8051 I/O pin. This is to allow you to connect an analog signal to these pins. I doubt that anyone here is going to tell you exactly how to solve your problem but there are some of us that are willing to help point the way as long as you put some effort into trying to do the job yourself. Jack, is this a homework project? Regards, Bert |
Topic | Author | Date |
Analog Comparator on 89C2051 | 01/01/70 00:00 | |
Analog comparator on AT89C2051 | 01/01/70 00:00 | |
Thanks Bert! | 01/01/70 00:00 | |
ADC | 01/01/70 00:00 | |
Analog comparator | 01/01/70 00:00 | |
appnote | 01/01/70 00:00 | |
one misapplication, one addition | 01/01/70 00:00 | |
Thanks to all | 01/01/70 00:00 | |
Printable ? | 01/01/70 00:00 | |
hobby project? | 01/01/70 00:00 | |
Ok | 01/01/70 00:00 | |
Active - hummmm.. | 01/01/70 00:00 | |
Advise needed! | 01/01/70 00:00 | |
Have you seen the appnotes? | 01/01/70 00:00 | |
Yes I have | 01/01/70 00:00 | |
yes | 01/01/70 00:00 | |
P3.6??? | 01/01/70 00:00 | |
Finally working, maybe? | 01/01/70 00:00 | |
Surely working! | 01/01/70 00:00 | |
consistency, HUH | 01/01/70 00:00 | |
Not technically correct! | 01/01/70 00:00 | |
so, it is "testing" which is worthless | 01/01/70 00:00 | |
True but... | 01/01/70 00:00 | |
No, I do not do as above. | 01/01/70 00:00 | |
Sure | 01/01/70 00:00 | |
"solid theories" vs "testing"![]() | 01/01/70 00:00 |