Tutorial 27 & 28 & 29: Socket Communication

The following video tutorials cover the topic of socket communication between two (or more) Raspberry Pis using Python 3. This tutorial is not particular to just the Raspberry Pi and the concepts learned here can be applied to any regular PC.

Socket communication allows our Raspberry Pi's to communicate via Ethernet (or wifi) to each other using your home's router. In the context of the Cookie Thief project, we will be using socket communication to transfer readings from sensors on one side of my apartment to yield an output on the other side of my apartment. Tutorials 27 & 28 cover basic text socket communication. However we're going to want to transfer real data from one pi to the other. Tutorial 29 involves the use of an analog sensor and temperature data being sent to another Raspberry Pi connected to a LED. In tutorial 30 I will show you how to transfer files (or backup files) via socket communication.

This tutorial is a little older (published in 2015!). The main principles are still relevant, so I haven't needed to update this lesson.


DIFFICULTY
DIFFICULT
COMPUTER FAMILIARITY
LITTLE
CIRCUITRY KNOWLEDGE UNDERSTANDING
LITTLE
PYTHON PROGRAMMING
CONSIDERABLE
ABOUT
0
MINUTES

Tutorial 27

Tutorial 28

Tutorial 29