Skip to content

A tool for writing and reading One Wire base ds2433 eeproms.

License

Notifications You must be signed in to change notification settings

G4mm3l/eepromTool-ds2433

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 

Repository files navigation

eepromTool-ds2433
=================

A tool for writing and reading OneWire based ds2433 eeproms.  
Tested on Python 2.7 with:
 - Ubuntu/Mint (12.10 & 13.04)
 - OSX
 - Windows 95 & 7
 
Aruino Versions:
 - Uno
 - Mega
 
Reports of success/failure are highly appreciated!

Install the Arduino OneWire library from here:
http://www.pjrc.com/teensy/td_libs_OneWire.html

Load the Arduino sketch, and upload it to your microcontroller.  

Wire up your arduino like so:

Ard Data Pin     Ard +5V   Ard Ground 
------------     -------   ---------- 
   |               |            |
   |     2.2k      |            |
   |----/\/\/\ -----            |
   |                            |
   |                            |
   |                            |
------------              ------------
OneWire Data              OneWire Grnd

This will have to change if multiple eeproms are used on the same OneWire bus, at the moment, this is not supported in software anyway.  To reiterate: this library is not compatible with multiple OneWire devices on the bus.  

Run the Python program with -h to see how to interact with eeprom:
$ python tool.py -h

By default (with no flags) it will back up the eeprom to a folder named by its ROM. The file is timestamped with the linux epoch time of the data dump.  

If you run the code with the --load flag, it will rewrite the flash with the oldest recorded data dump.  This is useful for restoring the ds2433 to a previous state.  

About

A tool for writing and reading One Wire base ds2433 eeproms.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 74.4%
  • Python 15.9%
  • Other 9.7%