I have a relay attached to a Raspberry Pi B+ GPIO via two wires, one wire is attached to physical pin 6, a ground pin, the other is attached to physical pin 15 (GPIO. 3, BCM 22, wPi 3).
I have a 2 python scripts which set physical pin 15 to high and low respectively and can verify that the state of the pin changes by running "gpio readall" in a separate terminal - but the relay doesn't change...
I know the relay works as when I move the wire from physical pin 15 to physical pin 1 (the 3.3v pin) the relay switches - I just can't seem to get the GPIO pin to cause the same behaviour, any ideas?
Thanks in advance for any suggestions