Author Topic: Need Help, Light Activated LED Latch, ("You've Got Mail" indicator)  (Read 670 times)

0 Members and 1 Guest are viewing this topic.

Offline Altair8800Topic starter

  • Regular Contributor
  • *
  • Posts: 56
  • Country: us
I'm trying to find a circuit that when it detects light will continuously light up an LED, will be low DC voltage (3-6v, preferably 5v), and has a reset.

What I really want is a "You've Got Mail" indicator.  So, when the mail person opens the mailbox the ambient sunlight will trigger the LED inside our house to go on and stay on.  After, when I pick up the mail, I can reset the LED to off (for next time).

I kind of imagine having and LDR light sensor (or other) and 2 or more jellybean transistors to do the latching.

Is this possible and better yet how exactly?

NOTE:  I've actually tried numerous times (and days) and went down numerous rabbit holes trying to find this exact circuit.  I can find circuits that 2/3 does, but nothing that exactly does what I want.  I'm trying to avoid latch circuits that need the LED pointed close and directly at the LDR, or latch circuits that need an electrical/mechanical relay switch. 
 

Offline Phil1977

  • Frequent Contributor
  • **
  • Posts: 731
  • Country: de
Re: Need Help, Light Activated LED Latch, ("You've Got Mail" indicator)
« Reply #1 on: August 12, 2024, 07:13:56 am »
You need to look for the standard double npn flip flop circuit...

Or if you want to do it with less current consumption then I would take an "inverting Schmidt trigger" logic IC. Just connect two of their gates input to output with resistors that can be pulled down by your control lines. That way you have a perfectly stable and low powered latch.
 

Offline PGPG

  • Regular Contributor
  • *
  • Posts: 228
  • Country: pl
Re: Need Help, Light Activated LED Latch, ("You've Got Mail" indicator)
« Reply #2 on: August 12, 2024, 09:41:59 am »
For checking that doors were opened a small magnet + reed switch are used (there are ready to mount at door versions offered). Using it you get more unambiguous signal than from light detecting (what if the day is cloudy or it is dark longer in winter).
What you need to latch that signal is called SR flip-flop (S-Set, R-Reset).
See: https://en.wikipedia.org/wiki/Flip-flop_(electronics)
« Last Edit: August 12, 2024, 09:45:31 am by PGPG »
 

Offline SanctePieDecime

  • Contributor
  • Posts: 30
  • Country: us
  • If it ain't Baroque, you should fix it
Re: Need Help, Light Activated LED Latch, ("You've Got Mail" indicator)
« Reply #3 on: August 12, 2024, 01:06:27 pm »
I am actually working on a project that is very similar (although a lot more detailed):
Here is a schematic of the power latch circuit I am implementing:
2337195-0
There are plenty of videos out there that explain how a circuit like this works. Here is one that I found explained the concepts well:
I am using a normally closed reed switch as the input here, but if you wanted to go with a light detection circuit, you could easily use a comparator to convert the light level into a digital signal and use that. I only have the N-channel MOSFET (Q2) there because I wanted to be able to read the status of the reed switch in another part of the circuit. So, there are ways this circuit can be simplified for your applications.

I would recommend using a reed switch if you can because then you can reduce power consumption caused by having a comparator running constantly.

There are probably better ways of doing things than the way I am doing them, but this is just one of many legitimate approaches.
 

Offline Smile2016

  • Contributor
  • Posts: 22
  • Country: us
Re: Need Help, Light Activated LED Latch, ("You've Got Mail" indicator)
« Reply #4 on: August 12, 2024, 03:12:39 pm »
something like this ? you can reset by a push button by shorting base and emitter Q2 .
 

Offline Zero999

  • Super Contributor
  • ***
  • Posts: 19937
  • Country: gb
  • 0999
Re: Need Help, Light Activated LED Latch, ("You've Got Mail" indicator)
« Reply #5 on: August 12, 2024, 03:18:22 pm »
The normal transistor latch will work. R5 ensures the LED switches off properly. SW1 is the reset.

Here's an example. It's not designed for low power consumption, which can be reduced if necessary. Changing Q1 to a MOSFET such as the 2N7000 will enable much higher resistor values to be used.
« Last Edit: August 12, 2024, 03:19:53 pm by Zero999 »
 

Offline Altair8800Topic starter

  • Regular Contributor
  • *
  • Posts: 56
  • Country: us
Re: Need Help, Light Activated LED Latch, ("You've Got Mail" indicator)
« Reply #6 on: August 12, 2024, 06:07:21 pm »
First, thanks for all the replies. 

I'll test out a few to see which one works (and best for our house)... 

Give me a few days and I'll try and report back results/findings...

Cheers...








 

Offline Smile2016

  • Contributor
  • Posts: 22
  • Country: us
Re: Need Help, Light Activated LED Latch, ("You've Got Mail" indicator)
« Reply #7 on: August 12, 2024, 08:00:17 pm »
"enhanced revision here.. keep in mind there is no delay between "reset" [temporary short R4 with push button] and new trigger. you have to reset in dark mode ...cheers
« Last Edit: August 12, 2024, 08:02:39 pm by Smile2016 »
 

Offline Zero999

  • Super Contributor
  • ***
  • Posts: 19937
  • Country: gb
  • 0999
Re: Need Help, Light Activated LED Latch, ("You've Got Mail" indicator)
« Reply #8 on: August 12, 2024, 09:16:21 pm »
"enhanced revision here.. keep in mind there is no delay between "reset" [temporary short R4 with push button] and new trigger. you have to reset in dark mode ...cheers
Do you realise you've designed a thyristor there? Yes, it'll work.
https://en.wikipedia.org/wiki/Thyristor?useskin=vector#Design
https://www.mouser.com/datasheet/2/302/BT169B-350538.pdf
 

Offline Smile2016

  • Contributor
  • Posts: 22
  • Country: us
Re: Need Help, Light Activated LED Latch, ("You've Got Mail" indicator)
« Reply #9 on: August 13, 2024, 03:25:58 pm »
"enhanced revision here.. keep in mind there is no delay between "reset" [temporary short R4 with push button] and new trigger. you have to reset in dark mode ...cheers
Do you realise you've designed a thyristor there? Yes, it'll work.
https://en.wikipedia.org/wiki/Thyristor?useskin=vector#Design
https://www.mouser.com/datasheet/2/302/BT169B-350538.pdf
Yes, that’s the idea. As long as the gate trigger current is sufficiently low, you can use a thyristor or triac. In most electronics labs, you’ll typically find a small NPN+PNP laying around. Keep the 1k resistor to limit current , replace group it with a thyristor, and reset by shorting across the anode and cathode. keep the LED and button out of mailbox so you can have dark on LDR while resetting :)
« Last Edit: August 13, 2024, 03:27:48 pm by Smile2016 »
 

Offline Zero999

  • Super Contributor
  • ***
  • Posts: 19937
  • Country: gb
  • 0999
Re: Need Help, Light Activated LED Latch, ("You've Got Mail" indicator)
« Reply #10 on: August 13, 2024, 04:56:54 pm »
I'm trying to find a circuit that when it detects light will continuously light up an LED, will be low DC voltage (3-6v, preferably 5v), and has a reset.

What I really want is a "You've Got Mail" indicator.  So, when the mail person opens the mailbox the ambient sunlight will trigger the LED inside our house to go on and stay on.
What happens if you receive mail when it's dark?

Perhaps a switch would be a more reliable solution?
 

Offline Smile2016

  • Contributor
  • Posts: 22
  • Country: us
Re: Need Help, Light Activated LED Latch, ("You've Got Mail" indicator)
« Reply #11 on: August 13, 2024, 06:21:58 pm »
I'm trying to find a circuit that when it detects light will continuously light up an LED, will be low DC voltage (3-6v, preferably 5v), and has a reset.

What I really want is a "You've Got Mail" indicator.  So, when the mail person opens the mailbox the ambient sunlight will trigger the LED inside our house to go on and stay on.
What happens if you receive mail when it's dark?

Perhaps a switch would be a more reliable solution?

A tilt sensor (switch) on the door, assuming the door tilts, or a reed switch with a magnet. idea for schematic for normal close switches bellow..S1 is normal closed, when opens , LED latches ON. reset by temporarily shorting base Q2 to GND...
« Last Edit: August 13, 2024, 07:57:20 pm by Smile2016 »
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf