Skip to content

mrjackson/owslave

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is 1wire slave code for AVR microcontrollers.
Copyright (C) 2010 Matthias Urlichs <matthias@urlichs.de>.


    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.


The core code implements the basic 1wire discovery methods.
Code size is about 3k; some of that size is due to GCCs inability
to deal with 8-bit integers sanely.
Overdrive speed is not yet implemented.

The 64-bit ID (actually an 48-bit ID because family code and CRC
are fixed) is read from EEPROM. A small tool to generate the EPROM
CRC is included.


NOTE: It appears that Dallas Semiconductor doesn't like people who
implement 1wire slaves in software.

On the other hand, they do discontinue ICs like the DS2423 counter
for which no substitute exists.

Therefore, while I cannot prevent people from doing whatever they want,
simulations of existing ICs will only be entered into this project's
repository if the ICs are no longer available or (at the very least)
"not recommended for new design". Sorry if you want more, but IMHO
this is the best compromise between practical and legal considerations.


-- Matthias Urlichs

Releases

No releases published

Packages

No packages published