P9_5 would get its power from the barrel jack
P9_7 is supplied from the PMIC
PMIC can get its power from USB or P9_5 or the barrel jack

 I highly recommend reading the schematic when you design hardware for
the BBB.
 can save a lot of head scratching.



On 12/18/2016 10:13 AM, Chris Fink wrote:
> Yes, thank you very much for walking through the examples, I do
> appreciate it. I figured out the solution: for some reason pin P9_5
> ("VDD 5V," the pin the demo says to use to power the PIR) was not
> working. But I discovered that pin P9_7 ("SYS 5V") /is/ working, so I
> used that to power the PIR, and now everything is working perfectly. I
> did play around with the re-triggering, but either setting seemed to
> work pretty well (one setting was more responsive, while the other one
> stayed on the whole time motion was detected). Thanks again for all
> the help!
>
> This is also my first time using a Google Groups message board. Is
> there some way to officially "accept" or "like" an answer, like on
> stackoverflow?
>
> On Friday, December 16, 2016 at 10:41:09 PM UTC-5, Chris Fink wrote:
>
>     This is my first time using a BeagleBone Black (it's a Rev C), and
>     I started out with the "Blink on-board LED
>     <http://beagleboard.org/Support/BoneScript/demo_blinkled/>" and
>     "Blink external LED
>     <http://beagleboard.org/Support/BoneScript/demo_blinkled_external/>"
>     demos, both of which worked perfectly. Then I advanced to the PIR
>     Motion Sensor demo
>     <http://beagleboard.org/Support/BoneScript/PIRMotionSensor>, and
>     I'm quite certain I connected everything just as they said, but I
>     can't seem to get it to work.
>
>     At first the LED light turned on right away, and I got a constant
>     succession of "Motion Detected" messages. Then I realized that the
>     code assumed an active-LOW output from the PIR, but my PIR is
>     active-HIGH
>     
> <https://learn.adafruit.com/pir-passive-infrared-proximity-motion-sensor/>,
>     so I changed the lines
>
>     *if(x.value === 0){
>              b.digitalWrite(led, 1);
>         console.log("Motion Detected");*
>
>     to instead be
>
>     *if(x.value === 1){
>              b.digitalWrite(led, 1);
>         console.log("Motion Detected");*
>
>     In this case the light does _not_ come on, and I get a constant
>     succession of "No Motion Detected" messages...and the PIR never
>     detects motion, no matter how much I move, or how close I am. I
>     even tried a different PIR
>     <https://www.virtuabotix.com/product/virtuabotix-pir-motion-sensor/>
>     (also active-HIGH), and got the exact same results. I also tried
>     removing the pull-up resistor, which also did not work.
>
>
>     Then I found this post...
>
>     
> https://groups.google.com/forum/#!searchin/beagleboard/pir%7Csort:relevance/beagleboard/ydD2Cyi5fJo/QK0jHa53NMgJ
>     
> <https://groups.google.com/forum/#%21searchin/beagleboard/pir%7Csort:relevance/beagleboard/ydD2Cyi5fJo/QK0jHa53NMgJ>
>
>     ...which makes me think that the demo isn't working because I'm
>     not using the *exact* PIR sensor prescribed in the PIR Motion
>     Sensor demo
>     <http://beagleboard.org/Support/BoneScript/PIRMotionSensor>. If
>     that is the case, where do I purchase that PIR sensor? I cannot
>     find a link to it anywhere.
>
>
>     Thanks in advance for the help!
>
>
>
> -- 
> For more options, visit http://beagleboard.org/discuss
> ---
> You received this message because you are subscribed to the Google
> Groups "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to [email protected]
> <mailto:[email protected]>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/beagleboard/b7d2b2a9-9443-4b83-91a3-c8d11e1f1323%40googlegroups.com
> <https://groups.google.com/d/msgid/beagleboard/b7d2b2a9-9443-4b83-91a3-c8d11e1f1323%40googlegroups.com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout.

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/c82ae22f-2e09-380a-b0d2-6c6e7cd2308c%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to