1Wire serial EEPROM, DS28EC20 and similar, any experience?


Closed Thread
Results 1 to 14 of 14

Hybrid View

  1. #1
    Join Date
    Feb 2013
    Posts
    1,078

    Default 1Wire serial EEPROM, DS28EC20 and similar, any experience?

    Hello.
    Unfortunately, I was not able to read or write any I2C or SPI eeproms with PBP, so as last chance, I'm now looking into 1wire devices.
    I have worked with DS18B20 and it poses no issues, but what about EEPROM? any code examples? can't find any....

  2. #2
    Join Date
    Dec 2010
    Posts
    409


    Did you find this post helpful? Yes | No

    Default Re: 1Wire serial EEPROM, DS28EC20 and similar, any experience?

    Quote Originally Posted by CuriousOne View Post
    Hello.
    Unfortunately, I was not able to read or write any I2C or SPI eeproms with PBP, so as last chance, I'm now looking into 1wire devices.
    I have worked with DS18B20 and it poses no issues, but what about EEPROM? any code examples? can't find any....
    Why can't you use I2C? I have a couple designs that use 24LC512 family with PBP, and no issues. What part number is the 1-wire device you are looking at?

  3. #3
    Join Date
    Feb 2013
    Posts
    1,078


    Did you find this post helpful? Yes | No

    Default Re: 1Wire serial EEPROM, DS28EC20 and similar, any experience?

    I tried all sample codes and circuits for eeproms posted here
    none seems to work for me.
    for 1 wire device, haven't bought any yet, just deciding
    For experiments i have DS2501-U chip at hands.

  4. #4
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    3,806


    Did you find this post helpful? Yes | No

    Default Re: 1Wire serial EEPROM, DS28EC20 and similar, any experience?

    The I2C works just fine. Used many times the I2CREAD and I2CWRITE commands.

    When there was a problem, was always my mistake in address, wrong use of commands (variable vs constant).

    Complete diagram along with your misbehaving code would help.

    Ioannis

  5. #5
    Join Date
    Feb 2013
    Posts
    1,078


    Did you find this post helpful? Yes | No

    Default Re: 1Wire serial EEPROM, DS28EC20 and similar, any experience?

    I have posted all that here already.
    And this topic is about 1wire eeprom

  6. #6
    Join Date
    Dec 2010
    Posts
    409


    Did you find this post helpful? Yes | No

    Default Re: 1Wire serial EEPROM, DS28EC20 and similar, any experience?

    Quote Originally Posted by CuriousOne View Post
    I have posted all that here already.
    And this topic is about 1wire eeprom
    Perhaps you should provide a link to where you have posted it. Not everybody reads every thread posted everywhere. The 1-wire devices tend to be about the same level of complexity as I2C with a few extra limitations, but are only available in a couple sizes and from a single vendor. If you only need 1K or so to identify a board you should be able to get it going easily. We are trying to steer you towards I2C because they are far more popular and if your project needs change, you won't have a lot of options. Not to mention your next project. I2C is easy and works well in PBP, but hey it's your project. You are less likely to find a code example if you need one for 1-wire, that's all.

Similar Threads

  1. Serial EEPROM
    By William in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 10th July 2009, 18:09
  2. something similar to DEC command
    By mischl in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 21st May 2009, 23:24
  3. Problems with CRC8 Calc in 1Wire
    By JohnB in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 16th March 2007, 22:01
  4. what's similar to the 16f84a?
    By kenpo in forum General
    Replies: 11
    Last Post: - 18th February 2005, 18:26
  5. enumerate 1wire bus
    By justDIY in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 30th June 2004, 19:19

Members who have read this thread : 1

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts