diff --git a/docs/12.HardwareSONOFF.md b/docs/12.HardwareSONOFF.md index 6cf62a3e..f79fbcb7 100644 --- a/docs/12.HardwareSONOFF.md +++ b/docs/12.HardwareSONOFF.md @@ -11,13 +11,21 @@ Please note that some older SONOFFs, maybe before 2018, use ESP8266 while new on For Sonoff TH Elite the built-in lcd display can be removed and a OLED LCD screen can be connected in it's place.. Use electrical tape to make sure that the LCD pcb is not touching the main pcb. The front glass is a thin plastic be gentle with it. +##### Relay Pins +16A devices: 21 +20A devices: 19 and 22 for the latching relay + #### Conntecting sensor The sensor that has the RJ9 connector comes with a controller in the wire that needs to be removed Option 1: Remove the controller and reconntect the wires (not tested). Option 2: Use `Sonoff AL010 2.5mm Audio Jack to RJ9 Adapter` with the old sensor using the audio jack conntector. -##### Connecting OLED LCD (optional) +#### Connecting OLED LCD (optional) * Connect SDA to WR solder pad * Connect SCL to CS solder pad * Use hotglue over soldered contacts so that you don't ripoff the solder pads accidentally. * Connect 3v and Gnd to corresponding solderpads + +#### 🚧 Workaround for 20A Sonoff Origin and Elite + +20A Sonoff devices use bi-stable or latching relays controlled by 2 pins. One pin need to be assigned as Chamber heater even though there is no heater.. In that way when the cooler pin turns off and the fridge is not really off. But soon the algorithm would kick in and start the heater that does not exist and that would turn the fridge off. diff --git a/src/Config.h b/src/Config.h index 8d73fc7b..92d7e5da 100644 --- a/src/Config.h +++ b/src/Config.h @@ -356,11 +356,11 @@ #define oneWirePin 25 -#define actuatorPin1 21 // This is relay 1 +#define actuatorPin1 21 // Relay 1 in 16A versions #define actuatorPin2 23 // TM1621 RD #define actuatorPin3 5 // TM1621 DAT -#define actuatorPin4 24 -#define actuatorPin5 26 +#define actuatorPin4 19 // Relay 1 in 20A versions. Latching relay needs 2 pins +#define actuatorPin5 22 // Relay 1 in 20A versions #else // SONOFF_NEWGEN ends #define PIN_SDA 21