New answers tagged


Edit Beware while the first approach MAY work if you have a common Gnd; otherwise it risks destroying the Pi. The ONLY safe approach is some form of isolation, see the second approach. In general, use a voltage divider for the input on the Pi's GPIO pins: 12V signal ---------------+ | +-+ | | R1 | | ...

Top 50 recent answers are included