Gpio pins for solid state relay
If I understand this correctly you don't have to import the gpio library In the script? I think I'll start out checking output with a multimeter first. Am I going about this the correct way? I see people use resistors but every wiring diagram I see doesn't show resistors used but this is a fused relay though. Sainsmart to be exact.
Tagged:
Comments
Make sure the relay supports 3.3V GPIO. You can use the standard GPIO API from the Linux kernel and userspace tools gpioget and gpioset from the libgpiod package.