Go Down

Topic: RE200B PIR Component (Read 16390 times) previous topic - next topic


How to amplify a circuit then?


Ok, I would like to share a schematic, but I have to go to the cottage. ( Sorry I was not responding to quickly because my modem just "quit" , it "stuck" my telephone line . ) I will try to get some schematics on Monday - late afternoon after I am back from the cottage.

Anyway here a few link : http://www.play-hookey.com about op-amps and a few things, check http://www.falstad.com/, it got a circuit simulator, http://www.electronics-tutorials.ws/, Some eclectronics tuturails, http://www.doctronics.co.uk/beastie_zone.htm, more to check out. And http://www.kpsec.freeuk.com/study.htm

Anyway, check out those sites, experiments with your sensor. Hope you have a breadboard, a few parts, maybe a scope, but at least a DMV- Digital Multi Meter. I just bought for under $40 at Canadian Tire - Electrical Section. The have a few cheap one in the Automotive Section ( between $25 to $35 )
Sorry that you have a lot to read. That learning is all about


I am back... here a transistor version to amplify the signal. But I still don't know what kind of signal the sensor is using... ( square ?? sine ..?? a DC output ?? ) 


Here an another amp circuit...I come across yesterday, It cam from EPE mag October 1993.


i am using the same pir sensor re200b and arduino uno r3 for my thesis. fyi, i'm still a newbie about arduino and electronic component. i use the same circuit which is:

G to GND
D to 5V
S to 47k ohm resistor
S to analog input A2
LED to digital output 8, 220 ohm resistor and to GND

i use this coding:

int ledPin = 8;                // choose the pin for the LED
int inputPin = A2;               // choose the input pin (for PIR sensor)
int pirState = LOW;             // we start, assuming no motion detected
int val = 0;                    // variable for reading the pin status

void setup() {
 pinMode(ledPin, OUTPUT);      // declare LED as output
 pinMode(inputPin, INPUT);     // declare sensor as input

void loop(){
 val = digitalRead(inputPin);  // read input value
 if (val == HIGH) {            // check if the input is HIGH
   digitalWrite(ledPin, HIGH);  // turn LED ON

   if (pirState == LOW) {
     // we have just turned on
     Serial.println("Motion detected!");
     // We only want to print on the output change, not state
     pirState = HIGH;
 } else {
     digitalWrite(ledPin, LOW); // turn LED OFF
     if (pirState == HIGH){
     // we have just turned of
     Serial.println("Motion ended!");
     // We only want to print on the output change, not state
     pirState = LOW;

but the LED doesn't stop blinking the whole time and doesn't respond to motion. i don't know what is the problem

Go Up

Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

via Egeo 16
Torino, 10131