Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Register Log in

[AVR] Problem with SHT11 cable

Status
Not open for further replies.

Sharagim

Advanced Member level 4
Joined
Feb 6, 2011
Messages
112
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,296
Activity points
2,049
Hi,
I have a SHT11 and Xmega64 and have problem with cable and wires.
As you see in attachment if there is some gap between clock(SCK) and other wires (Specialy GND), it is working perfectly but when they are close to each other I am getting error. In the datasheet I see there is some notice about crosstalk but over 10cm.
I tried twisted pair with better result but at the terminal connector if they are close to each other problem exist yet.
SDA and SCK are pulled up.
SHT.jpg
 

hobbyckts

Advanced Member level 1
Joined
Mar 12, 2015
Messages
481
Helped
88
Reputation
176
Reaction score
85
Trophy points
28
Activity points
2,457
Try using shielded cable. That should solve the problem
 

bigdogguru

Administrator
Joined
Mar 12, 2010
Messages
9,831
Helped
2,348
Reputation
4,690
Reaction score
2,273
Trophy points
1,413
Location
Southwest, USA
Activity points
62,486
As you see in attachment if there is some gap between clock(SCK) and other wires (Specialy GND), it is working perfectly but when they are close to each other I am getting error. In the datasheet I see there is some notice about crosstalk but over 10cm.
One possible option is to utilize a flat cable, with every other conductor connected to GND. This technique is utilized in some high speed parallel interfaces, like ATA.

I tried twisted pair with better result but at the terminal connector if they are close to each other problem exist yet.
SDA and SCK are pulled up.
As they are NOT a differential pair, you certainly do NOT want to utilize a twisted pair.


BigDog
 

Sharagim

Advanced Member level 4
Joined
Feb 6, 2011
Messages
112
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,296
Activity points
2,049
Thx for replies.

One possible option is to utilize a flat cable, with every other conductor connected to GND. This technique is utilized in some high speed parallel interfaces, like ATA.
Could you please confirm if you mean :
|GND|SCK|GND|SDA|GND|VCC
 

bigdogguru

Administrator
Joined
Mar 12, 2010
Messages
9,831
Helped
2,348
Reputation
4,690
Reaction score
2,273
Trophy points
1,413
Location
Southwest, USA
Activity points
62,486
Yes, the commonly used ATA HD cables used in PCs have a similar arrangement, quite effectively I might add.

Utilizing a flat cable would also prevent any of the signal lines from inadvertently crossing, while the GND lines offer some protection from EMI from nearby signal lines.

BigDog
 

Sharagim

Advanced Member level 4
Joined
Feb 6, 2011
Messages
112
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,296
Activity points
2,049
Thx,
I tried to capture with scope and see what is different between the cables and wire positions. but I couldn't find something bold. Do you have anything which can help me on see them on scope?
 

bigdogguru

Administrator
Joined
Mar 12, 2010
Messages
9,831
Helped
2,348
Reputation
4,690
Reaction score
2,273
Trophy points
1,413
Location
Southwest, USA
Activity points
62,486
It appears to be a standard I2C synchronous serial interface, if so the serial clock line (SCK) is interfering with the adjacent serial data line (SDA). The I2C protocol was not originally intended for a flying lead implementation, especially relatively long leads.

BigDog
 

Status
Not open for further replies.
Toggle Sidebar

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top