Ok I got it working

I decided to go the less invasive route, no cutting. I opened up the connector to figure out the pinout, and then put it back together.

On the connector there is a small hole by each pin, perfect for jumpers. Here is the pinout, with the connector facing you, like you are going to plug it into your eyeball ;)

|~~_____~~|
| 6 4 2 |
| ------ |
| 5 3 1 |
\_________/

1 = green
2 = white
3 = red
6 = yellow

Beyond that the only change I made to Chads code as setting. beginSerial (115200), however 19200 seems to work as well.

No changes to the twi.h, I'm using 3.3v on the red lead.

Thanks Chad for this cool code.

Is there a way to translate the acceleration data into tilt data?

Reply

The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options

Captcha
This question is used to make sure you are a human visitor and to prevent spam submissions.
Copy the characters (respecting upper/lower case) from the image.