Guest
Hi,
I am new to electronics. So, please be patient. I am trying to figure out the following problems for past 10 hours and can not get it solved.
I need to sample six sensors after every 20 minutes using a microcontroller. Four temperature sensors and two light sensors. Each sensor is connected to the six individual pin of the ADC. This ADC is integrated into the microcontroller chip.
The on chip microcontroller has 12 bit ADC which can sample at 10kSamples/sec.
So, what does it mean that 10bits + 10bits + 10bits + 10bits + 10bits + 10bits = 60 bits every 20 minutes.
20 minutes = 1200 seconds., So, its 60 bits every 1200 seconds. But then ADC is sampling at 10kHz. How would that fit into this mathematical equation?
So, the data rate would be 0.05 bits /sec. I am so confused. I am also confused about taking into account the switching time of the ADC among all six sensors. I meant how much time does the microcontroller take to move from one channel to another.
I am planning to use the following microcontroller
http://www.atmel.com/images/atmel-8271-8-bit-avr-microcontroller-atmega48a-48pa-88a-88pa-168a-168pa-328-328p_datasheet_complete.pdf
mel
I am new to electronics. So, please be patient. I am trying to figure out the following problems for past 10 hours and can not get it solved.
I need to sample six sensors after every 20 minutes using a microcontroller. Four temperature sensors and two light sensors. Each sensor is connected to the six individual pin of the ADC. This ADC is integrated into the microcontroller chip.
The on chip microcontroller has 12 bit ADC which can sample at 10kSamples/sec.
So, what does it mean that 10bits + 10bits + 10bits + 10bits + 10bits + 10bits = 60 bits every 20 minutes.
20 minutes = 1200 seconds., So, its 60 bits every 1200 seconds. But then ADC is sampling at 10kHz. How would that fit into this mathematical equation?
So, the data rate would be 0.05 bits /sec. I am so confused. I am also confused about taking into account the switching time of the ADC among all six sensors. I meant how much time does the microcontroller take to move from one channel to another.
I am planning to use the following microcontroller
http://www.atmel.com/images/atmel-8271-8-bit-avr-microcontroller-atmega48a-48pa-88a-88pa-168a-168pa-328-328p_datasheet_complete.pdf
mel