Accelerometers, PWM vs. analog?
May 19, 2008
While looking through the Components section, I came across the accelerometers Fritsl and BaseOverApex posted.
Having never used an accelerometer, I have to ask why you would prefer a PWM accelerometer over analog? I was reading this article about them and in reference to PWM, they seem to indicate "[t]he disadvantage here is that it requires you to use the timing resources of the microcontroller to measure the duty cycle, as well as performing a computationally intensive division operation." Is it not that significant to take these measurements? It seems analog output typically can be retrieved with something like: acceleration=read_adc();
I'm sure there is a time and place for each. Any opinions?