Difference between revisions of "Kecheng KC-330B"
Jump to navigation
Jump to search
Line 42: | Line 42: | ||
! Response | ! Response | ||
! Description | ! Description | ||
|- | |||
| 0x01 + 6 bytes | |||
| 0x81 | |||
| Configure | |||
|- | |||
| colspan="3" 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 | |||
| Sample rate 0-6, representing 125ms, 500ms, 1s, 2s, 5s, 10s, 60s respectively. | |||
|- | |||
| style="width: 1em;" | | |||
| style="width: 3em;" | 2 | |||
| Alarm low threshold | |||
|- | |||
| style="width: 1em;" | | |||
| style="width: 3em;" | 3 | |||
| Alarm high threshold | |||
|- | |||
| style="width: 1em;" | | |||
| style="width: 3em;" | 4 | |||
| Time weighting: 0=Fast, 1=Slow | |||
|- | |||
| style="width: 1em;" | | |||
| style="width: 3em;" | 5 | |||
| Frequency weighting: 0=dBA, 1=dBC | |||
|- | |||
| style="width: 1em;" | | |||
| style="width: 3em;" | 6 | |||
| Data source: 0=memory, 1=real time | |||
|} | |||
|- | |- | ||
| 0x02 | | 0x02 | ||
| 0x82 + length byte + device model (ASCII) | | 0x82 + length byte + device model (ASCII) | ||
| Identify | | Identify | ||
|- | |- | ||
| 0x03 + 6 bytes | | 0x03 + 6 bytes | ||
| 0x83 | | 0x83 | ||
| | | ? | ||
|- | |||
| colspan="3" 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 | |||
| ? | |||
|- | |||
| 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 | |||
| ? | |||
|} | |||
|} | |} | ||
Revision as of 23:53, 17 June 2013
Status | in progress |
---|---|
Connectivity | USB |
Measurement range (A) | 30dB - 130dB |
Resolution | 0.1dB |
Accuracy (94dB@1kHz) | 1.5dB |
Frequency weighting | A, C |
Time weighting | F, S |
The Kecheng KC-330B is a sound level meter and data logger with USB connectivity.
See Kecheng KC-330B/Info for more details (such as lsusb -vvv output) about the device.
Hardware
- Silicon Labs F320 8-bit MCU with USB interface
- 2 X SG Micro SGM8522 dual rail-to-rail op-amp, SGM8524 quad rail-to-rail op-amp
- Microchip 24LC512 64KB EEPROM
- Texas Instruments CD4053M triple 2-channel multiplexer
Photos
Protocol
The host sends commands to the device via endpoint 2, and receives responses via endpoint 1. A command consists of a single byte, with the MSB (bit 7) cleared, followed by any arguments to the command. The response from the device consists of at least one byte: the command, with the MSB set.
Command | Response | Description | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x01 + 6 bytes | 0x81 | Configure | ||||||||||||||||||
| ||||||||||||||||||||
0x02 | 0x82 + length byte + device model (ASCII) | Identify | ||||||||||||||||||
0x03 + 6 bytes | 0x83 | ? | ||||||||||||||||||
|