Raspberry Pi Automation #1: Mains Relay HAT
Raspberry Pi home automation tutorial using a mains relay HAT from Electronics-Salon to control three light bulbs, and potentially other mains or high power DC devices. Video includes Python 3 code for bulb sequencing and timer control. WARNING: mains electricity is dangerous. Do not attempt what is shown in this video unless you have prior experience working with mains electricity and understand how to take appropriate safety measures. In particular, when working with mains electricity, ensure that your circuit is connected to an residual current device (RCD) or other form of circuit breaker. All code and wiring diagrams are available here: http://www.explainingcomputers.com/pi... The relay HAT used in the video can be found on Amazon.com here: https://amzn.to/2Yjgc2M and on Amazon.co.uk here: https://www.amazon.co.uk/dp/B07K796T9... (affilate links). An apparently identical relay HAT unit, branded to another manufacturer, is on Amazon.de here: https://www.amazon.de/dp/B01FZ7XLJ4/ If pursuing home automation projects, you may find useful my video “Raspberry Pi: Using GPIO Inputs”: • Raspberry Pi: Using GPIO Inputs And this video on using MotionEyeOS to set up a Raspberry Pi network camera: • Raspberry Pi MotionEyeOS Network Camera My review of the Raspberry Pi 3B+ shown in the video is also here: • Raspberry Pi 3 Model B+ More videos on computing and related topics can be found on the ExplainingComputers channel at: / explainingcomputers You may also like my other channel, ExplainingTheFuture, at: / explainingthefuture #RaspberryPi #HomeAutomation #Automation #ExplainingComputers

Raspberry Pi Automation #2: Energenie Wireless Sockets

Raspberry Pi Plant Watering (& Time Lapse)

I Control EVERYTHING with this Raspberry Pi

Consumer SBCs in 2026

How To Use A Relay With Raspberry Pi Pico

I Can Save You Money! – Raspberry Pi Alternatives

Raspberry Pi: 16 Channel Relay how to with example software for automation projects

Using Relays and Relay Boards with the Raspberry Pi

Everything you need to know about RELAYS

I Hacked This Temu Router. What I Found Should Be Illegal.

Raspberry Pi Pico LCD Projects

Raspberry Pi: 8 Channel Relay step-by-step with software examples for automation

Raspberry Pi Weather Station

Power for the Raspberry Pi Pico - Guide to using VBUS, VSYS and 3V3 for external power circuits

Raspberry Pi Pico W: Wireless Weather Station

Raspberry Pi: 4-channel Relay step-by-step with example scripts for home automation

Top 7 Raspberry Pi Desktop OS 2026

How To Control A Solenoid With A Raspberry Pi Using a Relay

How I Made A C64 Laptop From Scratch - The Portable 64 (Emulation)

