So I managed to get all of the sensors as well as the alarms working as I'd hoped. Can only guess that I'd managed to reverse the polarity of the alarms the first time through... (Note to self, get more sleep in future)
I needed some method of disarming the alarms - and had purchased this 4x4 matrix keypad for that purpose.
I've been staring a bit blankly at this for a week (mainly wondering how I'm going to solder those tiny pins) but I've just realised that it's not going to work... Initially I thought I could use 8 digital inputs to get this working (thinking each button would be a combination of two inputs - which seemed simple enough) The keypad itself seemed to have ten pins - so I was under the impression that it would mean connecting each of the 4 rows and 4 columns to ground, and whenever a row input reads high to then read the corresponding column input to work out which of the 8 buttons had been pressed...
Something like this...
But that's NOT the way these matrix keypads work is it? Each button press would actually signify a combination of one of four outputs in conjunction with one of four inputs right? (I've looked everywhere, but still can't figure out what the two extra NC connections are for!)
I have a feeling that I'm in way over my head here, but is there a way I can connect this keypad to the KC868-A16 using the existing connections, or would it require assigning the rows and columns to individual GPIO's? (Are there even enough to cater for this?)
I'm only using three digital inputs to connect door sensors and a motion detector, along with four 12V outputs (2 buzzers and 2 sirens) so there should theoretically still be plenty of available GPIO's,especially given that the only other connector in use is Ethernet... My soldering ability however is not terribly great, so I was really hoping not to have to tamper with the board too much...
Part of me is thinking it might just be easier to spend the money on a Nextion or I2C touch display, and use that instead for any direct input/output. Either way I'm well outside of my abilities already, so I'm going to have to figure everything out as I go... (I have some old soldering irons, but don't even have a multimeter!) My ability to arm/disarm the alarms via the KC868-A16 is a fairly essential one though, and it absolutely has to be hardwired... *It would be SO much easier just to use the HA app to arm & disarm, but due to security concerns I can't be reliant on anything involving a wireless signal...
I needed some method of disarming the alarms - and had purchased this 4x4 matrix keypad for that purpose.
I've been staring a bit blankly at this for a week (mainly wondering how I'm going to solder those tiny pins) but I've just realised that it's not going to work... Initially I thought I could use 8 digital inputs to get this working (thinking each button would be a combination of two inputs - which seemed simple enough) The keypad itself seemed to have ten pins - so I was under the impression that it would mean connecting each of the 4 rows and 4 columns to ground, and whenever a row input reads high to then read the corresponding column input to work out which of the 8 buttons had been pressed...
Something like this...
But that's NOT the way these matrix keypads work is it? Each button press would actually signify a combination of one of four outputs in conjunction with one of four inputs right? (I've looked everywhere, but still can't figure out what the two extra NC connections are for!)
I have a feeling that I'm in way over my head here, but is there a way I can connect this keypad to the KC868-A16 using the existing connections, or would it require assigning the rows and columns to individual GPIO's? (Are there even enough to cater for this?)
I'm only using three digital inputs to connect door sensors and a motion detector, along with four 12V outputs (2 buzzers and 2 sirens) so there should theoretically still be plenty of available GPIO's,especially given that the only other connector in use is Ethernet... My soldering ability however is not terribly great, so I was really hoping not to have to tamper with the board too much...
Part of me is thinking it might just be easier to spend the money on a Nextion or I2C touch display, and use that instead for any direct input/output. Either way I'm well outside of my abilities already, so I'm going to have to figure everything out as I go... (I have some old soldering irons, but don't even have a multimeter!) My ability to arm/disarm the alarms via the KC868-A16 is a fairly essential one though, and it absolutely has to be hardwired... *It would be SO much easier just to use the HA app to arm & disarm, but due to security concerns I can't be reliant on anything involving a wireless signal...