8 dallas 1-wire, 1 introduction, 2 search for a 1-wire device – Matrix Orbital PK162-12 User Manual

Page 37

Advertising
background image

Description

This command will set the startup state for the GPO on the next power
up. A value of one will cause the GPO to be off on the next startup while
a value of one will cause the GPO to be on.

NOTE This command does not affect the current state of the GPO.

Remembered

Always

8 Dallas 1-Wire

8.1 Introduction

Another convenient feature of the PK162-12 is that it provides a Dallas 1-wire interface in order to

readily communicate with up to thirty two 1-wire devices on a single bus. 1-wire communication is begun
by discovering the address of the device that you wish to communicate with. To do this you must send the
“Search for a 1-Wire Device’ command. After you have established the address of the device that you wish
to communicate with, you may begin a transaction with the device

8.2 Search for a 1-Wire Device

Syntax

Hexadecimal

0xFE 0xC8 0x2

Decimal

254 200 2

Matrix Orbital

PK162-12

33

Advertising