| The PIC16F887 with DS18B20 1-Wire Interface |
การใช้งานไมโครคอนโทรลเลอร์ PIC16F887 กับดิจิตอลเทอร์โมมิเตอร์ DS18B20 ซึ่งเป็น 1-Wire interface. (Using the PIC16F887 microcontroller with 1-Wire interface DS18B20 digital thermometer.) ก่อนใช้ OneWire กับ PIC16F887 ใหดาวน์โหลดไฟล์ dallas onewire primitives library and ds1822 driver code จาก http://losdos.dyndns.org:8080/public/onewire/lib-onewire.html หรือ url=http://www.ccsinfo.com/forum/viewtopic.php?t=19520 ซึ่งสามารถใช้เป็น driver ของ DS18B20 ได้
โปรแกรม thermometer1.zip |
| Copyright © 2007 By Narong Buabthong. |