TIP: Click on subject to list as thread! ANSI
echo: rberrypi
to: B.F.LUNDIN@GMAIL.COM
from: GORDON HENDERSON
date: 2017-11-06 10:32:00
subject: Re: Cannot read values fr

In article ,
Björn Lundin   wrote:
>pi@raspberrypi:~ $ sudo i2cget -y 1 0x68 0x75
>0x68
>
>but I get 0x00 for the x/y/z and ax/ay/az values whatever I do
>pi@raspberrypi:~ $ sudo i2cget -y 1 0x68 0x44
>0x00
>pi@raspberrypi:~ $ sudo i2cget -y 1 0x68 0x43
>0x00
>pi@raspberrypi:~ $ sudo i2cget -y 1 0x68 0x3b
>0x00
>pi@raspberrypi:~ $ sudo i2cget -y 1 0x68 0x3c
>0x00

I've not used this device, but in emails with others what I gather is that
you need to make sure it's not in self-test mode and that the registers
(scaling, etc.) are set correcty, and that it's not in sleep mode, then
trigger it to take a sample. Until then, the default values are all zeros.

Or put it into continuous sample mode.

So go and read the fine manual before writing it off!

-Gordon

--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)

SOURCE: echomail via QWK@docsplace.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.