Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Don't start new threads with the same content. Threads merged [alexan_e]
vishu489 said:i want to interface acclerometer to atmega 16 adc pins but problem is that atmega 16 can sense one analog signal at time.accelerometer has 3 output lines which gives acceleration in x,y,z direction.i just want to sense this signal. i doesn't required converted value.also i'm attaching datasheet of accelerometer. iwant to develop following logic
if analog signal is present at x then led will get on and there will be no further scanning of analog sigmnal.if not then it will check for y,if present then led will get on & no further scanning,and if not then it will go for z
and also tell me is it possible to use analog multiplexer in this situation which combine this three output signal and give them to single adc channel of atmegA16
The fastest division factor of ADC is 2. ATmega16 can go up to 16MHz. This means 8MHz ADC speed.
I don't get this, the outputs are analog so what is the point of sensing them if you are not going to measure the value they have?i just want to sense this signal. i doesn't required converted value
alexan_e said:The mega16 ADC can work with up to 15K samples for 10bit resolution (50KHz-200KHz ADC clock) and higher than that (up to 1MHz) for lower resolutions. With the max clock of 1MHz and 13 clocks for the conversion you can get up to 77K samples, you can't use use 8MHz ADC clock. In addition there is a small delay that should be applied when you change channels before you start the conversion (a few us)