Pages: [1]   Go Down
Author Topic: Siemens SDA 2546-5 EEPROM  (Read 1779 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 5
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I think it is possible to connect a SDA 2546-5 4kb EEPROM () via I2C to an Arduino,
but what changes from the guideline in http://www.arduino.cc/playground/Code/I2CEEPROM?
I connected the device exactly as indicated above, but I did not managed to get it work via the eeprom.pde.
Thanks in advance, I'm a newbie.  smiley-red
Logged

Global Moderator
Netherlands
Offline Offline
Shannon Member
*****
Karma: 212
Posts: 13531
In theory there is no difference between theory and practice, however in practice there are many...
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Do you have everything connected?
- GND SDA SCL, 5V

Please post the link to the datasheet, - specs should fit code !

Rob
Logged

Rob Tillaart

Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -
(Please do not PM for private consultancy)

Offline Offline
Newbie
*
Karma: 0
Posts: 5
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Datasheet can be found here: http://www.alldatasheet.com/datasheet-pdf/pdf/168172/SIEMENS/SDA2546-5.html
I connected pins 1-4 to GND, 8 to 5V and SCL/SDA to arduino i2c pin 4 and 5 s as indicated in the tutorial.
Thanks for the quick reply!  smiley-lol
Logged

Global Moderator
Netherlands
Offline Offline
Shannon Member
*****
Karma: 212
Posts: 13531
In theory there is no difference between theory and practice, however in practice there are many...
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset


Page 4 of the datasheet, you need to connect the Chip Select pin 2 to +5V to select it .... smiley-wink

regards,
Rob
Logged

Rob Tillaart

Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -
(Please do not PM for private consultancy)

Offline Offline
Newbie
*
Karma: 0
Posts: 5
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I fixed the problem, but no reply from the eeprom.. What about device address? Is 0x50 right?
Sorry for wasting your time with such trivial issues...
Thanks again.
Logged

Global Moderator
Netherlands
Offline Offline
Shannon Member
*****
Karma: 212
Posts: 13531
In theory there is no difference between theory and practice, however in practice there are many...
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset


Quote
I fixed the problem, but no reply from the eeprom.. What about device address? Is 0x50 right?

This sketch is the most important I2C tool - http://todbot.com/blog/2009/11/29/i2cscanner-pde-arduino-as-i2c-bus-scanner/

Quote
Sorry for wasting your time with such trivial issues...
He, it''s my choice to answer these questions smiley-wink    And no these are not trivial questions, the answers may be, ...

The next time you know some answers and you can help someone else,
Logged

Rob Tillaart

Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -
(Please do not PM for private consultancy)

0
Offline Offline
Sr. Member
****
Karma: 2
Posts: 303
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Ciao,

has You put the pullup resistors between I2C wires and +5V? (4.7 kOhm are ok as resistors values).

Ciao,
Marco.
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 5
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I tried the i2c scanner and in fact the device is not found.. I'll try to add the pull-up resistor! :/
In the datasheet is indicated only a 10k R between SDA and +5V, must I add another one for SCL? A 10k or 4.7k resistor can be the same?
Thanks for now.
« Last Edit: June 26, 2011, 03:49:10 am by Luse87 » Logged

Global Moderator
Netherlands
Offline Offline
Shannon Member
*****
Karma: 212
Posts: 13531
In theory there is no difference between theory and practice, however in practice there are many...
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

That can easily be tested smiley-wink

Both lines should have a square wave (signal), and if one is distorted due to length or otherwise , the other .......
Logged

Rob Tillaart

Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -
(Please do not PM for private consultancy)

Offline Offline
Newbie
*
Karma: 0
Posts: 5
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Nothing happens with pullup resistors either 10 or 4.7k, on both SDA and SCL or only on SDA.
 smiley-sad Device is not found.
Logged

0
Offline Offline
Sr. Member
****
Karma: 2
Posts: 303
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Ciao,

check again the pin connections.
Pullup resistors are needed on both SDA and SCL lines.

Have connected to the analog 4 and 5 pins of Arduino, not the digitals ones? Beware that if You use Arduino Mega or 2560 I2C pins are not the analog 4 and 5.

Ciao,
Marco.
Logged

Pages: [1]   Go Up
Jump to: