Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Automatic soap dispenser

Status
Not open for further replies.

tnnedaboard

Member level 3
Joined
Apr 5, 2012
Messages
64
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
1,748
Hi,
I made the attached circuit to make an automatic soap dispenser ... it works well except that sometimes when the timed out ends and you take your hand from under the IR sensor the timed out is reactivated ...

some advice? thank you.

SCHEMA.jpg
 

This is probably due to a second peak in reflected light re-triggering the timer. The solution is to add yet another timer to provide a 'dead' time before it re-arms for use again.

This is crying out for redesign using a small MCU. Everything, including the dead time can be done in software for a fraction of the cost and complexity.

Brian.
 

What if I add a 1µF electrolytic capacitor between pin3 of PH1 and gnd?
 

You can short out C5 completely and then remove D1 and R3, they are only there to protect the trigger input from over-voltage as the TSOP output goes high. None of the measures you suggest will work properly though unless you place a much larger capacitor across the TSOP output, the drawback is it will also make it far less responsive when you do want it to trigger and you would have to limit the discharge current into the TSOP as its output went low.

Brian.
 

Hi,

Why not use first 555 as a comparator (no timing or oscillator) and use pins 2 and 6 as input for IR sensor high/low signal. Or timer 1 with IR trigger as monostable to dispense soap and timer 2 also triggered by the IR sensor but controlling the reset pin of timer 1 or something?
 

Hi,

Knew there was something that might be useful with two 555s: Delayed Re-Triggering. Maybe you could adapt it your set-up. There may be another circuit on that page that is useful, Interlocked Monostable Timers might not fit the bill, maybe you could think of a way to re-use the idea, 'though.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top