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.
I saw an old post about pre-loading the wifi credentials in platformio.ini before uploading using build flags like:
-DSSID_NAME="my_ssid"
-DSSID_PASWORD="my_password"
You mentioned hard-coding it in one of the files instead but I couldn't see where to do that (it may have changed since...
For pressure measurement, is there any advantage in using a separate ADC chip when using an esp32 or is that only really necessary for an esp8266 (when the adc analogRead() is occasionally interrupted when used by wifi). I understand the esp32 ADC is nonlinear but it appears to be reproducible...
I've been fermenting for five days now and found that if there's a gap in logging (my power supply was connected to the smart switch I use for Christmas tree lights :) then when you start up again there's a gap in the log. That's as expected. But if it happens a second time (because I am slow...
I think you'll need to assign a different pin for pressure monitoring (something other than the default GPIO 35) as that pin appears to be used for something else on that device (LRCK, something to do with audio), page 7 on the datasheet...