Overview
My background is pure software. To be able to manipulate the virtual world (software) using the physical world (hardware), for me is exciting and new. I wanted to share my experiences and get some feedback.
Goal
Manipulate relays using buttons.
Button 1 - activates relay 6
Button 2 - activates relay 7
Button 3 - deactivates all relays
Button 1 - activates relay 6
Button 2 - activates relay 7
Button 3 - deactivates all relays
Preparing your Raspberry Pi
Schematic
For the sake of simplicity of the diagram I used LEDs, but my actual circuit used an 8 channel relay module where channel 6 and 7 are connected in place of the LEDs.