Difference between revisions of "Voltcraft DL-161S"

From sigrok
Jump to navigation Jump to search
(Set status to Planned.)
 
(10 intermediate revisions by one other user not shown)
Line 39: Line 39:
! Response
! Response
! Description
! Description
|-
| 0x0c
| 0xff
| '''Calibrate device''', 2 bytes payload:
|-
| style="width: 1em;" |
| style="width: 3em;" | 1
| Calibration value, as a signed integer between -10 and 10, where 1 represents 0.1 dB
|-
| style="width: 1em;" |
| style="width: 3em;" | 2
| <i>Unused (0x00)</i>


|-
|-
Line 44: Line 57:
| 0xff
| 0xff
| '''Configure device'''
| '''Configure device'''
|-
|-
|
|
Line 57: Line 69:
| style="width: 1em;" |
| style="width: 1em;" |
| style="width: 3em;" | 3
| style="width: 3em;" | 3
| ?
| "REC" LED flash interval, in seconds: 0=none, 10, 20, 30.
|-
|-
| style="width: 1em;" |
| style="width: 1em;" |
| style="width: 3em; vertical-align: top;" | 4
| Bitfield representing the following flags:
<div style="padding: 0;">
{| border="0" width="100%" style="margin: 0; border-collapse: collapse;" class="alternategrey"
|-
| style="width: 3em;" | 7
| Activation: 0=immediate, 1=manual
|-
| style="width: 3em;" | 6-5
| <i>Unused</i>
|-
| style="width: 3em;" | 4
| style="width: 3em;" | 4
| ?
| 0=store measurements, 1=real-time
|-
| style="width: 3em;" | 3
| Frequency weighting: 0=dBC, 1=dBA
|-
| style="width: 3em;" | 2
| Time weighting: 0=Slow, 1=Fast
|-
| style="width: 3em;" | 1-0
| <i>Unused</i>
|}
</div>
 
|-
|-
| style="width: 1em;" |
| style="width: 1em;" |
Line 92: Line 127:
|-
|-
| style="width: 1em;" |
| style="width: 1em;" |
| style="width: 3em;" | 12
| style="width: 3em;" | 12-14
| ?
| Number of samples to acquire, as a big-endian integer.
|-
|-
| style="width: 1em;" |
| style="width: 1em;" |
| style="width: 3em;" | 13
| style="width: 3em;" | 15
| ?
| Alarm low threshold
|-
|-
| style="width: 1em;" |
| style="width: 1em;" |
| style="width: 3em;" | 14
| style="width: 3em;" | 16
| Number of samples to acquire.
| Alarm high threshold
|}
 
|-
| 0x0d
| 0xff
| '''Get stored measurement count''', 2 bytes payload:
|-
|-
| style="width: 1em;" |
| style="width: 1em;" |
| style="width: 3em;" | 15
| style="width: 3em;" | 1-2
| Alarm low threshold
| <i>Always 0x0000?</i>
|-
|
|
| Response has 3 byte payload, representing the number of bytes used in sample memory as a little-endian integer. Each sample uses two bytes.
 
|-
| 0x0f
|
| '''Get stored measurements''', 2 bytes payload is offset into buffer (<i>as pages? page size?</i>)
|-
|
|
| style="padding: 0; font-size: smaller;" |
{| border="0" width="100%" style="margin: 0; border-collapse: collapse;" class="alternategrey"
|-
| style="width: 1em;" |
| style="width: 3em;" | 1
|
|-
| style="width: 1em;" |
| style="width: 3em;" | 2
| Sample rate 1-7, as above.
|-
| style="width: 1em;" |
| style="width: 3em;" | 3
|
|-
| style="width: 1em;" |
| style="width: 3em;" | 4
|
|-
| style="width: 1em;" |
| style="width: 3em;" | 5
|
|-
| style="width: 1em;" |
| style="width: 3em;" | 6
|
|-
| style="width: 1em;" |
| style="width: 3em;" |
|  
|-
|-
| style="width: 1em;" |
| style="width: 1em;" |
| style="width: 3em;" | 16
| style="width: 3em;" |  
| Alarm high threshold
|  
|}
|}



Latest revision as of 20:49, 20 December 2016

Voltcraft DL-161S
Voltcraft DL-161S.png
Status planned
Connectivity USB
Frequency range 31.5Hz - 8kHz
Measurement range (A) 30dB - 130dB
Accuracy (94dB@1kHz) 1.4dB
Frequency weighting A, C
Time weighting F, S
Standards IEC 61672-1 Class 2
Website Voltcraft

The Voltcraft DL-161S is a sound level meter with USB connectivity.

See Voltcraft DL-161S/Info for more details (such as lsusb -vvv output) about the device.

This is a rebadged CEM DT-173.

Hardware

TODO

Photos

Protocol

The host sends commands and receives responses via a virtual serial port, with USB bulk endpoint 2 as a backend. A command consists of a single byte followed by any arguments to the command.

Command Response Description
0x0c 0xff Calibrate device, 2 bytes payload:
1 Calibration value, as a signed integer between -10 and 10, where 1 represents 0.1 dB
2 Unused (0x00)
0x0e 0xff Configure device
1-2 Length of data to follow, as a little-endian integer.
3 "REC" LED flash interval, in seconds: 0=none, 10, 20, 30.
4 Bitfield representing the following flags:
7 Activation: 0=immediate, 1=manual
6-5 Unused
4 0=store measurements, 1=real-time
3 Frequency weighting: 0=dBC, 1=dBA
2 Time weighting: 0=Slow, 1=Fast
1-0 Unused
5 Sample interval 1-7, representing 50ms, 500ms, 1s, 2s, 5s, 10s, 60s respectively.
6 Last two digits of year, e.g. 0x0d for 2013
7 Month, 1-12
8 Day of month, 1-31
9 Hours
10 Minutes
11 Seconds
12-14 Number of samples to acquire, as a big-endian integer.
15 Alarm low threshold
16 Alarm high threshold
0x0d 0xff Get stored measurement count, 2 bytes payload:
1-2 Always 0x0000?
Response has 3 byte payload, representing the number of bytes used in sample memory as a little-endian integer. Each sample uses two bytes.
0x0f Get stored measurements, 2 bytes payload is offset into buffer (as pages? page size?)
1
2 Sample rate 1-7, as above.
3
4
5
6

Resources