ab.rodrigo
Posts: 5
Joined: Sat Dec 29, 2018 3:55 pm

Simulation of a One Wire Sensor using Raspberry Pi

Fri Jan 04, 2019 6:54 pm

Hello,
I'm currently developing my undergraduate thesis and I have to build a simulator of a DS18B20 Temperature Sensor using the Raspberry Pi platform. In other words, I have to show how a DS18B20 works by constructing codes (in C++ or Python) that simulate the activities of the sensor. This codes will run in a Raspberry Pi 3 Model B (which will function as a slave device) and it will communicate by a One Wire Network with another Raspberry Pi 3 Model B (which will function as a master device). Is there any material that can help me with this task?

User avatar
bensimmo
Posts: 4152
Joined: Sun Dec 28, 2014 3:02 pm
Location: East Yorkshire

Re: Simulation of a One Wire Sensor using Raspberry Pi

Fri Jan 04, 2019 6:55 pm

OWFS (One Wire File System)
Look at that, it'll do everything you ask.

hippy
Posts: 5779
Joined: Fri Sep 09, 2011 10:34 pm
Location: UK

Re: Simulation of a One Wire Sensor using Raspberry Pi

Fri Jan 04, 2019 11:47 pm

My previous comment to your question asked on another thread asking about using a Pi as a 1-wire slave -

viewtopic.php?f=44&t=163028#p1409936

ab.rodrigo
Posts: 5
Joined: Sat Dec 29, 2018 3:55 pm

Re: Simulation of a One Wire Sensor using Raspberry Pi

Sat Jan 05, 2019 2:29 pm

hippy wrote:
Fri Jan 04, 2019 11:47 pm
My previous comment to your question asked on another thread asking about using a Pi as a 1-wire slave -

viewtopic.php?f=44&t=163028#p1409936
Thank you so much for your replying! :)

ab.rodrigo
Posts: 5
Joined: Sat Dec 29, 2018 3:55 pm

Re: Simulation of a One Wire Sensor using Raspberry Pi

Sat Jan 05, 2019 2:30 pm

bensimmo wrote:
Fri Jan 04, 2019 6:55 pm
OWFS (One Wire File System)
Look at that, it'll do everything you ask.
Thank you so much for your replying! I’ll have a looke at this file! :)

Return to “Automation, sensing and robotics”