Difference between revisions of "Colead SL-5868P"
(19 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
[[File:Colead SL-5868P. | {{Infobox sound level meter | ||
| image = [[File:Colead SL-5868P.png|180px]] | |||
| name = Colead SL-5868P | |||
| status = supported | |||
| source_code_dir = colead-slm | |||
| connectivity = [[Device_cables#Colead_SL-5868P_cables|RS232]] | |||
| frequency_range = 31.5Hz - 8kHz | |||
| measurement_range = 30dB - 130dB | |||
| resolution = 0.1dB | |||
| accuracy = 1dB | |||
| frequency_weighting = A, C, Flat | |||
| time_weighting = F, S | |||
| standards = IEC 651 Type 2, ANSI 1.4 Type 2 | |||
| website = [http://www.coleadmeter.com/view3.asp?goodsname=Multifunctional%20Sound%20Level%20Meter%20SL-5868P&id2=226 coleadmeter.com] | |||
}} | |||
The | The '''Colead SL5868P''' is a sound level meter with RS232 connectivity. | ||
It has live (Lp), equivalent continuous (L<sub>eq</sub>), and threshold-based (Ln) measurement modes. It can also trigger alarm conditions based on a configured level, and drive a relay accordingly. | |||
It is rebranded under many names, but appears to generally have the SL-5868P model designation. It's available for under $100. | It is rebranded under many names, but appears to generally have the SL-5868P model designation. It's available for under $100. | ||
== Hardware == | == Hardware == | ||
* [http://www.nuvoton.com/NuvotonMOSS/Community/ProductInfo.aspx?tp_GUID=4119224f-5a2b-4861-a2aa-4e7895c6a532 Nuvoton | |||
* [http://www.nuvoton.com/NuvotonMOSS/Community/ProductInfo.aspx?tp_GUID=4119224f-5a2b-4861-a2aa-4e7895c6a532 Nuvoton W78E052D] 8-bit microcontroller | |||
* [http://www.holtek.com/english/docum/consumer/1621.htm Holtek HT1621B] LCD driver | * [http://www.holtek.com/english/docum/consumer/1621.htm Holtek HT1621B] LCD driver | ||
* 6MHz clock | |||
== Photos == | |||
<gallery> | <gallery> | ||
File:Colead SL-5868P back.jpg | File:Colead SL-5868P.jpg|<small>Device, front</small> | ||
File:Colead SL-5868P side.jpg | File:Colead SL-5868P back.jpg|<small>Device, back</small> | ||
File:Colead SL-5868P PCB front.jpg | File:Colead SL-5868P side.jpg|<small>Device, side</small> | ||
File:Colead SL-5868P PCB back.jpg | File:Colead SL-5868P PCB front.jpg|<small>PCB, front</small> | ||
File:Colead SL-5868P PCB detail 1.jpg | File:Colead SL-5868P PCB back.jpg|<small>PCB, back</small> | ||
File:Colead SL-5868P PCB detail 2.jpg | File:Colead SL-5868P PCB detail 1.jpg|<small>Detail 1</small> | ||
File:Colead SL-5868P PCB unmarked.jpg | File:Colead SL-5868P PCB detail 2.jpg|<small>Detail 2</small> | ||
File:Colead SL-5868P PCB unmarked.jpg|<small>Unmarked chip</small> | |||
</gallery> | </gallery> | ||
== Protocol == | == Protocol == | ||
The serial port is set to 2400bps, 8 bits, no parity, 1 stop bit (2400/8n1). | |||
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. | |||
When the user presses the <code>Read</code> key on the keypad, the device sends all its stored measurements out via the serial port. This is preceded by two bogus measurement records as a marker, where all the digits are set to <code>0x0a</code> and byte 2 contains <code>0x09</code> in the first record, and <code>0x08</code> in the second record. The stored measurement records then follow; the entire sequence is typically repeated twice, including the marker. | |||
When the user switches back to live measurement mode, another two bogus measurement records are sent. To mark the return to live mode, the second bogus record this time contains <code>0x07</code>. All following records are then live. | |||
=== Commands === | |||
{| border="1" cellpadding="5" cellspacing="0" width="50%" style="font-size: smaller" 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 | |||
! style="width: 3em;" | Value | |||
! Description | |||
|- | |||
| 0 | |||
| | |||
| ''Always 0x08'' | |||
|- | |||
| 1 | |||
| | |||
| ''Always 0x04'' | |||
|- | |||
| 2 | |||
| | |||
| '''Configuration. The low nibble has the following meaning:''' | |||
|- | |||
| | |||
| 0000 | |||
| Lp, Weighting A, Fast | |||
|- | |||
| | |||
| 0001 | |||
| Lp, Weighting A, Slow | |||
|- | |||
| | |||
| 0010 | |||
| Lp, Weighting C, Fast | |||
|- | |||
| | |||
| 0011 | |||
| Lp, Weighting C, Slow | |||
|- | |||
| | |||
| 0100 | |||
| Lp, Flat, Fast | |||
|- | |||
| | |||
| 0101 | |||
| Lp, Flat, Slow | |||
|- | |||
| | |||
| 0110 | |||
| Ln, Weighting A, Fast | |||
|- | |||
| | |||
| 0111 | |||
| Ln, Weighting A, Slow | |||
|- | |||
| | |||
| 1000 | |||
| Leq, Weighting A, Fast (10-second mean) | |||
|- | |||
| | |||
| 1001 | |||
| Leq, Weighting A, Fast (mean over minutes) | |||
|- | |||
| | |||
| 1010 | |||
| Leq, Weighting A, Slow (10-second mean) | |||
|- | |||
| | |||
| 1011 | |||
| Leq, Weighting A, Slow (mean over minutes) | |||
|- | |||
| | |||
| 1100 | |||
| Internal calibration mode, Fast | |||
|- | |||
| | |||
| 1101 | |||
| Internal calibration mode, Slow | |||
|- | |||
| | |||
| 1110 | |||
| ''Unused'' | |||
|- | |||
| | |||
| 1111 | |||
| ''Unused'' | |||
|- | |||
| | |||
| | |||
| '''The high nibble has the following meaning:''' | |||
|- | |||
| | |||
| 0001 | |||
| Normal measurement | |||
|- | |||
| | |||
| 0010 | |||
| Max hold mode | |||
|- | |||
| 3-7 | |||
| | |||
| '''BCD-encoded value, one byte per digit 0x00-0x09. 0x0a means ignored digit. The last digit represents the decimal.''' | |||
|- | |||
| 8 | |||
| | |||
| '''Measurement status''' | |||
|- | |||
| | |||
| 0 | |||
| Invalid | |||
|- | |||
| | |||
| 1 | |||
| Valid | |||
|- | |||
| 9 | |||
| | |||
| '''Checksum: sum of bytes 0-8''' | |||
|} | |||
[[Category:Device]] | |||
[[Category:Sound level meter]] | |||
[[Category:Supported]] |
Latest revision as of 08:18, 8 June 2013
Status | supported |
---|---|
Source code | colead-slm |
Connectivity | RS232 |
Frequency range | 31.5Hz - 8kHz |
Measurement range (A) | 30dB - 130dB |
Resolution | 0.1dB |
Accuracy (94dB@1kHz) | 1dB |
Frequency weighting | A, C, Flat |
Time weighting | F, S |
Standards | IEC 651 Type 2, ANSI 1.4 Type 2 |
Website | coleadmeter.com |
The Colead SL5868P is a sound level meter with RS232 connectivity.
It has live (Lp), equivalent continuous (Leq), and threshold-based (Ln) measurement modes. It can also trigger alarm conditions based on a configured level, and drive a relay accordingly.
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
- 6MHz clock
Photos
Protocol
The serial port is set to 2400bps, 8 bits, no parity, 1 stop bit (2400/8n1).
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.
When the user presses the Read
key on the keypad, the device sends all its stored measurements out via the serial port. This is preceded by two bogus measurement records as a marker, where all the digits are set to 0x0a
and byte 2 contains 0x09
in the first record, and 0x08
in the second record. The stored measurement records then follow; the entire sequence is typically repeated twice, including the marker.
When the user switches back to live measurement mode, another two bogus measurement records are sent. To mark the return to live mode, the second bogus record this time contains 0x07
. All following records are then live.
Commands
Command | Direction | Description |
---|---|---|
0x10 | Device -> PC | Measurement ready |
0x20 | PC -> Device | Send measurement |
Data structure
Byte | Value | Description |
---|---|---|
0 | Always 0x08 | |
1 | Always 0x04 | |
2 | Configuration. The low nibble has the following meaning: | |
0000 | Lp, Weighting A, Fast | |
0001 | Lp, Weighting A, Slow | |
0010 | Lp, Weighting C, Fast | |
0011 | Lp, Weighting C, Slow | |
0100 | Lp, Flat, Fast | |
0101 | Lp, Flat, Slow | |
0110 | Ln, Weighting A, Fast | |
0111 | Ln, Weighting A, Slow | |
1000 | Leq, Weighting A, Fast (10-second mean) | |
1001 | Leq, Weighting A, Fast (mean over minutes) | |
1010 | Leq, Weighting A, Slow (10-second mean) | |
1011 | Leq, Weighting A, Slow (mean over minutes) | |
1100 | Internal calibration mode, Fast | |
1101 | Internal calibration mode, Slow | |
1110 | Unused | |
1111 | Unused | |
The high nibble has the following meaning: | ||
0001 | Normal measurement | |
0010 | Max hold mode | |
3-7 | BCD-encoded value, one byte per digit 0x00-0x09. 0x0a means ignored digit. The last digit represents the decimal. | |
8 | Measurement status | |
0 | Invalid | |
1 | Valid | |
9 | Checksum: sum of bytes 0-8 |