Pyroelectric sensor

Hi,

I am trying to use a pyroeletric sensor (the RE200B). It is very similar to the Eltec 442-3. I hooked it up to the analog i/o of the Atom Bot Board and what I get is a continious reading of values from 0 to 1023 regardless of it is in front of it.

Here is my sample program:

main:
Adin P19, vOut
Pause(1000)
goto main

Has anyone used this sensor or a similar one?
Thanks,
Amir

I haven’t ever used that sensor, but I can make a few suggestions…

Try increasing your sample rate, for one.
It may simply be the large delay of a second that makes these values seem like they’re varying without reason.

If problems still persist, try doing the above with an icepack and a soldering iron.
If alternating between those two extremes doesn’t produce very extreme values, then you can start hating the sensor.
:stuck_out_tongue:

Well I tried all this and I still got the same up and down values from the A/D converter.

I did some research and found this document:
courses.ece.uiuc.edu/ece445/pro … _paper.doc

It looks like the output from the sensor is a waveform. So I need some signal processing to read the values correctly.

The RE200B uses 2 sensors. When both are triggered (for example if I leave my hand right in front of sensor) I thought the output would be some kind of reference value, like 2.5V. But this doesn’t seem to be the case.

The RE200B datasheet can be found here:

datasheetarchive.com/datashe … le=2831988

Elecronics not being my specialty, I was wondering if I could use some kind window comparator in software to read the values.

PULSEIN command?