For my issue could it be that there's enough power to allow the esp32 to detect both of the DS2413 boards (to give four controllable pins) but just not enough power left to drive all four relays? Maybe I can try an external supply for the DS2413 (with common ground).
(I'm starting to wonder...
I found I could power two of them with a 2.2k ohm on this esp32 3.3V line, so I think it must be a wiring issue unless @akgal12 is using an esp32 that permits less current on the 3.3V line (I can only get heat and cool to work from the DS2413 though but I think that's a separate issue)
Check you have both the DS2413 and DS18B20 connected to the same three pins on the esp32: 3.3V, GND and GPIO 17:
Your should have a ~2.2k ohm resistor (or similar) pulling up both the IO pin on the DS2413 and the signal pin on the DS18B20 to 3.3V. Yours looks like 4.7k which may be ok, but if...
Thanks @pocketmon I'll start looking into the Actuator class.
I tried using io pin 22 to control the relay for PTC (instead of one of the two DS2413 1-wire boards that share io pin 21) This worked as expected: temperature higher then set point switched on the relay..
I did same for Capper...
Hi @pocketmon I can't get PTC to change state when Room Temperature sensor is > Glycol Triggering Temperature. Regular heating and cooling comes on and off as expected.
I'm using the same one-wire bus for the temperature sensors and the four actuators (heat. cool, capper and PTC), all set to...
Once you have the pigtail connectors I'd try again using the onboard 3.3V, 5V and Gnd when the unit is powered by USB. Just be sure the connections are good. (And only use 5V to power the relay, 3.3V is fine for the temperature sensors and the DS2413, and they can share a single pull-up resistor)
There's another 4P connector next to the USB socket called "power supply base" that has 5V. (Had to buy more connectors with the wires attached as the screen only came with one). The 5V there is sufficient for both the pressure sensor and the relay board when powered by USB. (Also works with an...
For static ssid and password:
Line 332 in src/bpl/WiFiSetup.cpp in bool WiFiSetupClass::stayConnected(void)
change:
else WiFi.begin();
to:
else WiFi.begin("ssid","password");
There are several instances of WiFi.begin(), it's the last one. WiFi settings are preserved on re-upload so only...
I use 5V from the esp32 to power the relay module, 3.3V from the esp32 to power the ds2413 (via the pull-up resistor) and the temperature probes. The signal pin on the temperature probe is also pulled up via the same resistor. The gnd for everything is connected to the esp32 gnd: temp probes...
@akgal12 The board with two relays on it in your photo looks similar to mine but with just two relays rather than four, so that should be fine for controlling heating and cooling. I can't see what board it is though. It will likely need 5V and Gnd, then send the IOA and IOB to the IN1 and IN2...
@akgal12 You need a pull-up resistor on the DS2413 IO pin (I am using five 1-wire devices and chose a 2.2k ohm resistor to 3.3V). I power the relay board with 5V and toggle four relays on or off using the IOA or IOB from a pair of DS2413 boards:
From the ESP32_2432S032C:
i) Gnd, goes to Gnd...
Good luck! DS2413 worked great for me for heating and cooling from a single pin.
Are you using pressure (capper) and glycol (Parasitic Temperature Control)? If so it will be good to see if they behave as expected.