100Views8Replies

Author Options:

Can an LDR be used to activate a circuit after everything has been built? Answered

I working on the gender announcement for our next baby and having some slight issues with the activation action.  I have built a circuit based on an ATtiny85 that causes two separate LEDs blink back and forth at a quickening pace underneath a Batman logo or Wonder Woman logo until the LED stays light under the Superhero representing the sex of the bay...it's a BOY!   I have had some custom cardboard boxes made and created form inserts and completed the circuits but I am at a dead stop with the activation.  I have thought about contacts around the side of the inside of the box with a non conductive material that would come down from the lid to prevent activation.  My issue would be the reset and 100% success rate.   My guiness thought would be to make the circuit Light reactive but I have NO experience with this and since the circuits are done minus power and/or switch can I still add in a Light Reactive switch using an LDR?   Any help would be greatly appreciated, my wife is driving me crazy about getting these done since i"ve been procrastinating

Discussions

The forums are retiring in 2021 and are now closed for new topics and comments.
0
verence
verence

Answer 5 years ago

+1

simple and reliable

0
Downunder35m
Downunder35m

5 years ago

Have you though about using a reed switch and a small magnet?

0
njeast13
njeast13

Answer 5 years ago

this would work but i need the circuit open until i remove the box lid. then the circuit closes and activates the Attiny85

0
steveastrouk
steveastrouk

Answer 5 years ago

You CAN get reeds that are normally closed, and opened by the presence of the magnet.

0
steveastrouk
steveastrouk

Answer 5 years ago

+1

Nice work finding them.

0
iceng
iceng

5 years ago

Use a SPDT Reed Switch see the video.

If you live in the US PM me with your address and I will mail you one.

SPDT2.JPGSPDT1.JPG