Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

Touch circuit sound, led. 555 timer

Status
Not open for further replies.
Maybe not. At this point I don't know what the 555 does to the 4013 to turn it off but I think if its not a signal to pin 3 we could use that along with a transistor or two to help determine if the pantry door is open or closed then it could pass or deny the pulse from the mechanical (on/on) switch. But I'm just talking out loud here.

So what is the current state of the wiring? Is timer pin #2 still disconnected?
 
State of 555
 

Attachments

  • 161124470919995843934155415208.jpg
    161124470919995843934155415208.jpg
    1.2 MB · Views: 245
Ha ha. That i have not done. Im ready to continue as per your instructions. I updated the schematic. Im using the 5v wallwart and the modified micro switch.

Ok...so lets continue testing with timer #2 disconnected.

Let's test the output driver TBD62003.

1. Cycle power off, then on, wait 1 minute.
2. Initial voltage measured at each pin:
P1-P4=0v
P5=5v
P6-P8=0v
P16=0v
P15=5v (relay de-energized)
P14=~3.7 (Grn LED off)
P13=5v (buzzer off)
P12=0v (Red LED on)
P11=5v (buzzer off)
P10=~3.7 (Yel LED off)
P9=5v

Report back.
 
Last edited:
Initial voltage measured at each pin:
P1-P4=0v 0.011
P5=5v 4.9
P6-P8=0v 0.011
P16=0v 0.011
P15=5v (relay de-energized) 5.2
P14=~3.7 (Grn LED off) 3.4
P13=5v (buzzer off) 4.8
P12=0v (Red LED on) 0.60
P11=5v (buzzer off) 4.8
P10=~3.7 (Yel LED off 3.7
P09 5v
Made some typos. Updated
 
Made some typos. Updated

Looks good

Yes. the voltage measure should be within a few millivolts

Next test:
voltage measured at each pin after ONE button press/release:
P1=0
P2=5v
P3=5v
P4-P8=0
P6-P8=0v
P16=0v
P15=0v (relay energized)
P14=0v (Grn LED on)
P13=5v (buzzer off) 4.8
P12=5v (Red LED off)
P11=5v (buzzer off) 4.8
P10=~3.7 (Yel LED off) 3.7
P09=5v

Report back
 
voltage measured at each pin after ONE button press/release:
P1=0 0.03
P2=5v 4.6
P3=5v 4.6
P4-P8= 0.030
P6-P8=0v 0.030
P16=0v 0.58
P15=0v (relay energized) 0.79
P14=0v (Grn LED on) .70
P13=5v (buzzer off) 4.8
P12=5v (Red LED off) 3.8
P11=5v (buzzer off) 4.8
P10=~3.7 (Yel LED off) 3.7
P09=5v
Done
 
Now...Press/release the button again ONCE.

Voltages should revert back to those shown in post #85.


P1-P4=0v 0.011 > 0.013
P5=5v 4.9 > 4.9
P6-P8=0v 0.011 > 0.014
P16=0v 0.011 > 0.4
P15=5v (relay de-energized) 5.2 > 5.2
P14=~3.7 (Grn LED off) 3.4 > 3.4
P13=5v (buzzer off) 4.8 > 4.8
P12=0v (Red LED on) 0.60 > 0.70
P11=5v (buzzer off) 4.8 > 4.8
P10=~3.7 (Yel LED off 3.7 > 3.8
P09 5v > 5
 
P1-P4=0v 0.011 > 0.013
P5=5v 4.9 > 4.9
P6-P8=0v 0.011 > 0.014
P16=0v 0.011 > 0.4
P15=5v (relay de-energized) 5.2 > 5.2
P14=~3.7 (Grn LED off) 3.4 > 3.4
P13=5v (buzzer off) 4.8 > 4.8
P12=0v (Red LED on) 0.60 > 0.70
P11=5v (buzzer off) 4.8 > 4.8
P10=~3.7 (Yel LED off 3.7 > 3.8
P09 5v > 5

Looks good.
I'm assuming you are also checking the status of the LED's, relay and buzzer.

Lets go to the next test.
 
This will be a timer test.
We'll be testing the 555 timer "timeout" setting.

For this test:
1. 555 Pin #2 will need to be disconnected from 5v and reconnected to CD4013 pin #2
2. You'll need a stopwatch or timer to visually measure the timeout. (I use the timer on my iPhone)
3. We'll set the timeout to 10 seconds by adjusting VR1.

Begin test:
1. Cycle power off, then on, wait 1 minute.
After power up, only the Red LED should be "on".
2. Prepare your stop watch to time when the Yellow LED changes.
3. Press/release the button ONCE.
Yellow LED=on (the Grn LED will also turn on). Start stopwatch
Yellow LED=off at about 12 seconds (Grn LED also shuts off). Stop stopwatch.
4. If the time is longer or shorter than 12 seconds, re-adjust VR1, then repeat test from step 2.
Doesnt have to be exactly 12 second. Just consistent.
report back.
 
Last edited:
Ok. Timer test
Min 6.45 minutes
Max 13.30 minutes
Each time yellow led went out the voltage at pin15 on the darlington remained at 0.79v
NOTE: my vr1 is 1M not 1.6M
 
Ok. Timer test
Min 6.45 minutes
Max 13.30 minutes
Each time yellow led went out the voltage at pin15 on the darlington remained at 0.79v
NOTE: my vr1 is 1M not 1.6M

Ok...but:

1.6M+1M=2.6M

T=1.1*R*C=943.8 seconds=15.73 minutes

Much of the accuracy depends on the quality of the timing cap and resistor tolerance
You can make the timeout a little longer by increasing R6.
 
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top