Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.
Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.
Not sure if this would be much help but there's a thread on Forum.Microchip called DS18B20 Temperature Readings? that contains source code for a 12F675 and DS18B20 test circuit. Please note that the 12F675 is running on the 4.0-MHz INTOSC (1.0-usec instruction cycles).
Download Maxim Application Note 2420 from Dallas/Maxim website.
It shows all the required ASM routines (they use a pic16f628 with a 4Mhz clock but you should be able to adapt them for the 16f84 and 2Mhz fairly easily).
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.