0

Sensor wire length
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Sensor wire length

by mlportersr on Tue Mar 13, 2018 2:24 pm

I am wanting to use your adxl345 breakout board in a project. How long can the wires connecting it to the Arduino be?

mlportersr
 
Posts: 20
Joined: Fri Feb 16, 2018 5:55 pm

Re: Sensor wire length

by adafruit_support_bill on Tue Mar 13, 2018 2:53 pm

That will depend on the quality of the wiring and what possible sources of interference there might be.

The device supports both i2c and SP interfaces. Both are designed for short distances. But SPI is more easily adapted to longer runs if necessary.

You should be able to go a meter or so without much trouble. Beyond that, you should plan on shielded and/or twisted pair wiring to minimize noise pickup. For even longer runs, you can also look into slowing down the clock rate.

adafruit_support_bill
 
Posts: 69233
Joined: Sat Feb 07, 2009 10:11 am

Please be positive and constructive with your questions and comments.