Go Down

Topic: How to one-wire using UART on arduino? (Read 1 time) previous topic - next topic

dssence

Jul 31, 2014, 05:34 am Last Edit: Jul 31, 2014, 05:36 am by dssence Reason: 1
Hi , I would like to know how to implement this with arduino. This guy (  (http://www.spider-e.com/wp/?p=231    ) has done it succesfully with an intel galileo board. the whole idea is to use arduino UART with the corresponding timing values up to logic level to learn about 1 wire protocol.
     I digged over and over through the net if someone did this with arduino but without any success. I know there were experiments done with 2 arduinos and i2c. But what I really want to do is one-wire communication using uart and arduino , say with a DS18B20 temperature sensor.  Obviously not using the already existing onewire library. But doing an implementation with serial UART which makes the complete learning experience more fun.
     If any of you can help me out on this I would be so grateful.
This was what I found from maxim integrated.

http://pdfserv.maximintegrated.com/en/an/AN126.pdf


iPhelps_


J35U51510V3

Sorry for bringing up an old topic but i have the same question and didn't want to make a new topic.

anyone knows anything about this UART and arduino and DS18b20?

BJHenry

#3
Jul 16, 2019, 04:23 pm Last Edit: Jul 16, 2019, 04:24 pm by BJHenry
Here is a general overview on the subject from Maxim.
Here is the relevant AVR-specific application note from Microchip.

If you just want to use the DS18B20 then you'd probably be better off just using one of the libraries for that particular sensor.

Go Up