1-Wire eeprom programming with Raspberry

Sdílet
Vložit
  • čas přidán 7. 09. 2024
  • Since the Raspberry Pi has a 1-wire interface, it can be used to read and write 1-wire devices, such as eeproms, Ibutton and other 1-Wire sensors.
    In this video I'm going to backup and restore the contents of a DS2433 eeprom and try an Ibutton.
    I you like the video, please subscribe.
    (Some 1-Wire EEPROM: DS2430, DS2431, DS2432, DS2433, DS24B33, DS28E01, DS28E04, DS28E05, DS28E22, DS28E25, DS28E07, DS28E25, DS28EC20, DS28EL15, AT21CS01, AT21CS11)

Komentáře • 15

  • @Blamer488
    @Blamer488 Před 17 dny

    Can i read or program a DS2807 with a raspberry? I cant find anything for this eeprom

  • @alexfedorov1160
    @alexfedorov1160 Před rokem

    Raspberry Pi has a 3V3 logic IOs and they're not 5V tolerant, having a pretty strong pull-up to 5V, one is risking damaging the board if pin is in input (default) or OD emulated mode (I2C/1-W).

    • @mcelec7603
      @mcelec7603  Před rokem

      Thanks for the warning, you are right. I put a warning in the video. (Fortunately, in this case only (5V-3.3V)/2.2kohm=0.77mA is loaded on the FET protecting the port in the 3.3V direction.)

  • @muhammadshahid-ww7db
    @muhammadshahid-ww7db Před 10 měsíci

    SIR HOW TO SOFTWARE ON DS2501 three legs transistor shape memory ic
    i am so worried because dell laptop not charging if this ic is damaged.
    i searched that possible through 1 wire method but not enough knowledge thnx
    i am waiting your next video on this sir

    • @mcelec7603
      @mcelec7603  Před 10 měsíci +1

      Sir, the Dell laptop charger is an interesting thing. Several schematics show the DS2501 for ID chip, which has 91h family code. I have a lot of Dell adapter (65W, 90W, original, compatible) and I can read their 1-wire ID chip with Raspberry, but the family code of ID chips is 11h. All of them. I can't identify which 1-wire eprom would have 11h family code.
      However, I assume that this ID chip is difficult to destroy, because it is also protected by a suppressor diode.
      There is an interesting project:
      hclxing.wordpress.com/2014/02/26/hacking-a-dell-power-adapter-final-not-really/

  • @user-zj5tx8to1x
    @user-zj5tx8to1x Před 11 měsíci

    Dear which tool I can get to read data

  • @DA__MochIrvanVadila
    @DA__MochIrvanVadila Před 11 měsíci

    Can this metod use for IC ds2431?

    • @mcelec7603
      @mcelec7603  Před 11 měsíci

      Since it has the same memory structure and operates with commands as the DS2433, I assume that yes, it can be used.

  • @tolga.atesci
    @tolga.atesci Před rokem

    I try to do same thing for AT21CS01 but i cannot see any EEPROM except for w1_bus_master. ):

    • @mcelec7603
      @mcelec7603  Před rokem

      But I see on the AT21CS01 datasheet that it should work with 3.3V pullup voltage and 2.2 kohm pullup resistor.

    • @tolga.atesci
      @tolga.atesci Před rokem

      @@mcelec7603 I have been using Raspberry Pi 4 and i activated 1-wire interface. My connections:
      -SI/O of AT21CS01 = GPIO4
      -GND = GND
      -SI/O of AT21CS01 = 3.3V with 1k ohm resistor.
      P.S. I changed resistor as 330, 1k, 2.2k, 3.3k.
      I tried a lot of things for reading data from AT21CS01 in both Arduino and Raspberry but i cannot correctly get any data. I bought DM160232 to understand AT21CS01 and I changed it from FF value to different value in 06h and 23h address of Main EEPROM zone to solve easily code for reading data but it didnot work. So i tried your method for reading data from 1-wire EEPROM.

  • @daniel070487
    @daniel070487 Před rokem

    haha same for me man ! i got the TL866, K150, Sprut8 and a lot of other Pic, EEPROM, FLASH programmers, but none can do 1-wire.

  • @kishankumar-zt9rz
    @kishankumar-zt9rz Před rokem

    hi
    i have this ds28e01 one wire ..
    i want to copy and paste into another ds28e01 it is possible from this device ..
    can i contact you whatsapp or we chat ..

    • @mcelec7603
      @mcelec7603  Před rokem

      Because the memory areas of the DS28E01 divided 4 parts and the opcodes are different then at DS2433,I don't know if it is possible to read or write memory areas directly with Midnight Commander. However, the Raspberry 1-wire bus can be used as a universal device if someone writes the read-write software in Python based on the data sheet of the DS28E01. I think a Python programmer can solve the task.