Hi
I'm trying to connect the outputs from the alarm (standby, armed, motion detected) to the ESP8266 (later to HA), but I don't know how to do it due to the different supply voltages. The alarm outputs RE, AL, AR (lights can be connected there) are to be read on ESP inputs D4, D5, D6.
Alarm has 12v outputs, esp 3.3v how to reconcile this? A divider on resistors alone probably won't be enough, is there any simple way to accommodate this?
I'm trying to connect the outputs from the alarm (standby, armed, motion detected) to the ESP8266 (later to HA), but I don't know how to do it due to the different supply voltages. The alarm outputs RE, AL, AR (lights can be connected there) are to be read on ESP inputs D4, D5, D6.
Alarm has 12v outputs, esp 3.3v how to reconcile this? A divider on resistors alone probably won't be enough, is there any simple way to accommodate this?
ESP is fed from the alarm via an inverter.