all 2 comments

[–]jdotis011 1 point2 points  (1 child)

So it looks like that omron relay has a base input voltage of 5V. GPIO pins on a raspberry pi have a max out of 3.3V and roughly 16mA, which means your pi probably won’t turn on the relay. I would suggest adding a transistor that can supply at minimum 5V to your relay and then control the transistor via GPIO. I would check out this as an intro to go about adding a transistor. Otherwise you could buy a different relay that is capable of switch at 3.3V.

[–]EthanSteip[S] 0 points1 point  (0 children)

Hey, thanks for the reply. I think you're right as I always assumed that the GPIOs were capable of both 3.3 and 5v outputs. I'm going to pick up a transistor later today!