Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics 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.

[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,058
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
 

Try using shielded cable. That should solve the problem
 

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
 

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
 

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
 

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?
 

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.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top