Asked — Edited

I Am Guessing That A Pir To Detect Carbon Based Units Is An Analog Device.

I am Guessing that a PIR to detect carbon based units is an Analog device. Am I correct?

I want Marty to detect carbon based units. I figured since it detects from close to far it would be an analog signal instead of Digital.


ARC Pro

Upgrade to ARC Pro

With ARC Pro, your robot is not just a machine; it's your creative partner in the journey of technological exploration.

#9  

I have pIR digital circuits from Radio Shack. Here's an example script where I'm using the analog ports to read from three of them. Though these are pretty useless when they're mounted on a non-stationary object. Indoors or outdoors, when the bot turns the heat sources vary significantly. I'm going to start a new thread in search for an analog equivalent that can be create a radiation signature. I want it to find the largest heat source in the area.


$BloodRight=GetADC(ADC2)
$BloodFront=GetADC(ADC0)
$BloodLeft=GetADC(ADC1)

if ($BloodLeft$Range and $CenterDistance>$Range and $RightDistance>$Range)
goto(moveforward)

if ($CenterDistance<$Range)
Reverse(255,$Space)


Note the the php parser on this forum removes the less than signs from code.

Bill