(10-13-2024, 01:46 AM)admin Wrote: my code is update every 1 minute, you can change to smaller.
KC868-A2 1-wire circuit, only use by 4 resistance for two GPIO ports.
R11,R12: 4.7K
R13,R14: 100ohm
Maybe you can use electric ferrochrome to repair the resistor pad and the gpio pad related to the esp32 module.
Can you show the whole board schematic? I'm wondering if any pull-up resistors exist on the IN1/IN2 inputs. I use them to read the RPM of my fans and they have this wiring diagram. A pull-up resistor is needed there. But I didn't use any pull-up resistor, I just connected the wires to the inputs and I got feedback on the fan RPM. I'm not sure, but maybe this affects the operation of the sensors.
Looking at the diagram, which resistor should I use? I use 24V power supply for board A2, then I have to solder a pull-up resistor between IN1/IN2 to +24V, should this resistor be 24kΩ? Or should the pull-up resistor value be different and not tied to 24V?