Coder Social home page Coder Social logo

eepromtool-ds2433's Introduction

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

Dependency requirement:
 - astm-serial (pip2 install astm-serial)
 
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.  

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.