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,132


    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.

  2. #2
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,139


    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

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


    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

  4. #4
    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.

  5. #5
    Join Date
    May 2013
    Location
    australia
    Posts
    2,653


    Did you find this post helpful? Yes | No

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

    Perhaps you should provide a link to where you have posted it.
    here is one
    http://www.picbasic.co.uk/forum/showthread.php?t=587
    felt like i was like pulling teeth
    Warning I'm not a teacher

  6. #6
    Join Date
    Feb 2013
    Posts
    1,132


    Did you find this post helpful? Yes | No

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

    DS28EC20 has 20KB of EEPROM, and already available from Chinese vendors, for around $1 per IC
    I actually need 2KB for font and 256 bytes for each language text (have 8 languages so far) so even 4KB would be ok

  7. #7
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,612


    Did you find this post helpful? Yes | No

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

    I would:
    1) Use a PIC with enough FLASH to store what needs to be stored (if possible).
    2) Use a FLASH-chip with SPI-interface (easier and faster than I2C IMHO)
    3) Use a FLASH/EEPROM with I2C interface
    4) Wind my own core-memory.
    5) Write down the information on paper, have a RaspberryPi with a camera and OCR software and then interface that to the PIC via CAN-bus.
    6) Use a fake/clone 1-wire device from China costing less than 1/3 of the original, able to store just half of what I need*, only to find it doesn't work at all.

    But hey, that's me :-)

    * The DS28EC20 is 20kbit, not kbyte so your 4kbyte of data won't fit - in case you got that mixed up.

    /Henrik.

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 : 2

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