Commit 9dcfea643c11ffc63ab5dcff6c7b57e58234cd4f

Authored by Jeroen88
1 parent 7895af19

Change OpenTherm RX and TX pins to new OpenTherm shield

examples/Advanced_Thermostat/Advanced_Thermostat.ino
@@ -45,8 +45,9 @@ @@ -45,8 +45,9 @@
45 45
46 #include <EasyOpenTherm.h> 46 #include <EasyOpenTherm.h>
47 47
48 -#define OT_RX_PIN (34)  
49 -#define OT_TX_PIN (17) 48 +// ESP32-S2
  49 +#define OT_RX_PIN (35)
  50 +#define OT_TX_PIN (33)
50 51
51 #define BME_ADDRESS (0x76) 52 #define BME_ADDRESS (0x76)
52 #define I2C_SDA_PIN (8) 53 #define I2C_SDA_PIN (8)
examples/Basic_Thermostat_Commands/Basic_Thermostat_Commands.ino
@@ -42,8 +42,9 @@ @@ -42,8 +42,9 @@
42 42
43 #include <EasyOpenTherm.h> 43 #include <EasyOpenTherm.h>
44 44
45 -#define OT_RX_PIN (34)  
46 -#define OT_TX_PIN (17) 45 +// ESP32-S2
  46 +#define OT_RX_PIN (35)
  47 +#define OT_TX_PIN (33)
47 48
48 #define CH_SETPOINT (60.0f) 49 #define CH_SETPOINT (60.0f)
49 50
examples/MQTT_Advanced_Thermostat/MQTT_Advanced_Thermostat.ino
@@ -103,9 +103,9 @@ @@ -103,9 +103,9 @@
103 103
104 104
105 // GPIO pin used to read data from the boiler or HVAC. Must support interrupts 105 // GPIO pin used to read data from the boiler or HVAC. Must support interrupts
106 -#define OT_RX_PIN (34) 106 +#define OT_RX_PIN (35)
107 // GPIO pin used to send data to the boiier or HVAC. Must not be a 'read only' GPIO 107 // GPIO pin used to send data to the boiier or HVAC. Must not be a 'read only' GPIO
108 -#define OT_TX_PIN (17) 108 +#define OT_TX_PIN (33)
109 109
110 // The address of the BME280 temperature sensor 110 // The address of the BME280 temperature sensor
111 #define BME_ADDRESS (0x76) 111 #define BME_ADDRESS (0x76)
examples/OpenTherm_Show_DATA-IDs/OpenTherm_Show_DATA-IDs.ino
1 #include <EasyOpenTherm.h> 1 #include <EasyOpenTherm.h>
2 2
  3 +// ESP32-S2
3 // GPIO pin used to read data from the boiler or HVAC. Must support interrupts 4 // GPIO pin used to read data from the boiler or HVAC. Must support interrupts
4 -#define OT_RX_PIN (34) 5 +#define OT_RX_PIN (35)
5 // GPIO pin used to send data to the boiier or HVAC. Must not be a 'read only' GPIO 6 // GPIO pin used to send data to the boiier or HVAC. Must not be a 'read only' GPIO
6 -#define OT_TX_PIN (17) 7 +#define OT_TX_PIN (33)
7 8
8 9
9 10
examples/Test_Boiler_Communication/Test_Boiler_Communication.ino
@@ -32,8 +32,9 @@ @@ -32,8 +32,9 @@
32 #include <EasyOpenTherm.h> 32 #include <EasyOpenTherm.h>
33 33
34 34
35 -#define OT_RX_PIN (34)  
36 -#define OT_TX_PIN (17) 35 +// ESP32-S2
  36 +#define OT_RX_PIN (35)
  37 +#define OT_TX_PIN (33)
37 38
38 39
39 void setup() { 40 void setup() {
examples/Test_HVAC_Communication/Test_HVAC_Communication.ino
@@ -32,8 +32,9 @@ @@ -32,8 +32,9 @@
32 #include <EasyOpenTherm.h> 32 #include <EasyOpenTherm.h>
33 33
34 34
35 -#define OT_RX_PIN (34)  
36 -#define OT_TX_PIN (17) 35 +// ESP32-S2
  36 +#define OT_RX_PIN (35)
  37 +#define OT_TX_PIN (33)
37 38
38 39
39 void setup() { 40 void setup() {