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

Harnessing the power of ARC Pro, your robot can be more than just a simple automated machine.

#1  

I have this one but I have not hooked it up yet. It appears to be a digital 5v logic out. I'll let you know soon as I try it out.

"The PIR (Passive Infra-Red) Sensor is a pyroelectric device that detects motion by measuring changes in the infrared (heat) levels emitted by surrounding objects. When motion is detected the PIR Sensor outputs a high signal on its output pin. This logic signal can be read by a microcontroller or used to drive an external load."

PIR Sensor from Parallax, Inc.

Spain
#3  

If it is digital, but can be read by an ADC port ez-b, using the command adc_wait, I like it because it leaves more free ports to use digital servos or sensors ping.

#4  

That is what I was thinking. This may be one for D.J. to Answer.

#5  

So, is it Analog? or is it Digital?

confused

Spain
#6  

The PIR sensor is digital (Communication: Single bit high / low output), but can be read from a digital port ez-b or from an analog port and using the command adc_wait can chain reaction in your robot as if a switch connected to a digital port, I hope I have cleared your doubt MovieMaker.;)

#7  

thanks, R2:D

P.S. do you have a PIR on your robot. Or, does anyone else? Just curious if you could share your script or pix etc.

Spain
#8  

I have no pir sensor mounted on the robot, the truth is that I have reserved for the RSP robot, but when you install certain to be published.

#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