orgua / OneWireHub

OneWire slave device emulator
GNU General Public License v3.0
343 stars 86 forks source link

DS2501 and DS2502 #6

Closed xcvista closed 7 years ago

xcvista commented 8 years ago

Those chips are DS2433 with an extra CRC instruction. Maybe they can be implemented based on DS2433 code?

Those devices are used in Dell laptop power supplies however they fry too often. This is where emulating them comes in handy.

ghost commented 7 years ago

https://forum.pjrc.com/threads/33640-Teensy-2-OneWire-Slave

orgua commented 7 years ago

so i conclude you don't have any coding-experience? i will set it on my todo - if it is doable in <2h i will try

xcvista commented 7 years ago

@orgua I went into your DS2433 code and had some trouble parsing the logic in there.

orgua commented 7 years ago

ok, i looked at it and they seem to be similar. i will put the ds2433, ds2501/02 on my list. the hack in the forum is now included in the lib, but its only a subset of the ds2502 but it seems to work with the dell

orgua commented 7 years ago

ok, done

sanjeevirm commented 1 year ago

We have procured DS2502 and DS28E07+ and we have facing the writing programming issue.

We have connected Arduino uno to 1 wire DS2502 or DS28E07+ device but we can't write the device.

Please help us how the set up we need make and how to write the 1 Wire EEPROM. or (please share me the setup image)

For actually our main aim is to write the dell charger ID value into the EEPROM (Charging the laptop)

Please help us we have struggled last one month . please provide the email ID

orgua commented 1 year ago

This lib simulates these devices and does not talk to them.

There are dedicated onewire-host-libs for your usecase (if I understand you correctly):