]>
Commit | Line | Data |
---|---|---|
1 | ------------------------------------------------------------------------------- | |
2 | Onewire/OWFS dumps | |
3 | ------------------------------------------------------------------------------- | |
4 | ||
5 | This directory contains 1-Wire aveforms generated with OWFS. | |
6 | ||
7 | Details: | |
8 | TODO. | |
9 | ||
10 | Tools used: | |
11 | ||
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) | |
17 | ||
18 | 1-Wire MicroLan: | |
19 | ||
20 | Two thermometers were attached to the bus (only the data line was connected, | |
21 | power was not): | |
22 | ||
23 | - DS28EA00 (1-Wire Digital Thermometer with Sequence Detect and PIO) | |
24 | - DS18B20 (Programmable Resolution 1-Wire Digital Thermometer) | |
25 | ||
26 | The server was started as: | |
27 | ||
28 | $ owserver -d /dev/ttyUSB0 | |
29 | ||
30 | ||
31 | owdir.sr (samplerate = 1MHz) | |
32 | ---------------------------- | |
33 | ||
34 | A request to list devices connected to the bus was performed: | |
35 | ||
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 | ||
49 | ds18b20.sr (samplerate = 1MHz) | |
50 | ------------------------------ | |
51 | ||
52 | A read temperature request was performed for the specified device: | |
53 | ||
54 | $ owread /28.9BCFC8000000/temperature | |
55 | 25.5 | |
56 | ||
57 | ||
58 | ds28ea00.sr (samplerate = 1MHz) | |
59 | ------------------------------- | |
60 | ||
61 | A read temperature request was performed for the specified device: | |
62 | ||
63 | $ owread /42.A8A603000000/temperature | |
64 | 26.875 | |
65 | ||
66 | ||
67 | Conversion from TXT to sigrok dumps | |
68 | ----------------------------------- | |
69 | ||
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. | |
73 |