You may upload the following sketch and see what ROM Code you get from the EEPROM:
#include<OneWire.h>
OneWire ds(4); //attach signal pin of EEPROM with DPin-4
byte romCode[8]; //to hold 8-byte ROM Code
void setup()
{
Serial.begin(9600);
ds.reset();
ds.search(romCode); //LSByte first
for(int i = 0; i<8; i++)
{
byte y = romCode[i];
if(y < 0x10)
{
Serial.print('0'); //show leading zero
}
Serial.print(y, HEX);
Serial.print(' '); //insert space between bytes
}
}
#include <OneWire.h>
OneWire ds(4); //attach signal pin of EEPROM with DPin-4
byte romCode[8]; //to hold 8-byte ROM Code
void setup()
{
Serial.begin(9600);
ds.reset();
ds.search(romCode); //LSByte first
for(int i = 0; i<8; i++)
{
byte y = romCode[i];
if(y < 0x10)
{
Serial.print('0'); //show leading zero
}
Serial.print(y, HEX);
Serial.print(' '); //insert space between bytes
}
}
void loop()
{
}
The EEPROM is supported by OneWire.h Library; therefore, the sketch of post #10 should acquire a realistic (not 0s) 64-bit ROM Code from the chip. I have no chip to test/investigate the effectiveness of the sketch. I just followed DS18B20's philosophy and applied that for DS2807/DS28E07.