Forum: Mikrocontroller und Digitale Elektronik I²C Digital Kompass-, Druck-, Temperatur Sensor Modul


von Edgar Neukirchner (Gast)


Lesenswert?

Hat jemand das folgende I2C-Modul schon zum Laufen gebracht?
http://www.neuhold-elektronik.at/catshop/product_info.php?products_id=3948

Ich habe es an den Raspberry Pi angeschlossen, die Kernelmodule geladen 
- aber i2cdetect hat es nicht einmal erkannt.

Gibt es da irgendwelche Protokoll-Besonderheiten? Laut Datenblatt geht 
das Modul 200ms nach dem Einschalten in den Sleep Mode. Doch wie kann 
ich es aufwecken, wenn ich seine Adresse gar nicht sehe?

von Peter Z. (hangloose)


Lesenswert?

Steht doch alles im Datenblatt...

Wake-up mode: The host sends command (0x70) to DSPC01 module. After 1s 
delay, the sensor module then can accept other commands.

DSPC01 communicates with the host through I2C interface so three wires 
are needed for normal operation. The address for “write operation” is 
0x20 and for “read operation” it is 0x21. Because the pull-up resisters 
are installed on the DSPC01 module, the host doesn’t need
any pull-up for I2C interface.

von Edgar Neukirchner (Gast)


Lesenswert?

Wenn es so einfach wäre:
i2cset 0 0x20 0x70

liefert "write failure"

Bitte melde dich an um einen Beitrag zu schreiben. Anmeldung ist kostenlos und dauert nur eine Minute.
Bestehender Account
Schon ein Account bei Google/GoogleMail? Keine Anmeldung erforderlich!
Mit Google-Account einloggen
Noch kein Account? Hier anmelden.