]>
Commit | Line | Data |
---|---|---|
39c462df UH |
1 | ------------------------------------------------------------------------------- |
2 | Onewire/OWFS dumps | |
3 | ------------------------------------------------------------------------------- | |
3e5a7b35 | 4 | |
39c462df | 5 | This directory contains 1-Wire aveforms generated with OWFS. |
3e5a7b35 | 6 | |
39c462df UH |
7 | Details: |
8 | TODO. | |
3e5a7b35 | 9 | |
39c462df | 10 | Tools used: |
3e5a7b35 | 11 | |
39c462df UH |
12 | - Logic Analyzer: Tektronix TLA 613 |
13 | - Software: owfs 2.8p15 | |
14 | - 1-Wire master: home made from | |
15 | - PL2303 (USB to UART) | |
16 | - DS2480B (UART to 1-Wire) | |
3e5a7b35 IJ |
17 | |
18 | 1-Wire MicroLan: | |
19 | ||
20 | Two thermometers were attached to the bus (only the data line was connected, | |
21 | power was not): | |
39c462df UH |
22 | |
23 | - DS28EA00 (1-Wire Digital Thermometer with Sequence Detect and PIO) | |
24 | - DS18B20 (Programmable Resolution 1-Wire Digital Thermometer) | |
3e5a7b35 IJ |
25 | |
26 | The server was started as: | |
39c462df UH |
27 | |
28 | $ owserver -d /dev/ttyUSB0 | |
3e5a7b35 IJ |
29 | |
30 | ||
39c462df UH |
31 | owdir.sr (samplerate = 1MHz) |
32 | ---------------------------- | |
3e5a7b35 | 33 | |
3e5a7b35 | 34 | A request to list devices connected to the bus was performed: |
3e5a7b35 | 35 | |
39c462df UH |
36 | $ owdir |
37 | /28.9BCFC8000000 | |
38 | /42.A8A603000000 | |
39 | /bus.0 | |
40 | /uncached | |
41 | /settings | |
42 | /system | |
43 | /statistics | |
44 | /structure | |
45 | /simultaneous | |
46 | /alarm | |
47 | ||
48 | ||
dfdfe680 | 49 | ds18b20.sr (samplerate = 1MHz) |
39c462df UH |
50 | ------------------------------ |
51 | ||
52 | A read temperature request was performed for the specified device: | |
53 | ||
54 | $ owread /28.9BCFC8000000/temperature | |
55 | 25.5 | |
56 | ||
3e5a7b35 | 57 | |
dfdfe680 | 58 | ds28ea00.sr (samplerate = 1MHz) |
39c462df | 59 | ------------------------------- |
3e5a7b35 | 60 | |
39c462df | 61 | A read temperature request was performed for the specified device: |
3e5a7b35 | 62 | |
39c462df UH |
63 | $ owread /42.A8A603000000/temperature |
64 | 26.875 | |
3e5a7b35 | 65 | |
3e5a7b35 | 66 | |
39c462df UH |
67 | Conversion from TXT to sigrok dumps |
68 | ----------------------------------- | |
3e5a7b35 | 69 | |
39c462df UH |
70 | The provided dumps were exported from a Flextronix TLA 613 logic analyzer |
71 | (as text files). A simple Python script was used to convert these dumps, | |
72 | first into a binary file and then into a sigrok session file. | |
3e5a7b35 | 73 |