Difference between revisions of "Colead SL-5868P"
Jump to navigation
Jump to search
Line 21: | Line 21: | ||
== Protocol == | == Protocol == | ||
TODO: serialcomm | |||
The meter sends two measurements per second. When a new measurement is ready, the device sends <code>0x10</code>. The PC responds with <code>0x20</code>, which causes the device to transmit a 10-byte structure containing configuration and measurement. | |||
=== Commands === | |||
{| border="1" cellpadding="5" cellspacing="0" width="50%" class="alternategrey sigroktable" | |||
! Command | |||
! Direction | |||
! Description | |||
|- | |||
| '''0x10''' | |||
| Device -> PC | |||
| Measurement ready | |||
|- | |||
| '''0x20''' | |||
| PC -> Device | |||
| Send measurement | |||
|} | |||
=== Data structure === | |||
{| border="0" width="95%" style="font-size: smaller" class="alternategrey sigroktable" | |||
|- | |||
! style="width: 3em;" | Byte | |||
! Description | |||
|- | |||
| 0 | |||
| ? | |||
|- | |||
| 1 | |||
| ? | |||
|- | |||
| 2 | |||
| ? | |||
|- | |||
| 3 | |||
| ? | |||
|- | |||
| 4 | |||
| ? | |||
|- | |||
| 5 | |||
| BCD-encoded dB value, most significant digit | |||
|- | |||
| 6 | |||
| BCD-encoded dB value, second digit | |||
|- | |||
| 7 | |||
| BCD-encoded dB value, least significant digit | |||
|- | |||
| 8 | |||
| ? (always 0x01) | |||
|- | |||
| 9 | |||
| ? (checksum?) | |||
|} |
Revision as of 03:08, 7 October 2012
The Colead SL5868P is an inexpensive sound level meter with RS232 capability. It has Lp and Leq measurement modes, and can trigger alarm conditions based on a configured level.
It is rebranded under many names, but appears to generally have the SL-5868P model designation. It's available for under $100.
Hardware
- Nuvoton W78E052D 8-bit microcontroller
- Holtek HT1621B LCD driver
Photos
Protocol
TODO: serialcomm
The meter sends two measurements per second. When a new measurement is ready, the device sends 0x10
. The PC responds with 0x20
, which causes the device to transmit a 10-byte structure containing configuration and measurement.
Commands
Command | Direction | Description |
---|---|---|
0x10 | Device -> PC | Measurement ready |
0x20 | PC -> Device | Send measurement |
Data structure
Byte | Description |
---|---|
0 | ? |
1 | ? |
2 | ? |
3 | ? |
4 | ? |
5 | BCD-encoded dB value, most significant digit |
6 | BCD-encoded dB value, second digit |
7 | BCD-encoded dB value, least significant digit |
8 | ? (always 0x01) |
9 | ? (checksum?) |