DATA ACQUISITION MADE WITH MICROCONTROLLER ON THE 1-WIRE LINE

Abstract

Our research aimed at exploring the possibility of the communication between the microcontroller and the 1-Wire device. After receiving communication data transfer, we were to acquire data from numerous 1-Wire devices, such as identification devices, temperature, humidity or other sensors, EEPROM Memory devices etc. Transferring data (and power) through the single line would be much more convenient, providing, that the transfer will be reliable and accurate. In our study we used original testing board with the Microchip PIC 16F628 microcontroller. We also made use of the HP 16 500 A logic analyzer for controlling the waveforms on the 1-Wire bus. The logic analyzer appeared invaluable in testing time waves. 1-Wire devices, made by Maxim/Dallas, have the rich technical documentation. On the base of their Application Note 2420 we prepared an assembler program for the reading the 8-bytes long identification number from the iButton DS1990R. However, obtaining the positive result in performing the communication on the 1-Wire bus appeared to be very hard. In our research we tried to employ as well the intermediate device, namely DS2480B Line Driver. Its role was to relieve the host microcontroller of generating the communication waveforms. It simply took over the role of the host. Also we used the UART channel of the PIC microcontroller. All our efforts, however, remained without any positive result. Then we decided to come back and to connect the iButton to one of free lines on the I/O port of the PIC 16F628 microcontroller. Our choice was line 1 of PORT A, while most of the PORT B lines were dedicated to communicate with the LCD 2x16 display. Positive communication results we achieved, when we adjusted manually the communication parameters, while simultaneously testing on the logic analyzer the resulting waveforms.

Authors and Affiliations

Barbara Borowik, Bohdan E. Borowik

Keywords

Related Articles

СЕРТИФІКАЦІЯ ПРОФЕСІЙНОЇ КОМПЕТЕНТНОСТІ ПЕРСОНАЛУ

Certification of personnel is analysed as guarantor of competence of specialists, confirmation of their professionalism.

КОМПЛЕКСНА МЕТОДИКА ОЦІНКИ ТЕРМІЧНИХ ПАРАМЕТРІВ ДІЇ ВОГНЕВОГО НАВАНТАЖЕННЯ НА ОГОРОДЖУЮЧІ КОНСТРУКТИВНІ ЕЛЕМЕНТИ ЖИТЛОВИХ ПРИМІЩЕНЬ

It is developed and practically approved elements of method of contact and noncontact estimation of thermal parameters of action of the fire loading on the non-load-bearing structural elements of housings apartments, wit...

UNCERTAINTIES OF MULTIVARIABLE INDIRECT MEASUREMENTS OF DC ELECTRICAL CIRCUITS

In this paper three examples of processing uncertainties of a indirect multi-variable measurement system are considered. It was proposed to extend the vector method of estimating measurement uncertainties, given in Su...

МЕТРОЛОГІЧНЕ ЗАБЕЗПЕЧЕННЯ ВИМІРЮВАННЯ ТЕМПЕРАТУРИ ТА РІЗНИЦІ ТЕМПЕРАТУР ДЛЯ ГЕЛІОСИСТЕМ

It is noted that for the efficiency enhancement of solar energy converters it becomes necessary to measure exactly the temperature and temperature difference. The requirements of normative documents exceed...

ДОСЛІДЖЕННЯ ЕЛЕКТРИЧНОЇ ТА МАТЕМАТИЧНОЇ МОДЕЛІ КОНТРОЛЮ ЯКОСТІ ОВОЧІВ

Operational control of quality vegetables can be made using the method immitance control their electrical parameters. Vegetables – are objects of non-electric nature, and their juices – this electrolyte solutions, where...

Download PDF file
  • EP ID EP203803
  • DOI -
  • Views 72
  • Downloads 0

How To Cite

Barbara Borowik, Bohdan E. Borowik (2007). DATA ACQUISITION MADE WITH MICROCONTROLLER ON THE 1-WIRE LINE. Вимірювальна техніка та метрологія, 1(68), 35-42. https://europub.co.uk/articles/-A-203803