PDA

View Full Version : ds 18b20 circuit.



johnyp
- 5th March 2010, 10:05
Hello to everyone.
Is it possible someone to post a circuit for connecting 18b20 to pc serial port using max232.

Thank you.

rsocor01
- 5th March 2010, 12:57
johnyp,

Just by looking at the datasheet I don't think that you can connect this ds18b20 directly to a max232, if that is what you are trying to do. You need to initialize your ds18b20 and then send ROM commands and funtion commands to it from your MCU.

Connect the ds18b20 to any port in your MCU and connect your MCU to a max232. Read the datasheets. The answer is in there.

http://datasheets.maxim-ic.com/en/ds/DS18B20.pdf

http://datasheets.maxim-ic.com/en/ds/MAX220-MAX249.pdf

Robert

malc-c
- 5th March 2010, 13:33
Or search the forum, or the web, there are tons of examples of using a DS18x20 sensor to read temperatures

ardhuru
- 6th March 2010, 17:40
Hi Johny,

Something like this?

http://www.codeproject.com/KB/miscctrl/1-wire_USB.aspx?msg=3370332

Regards,

Anand