27 Aralık 2020 Pazar

5V relay usage with raspberry pi for octoprint

 

Here I share with you the way to run 5v relays with raspberry pi.
Raspberry Pi works with 3.3v logic, so it cannot work directly with relays made for Arduino.

I used 2N2222 as transistor but i belive there are many other transistors can do the same job.