Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

6
  • What is gpio pin 6? Do you know the Broadcom gpio number and the pin number on the expansion header? Are you sure that the software is referring to the same pin as the one you have connected? Does the software work if you disconnect the Arduino wire and connect 3V to the pin? Similarly is the alert cancelled if you connect ground to the pin? Commented Oct 4, 2014 at 20:25
  • The GPIO_06 refers to the expansion header number 22. And yes, the software is referring to the same pin as I have connected. I have also tested the program with just the 3.3V pin on the RPi and the same GPIO pin and it works, the state changes and the program write the change. “Similarly is the alert cancelled if you connect ground to the pin?” are you referring to the RPi with its own 3.3V pin? Commented Oct 4, 2014 at 21:33
  • 1
    If the software works when you replace the Arduino wire with a Pi wire that leaves two possibilities, 1) the Arduino wire high voltage is less than 2.5V, or 2) the Pi's ground is not connected to the Arduino ground. Commented Oct 4, 2014 at 22:03
  • It was the Pi's ground... Thank you so much, never thought of that… Again thank you!!!! working now:) Commented Oct 4, 2014 at 22:11
  • That is good :-) Commented Oct 4, 2014 at 22:34