summaryrefslogtreecommitdiff
path: root/onewire
diff options
context:
space:
mode:
authorIztok Jeras <iztok.jeras@gmail.com>2012-05-12 13:59:59 +0200
committerUwe Hermann <uwe@hermann-uwe.de>2012-07-04 01:05:24 +0200
commit3e5a7b35ce7d0a14d998e34fa2fc530ca1ba615b (patch)
tree2e02f4144938871faf3149cf44d6be87f77c4f5c /onewire
parentd26364a9fab697b7e1a29a52049f660b4f8fe5a3 (diff)
downloadsigrok-dumps-3e5a7b35ce7d0a14d998e34fa2fc530ca1ba615b.tar.gz
sigrok-dumps-3e5a7b35ce7d0a14d998e34fa2fc530ca1ba615b.zip
Add some onewire dumps and a README file.
Diffstat (limited to 'onewire')
-rw-r--r--onewire/owfs/DS18B20.srbin0 -> 2706 bytes
-rw-r--r--onewire/owfs/DS28EA00.srbin0 -> 2299 bytes
-rw-r--r--onewire/owfs/README64
-rw-r--r--onewire/owfs/owdir.srbin0 -> 1319 bytes
4 files changed, 64 insertions, 0 deletions
diff --git a/onewire/owfs/DS18B20.sr b/onewire/owfs/DS18B20.sr
new file mode 100644
index 0000000..b4d96fd
--- /dev/null
+++ b/onewire/owfs/DS18B20.sr
Binary files differ
diff --git a/onewire/owfs/DS28EA00.sr b/onewire/owfs/DS28EA00.sr
new file mode 100644
index 0000000..bdda32e
--- /dev/null
+++ b/onewire/owfs/DS28EA00.sr
Binary files differ
diff --git a/onewire/owfs/README b/onewire/owfs/README
new file mode 100644
index 0000000..b2bc5b6
--- /dev/null
+++ b/onewire/owfs/README
@@ -0,0 +1,64 @@
+This directory contains waveforms generated with OWFS
+
+
+Tools:
+
+- Logic Analyzer: Tektronix TLA 613
+- Sowtware:
+ - Ubuntu 12.04 (Precise Pangolin)
+ - owfs 2.8p15
+- 1-Wire master: home made from:
+ - PL2303 (USB to UART)
+ - DS2480B (UART to 1-Wire)
+
+
+1-Wire MicroLan:
+
+Two thermometers were attached to the bus (only the data line was connected,
+power was not):
+- DS28EA00 (1-Wire Digital Thermometer with Sequence Detect and PIO)
+- DS18B20 (Programmable Resolution 1-Wire Digital Thermometer)
+
+The server was started as:
+$ owserver -d /dev/ttyUSB0
+
+
+Three dumps were created:
+
+1) "owdir.sr" (samplerate = 1MHz)
+A request to list devices connected to the bus was performed:
+$ owdir
+/28.9BCFC8000000
+/42.A8A603000000
+/bus.0
+/uncached
+/settings
+/system
+/statistics
+/structure
+/simultaneous
+/alarm
+
+2) "DS18B20.sr" (samplerate = 1MHz)
+A read temperathure request was performed for the specified device:
+$ owread /28.9BCFC8000000/temperature
+ 25.5
+
+2) "DS28EA00.sr" (samplerate = 1MHz)
+A read temperathure request was performed for the specified device:
+$ owread /42.A8A603000000/temperature
+ 26.875
+
+
+Conversion from TXT to sigrok dumps:
+
+The provided dumps were exported from Flextronix TLA 613 logic analizer as text
+files. A simple Python script was used to convert this dumps first into a
+binary file and then into a sigrok standard dump.
+
+
+Decoding 1-Wire dumps
+
+sigrok-cli -i owdir.sr -a onewire:owr=0
+sigrok-cli -i DS18B20.sr -a onewire:owr=0
+sigrok-cli -i DS28EA00.sr -a onewire:owr=0
diff --git a/onewire/owfs/owdir.sr b/onewire/owfs/owdir.sr
new file mode 100644
index 0000000..713ae10
--- /dev/null
+++ b/onewire/owfs/owdir.sr
Binary files differ