UBIBOT UB-VS-N1 Vibration Sensor User Guide
Product Introduction
The vibration sensor adopts the original imported sensor, built-in 5 batteries, can be continuously measured, stable data, high precision, strong anti-interference ability, long service life.
A compact, black UBIBOT vibration sensor device.
Use Case Scenarios
Suitable for environmental equipment rooms, airports, railway stations, commercial building control, family homes, office buildings, schools, conference rooms, shopping malls, hotels, gymnasiums, cinemas, libraries and other places.
Features
- Real-time monitoring of vibration values.
- Suspension or stick-on mounting for ease of use.
Product Specifications
Specifications | Details |
---|---|
Model | UB-VS-N1 |
Power Supply | 3 *AA batteries (4.5V) |
Max Current | 306mA |
Measuring Range | Maximum vibration value: 0~1000 |
Working Environment | -40~60℃, 0~80%RH |
Connector | Audio |
Cable Length | 3m |
Communication Protocol | RS485 Modbus RTU Protocol |
RS485 Address | 0x41 |
Baud Rate | 1200 bit/s, 2400 bit/s, 4800 bit/s, 9600 bit/s (default), 19200 bit/s |
Wiring Instruction
The sensor uses a standard audio connector for wiring. The pinout is as follows:
- VCC: Power supply
- RS485 A: RS485 data line A
- RS485 B: RS485 data line B
- GND: Ground
Diagram showing a connector with four pins labeled VCC, RS485 A, RS485 B, and GND, connected to a cable.
Communication Protocols
1. Communication Basic Parameters
Parameter | Value |
---|---|
Coding System | 8-bit binary |
Data Bit | 8 bits |
Parity Checking Bit | none |
Stop Bit | 1 bit |
2. Data Frame Format
The Modbus-RTU communication protocol is used in the following format:
- Initial structure: ≥ 4 bytes in time.
- Address code: 1 byte, default 0x41.
- Function code: 1 byte, supports function codes 0x03 (read only) and 0x06 (read/write).
- Data area: N bytes, 16-bit data, high byte comes first.
- Error check: 16-bit CRC code.
- End structure: ≥ 4 bytes of time.
Request Frame Structure
Field | Size |
---|---|
Slave Address | 1 byte |
Function Code | 1 byte |
Register Address | 2 bytes |
No. of Registers | 2 bytes |
CRC LSB | 1 byte |
CRC MSB | 1 byte |
Response Frame Structure
Field | Size |
---|---|
Slave Address | 1 byte |
Function Code | 1 byte |
No. of Bytes | 1 byte |
Content 1 | 2 bytes |
Content 2 | 2 bytes |
... | ... |
Content n | 2 bytes |
CRC | 2 bytes |
3. Register Address
Address | Content | Register Length | Function Code | Description of definitions |
---|---|---|---|---|
0x0000 | Battery Voltage | 1 | 03 | Unsigned integer data, divided by 100 |
0x0001 | Cumulative activity time in cycle | 1 | 03 | Integer |
0x0002 | Maximum vibration value during the cycle (default cycle 60s) | 1 | 03 | Integer |
0x0003 | Cumulative vibration value during the cycle (default period 60s) | 1 | 03 | Integer |
0x0004 | Accumulated activity time during runtime (cleared after each acquisition) | 2 | 03 | Integer |
0x0006 | Maximum vibration value during cumulative runtime (cleared for re-collection after each acquisition) | 2 | 03 | Integer |
0x0008 | Total vibration value during cumulative runtime (cleared after each acquisition) | 2 | 03 | Integer |
0x000A | Accumulated runtime in s (clear to re-collect the time after each acquisition) | 2 | 03 | Integer |
0x000C | Activity time during cumulative runtime | 2 | 03 | Integer |
0x000E | Maximum vibration value during cumulative runtime (emptied and re-collected after each acquisition) | 2 | 03 | Integer |
0x0010 | Total vibration value during cumulative runtime (cleared after each acquisition) | 2 | 03 | Integer |
0x0012 | Accumulated runtime | 2 | 03 | Integer |
0x0014 | X-axis acceleration | 1 | 03 | Signed integer |
0x0015 | Y-axis acceleration | 1 | 03 | Signed integer |
0x0016 | Z-axis acceleration | 1 | 03 | Signed integer |
0x0017 | Total acceleration | 1 | 03 | Signed integer |
0x0064 | Address | 1 | 03/06 | 1~255 |
0x0065 | Baud Rate | 1 | 03/06 | 1: 4800, 2: 9600, 3:14400, 4: 19200, 5: 38400, 6: 115200 |
Notes
Important:
- Do not pull the sensor lead wire, do not drop or hit the sensor violently.
- Do not expose the sensor to high temperatures or long term exposure to steam, water mist, water curtains or condensation.