Thisapplicationnoteintroducestheusertothe1-Wire

®

communicationprotocolanddescribeshowa1-Wire

devicecanbeinterfacedtothePIC

®

microcontrollers.

1-WireprotocolisaregisteredtrademarkofMaxim/

DallasSemiconductor.

Asoftwarestackforthebasic,standardspeed,1-Wire

mastercommunicationisprovidedwiththisapplication

notealongwithanexampleapplication.AN11991-WireCommunicationwithPICMicrocontrollerAuthor:SashavalliManiyar1-WireProtocolMicrochipTechnologyInc.Theprotocoliscalled1-Wirebecauseituses1wiretotransferdata.1-WirearchitectureusesaINTRODUCTIONpull-upresistortopullvoltageoffthedatalineatthemasterside.Thisapplicationnoteintroducestheusertothe1-Wire1-WireprotocolusesCMOS/TTLlogicandcommunicationprotocolandde

PIC与单总线通信

PIC与单总线通信