Raspberry Pi Pico Tutorial - 5V Relay Module

Published at : 23 Dec 2025

Thank you all for subscribing, we reached the first YouTube milestone of 100 subscribers.

Welcome to the - Learn how to use the Raspberry Pi Pico Tutorial Series:

This video looks at the 5V Relay (SRD-05VDC-SL-C) using the Raspberry Pi Pico.

In the first example we look at how to control the Relay by turning it on and off a set interval.

The second example we will add a photoresistor to create a day/night switch.

Check out my channel for other videos on the Raspberry Pi Pico, as I will regularly upload tutorials and projects related to the Raspberry Pi Pico.

Disclaimer:
The information provided in this video is for educational purposes only. It is not intended as a substitute for professional advice, diagnosis, or treatment. The author and publisher of this video do not accept any liability for any injury, loss or damage incurred by use of or reliance on the information contained herein. This video demonstrates working with electricity, which can be dangerous if not performed correctly. It is strongly recommended that only individuals trained and qualified to work with electricity attempt to replicate the procedures shown in this video.

If you found this tutorial helpful, subscribe to the channel and leave a comment and welcome to the NerdCave.

Code:
https://github.com/Guitarman9119/Raspberry-Pi-Pico-

Datasheet:
https://www.circuitbasics.com/wp-content/uploads/2015/11/SRD-05VDC-SL-C-Datasheet.pdf

If you are new to the Raspberry Pi Pico start here:
Getting started video:
https://youtu.be/qYqUJC9z2_E