![]() |
Need Electrical Guru, DB37 Cables
This year, when we tried to hook up our accelerometer, The ADXL245 via I2C and our output was all 0s. After some searching on the forums, it turns out that the round DB37 cables from last year do not work and we need to use the Flat ones we got in this year's KOP.
We tried testing all the pins and they work the same for both cables (after fixing this year's cable of course). Also, we found out that the old cable actually has less resistance than the new cable. So can anyone who is awesome with Electronics find out why Flat works and Round doesnt? The problem might be because our round cable is defective in some way because other teams have experienced the same thing. Last years cable: http://www.andymark.com/product-p/am-0500.htm This years cable: http://www.andymark.com/product-p/am-0504.htm |
Re: Need Electrical Guru, DB37 Cables
Last years round cable works just fine this year.
|
Re: Need Electrical Guru, DB37 Cables
Quote:
|
Re: Need Electrical Guru, DB37 Cables
Quote:
http://www.chiefdelphi.com/forums/sh...d.php?t=100142 |
Re: Need Electrical Guru, DB37 Cables
Programming language shouldn't have anything to do with it. If your I2C works in C++ with a round cable, it'll work with a flat cable.* Electrons don't care what programming language you're using, they're pretty egalitarian like that.
Similarly, if you can't get I2C to work with Java + round cable, a flat cable isn't going to fix things. It's almost certain to be a programming problem. *Yes, yes, there are differences between the two, cross-talk and suchlike, but I don't think those effects are big enough to interfere with what we're doing. And anyways, that'd just mean a round cable wouldn't work in any language. |
Re: Need Electrical Guru, DB37 Cables
Reading the OP's problem I would guess that it is more likley the module is not connected into the cRIO well, a bent pin on his roung cable, or it is just not getting inserted all the way. We had an odd problem where the screw holding the cRIO on was loose, causing the module to lose connectivity intermittentley when we would hit bumps or change direction, boy was the robot acting wierd.
|
Re: Need Electrical Guru, DB37 Cables
I just fixed our DB37 cable last night, all you need to do is take the cable out of the connector, and flip it over. it only takes about 2-3 minutes, and all you need is a vice and a pair of scizzors
|
Re: Need Electrical Guru, DB37 Cables
Quote:
|
Re: Need Electrical Guru, DB37 Cables
Quote:
|
Re: Need Electrical Guru, DB37 Cables
Quote:
See http://www.usfirst.org/sites/default...structions.pdf But you said you already "fixed" the flat cable. Did you test it before fixing it? Not all cables were bad. That's the only thing I see that might be the cause. Try unfixing it, or buy a new one from a local computer shop. |
Re: Need Electrical Guru, DB37 Cables
Quote:
Phil. |
Re: Need Electrical Guru, DB37 Cables
Sorry for causing all this confusion. thanks for taking the time to work this out
@LinuxArchitect, yes we read that document you are talking and yes we determined we got a incorrectly assembled cable via the method they described so we fixed it according to their instructions, no problem there, The problem is that round doesnt work for accelerometers and flat does. Everything else works for both flat and round, @PhilBot, see this post http://www.chiefdelphi.com/forums/sh...d.php?t=100142 see post number 7, 8 also again here http://www.chiefdelphi.com/forums/sh...ad.php?t=99772 post number 11 and 15 |
Re: Need Electrical Guru, DB37 Cables
We have also noticed that the ADXL345 functions correctly with the flat cable but not the round cable.
The ADXL345 uses a I2C serial interface. Pull up the I2C specification from NXP Semiconductor (they invented it) and you'll find a maximum allowable bus capacitance. I'm working from memory here, but IIRC the maximum is 400pF, which is not a lot. In the flat cable the I2C signals (SDA and SCL) can be next to two other signals at most. In the round cable they're tightly bundled with 35 of their friends and I suspect the bus capacitance is much higher. I like explainable things, and that's the best I've got for this. |
Re: Need Electrical Guru, DB37 Cables
Quote:
|
Re: Need Electrical Guru, DB37 Cables
Quote:
|
| All times are GMT -5. The time now is 18:52. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi