Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
Hi Shankariamma,
In the timer initialization function i.e void initTimer0(void) the PRESCALE value should be 15 and not 150 if you want delay in microseconds.
change the abovementioned line to T0PR = 15-1;
Check these calculations for more clarity reference ocrfreaks.com:
Prescale (TxPR)...
Trying to communicate with lpc2148 inbuilt i2c protocol(i2c0) to external adc chip (pcf8591 philips adc-dac chip) to read adc voltage from it.
But proteus simulation with lpc2138 is not responding to the code written.Being a newbie to i2c protocol specifically on LPC2148, can anyone guide me on...
Re: adc0804 & 0808 readings going 0 after half the total voltage read through i/p cha
The question is targetted more towards 0804 but the behaviour is same for both (ADC0804 and 0808).
Re: adc0804 & 0808 readings going 0 after half the total voltage read through i/p cha
@milan.rajak
Yes , in adc_init() the intr pin has been made input(intr = 1).
I agree that the data has to be read once the INTR pin goes low hence i have removed the INTR pin forceful pull-down(INTR = 0) in...
adc0804 & 0808 readings going 0 after half the total voltage read through i/p channel
Can someone explain why this strange behaviour is seen while interfacing adc0808 or adc0804 with at89s52 microcontroller.
Iam trying to read 5v connected to channel 0 of adc0808 , hence it should give 255...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.