08-02-2025, 05:45 AM
Good day. I ordered a temperature and humidity sensor, I'm trying to connect it, but the sensor doesn't respond. Maybe I'm doing something wrong. I connected it via USB, and also via KC868-a16
|
KC868-a16 XY-MD02 SHT20
|
|
08-02-2025, 05:45 AM
Good day. I ordered a temperature and humidity sensor, I'm trying to connect it, but the sensor doesn't respond. Maybe I'm doing something wrong. I connected it via USB, and also via KC868-a16
08-02-2025, 05:57 AM
disconnect with KC868-A16, let USB-RS485 adapter connect to sensor to test firstly.
YouTube: https://www.youtube.com/c/KinCony
Online Store: https://shop.kincony.com Alibaba Store: https://kincony.en.alibaba.com/
08-02-2025, 06:03 AM
08-02-2025, 10:11 PM
# Config Modbus
modbus: uart_id: uart_modbus id: modbus1 modbus_controller: - id: modbus_sensor address: 0x01 # device address modbus_id: modbus1 sensor: - platform: modbus_controller modbus_controller_id: modbus_sensor name: "RS485 Temperature Sensor" id: temperature_sensor address: 0x0001 register_type: read value_type: U_WORD unit_of_measurement: "°C" accuracy_decimals: 1 filters: - lambda: if (x < 10000) return x * 0.1; else return -1 * (x - 10000) * 0.1; - platform: modbus_controller modbus_controller_id: modbus_sensor name: "RS485 Humidity Sensor" id: humidity_sensor address: 0x0002 register_type: read value_type: U_WORD unit_of_measurement: "%" accuracy_decimals: 1 filters: - multiply: 0.1 Теперь работает!
08-03-2025, 12:04 AM
you can try to hold on the RESET button of sensor, hold on 5 seconds, release it , will reset the sensor, then the RS485 address will be set to 1
YouTube: https://www.youtube.com/c/KinCony
Online Store: https://shop.kincony.com Alibaba Store: https://kincony.en.alibaba.com/ |
|
« Next Oldest | Next Newest »
|
| Users browsing this thread: |
| 1 Guest(s) |