Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Message

Re: Dallas 1-wire

2004-09-16 by Don Kinzer

--- In AVR-Chat@yahoogroups.com, "silicasolution" <ted_marytl@s...> 
wrote:
> Hello Group,
> 
> Does anybody out there know of any sample code [...] that will 
> allow me to communicate with Dallas 1-wire devices?

The protocol isn't too diffucult to implement, especially if you only 
need master mode and to work with a few specific devices.  I wrote 
some code for an ATmega to talk to a DS2404.  The main routine that 
gets or sends one bit is about 75 lines (less than half of which is 
code - the rest is whitespace and comments).

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.