The flyback diode in parallel to the relay protects the GPIO from the discharged EMF when the relay deactivates.

Reply to this note

Please Login to reply.

Discussion

So the resistor and transistor stabilize input into the relay? I just read about this, I don't understand the risk of not having the flyback. The residual voltage would only be fractions of a volt right? No capacitors or anything to hold a charge so what is the danger?

So you're just trying to make an "On air" sign for your node essentially?

Very green, very eager to learn.

I'm pretty new to this too, so I wouldn't want to teach you any misunderstandings that I haven't gotten rid of yet. This is the article that finally made it click for me: https://www.circuitbasics.com/5v-relays-in-the-raspberry-pi/

I hear that. Thank you for the resources, fren.

We do this by investing in Dailyearningcrypto24 online platform which is very simple, trusted and profitable. So you don't need to rely on government or salary since everyone can make huge figure by investing your little capital here. Do you know that investment plans are bigger and greater now??

By investing

$100 you can get $700

By investing $200 you get $1400

By investing $500 you get $3200.

By investing $800 you get $5100

By investing $1000 you'll $9550

Would you like to invest and get your profits within 24 hours?Just click on my link to my Telegram 🖇️🖇️.

https://t.me/+ONnhiupsRg8zOTI0