Go to advanced search

by ikequan
Mon Feb 02, 2015 2:45 am
Forum: Troubleshooting
Topic: Relay is off when GPIO is set to high(True) and vice versa
Replies: 9
Views: 2330

Re: Relay is off when GPIO is set to high(True) and vice ver

@DougieLawson thank you for the reply.. I reversed the logic of the python code and seems well but i think there is some problem with the relay still...even when the Raspberry Pi is turned off and the bulb connected relay is still plugged to the wall, the bulb seems to be on i.e. the relay is still ...
by ikequan
Sun Feb 01, 2015 9:13 pm
Forum: Troubleshooting
Topic: Relay is off when GPIO is set to high(True) and vice versa
Replies: 9
Views: 2330

Re: Relay is off when GPIO is set to high(True) and vice ver

Thank you rpdom for your quick reply this is the link to the relay am using: http://www.aliexpress.com/item/2pcs-lot-With-optocoupler-8-channel-8-channel-relay-control-panel-PLC-relay-5V-module-for/1817892610.html this is my python code: #!/usr/bin/env python #pretty obvious, but you'll want these d...
by ikequan
Sun Feb 01, 2015 2:57 am
Forum: Troubleshooting
Topic: Relay is off when GPIO is set to high(True) and vice versa
Replies: 9
Views: 2330

Relay is off when GPIO is set to high(True) and vice versa

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 rep...

Go to advanced search