|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#16
|
||||||
|
||||||
|
Re: ADXL345 accelerometer problems
Quote:
|
|
#17
|
|||
|
|||
|
Re: ADXL345 accelerometer problems
We have been using the round cable for testing with an ADXL345 from last year and it worked fine. Several new sensor boards did not work and I suspected that the students had connected them wrong and smoked them. As crunch time comes, I was not comfortable that we had only the old board and no new ones working. We ordered three new boards and they didn;t work either. The old board worked in two robots with the round cable. After reading this thread, we tried the flat ribbon and as was predicted here, all 6 boards work.
Anybody know why the older board works with the old cable? Rob Coe Mentor to Team 28 |
|
#18
|
|||||
|
|||||
|
Re: ADXL345 accelerometer problems
The cable I was using has no identifying marks on it that I can see. Based on the box I pulled it from it is likely one from 2010, though I can't be sure. We didn't label the ones we got in the Kit of Parts with the year we received them.
|
|
#19
|
||||
|
||||
|
Re: ADXL345 accelerometer problems
We are getting "real" data from the accelerometer using the molded 37-pin cable. But it is very noisy - maybe we should try a ribbon cable. It does not make obvious sense why it should matter, they are of similar length. But we will try it.
|
|
#20
|
||||
|
||||
|
Re: ADXL345 accelerometer problems
It looks like most of the common causes for this problem have been described very well, but I thought I would add one more possibility for anyone searching this thread. Our team had no connectivity to the accelerometer at first with any cable combination. It turned out that the accelerometer was responding to the alternative address even though no jumper had been added to the board. I tested the jumper with an ohm meter and did not find a short, but the device clearly acted as if it had been programmed with a jumper. If anyone else has trouble with no communications at all over I2C, try both addresses before giving up, even if there is no solder jumper on the board.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|