lpcware

LPC2138 and DS18B20 interfacing (1wire protocol in lpc21XX)

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by eric_s88 on Fri Nov 15 01:10:47 MST 2013
hi everyone!

I want to drive ds18b20 via lpc2138.

this temperature sensor has an output via 1wire protocol. Codevision has a libraries for both 1wire and especially for ds18b20. but doesnt have source!
I want ro drive it via lpc2138 arm7 uC.

I have read some codes but they didn't help me.

*does anybody have experience with this?
*anybody knows about how to implement 1wire protocol on lpc2138?

I have attached DS1820 datasheet and a pdf that talks about that(sth like datasheet) and a code, that has only the functions name.

Outcomes