hello; i m implementing temerature display on lcd.
i m using c8051f020 ic which has inbuilt adc.
i m using 4051 mux for selection of temperature from various sources (eg:temperature of bath, jar etc). output of mux is given to adc of microcontroller through amplifier.
my code of selection of mux is working fine, i can see waveforms on scope.
i select the mux and give delay and after that i read adc.
delay given is 64msec. my output (display on lcd) is correct with 1 mux working at a time.
but when all mux are working simultaneously that time output is not as expected.
i tried to reduce as well as increase the delay but the output is still incorrect
i m using total 4 mux of 4051.
selection of the mux is done through port pin of microcontroller, and my selection is correct because output is correct with one mux working at a time.
problem is with all mux working together.
pls, guide me thank u all
You are saying that it doesn't work, but you are not giving enough information that anyone will be able to help you.
1) No info how your chips are connected, so no possiblity of us finding a hardware problem.
2) No source code, so no chance that we may find a software bug.
Exactly what do you expect? That we book a plane and come visit you?
you are waiting 64 milliseconds or 64 microseconds? one being very long and the other ???. Read the data sheet to find the settling time for the mux an the A2D