My 0.02$ ... (Am I dumb?) ((read: Help with IRPD requested))

Hello all!

i am just starting to get into robotics, and recently received my Package:

  • Mini-ABB with Basic ATOM Pro 28
  • SSC-32
  • IPRD Proximity Sensor
    Additionally i got an new SRF05 (succesor of SRF04) from a provider here in germany.

First, i was quite confused: i tried to run the SRF05 with the following code:

high trigger pulsout trigger, 5 pulsin echo,1,range
However: it did not work. In fact: by adding some bootstrap code (blinking LED outside the main-loop) i detected, that the processor did a reboot when i issued the pulsin command…

Be it known, that you have to change low/high to high/low for the code to work:

low trigger pulsout trigger, 5 pulsin echo,0,range
this worked fine! (Note the 2nd paramter being changed to 0 in the pulsin…)

Now i have the problem, that my IRPD wont work well… before i go in investigation and spent some more nights on this, anyone who could provide me with example code?

Thanx