I have built a boat monitoring gadget using the photon. One of the things I am monitoring is the duration of a bilge pump run time. This allows me to build alerts to notify me if the bilge is running for an extended period of time which would mean too much water is gong into the boat, i.e potential for boat sinking.
I am using automotive relays connected to the bilge pump so that when the bilge comes on I get 12v on the relay which triggers it. That allows me to read contact between 30 and 87 on the relay which tells me the bilge is on.
It works well but I really don’t like the wiring mess with the relays. I was looking into some rasp/arduino relay boards and even the particle relay board but wasn’t able to to determine if I can do the same with them. They seem more designed to trigger a high voltage as opposed to detecting high voltage.
Any suggestion on how to make a cleaner setup without automotive relays?