Hello pals. This is my first post and i hope i have posted in the right place.
I'm working on a project which i intend to turn light on/off using my raspberry pi and a 5v 8 ch replay. I followed some steps online to setup my raspberry pi and relay but when i set the GPIO(pin 7) to high(true) the replay turns off and when the GPIO is set to low(false) the replay turn on. Below is how i did my setup
1. RPI pin 4 to VCC pin of replay
2. RPI pin 6 to GND pin of replay
3. RPI pin 7 to IN1 pin of replay
Please am using raspberry pi model b+
Please help fix this problem thank you.