After far too many revisions, the GPIO interface for the Raspberry Pi alarm system is nearly done. It has:
• 8 Digital Inputs
• 4 Relays
• 1 RS-232 serial port
• 2 SPI bus connectors
• 1 I2C bus connector (eventually)
I still need to to finish wiring the SPI connectors, but the serial port, the digital inputs, and the relays are all working. I will probably go ahead and add connectors for the I2C bus pins for future use. I already have an eight port A/D converter for the SPI bus and more GPIO would also be easy to add via SPI.
I added a jumper block near the GPIO connector that allows me to connect (or not) 5V on the interface to 5V on the RasPi. This would allow me to power the board from the RasPi or to backfeed power to the RasPi from the board. I plan on making a jumper with a polyfuse inline. Using that as the jumper will prevent the RasPi from drawing too much current.
• 8 Digital Inputs
• 4 Relays
• 1 RS-232 serial port
• 2 SPI bus connectors
• 1 I2C bus connector (eventually)
I still need to to finish wiring the SPI connectors, but the serial port, the digital inputs, and the relays are all working. I will probably go ahead and add connectors for the I2C bus pins for future use. I already have an eight port A/D converter for the SPI bus and more GPIO would also be easy to add via SPI.
I added a jumper block near the GPIO connector that allows me to connect (or not) 5V on the interface to 5V on the RasPi. This would allow me to power the board from the RasPi or to backfeed power to the RasPi from the board. I plan on making a jumper with a polyfuse inline. Using that as the jumper will prevent the RasPi from drawing too much current.