Hi All,
I've been making progress with my gate opener, the interface is almost done and I'm getting into the pi itself. I have a button on my N-R dash that I want to use to make a 'short" on my pi. On the actual gate, this is done by shorting two low-volt contacts to make the motor run (could be anywhere from 12v to 3.3v). It's a momentary short and since there's no way to check the amp draw and/or volts, I'll use a relay. This is just for testing, the end result will be clicking a relay not an LED.
[{"id":"82c5c8e1.6687c","type":"ui_button","z":"c199b9b6.017a2","name":"button","group":"40f30843.03128","order":2,"width":2,"height":1,"passthru":false,"label":"OPERATE","tooltip":"","color":"black","bgcolor":"grey","icon":"","payload":"1","payloadType":"num","topic":"","x":570,"y":370,"wires":[["9faf751d.055c28"]]},{"id":"9faf751d.055c28","type":"rpi-gpio out","z":"c199b9b6.017a2","name":"pin 15","pin":"15","set":true,"level":"0","freq":"","out":"out","x":780,"y":370,"wires":[]},{"id":"40f30843.03128","type":"ui_group","z":"","name":"Button","tab":"81831aab.f2f568","order":4,"disp":false,"width":"6","collapse":false},{"id":"81831aab.f2f568","type":"ui_tab","z":"","name":"GTO-500 Gate Opener","icon":"dashboard","disabled":false,"hidden":false}]
So, my "button" node outputs to an "rpi gpio out" node. This node is configured to use pin 15 set to "digital output | intialize pin state | init to low". Pin 15 on the pi is wired to a breadboard grd bus with pin 17 to the hot. An LED resides between the two busses. Whenever I first deploy/reset the flow, the LED is lit but when I touch the button it goes out. From then on, the LED remains out no matter the state of the button. I've played with all the settings and nothing lights the LED other than initial deployment. What gives?
Russ