I did some more reading today on a simple ADC technique (shown above).
Helped in my revision of the topic.There are many different ADC methods applicable for different situations.
You can see the sketch and the steps involved.
The next step is to write the pseudocode as shown below. Later , this will convert to C.
ReadAnalogInputChannel (Channel #)
{
Select the desired analog input channel;
Wait for MUX output to stabilise;
Start ADC conversion;
Delay 'x' mS to allow for conversion to complete;
Read ADC and return result to the caller;
}
They say Engineering is all about numbers. We shall see why, tomorrow.
I will have to finish the work on wiring the sensor circuit.
I have a couple of days before I begin working on the C language.
I have already dusted the books on C programming from my shelf.
More about it later...
Have a nice day
No comments:
Post a Comment