No video

How To Use A Relay With Raspberry Pi Pico

  Рет қаралды 25,069

Core Electronics

Core Electronics

Күн бұрын

🔗 The full guide : _core-electroni...
In this guide, we'll learn what a Relay is, why we might use one, how to choose a Relay, and finally how to use one with a Raspberry Pi Pico .
Note: Not all Relays are compatible with the Raspberry Pi Pico or other 3.3V devices. The 5V Relay Module we are using is compatible with 3.3V power and logic. If you are following along with a different Relay, please check the product page/datasheet to confirm it is 3.3V compatible and that it will work with this guide.
🔧🔨🧰 Hardware featured in this guide:
5V Single Channel Relay Module:
core-electroni...
Raspberry Pi Pico:
core-electroni...
LED and Resistor Pack:
core-electroni...
12V Blower Fan:
core-electroni...
12V Plugpack:
core-electroni...
Barrel Jack Adapter:
core-electroni...
Relays:
core-electroni...
💡❓ If you have any questions about this content or want to share a project you're working on head over to our maker forum: coreelec.io/forum
0:00 Intro
1:06 Poles and Throws Explained
2:28 Why and When to Use a Relay
3:54 How to Choose the Right Relay
4:43 Connecting a Relay to a Rasberry Pi Pico
6:39 Example 1 - Controlling an LED
7:38 Example 2 - Controlling a 12V Fan
8:44 Example 3 - Normally Open vs Normally Closed
11:22 Conclusion
🌏🦘 Core Electronics is located in the heart of Newcastle, Australia. We're powered by makers, for makers. Drop by if you are looking for:
• Raspberry Pi core-electroni...
• Arduino core-electroni...
• Sparkfun core-electroni...
• Adafruit core-electroni...
• Pololu core-electroni...
• DFRobot core-electroni...
The following trademarks are owned by Core Electronics Pty Ltd:
"Core Electronics" and the Core Electronics logo
"Makerverse" and the Makerverse logo
"PiicoDev" and the PiicoDev logo
"GlowBit" and the GlowBit logo

Пікірлер: 28
@damianzelazny5785
@damianzelazny5785 13 күн бұрын
fantastic explanation!
@michaelclark6610
@michaelclark6610 11 ай бұрын
Thanks for the video! Working on a project and plan to use rbpi to control everything
@sahirismail9302
@sahirismail9302 Жыл бұрын
Hi, i am having a weird issue, the relay is switching on as soon i declare the pin as out pin but the relay is not switching off. Can you please suggest a solution?
@user-xy7rg3jd7t
@user-xy7rg3jd7t Жыл бұрын
will the pico be able to control the 5v relay as it has only 3.3 volt signal
@PauloVazquez
@PauloVazquez Жыл бұрын
Im guessing the same!
@johnouellette1098
@johnouellette1098 11 ай бұрын
I was able to drive a 5V relay on the pico's GPIO with a VERY similar looking relay (don't have the d.sheet) BUT it crashed the serial communications to the pico
@mrbenpmuir
@mrbenpmuir 11 күн бұрын
A lot of relays will be triggered by the 3.3v even that say 5v the one here they sell is. I had the same queries as you
@wifinesesi
@wifinesesi 7 ай бұрын
Just *how* cool is this 7 dollar board?
@imanitrecruiterineurope4142
@imanitrecruiterineurope4142 Жыл бұрын
hi! i'm getting no snappy sound when i run the script (coming from the relay). Furthermore, I'm not capable of burning the LED even though I connected it with no resistor to the wire coming from the Common slow of my relay. The ground is connected. Oddly enough the red light from the relay dims a little when I the signal gets sent... Am I being a dummy or is there maybe a relay power issue going on? Lovely video, thank you for posting it! :D
@Core-Electronics
@Core-Electronics Жыл бұрын
The best place for technical help is on the forums. There you can share a photo of your setup and we can debug the circuit properly: forum.core-electronics.com.au/
@mohsinjessa8951
@mohsinjessa8951 10 ай бұрын
The link for "The Full Guide:" is broken. Excellent video..subscribed to the channel.
@Core-Electronics
@Core-Electronics 10 ай бұрын
Ooh good catch, updated the link. Cheers mate!
@alexsmith5455
@alexsmith5455 Жыл бұрын
I copy exactly what you done and the output from GPI 16 was not strong enough to activate the 5V relay (the red led is on but the green one remain off). I understand I should use UL2803A to elvate the output signal from 3.3V to 5V
@jyvben1520
@jyvben1520 2 ай бұрын
exactly ? instructor did say take the 5 volt from the pico (not from pin 16) to power the relay, pin 16 signals the relay to move the contact.
@6ocram
@6ocram 5 ай бұрын
New subscriber. Thanks You!
@zdenekpecenka3668
@zdenekpecenka3668 Жыл бұрын
I am wondering could you have used the VBUS 5V signal coming from USB for the relay VCC?
@benjaminberthelot1332
@benjaminberthelot1332 9 ай бұрын
you could
@ronsflightsimlab9512
@ronsflightsimlab9512 Жыл бұрын
Great content, thanks!
@gnojedseek
@gnojedseek Жыл бұрын
FYI: I couldn't do it with the 5-volt output of my pico W. However, it worked fine with the 3-volt output. I suspect it depends on the type of relay.
@andrewwanstall2467
@andrewwanstall2467 5 ай бұрын
Great tutorial, can you use this module with a shaft encoder?, say 400ppr?
@jyvben1520
@jyvben1520 2 ай бұрын
relay is a slow device, no idea what you want todo with it, turn on 400 times a minute/second ?
@Paul_______
@Paul_______ Жыл бұрын
Why the negative side of the fan?
@Core-Electronics
@Core-Electronics Жыл бұрын
it's common to switch a load on the low side because this is often how it's done with transistors (NPN, or N-Channel MOSFETS). In this case it doesn't really matter though!
@dillardc81
@dillardc81 4 ай бұрын
I'm going to use a relay to try to do a wireless model rocket launcher with the pico.
@Core-Electronics
@Core-Electronics 4 ай бұрын
I think this is among the coolest applications of a relay that we've seen so far!
@offwhitemke
@offwhitemke 8 ай бұрын
The audio keeps ducking in this video which makes it impossible to watch.
@jyvben1520
@jyvben1520 2 ай бұрын
you could turn on "closed captions" CC button, audio seems fine to me, hardware problem with your setup ?
How To Use A Servo With Raspberry Pi Pico
11:49
Core Electronics
Рет қаралды 20 М.
Intro to the Switch Case Statement in Arduino
7:03
Circuit Crush
Рет қаралды 972
Son ❤️ #shorts by Leisi Show
00:41
Leisi Show
Рет қаралды 10 МЛН
IQ Level: 10000
00:10
Younes Zarou
Рет қаралды 13 МЛН
Sensors - which one to use
17:06
Electronoobs
Рет қаралды 1,3 МЛН
Connecting a Relay Module to a Microcontroller
11:41
Brad Henson
Рет қаралды 226 М.
11 NEW Raspberry PI Pico and Pico W projects!!!
7:32
ToP Projects Compilation
Рет қаралды 21 М.
How To Use A Rotary Encoder With Raspberry Pi Pico
9:59
Core Electronics
Рет қаралды 18 М.
Building a Relay-Powered Pi Machine
17:35
The Science Elf
Рет қаралды 305 М.
Raspberry Pi Relay   Wiring + Code
12:27
Tech Notebook
Рет қаралды 44 М.
Raspberry Pi Pico Stepper Motors via PIO
25:17
Tinker Tech Trove
Рет қаралды 60 М.
RASPBERRY PI - All  About controlling Relay Boards for Home Automation
15:05
How To Control Relays With A PICO
42:26
Making Stuff with Chris DeHut
Рет қаралды 2,3 М.
Son ❤️ #shorts by Leisi Show
00:41
Leisi Show
Рет қаралды 10 МЛН