fabim escreveu:Marcelo, este acelerômetro mostra apenas aceleração em função de deslocamento ?
Ou ele indica inclinação XY também ?
Abraços
muito boa pergunta, eu não coloquei ele pra rodar mas pelo que li no datasheet este carinha é ferrado pois além de dar a inclinação em 3 eixos (resolução de 6 bits) permite modos simples de operação como detecção de "Shake", Orientação tipo retrato / paisagem, etc.
tem modo de auto wake/ sleep pra econimizar bateria, a comunicação dele é i2C.
see that: "
During the Active Mode, continuous measurement on all three axes is enabled. In addition, the user can choose to enable:
Shake Detection, Tap Detection, Orientation Detection, and/or Auto-Wake/Sleep Feature and in this mode the digital analysis for
any of these functions is done. The user can configure the samples per second to any of the following: 1 sample/second,
2 samples/second, 4 samples/second, 8 samples/second, 16 samples/second, 32 samples/second, 64 samples/second, and
120 samples/second, for the Auto-Sleep state. If the user is configuring the Auto-Wake feature,"
"Há 10 tipos de pessoas: os que entendem números binários e os que não entendem..."