Thanks for all your help guys
I ended up finding this document https://www.raspberrypi.org/documentati ... herals.pdf
on page 102 it shows the pin function https://www.dropbox.com/s/839z2g4k9tgx9ho/pins.PNG
Pin 6 was reading high compared to the others low. and being the one that was causing trouble i figured it could be the pin starting up as high
i tried switching pins for 6 and 13 and the other door went up so put it to a totally different pin that reads low and don't have that trouble.
this is my project. its basically just a remote door opener circuit board with some transistors and resistors to automate the button press.
i have the battery in there still unsure if the pi could power it with the 3v or not.
its working so i figured not to mess with it.
https://www.dropbox.com/s/vl4j0aoh27rbl ... 182633.jpg
this is my code
I did add the print code and it works but have noticed sometimes the signal doesn't work even though it says it has. maybe when the device is in the shed the doors will work every time. and the plus side its on a kodi box so i can watch whatever i want in the shed
Code: Select all
import RPi.GPIO as GPIO
GPIO.output(6, 1) #switch on
time.sleep(1) # wait 1 second
GPIO.output(6, 0) #switch off