Previous in Forum: Will Your Next Cell Phone Be Built By Tiny Bots   Next in Forum: Driving LEDs from Battery Pack
Close
Close
Close
17 comments
Rate Comments: Nested
Guru

Join Date: Sep 2007
Location: East Texas
Posts: 1439
Good Answers: 31

Circuit Design Assistance

05/05/2014 11:05 PM

I have acquired a 12 volt PIR switch, a small solar panel and charge controller designed to charge 12 volt batteries, a small 12 volt battery and a 12 volt electric water valve and various small electronic components.

I want to use a 555 timer triggered from the PIR to open the valve for 10 seconds and then turn off.

I can put the system together except I don't know how to configure the 555 timer so that it will forward bias my control transistor for 10 seconds and then turn off.

I am going to make a water cannon for my neighbor. He said he wanted it to combat squirrels and raccoons. I am going to test it on him first to make sure it works.

Again; how do I configure a 555 timer triggered from a PIR switch to forward bias a transistor for 10 seconds and then turn off?

Anybody got a minute to help me with this?

Thanks

__________________
"The greater danger for most of us lies not in setting our aim too high and falling short; but in setting our aim too low, and achieving our mark." -- Michelangelo
Register to Reply
Interested in this topic? By joining CR4 you can "subscribe" to
this discussion and receive notification when new comments are added.

"Almost" Good Answers:

Check out these comments that don't yet have enough votes to be "official" good answers and, if you agree with them, vote them!
Guru

Join Date: Apr 2014
Posts: 1869
Good Answers: 67
#1

Re: Circuit design assistance.

05/06/2014 1:31 AM

When motion-activated, the PIR sensor:

1. closes a pair of N.O. switch contacts,

2. opens a pair of N.C. switch contacts,

3. asserts +12V on an output lead/pin,

4. grounds an output lead/pin,

5. does something else (please specify)

Register to Reply
Guru

Join Date: Mar 2007
Location: by the beach in Florida
Posts: 33392
Good Answers: 1817
#2

Re: Circuit design assistance.

05/06/2014 2:04 AM
__________________
All living things seek to control their own destiny....this is the purpose of life
Register to Reply
Guru

Join Date: Apr 2014
Posts: 1869
Good Answers: 67
#3
In reply to #2

Re: Circuit design assistance.

05/06/2014 2:14 AM

Raises an interesting point. That PIR sensor turns off ten seconds after motion *is no longer detected.*

To the OP: do you want an interval starting with the onset of motion and ending ten seconds later regardless of how long motion lasts, or do you want it to continue until ten seconds after the motion stops?

Note: in the latter case, if the PIR sensor detects the motion of the water, it may never shut the water off.

Register to Reply
Guru

Join Date: Sep 2007
Location: East Texas
Posts: 1439
Good Answers: 31
#4
In reply to #3

Re: Circuit design assistance.

05/06/2014 1:32 PM

I have done some more research and have found a calculator that gives the on time for any given resistance and capacitance along with a circuit diagram.

Europium; you made an excellent point regarding the water causing a continuous on condition; as a result my initial plan has changed.

As of now the plan is to use the PIR to trigger two 555s. One will control a N Channel MOSFET holding forward bias to the gate for 10 seconds and keeping power applied to the relay activated valve. The other 555 will control a P channel MOSFET that will turn the power off to the PIR for 20 seconds.

Under continual motion this will give 10 second baths every 20 seconds while motion is being detected and avoid a continuous on condition.

I think this will be a fun project.

Thanks for your input.

__________________
"The greater danger for most of us lies not in setting our aim too high and falling short; but in setting our aim too low, and achieving our mark." -- Michelangelo
Register to Reply
Guru

Join Date: Apr 2014
Posts: 1869
Good Answers: 67
#6
In reply to #4

Re: Circuit design assistance.

05/06/2014 2:24 PM

Hi Gavilan,

Instead of two circuits, how about one configured as an oscillator with a 30-second period and 33% duty cycle? 10 seconds On, 20 seconds Off, with the oscillator powered when the PIR senses motion.

Btw, be sure to put a diode across the solenoid, diode's cathode to positive side, to protect your output transistor.

Register to Reply Score 1 for Good Answer
Associate

Join Date: Apr 2013
Location: Vancouver, Canada
Posts: 40
Good Answers: 9
#13
In reply to #4

Re: Circuit design assistance.

05/08/2014 12:35 PM

If you want to experiment and use two 555's why not use a '556' dual timer which will give you the 2 seperate timers in one package?

Register to Reply
Guru

Join Date: Sep 2007
Location: East Texas
Posts: 1439
Good Answers: 31
#14
In reply to #13

Re: Circuit design assistance.

05/09/2014 11:45 PM

Thanks Cap - I saw that was available when doing my research. I have a slug of 555s on hand; otherwise I would.

Slight delay - tree fell on power line into my house and tore the meter out - 1 day delay. Boat went belly up - that's a priority issue. The PIR triggered water cannon will probably now have to wait until I return from my summer volunteer service in the mountains of Idaho.

Thanks for all your input everyone.

__________________
"The greater danger for most of us lies not in setting our aim too high and falling short; but in setting our aim too low, and achieving our mark." -- Michelangelo
Register to Reply
Guru

Join Date: Sep 2007
Location: East Texas
Posts: 1439
Good Answers: 31
#5
In reply to #2

Re: Circuit design assistance.

05/06/2014 1:37 PM

That looks EXACTLY like the PIR switch I am using.

__________________
"The greater danger for most of us lies not in setting our aim too high and falling short; but in setting our aim too low, and achieving our mark." -- Michelangelo
Register to Reply
Guru

Join Date: Apr 2014
Posts: 1869
Good Answers: 67
#7
In reply to #5

Re: Circuit design assistance.

05/06/2014 2:35 PM

If that is the same PIR that you have, note that it works only in darkness. But as squirrels are daytime critters .... ?

Register to Reply
Guru

Join Date: Sep 2007
Location: East Texas
Posts: 1439
Good Answers: 31
#9
In reply to #7

Re: Circuit design assistance.

05/07/2014 12:57 AM

The PIRs I have are not night time only.

__________________
"The greater danger for most of us lies not in setting our aim too high and falling short; but in setting our aim too low, and achieving our mark." -- Michelangelo
Register to Reply
Guru

Join Date: Apr 2014
Posts: 1869
Good Answers: 67
#8
In reply to #5

Re: Circuit design assistance.

05/06/2014 6:45 PM

The LPIR-5A on that same site may be the better choice, as you can disable the nighttime-only feature. It does have a somewhat longer minimum timeout interval - 30 seconds - but features a +12V output which you can use to power a 555 oscillator directly, as mentioned previously.
http://www.superbrightleds.com/moreinfo/installation-supplies/intelligent-pir-motion-sensor-switch/969/

Register to Reply
Guru

Join Date: Nov 2012
Posts: 633
Good Answers: 13
#10

Re: Circuit Design Assistance

05/07/2014 8:28 AM

Why not use a microcontroller....Atmels 8 pin dip <$3 and you can trigger it and set up any delays or time functions you want.

Register to Reply
Guru

Join Date: Sep 2007
Location: East Texas
Posts: 1439
Good Answers: 31
#11
In reply to #10

Re: Circuit Design Assistance

05/07/2014 11:31 PM

I had considered a micro controller as I had recently been teaching myself how to program a parallax controller; but I want to learn more about 555 timers and I thought the simple circuitry I have envisioned might be a bit more robust in the environment.

I am going to check out Atmel 8 pin dip and see what I might learn - thanks !!

__________________
"The greater danger for most of us lies not in setting our aim too high and falling short; but in setting our aim too low, and achieving our mark." -- Michelangelo
Register to Reply
Guru

Join Date: Nov 2012
Posts: 633
Good Answers: 13
#12
In reply to #11

Re: Circuit Design Assistance

05/08/2014 7:12 AM

I just ran across a company in Co. 'sparkfun.com' check out their inventory, I ordered a pcDuino3 Saturday and it arrived yesterday and I plugged in keyboard, mouse, monitor and it booted, linked to my wifi and I am using it to do this fight now. Comes with operating sys(Ubuntu and android) Much better than Galileo from Intel which I'm still trying to burn Linux into a micro SD for. There is much information at 'instructables.com' on Arduino and programming the various Atmel chips.

Register to Reply
Power-User

Join Date: Jul 2014
Posts: 113
Good Answers: 4
#15

Re: Circuit Design Assistance

07/05/2014 7:37 PM

Here is the circuit you need

Register to Reply Score 1 for Good Answer
Guru

Join Date: Sep 2007
Location: East Texas
Posts: 1439
Good Answers: 31
#16
In reply to #15

Re: Circuit Design Assistance

07/11/2014 4:22 PM

You are a kind person. Thank You !!!

I will build and test it upon my return home in OCT.

__________________
"The greater danger for most of us lies not in setting our aim too high and falling short; but in setting our aim too low, and achieving our mark." -- Michelangelo
Register to Reply
Power-User

Join Date: Jul 2014
Posts: 113
Good Answers: 4
#17
In reply to #16

Re: Circuit Design Assistance

07/11/2014 6:01 PM

"I will build and test it upon my return home in OCT."
Don't hurry. Is that 2015 or 2016???

Register to Reply
Register to Reply 17 comments

"Almost" Good Answers:

Check out these comments that don't yet have enough votes to be "official" good answers and, if you agree with them, vote them!
Copy to Clipboard

Users who posted comments:

Captain Quirk (1); colin55 (2); europium mkII (5); Gavilan (6); geraldpaxton (2); SolarEagle (1)

Previous in Forum: Will Your Next Cell Phone Be Built By Tiny Bots   Next in Forum: Driving LEDs from Battery Pack

Advertisement