Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
01/03/08 16:34
Read: times


 
Msg Score: +1
 +1 Informative
#149007 - RE: It is all in the App Notes
Responding to: ???'s previous message
The two key documents that you need to read are:

APPLICATION NOTE 126: 1-Wire Communication Through Software
Abstract: A microprocessor can easily generate 1-Wire® timing signals if a true bus master is not present (e.g., DS2480B, DS2490). This application note provides an example, written in 'C', of the basic standard speed 1-Wire master communication routines. The four basic operations of a 1-Wire bus are Reset, Write 1 bit, Write 0 bit, and Read bit. Byte functions can then be derived from multiple calls to the bit operations. The time values provided produce the most robust 1-Wire master for communication with all 1-Wire devices over various line conditions.
http://pdfserv.maxim-ic.com/en/an/AN126.pdf

You can take the code straight from this document - all you have to add is a delay function.

APPLICATION NOTE 148: Guidelines for Reliable 1-Wire Networks
Abstract: The 1-Wire® protocol was originally designed for communication with nearby devices connection — a way to add auxiliary memory on a single microprocessor port pin. Customers unique applications that involved extending the bus and moving the slave devices farther and master. Problems came up as the bus lengths exceeded both the capabilities of the bus masters of the protocol. 1-Wire device designs responded to the call with added features and protocols, (networking) capabilities, durable steel containers (iButtons®), and mechanisms to assure valid even in severely intermittent contact situations.
This document explains the typical 1-Wire networking topologies and makes recommendations operation. It also presents how various 1-Wire masters impact these recommendations.

http://pdfserv.maxim-ic.com/en/an/AN148.pdf

This document shows you various hardware drive schemes from a single port pin, through a single FET, to advanced drivers.

The full list of all iButton and 1-Wire App Notes is here:
http://www.maxim-ic.com/appnotes10.cfm/ac_pk/1

List of 11 messages in thread
TopicAuthorDate
1-wire interface            01/01/70 00:00      
   sure you can            01/01/70 00:00      
      Is term 'micom' new to you?            01/01/70 00:00      
         I'd never heard of it!            01/01/70 00:00      
         Micom            01/01/70 00:00      
   The 8051's Quasi-Bidirectional IO is ideal!            01/01/70 00:00      
      It is all in the App Notes            01/01/70 00:00      
         RE: It is all in the App Notes            01/01/70 00:00      
            Thanks            01/01/70 00:00      
               On the Web site            01/01/70 00:00      
            Cross-reference - the delay function            01/01/70 00:00      

Back to Subject List