41 lines
1.4 KiB
Plaintext
41 lines
1.4 KiB
Plaintext
[ 103][I][esp32-hal-i2c.c:75] i2cInit(): Initialising I2C Mast
|
|
|
|
=== ESP32-S3 Rain Barrel System Starting ===
|
|
|
|
Core: 1, Freq: 240 MHz
|
|
Debug level: 5
|
|
I2C internal pull-ups enabled on SDA=15 SCL=7
|
|
Pin 4 set to HIGH
|
|
I2C scan on SDA=15, SCL=7
|
|
I2C device found at 0x20
|
|
I2C device found at 0x21
|
|
I2C device found at 0x25
|
|
I2C device found at 0x27
|
|
I2C scan complete: 4 device(s) found
|
|
Failed to write PCF8574 at 0x21, I2C error 2
|
|
Pin 17 set to LOW
|
|
[ 2691][V][esp32-hal-uart.c:330] uartBegin(): UART2 baud(9600) Mode(800001c) rxPin(5) txPin(6)
|
|
|
|
[ 2700][V][esp32-hal-uart.c:416] uartBegin(): UART2 not installed. Starting installation
|
|
|
|
[ 2708][V][esp32-hal-uart.c:467] uartBegin(): UART2 initialization done.
|
|
|
|
MODBUS RS485 initialized: RXD=pin5, TXD=pin6, Baud=9600
|
|
Sending init command (FC06 Write Single Register)...
|
|
|
|
Init Response: E0 (total: 1 bytes)
|
|
MODBUS TX: 01 03 00 04 00 01 C5 CB (CRC)
|
|
Setup complete
|
|
|
|
|
|
[ 3515][W][Wire.cpp:301] begin(): Bus already started in Master Mode.
|
|
|
|
[ 3524][E][Wire.cpp:513] requestFrom(): i2cRead returned Error -1
|
|
|
|
LCD init failed, status=-1
|
|
MODBUS RX: 01 03 02 00 03 F8 45 (total: 7 bytes)
|
|
Data Value: 0x0003 (3)
|
|
Received CRC: 0x45F8
|
|
Calculated CRC: 0x45F8
|
|
CRC Check: PASSED
|
|
|
|
|
|
MODBUS TX: 01 03 00 04 00 01 C5 CB (CRC)
|
|
MODBUS RX: 01 03 02 00 03 F8 45 (total: 7 bytes)
|
|
Data Value: 0x0003 (3)
|
|
Received CRC: 0x45F8
|
|
Calculated CRC: 0x45F8
|
|
CRC Check: PASSED
|
|
|
|
|