Dave, Take a look at this... http://dbserv.maxim-ic.com/quick_view2.cfm?qv_pk=2977 I think this is what you need Mauricio Jancic Janso Desarrollos (54) 11 4542 3519 Republica Argentina Microchip Consultant Program Member -----Original Message----- From: pic microcontroller discussion list [mailto:PICLIST@MITVMA.MIT.EDU] On Behalf Of Nigel Orr Sent: Martes, 22 de Julio de 2003 08:04 To: PICLIST@MITVMA.MIT.EDU Subject: Re: [PIC]:1 wire master/slave problem pic microcontroller discussion list <> wrote on Tuesday, July 22, 2003 12:59 AM: > I have a PIC reading 1 wire devices, some on a bus, and some through a > receptacle. My problem is I need to get the data in the PIC out > through the receptacle. Can the PIC be made a Slave ? ( a PIC 16F877 > ). Assuming the device is for production, the most legitimate way to turn the PIC into a slave is probably to attach a memory device to it and 'hi-jack' its identity. On boot, read the real 1-wire device, and use its identity for the PIC circuit. Then respond to memory requests with the contents of the PIC memory instead. I've not implemented this, but had it in mind for another purpose... the open drain outputs should be usable as a 1-wire slave port, but you might need to connect the bus to an interrupt pin as well to avoid missing traffic! I _think_ there are dummy iButtons available, but it might be easier to put a standard connector on the bus and use it instead. Alternatively, you could use a memory iButton, dump the PIC data to it, then take it to another reader to read the data into another PIC. Nigel -- Nigel Orr, Design Engineer nigel@axoninstruments.co.uk Axon Instruments Ltd., Wardes Road,Inverurie,Aberdeenshire,UK,AB51 3TT Tel:+44 1467 622332 Fax:+44 1467 625235 http://www.axoninstruments.co.uk -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics