LPC2138 and DS18B20 interfacing (1wire protocol in lpc21XX)

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LPC2138 and DS18B20 interfacing (1wire protocol in lpc21XX)

2,289 Views
lpcware
NXP Employee
NXP Employee
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.
Labels (1)
0 Kudos
Reply
5 Replies

1,354 Views
athmesh_n
Contributor IV

Hope you got the solution

0 Kudos
Reply

1,354 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by LabRat on Mon Feb 10 02:17:41 MST 2014
???

http://www.lpcware.com/content/forum/onewire-bus-master-implementation
0 Kudos
Reply

1,354 Views
shaheenshamshad
Contributor III

Hi

This link is not working.

I want to implement one wire protocol interface using LPC546XX mcu ,McuXpresso IDE and sdk 2.4.

I have searched in sdk example section but I did not get any sample project on that.

Kindly guide.

Regards,

SS

0 Kudos
Reply

1,354 Views
athmesh_n
Contributor IV

which one wire sensor are you using? one wire protocol changes with sensor. Please refer the datasheet of that sensor

0 Kudos
Reply

1,354 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by effiziente.st on Mon Feb 10 02:13:28 MST 2014
Here were some details, may be you can port the code?

http://www.lpcware.com/system/files/22-LPC1768-Temp-Sensor-programming.pdf

plse tell if this path has lead to success, I'm thinking about a transfer from PLC to microcontrollers but have not found the sensor support and sensor  (mostly temp but also light, voltage..) and actor (mostly PWM and relay) biotope I would need.

thnx
0 Kudos
Reply