Hi, even I was facing the same issue wherein my code was waiting for the 
interrupt, then when I started to debug the hardware connections, I found 
that I had interchanged the connections for echo & trigger pins, so after 
rectifying the connections, the code works fine and I am getting the 
distance output prints.


On Saturday, December 5, 2015 at 8:58:18 AM UTC+5:30, [email protected] 
wrote:
>
> Hi, did you ever figure out the problem? I'm also using luigif's example 
> and I have the same problem where the code just waits for an interrupt and 
> never receives it....
>
> On Tuesday, May 5, 2015 at 7:24:39 AM UTC-7, claudiu [email protected] 
> <javascript:> wrote:
>>
>> I have currently tried to connect a ultrasonic sensor hcsr04 to my BBB 
>> with no success. 
>> The support material I was using is to establish the connection and 
>> execute a trigger to my sensor and read the output is: 
>> https://github.com/luigif/hcsr04.
>> When I`m executing the ./hcsr04 file I receive accordingly the being msg: >> 
>> Initializing PR >> Executing HCSR-04 code, which after it seems to wait 
>> for the signal to be triggered but never receives one.
>>
>> Could you give me some advises? or if you experience working with this 
>> model of sensor and have some tips? 
>>
>

-- 
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/dcc302bb-ed0e-4d74-a517-3fb1c5086590%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to