I am working a project that need to monitor the state of the central locking, Locked or Unlocked.
Circuit Works as below.
- This circuit is 12V.
- The lock and unlock wire are pulled to GND at rest.
- When Lock is pressed the Unlock wire is pulled to GND and the Locked wire goes to 12v.
- When Unlock is pressed the Lock wire is pulled to GND and the Unlocked wire goes to 12v.
I wanted to use octocouplers to feed these wires to the arduino as per attached. Will this work?