Remote Temperature Logger for PIC18F Board
Using a DS1820 1-wire temperature sensor

In this short article, we describe how to bit-bang a DS18B20 or DS18S20 temperature sensor device using PIC firmware written in ‘C’, and output the temperature values to the RS232 port, for logging on a PC, all using the PIC18Flash Development Board published last month.
The PIC18Flash development board described in Elektor Electronics January 2005 includes a header ‘K8’ that delivers the appropriate processor pins for SPI / Microwire, I2C and 1-Wire communications to external devices. The SPI/Microwire and I2C protocols are supported by dedicated PIC hardware modules, and are quite easy to use as the hardware can be accessed using standard C18 library functions.
This is a MEMBER ONLY article. You need a subscription to read this article.
- Unlimited access to online Member Only articles
- 3 new editions Elektor Magazine (digital)
- More than 5000 Gerber files
- 20% member discount on e-books (at elektor.com)
- 10% member discount on Products (at elektor.com)
Available from €5.33 per month.
What is Members Only
Elektor is committed to providing high-quality content on electronics, catering to tens of thousands of paying members. As part of this commitment, Elektor has launched Premium, an initiative that offers exclusive online articles to members sometimes even before they appear in the magazine.
Every day, members can access in-depth articles that showcase the best of Elektor's premium content.
This initiative aims to reward members with early access. Once logged in, members can easily enjoy this exclusive content and engage in discussions about featured projects. While Premium adds to the existing resources available, Elektor will continue to provide a wealth of free information.
Join the Elektor community today to take advantage of Premium and other benefits!
Discussion (0 comments)