Hitachi H48C 3-Axis Accelerometer Help
florezescobar
Posts: 2
Hello everybody. I'm struggling with the communication between the Hitachi H48C 3-Axis Accelerometer and a PIC16F887 using SPI protocol.
The problems begin with the pins connection, because SPI protocol uses separate SDO and SDI pins, but this module has only one DIO pin. How should I connect this?
Although is not a Parallax product, if someone can help me with the SPI configuration for the PIC16F887 in C, I'd appreciate.
The problems begin with the pins connection, because SPI protocol uses separate SDO and SDI pins, but this module has only one DIO pin. How should I connect this?
Although is not a Parallax product, if someone can help me with the SPI configuration for the PIC16F887 in C, I'd appreciate.
Comments
Dave
Hi Dave, thanks for your reply. I've just got the accelerometer working . The connection can be made AccDIO-McuDI, and a 10k resistor between this connection and GND. My others problems were in the code.
Thanks again!