Simulering av 1-Wire sensorer
Independent thesis Advanced level (degree of Master (Two Years)), 20 credits / 30 HE creditsStudent thesis
The 1-wire bus is a communication bus system which is designed to provide data, signals and power over a single signal with low data rates, a high resolution and a long range. It is typically used to communicate with small inexpensive devices, as temperature sensors, which is worked as a slave with the master computer (PC).
The 1-wire bus system provides the sufficient control and operation signal, a unique ID serial number of each sensor and it supports multiple temperature sensors by a driving power (Parasite Power) on single line.
On the 1-Wire bus system, temperature sensors are supplied by two types of power supplies, external Power supply and Parasitic Power.
The aim of this project is to program the microprocessor (Arduino) by using Arduino programming language to work as a temperature sensor type DS18B20 and also as a slave on the 1-Wire bus system.
This report explains the 1-Wire bus system techniques and how the communication is achieved between the master and the slave (sensors) to measure the temperature values.
The measured temperature values are collected from the output of each active sensor on the 1-Wire bus. These data are displayed by the personal computer (PC) which is worked as a master on the 1-Wire bus, and the data are represent the measured temperature values from twelve active sensors on the bus system.
In this thesis, the temperature values from the 12 active sensors can be read and displayed on the master (PC) by using the following programs: Open Logger One Wire (OLOW) program, One Wire Viewer, DigiTemp and OWFS and I validated all the temperature values from these active sensors which are read and monitored by the drive bus programs. The comparison is done among the measured temperature values to see if the active sensors are given accurate temperature values with different drive bus programs.
The project shows that the sensors can be connected in a network with the master, by using 1-Wire bus techniques. This thesis will be used by Karolinska University Hospital, and it can also be developed for different requirements in the future.
Place, publisher, year, edition, pages
2012. , 70 p.
1-wire bus, Parasite Power, External Power Supply, Sensor, Arduino.
Medical Equipment Engineering Medical Laboratory and Measurements Technologies
IdentifiersURN: urn:nbn:se:kth:diva-104086OAI: oai:DiVA.org:kth-104086DiVA: diva2:563082
Subject / course
Degree of Master
2012-05-01, Alfred Nobels Alle' 10, Huddinge, 13:00 (English)
Karnebäck., Stefan, lärare
Lindecrantz, Kaj, Professor