NerdKits - electronics education for a digital generation

You are not logged in. [log in]

NEW: Learning electronics? Ask your questions on the new Electronics Questions & Answers site hosted by CircuitLab.

Sensors, Actuators, and Robotics » sample code for digital temperature sensor, DS18B20

December 30, 2012
by krgraham
krgraham's Avatar

Anyone have Nerdkit sample code for this inexpensive three wire digital sensor? Pic Example ( www.pic_examples.byethost3.com/DS18B20.html ) An Assembly code example: ( http://www.rentron.com/picbasic/one-wire3.htm ) Another example: ( http://www.ccsinfo.com/forum/viewtopic.php?t=28425 ) Sould be fairly simple... but... maybe not. Missing something. thank you, K

December 30, 2012
by Noter
Noter's Avatar

Might be something useful here - http://www.nerdkits.com/forum/thread/1506/

December 30, 2012
by BobaMosfet
BobaMosfet's Avatar

Have you tried reading the datasheet? It pretty much explains everything in great detail.

BM

Post a Reply

Please log in to post a reply.

Did you know that the microcontroller's crystal oscillator can be used to keep accurate time? Learn more...