My Raspberry home network setup
This is the entire network that I have set up for my little project. Keep in mind that the idea is to have the two Raspi Zeros record the temperature and humidity inside and outside my house and send that data to the Raspberry Pi 3B+. The latter will decide if the outside air is cool and dry enough compared to the air inside the house. If yes, it will switch on a through the wall fan that pumps cool night air into my overheated tropical house - hopefully saving a bit of money on A/C! :-)
One of the Raspberry Pi Zero W's sits in my living room, recording the temperature and humidity there. The other Pi Zero W is mounted outside on the porch, to read the temperature and humidity there. Both are within reach of my WiFi router, obviously. The Raspberry Pi 3B+ has no sensors attached, it acts as a communications hub, so it can be located anywhere as long as it's within reach of the router's WiFi signal.
- The Windows 10 workplace:
- Runs the PyCharm IDE to develop, deploy and debug the Python code that runs on all the Raspberries;
- Runs the MobaXTerm tool to remotely access all Raspberries via SSH.
- The Raspberry Pi3B+ runs a Python code that:
- receives sensor data messages from the two Raspberry Pi Zeros via MQTT (see future post);
- analyzes the sensor data and switches the wall fan on and off;
- sends the sensor data via a RESTful call to an awesome data visualization service called ThingSpeak.
- The two Raspberry Pi Zero W's run identical Python code that:
- reads temperature and humidity data via the I2C bus from their attached BME280 sensors;
- and then sends that data via MQTT messages to the Raspberry Pi 3B+
- All three Raspberries also do a fair amount of logging for informational or debugging purposes, they write that logging data to...:
- the Network Attached Storage, which is a 2 TB WDMyCloud NAS device connected to the router via Ethernet.
- Note: all three Raspberries communicate exclusively via WiFi/router with the Windows 10 workplace and each other.
One of the Raspberry Pi Zero W's sits in my living room, recording the temperature and humidity there. The other Pi Zero W is mounted outside on the porch, to read the temperature and humidity there. Both are within reach of my WiFi router, obviously. The Raspberry Pi 3B+ has no sensors attached, it acts as a communications hub, so it can be located anywhere as long as it's within reach of the router's WiFi signal.

Comments
Post a Comment