Powered by Invision Power Board


Forum Rules Forum Rules (Please read before posting)!
  Reply to this topicStart new topicStart Poll

> Basic Question Regarding This Component (pir)
pepsimax007
Posted: December 26, 2009 12:21 am
Reply to this postQuote Post


Newbie
**

Group: Members+
Posts: 34
Member No.: 26,232
Joined: September 16, 2009




Hi,

I just bought:
http://www.sparkfun.com/commerce/product_i...roducts_id=8630

What I want to do is to connect this to a PICAXE 14 chip.
Im a beginner in electronics, so I was hoping someone could explain to me what the following means in an A-B-C language wink.gif

QUOTE
The alarm pin is an open collector meaning you will need a pull up resistor on the alarm pin. The open drain setup allows multiple motion sensors to be connected on a single input pin. If any of the motion sensors go off, the input pin will be pulled low.


Does this mean that I have to connect power to the PIR. Add a resistor between the PIR board, and my PICAXE chip ? ...What exactly is a "pull up resistor" ?
And can I solder directly onto a PICAXE chip, if im done programming it ?

Please explain very basic smile.gif

This post has been edited by pepsimax007 on December 26, 2009 12:30 am
PMEmail Poster
Top
kellys_eye
Posted: December 26, 2009 01:13 am
Reply to this postQuote Post


Forum Addict ++
*******

Group: Spamminator Taskforce
Posts: 8,447
Member No.: 2,735
Joined: June 21, 2005





Connect a resistor (1000 ohms will do) between the output of the PIR and the positive supply rail of the PICAXE circuit.

Connect the negative of the PIR to the negative of the PICAXE.

Connect the output of the PIR to the input port of the PICAXE.

Connect power to the PIR.
Connect power to the PICAXE.

Job done.


--------------------
May contain nuts
PMEmail PosterYahoo
Top
pepsimax007
Posted: December 26, 2009 01:20 am
Reply to this postQuote Post


Newbie
**

Group: Members+
Posts: 34
Member No.: 26,232
Joined: September 16, 2009




QUOTE (kellys_eye @ December 26, 2009 01:13 am)
Connect a resistor (1000 ohms will do) between the output of the PIR and the positive supply rail of the PICAXE circuit.

Connect the negative of the PIR to the negative of the PICAXE.

Connect the output of the PIR to the input port of the PICAXE.

Connect power to the PIR. 
Connect power to the PICAXE.

Job done.



Is this drawing correct, ... according to what you described?
user posted image

I added numbers to the drawing so that you can easily explain what needs to be altered.

This post has been edited by pepsimax007 on December 26, 2009 01:59 am
PMEmail Poster
Top
GPG
Posted: December 26, 2009 03:36 am
Reply to this postQuote Post


Forum Addict ++
*******

Group: Spamminator Taskforce
Posts: 5,103
Member No.: 792
Joined: April 25, 2004




http://sharesend.com/v26vm
Pin 3 to 5-12V unless the internal regulator is bypassed.
PMEmail Poster
Top
kellys_eye
Posted: December 26, 2009 01:43 pm
Reply to this postQuote Post


Forum Addict ++
*******

Group: Spamminator Taskforce
Posts: 8,447
Member No.: 2,735
Joined: June 21, 2005




No, the 1000 ohm resistor should go between 5 and 1.

Point 5 also connects to point 6.

And the PIR (as GPG mentions) needs a minimum of 5V - this can be a separate supply if necessary but you then need to connect both supply negatives together


--------------------
May contain nuts
PMEmail PosterYahoo
Top
pepsimax007
Posted: December 26, 2009 04:29 pm
Reply to this postQuote Post


Newbie
**

Group: Members+
Posts: 34
Member No.: 26,232
Joined: September 16, 2009




QUOTE (kellys_eye @ December 26, 2009 01:43 pm)
No, the 1000 ohm resistor should go between 5 and 1.

Point 5 also connects to point 6.

And the PIR (as GPG mentions) needs a minimum of 5V - this can be a separate supply if necessary but you then need to connect both supply negatives together

Do you mean like this?

user posted image

Since you disagree in the previous poster whom draw up a circuit.

The PIR can run on 3v if it has the proper jumper-settings enabled. smile.gif

This post has been edited by pepsimax007 on December 26, 2009 04:30 pm
PMEmail Poster
Top
pepsimax007
Posted: December 26, 2009 07:04 pm
Reply to this postQuote Post


Newbie
**

Group: Members+
Posts: 34
Member No.: 26,232
Joined: September 16, 2009




QUOTE (pepsimax007 @ December 26, 2009 04:29 pm)
QUOTE (kellys_eye @ December 26, 2009 01:43 pm)
No, the 1000 ohm resistor should go between 5 and 1.

Point 5 also connects to point 6.

And the PIR (as GPG mentions) needs a minimum of 5V - this can be a separate supply if necessary but you then need to connect both supply negatives together

Do you mean like this?

user posted image

Since you disagree in the previous poster whom draw up a circuit.

The PIR can run on 3v if it has the proper jumper-settings enabled. smile.gif

Never mind smile.gif I just realized that both of you had the same solution smile.gif
Thank you both for your help.
PMEmail Poster
Top
MikeGyver
Posted: December 27, 2009 06:57 am
Reply to this postQuote Post


Forum Addict
******

Group: Trusted Members
Posts: 604
Member No.: 12,151
Joined: December 05, 2007




3V is the minimum that a picaxe can operate on. If your battery dips below that it will shut off. You're better off running it from 4.5v (3 cells, or 1 lithium ion cell), and ideally from 5v. Also 3v is not enough to successfully reflash with a computer.
PMEmail Poster
Top
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

Topic Options Reply to this topicStart new topicStart Poll

 


:: support us ::




ElectronicsSkin by DutchDork & The-Force