Pages: [1] 2   Go Down
Author Topic: RE200B PIR Component  (Read 8847 times)
0 Members and 1 Guest are viewing this topic.
Kuala Lumpur, Malaysia
Offline Offline
Full Member
***
Karma: 0
Posts: 106
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Can anyone help me to make a PIR sensor circuit according to the RE200B and a Fresnel Lens? Datasheet and pictures attached.

Datasheet: http://www.escol.com.my/Datasheets_specs/RE200B.pdf









Logged

arduino-freelancer.blogspot.com

Montreal
Offline Offline
Faraday Member
**
Karma: 27
Posts: 2566
Per aspera ad astra.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Connect D (pin 1) to +5V, S (pin 2) to 47 kOhm resistor to ground, and consequently G (pin 3 ) to ground GND.
Then connect S (pin 2) also to analog input pin of arduino. Take a reading using analogRead.
Logged

Toronto, Canada
Offline Offline
Edison Member
*
Karma: 2
Posts: 1234
"Keep it R.E.I.L. - "Research, Experiment, Investigate and Learn"
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

@low5545

Just I post in the posting "op-amp", Connect + 5 to -->choose between 1 K to  4.7 K --> D, S ---> choose between 1 k to 4.7 K --> GND and G is GND.       Sorry Magician...       I looked at the datasheet, the sensor is a IR detector and a JFET for D & S, there for a commun source amplifier.

I forget, connect a 1 uF to 10 uf in // with resistor connect  to S to GND.  And you may amplify the signal using op-amp, you may "convert" the signal into TTL. The only way to make sure is to "see" what type of signal you have is to use a "scope" to check & see the signal.

My opinion.
Logged

Montreal
Offline Offline
Faraday Member
**
Karma: 27
Posts: 2566
Per aspera ad astra.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Don't agree, read data sheet again.
1. For max.  source capability 2 mA, resistors 1k + 1k are way too low, allow 2.5 mA with 5V power.
2. Bias voltage of JFET 3.6 - 4.4 V leaving almost nothing for drain resistor, again with 5V.
3. JFET is a transconductance amplifier, should be wired as common drain :
http://en.wikipedia.org/wiki/Common_source
4. Capacitor doesn't make any sense at all, as it pure DC amplifier, thermo IR is too slow to react on freq.
 F = ~ 1 / C x R = 1 / 10^-5 x 10^3 = 100 Hz.
5. The answer is in small font on picture posted - "100 k resistor between pin 2 and 3" (source to ground) 
Logged

Toronto, Canada
Offline Offline
Edison Member
*
Karma: 2
Posts: 1234
"Keep it R.E.I.L. - "Research, Experiment, Investigate and Learn"
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

@Magician

My mistake... I agree with you. Forget about the capacitor in this case. It look like the sensor work in "Level changing" , in that case... the signal will be connect to a comparator for a proper level signal ( 0 V or 5 V ) and connect to the Arduino.
Logged

Montreal
Offline Offline
Faraday Member
**
Karma: 27
Posts: 2566
Per aspera ad astra.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Yes, sure OP can use external comparator, but it easier to use analog input port, and implement "software comparator" which could be set to any value in range 0 - 1023. All it would take three pieces of wire and one resistor to attach sensor to arduino.
Logged

Toronto, Canada
Offline Offline
Edison Member
*
Karma: 2
Posts: 1234
"Keep it R.E.I.L. - "Research, Experiment, Investigate and Learn"
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

A "software comparator" like --->

 if (analogRead( anyanalogpin) < 512 )
{ // do you thing }
 else
 { // do other things  }

... that is a simple idea.. I may use that in my projects. Thank Magician...
Logged

Kuala Lumpur, Malaysia
Offline Offline
Full Member
***
Karma: 0
Posts: 106
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
A "software comparator" like --->

 if (analogRead( anyanalogpin) < 512 )
{ // do you thing }
 else
 { // do other things  }

... that is a simple idea.. I may use that in my projects. Thank Magician...

Tried it. It maintains on 124-126. Too small to see a change. Is a Op-Amp IC like LM324 and a Comparator IC like LM339 able to amplify a compare the signal to produce a 5V/0V Output?
Logged

arduino-freelancer.blogspot.com

Toronto, Canada
Offline Offline
Edison Member
*
Karma: 2
Posts: 1234
"Keep it R.E.I.L. - "Research, Experiment, Investigate and Learn"
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
Is a Op-Amp IC like LM324 and a Comparator IC like LM339 able to amplify a compare the signal to produce a 5V/0V Output?

YES.  Bear in mind the LM324 need dual power supply. The LM339 do not use a dual power supply. It will work using a +5 V for the LM339.
Logged

Kuala Lumpur, Malaysia
Offline Offline
Full Member
***
Karma: 0
Posts: 106
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
Insert Quote
Quote
Is a Op-Amp IC like LM324 and a Comparator IC like LM339 able to amplify a compare the signal to produce a 5V/0V Output?

YES.  Bear in mind the LM324 need dual power supply. The LM339 do not use a dual power supply. It will work using a +5 V for the LM339.

Dual power supply? What does it mean?
Logged

arduino-freelancer.blogspot.com

Toronto, Canada
Offline Offline
Edison Member
*
Karma: 2
Posts: 1234
"Keep it R.E.I.L. - "Research, Experiment, Investigate and Learn"
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

It mean a plus side  - positive Rail.   A negative side - Negative Rail  and a commun rail.

----------------------------------    + 5   <-- goes to +V of the op-amp example : pin 7 of a LM741


-------------------------------------  GND  <-- the commun line for your signal and goes to GND of the Arduino


-----------------------------------  - 5   <--  goes to -V of the op-amp. example : pin 4 of a LM741

Here a site : http://www.play-hookey.com/analog/experiments/basic_op_amp_inverter.html
Just "surf" the site.

For what you need is a comparator. A LM339 only need a single supply ( +5 V is OK ) You simply set the voltage "tipping" point. A 50 K potentiometer to set the voltage treshold <-- Tipping point and reference point.  Connect to the - or + input The signal of the sensor goes to the + or - input.

I recomment you experiment so you have a better understanding.

http://www.play-hookey.com/analog/comparators.html    
Logged

Kuala Lumpur, Malaysia
Offline Offline
Full Member
***
Karma: 0
Posts: 106
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset


How come dual power supply for the LM324? According to the internal circuit above, it is only Single.
Logged

arduino-freelancer.blogspot.com

Toronto, Canada
Offline Offline
Edison Member
*
Karma: 2
Posts: 1234
"Keep it R.E.I.L. - "Research, Experiment, Investigate and Learn"
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

@low5545

In general, most op-amps need a dual voltage to operate ex: LM741. In the case of the LM324, It need a single voltage supply connect to pin 4 of the chip and GND at pin 11 of the chip.   

 My appology for confusing and mislead you.

 A +5 V supply may work... ( you have to experiment to check if it is working )
Logged

Kuala Lumpur, Malaysia
Offline Offline
Full Member
***
Karma: 0
Posts: 106
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset



According to the LM324 Op-amp above, if I want to amplify a signal, do I connect it like:

-pin 4 (V+) ------------- 5V
-pin 11 (GND) ---------- Ground
-pin 2 (-input 1) -------- Ground
-pin 3 (+input 1) ------- RE200B PIR Signal Output

-pin 1 (output 1) -------  Amplified signal

Is this connection able to amplify the signal made from the RE200B PIR component? I may need to amplify it a few times with this op-amp IC to get a bigger change.
Logged

arduino-freelancer.blogspot.com

Toronto, Canada
Offline Offline
Edison Member
*
Karma: 2
Posts: 1234
"Keep it R.E.I.L. - "Research, Experiment, Investigate and Learn"
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
-pin 4 (V+) ------------- 5V
-pin 11 (GND) ---------- Ground
-pin 2 (-input 1) -------- Ground
-pin 3 (+input 1) ------- RE200B PIR Signal Output

-pin 1 (output 1) -------  Amplified signal

Is this connection able to amplify the signal made from the RE200B PIR component? I may need to amplify it a few times with this op-amp IC to get a bigger change.

Amplify signal in this connection ?  NO     

The way you  connected is a comparator configuration.
Logged

Pages: [1] 2   Go Up
Jump to: