Hello,
I have a Raspberry Pi that I'm using to take a picture with a usb webcam. Everything on it works great with one exception, the inputs. I am triggering the webcam to take a picture through a pin input by reading it and running a script when there is a state change. The output to trigger is coming from my pic32. I've tried using both pull-up and pull down on the raspberry pi but the pin still floats. I wrote a simple script to output the pin state every half-second so I can see it floating. I've tried using a physical pull-up and pull-down with 1k, 10k, 20k, and a 50k resistor. When I connect it to my o-scope there is no change in the state, but the pi still reports floating. I thought maybe that when I soldered the pins that I messed up but my work is clean and I've tried multiple GPIO pins with the same result. If nothing is connected to the pin, it doesn't float, but if I connect the same wire going to the pin on the pi to my o-scope, it does not float.
Has anyone seen this behavior before? My only workaround that I can think of is to send a packet over wifi to trigger the camera, but I don't want to rely on the network to trigger the camera. I will if I have to but I'd rather figure this issue out.
