I am considering recording the status of my heating and forward/reverse with an esp8266.
I installed a contactor for the well pump, which has a potential-free contact. The temperature of the flow and return should be measured directly on the pipe with a DS18B20.
What is the best way to integrate the status of the contactor? From 5v to the no contact and then to an input?
3.3V to the C contact, NO contact to a GPIO with internal pull-down resistor enabled
or
GND to the C contact, NC contact to a GPIO with internal pull-up resistor enabled
For option 2. you can also use the NO contact if you invert the logic in software (high = off, low = running).
Option 2 is generally safer. If you get a short to ground in the circuit for option 1 the 3.3V current is not limited. Where as in option 2 it is limited by the pull-up resistor.
Now I must disturb 1 time again.
I’m an electrician and there it’s common to switches the phase.
Therefore whats in my case the right option for, I’m currently solder the platine, but don’t know what option is now the usual in the electronic sector.