Home automation – putting it all together

After getting all elements delivered at home, the next step in realizing the home automation part is putting it all together. Connecting the receiver and transmitter to the raspberry using a breadboard and the jumper wires.

Connecting

Since I am no expert in electronics, my first action was to google for a wiring scheme on how to connect the Raspberry Pi’s General Purpose Input/Output (GPIO) pins to the right pins on both the transmitter and receiver. Fortunately, there is a lot of information to find on this particular topic. The search provided me with a nice schematic on how to connect a Raspberry Pi Model B+ to these components from homautomation.org.

Schema diagram found on homautomation.org
Schema diagram found on homautomation.org

GPIO Pins

GPIO pins on the raspberry

Since my Raspberry is a Model B (not a B+), the first challenge was in finding the similarities and differences between the B and B+ models. It appears that the only thing different was that there are more (but for this purpose irrelevant) GPIO pins. Therefore it was still possible to maintain the provided schematics and connect the right GPIO pins to the components. Using Pin 2 for 5Volt power, Pin 6 as 0V Grounding wire and Pins 11 and 13 for data. Due to having only male jumper cables, my first solution was to use regular jumpers to connect the GPIO pins to the cables. Then connecting the cables to the breadboard.

Breadboard & components

Using the same schematic, the next step was finding out how to wire the transmitter and receiver. Since I had slightly different components, this also required some additional googling to find how to connect them correctly. The receiver was easy, since the webshop provided a datasheet which included a nice schematic overview. The transmitter was slightly harder to find, eventually I found this datasheet for a transmitter that looks very similar.  Now one of the benefits of having the breadboard is that you can fiddle around a bit with the elements without any soldering. In the past, soldering has cost me various electronic components due to overheating them or destroying the circuit board. The final result of getting everything wired up looks like this.

 

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.