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