]> sigrok.org Git - sigrok-dumps.git/blame - onewire/owfs/README
Add some onewire dumps and a README file.
[sigrok-dumps.git] / onewire / owfs / README
CommitLineData
3e5a7b35
IJ
1This directory contains waveforms generated with OWFS
2
3
4Tools:
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
151-Wire MicroLan:
16
17Two thermometers were attached to the bus (only the data line was connected,
18power was not):
19- DS28EA00 (1-Wire Digital Thermometer with Sequence Detect and PIO)
20- DS18B20 (Programmable Resolution 1-Wire Digital Thermometer)
21
22The server was started as:
23$ owserver -d /dev/ttyUSB0
24
25
26Three dumps were created:
27
281) "owdir.sr" (samplerate = 1MHz)
29A 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
422) "DS18B20.sr" (samplerate = 1MHz)
43A read temperathure request was performed for the specified device:
44$ owread /28.9BCFC8000000/temperature
45 25.5
46
472) "DS28EA00.sr" (samplerate = 1MHz)
48A read temperathure request was performed for the specified device:
49$ owread /42.A8A603000000/temperature
50 26.875
51
52
53Conversion from TXT to sigrok dumps:
54
55The provided dumps were exported from Flextronix TLA 613 logic analizer as text
56files. A simple Python script was used to convert this dumps first into a
57binary file and then into a sigrok standard dump.
58
59
60Decoding 1-Wire dumps
61
62sigrok-cli -i owdir.sr -a onewire:owr=0
63sigrok-cli -i DS18B20.sr -a onewire:owr=0
64sigrok-cli -i DS28EA00.sr -a onewire:owr=0