Continue to Site

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.

  • 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.

DS1820 & PIC16F84A subroutine

Status
Not open for further replies.

mabauti

Member
Hi to everyone.

I'm looking for a simple subroutine for reading a DS1820 with a PIC16F84A using a 2Mhz Xtal

t.i.a 8)
 
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).

Good luck with your project. Happy Holidays. Mike


**broken link removed**

**broken link removed**
 
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).
 
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top