• 0 Posts
  • 3 Comments
Joined 11 months ago
cake
Cake day: October 27th, 2023

help-circle
  • Watch out on the Pi I believe the GPIO are not 5v tolerant ( 3.3v only). Also the current drive is probably not enough for the relay coil. A simple N-FET of suitable size and a resistor would solve this. 10k from GPIO to the FET gate and the FET on Source on the ground side Drain to the relay. Diode across the relay for EMF if the relay does not have one internally.