Tilted Forum Project Discussion Community

Tilted Forum Project Discussion Community (https://thetfp.com/tfp/)
-   Tilted Knowledge and How-To (https://thetfp.com/tfp/tilted-knowledge-how/)
-   -   Making a switch (https://thetfp.com/tfp/tilted-knowledge-how/137732-making-switch.html)

stevie667 07-16-2008 12:37 PM

Making a switch
 
Hi all,

I need some advise on circuitry. I'm trying to create a circuit in which opening a set of contacts will turn on an LED light. For reference i am using a button cell, but will be upgrading to a AAA or AA battery when i get the mechanics right.

I have a few ideas, but nothing that wouldn't require many days of tinkering with a soldering iron and circuit board.

Does anyone have any ideas on how i might be able to do this?


Cheers

ScottKuma 07-16-2008 05:18 PM

This would be fairly easy to do with a NOT gate...

I'll post a schematic soon....

stevie667 07-17-2008 03:11 AM

Cool, cheers!

ScottKuma 07-17-2008 04:47 AM

1 Attachment(s)
I think the attached image would probably be the simplest way - opening the switch would force the current through the switch (the path of least resistance) - but obviously this would be a complete short when the switch was CLOSED - so you would want to put a resistor of some fashion.

If you're using a battery, this would probably be VERY battery intensive.

This site has a simple door alarm circuit that could probably be used...

stevie667 07-18-2008 06:44 AM

Thanks, few things to think about there.

flat5 09-02-2008 01:34 PM

Choose highest value resistor that will saturate transistor.
Try 100,000 ohms. My circuit shows a bulb.
You said LED so use a current limiting resistor in series with the LED.
I have drawn the battery upside down, sorry :-)
Negative polarity should connect to emitter/switch.

http://s3.simpload.com/090248bdb14aacb45.gif

stevie667 09-03-2008 03:04 PM

Awesome, cheers.

flat5 09-04-2008 03:00 AM

1 Attachment(s)
untested

flat5 09-04-2008 03:24 AM

1 Attachment(s)
still untested, but it looks a little better :-)
LED current will be about 6ma. For 15ma R1 should be 67 ohms if using a normal red LED (voltage drop 1.7 volts).

stevie667 09-07-2008 06:54 AM

Cool, just need to find a 100k resistor...

Edit: Huzzah for the resistors, boo for needing a new soldering iron.

flat5 09-08-2008 03:27 AM

You can buy a very cheap low wattage iron. Make sure to use rosin core "radio" solder.
The resistor value is not critical at all. However 100k (1/4 watt, 5%) is a standard value.
So is 68 ohms.

flat5 09-17-2008 05:33 AM

Using a MOSFET as a switch
 
Ideally we want very little current to flow when the switch is closed.

For the bipolar transistor, a darlington arangement using two transistors
would work well.
Then the 100k resistor could be increased to at least 1Megohm, I think.

Here is another circuit to play with. I found this circuit here:

Using a MOSFET as a Switch

Using Paint Shop Pro I flipped the positions of R1 and the switch.

I would change the 1M resistor (R1) to 5M or 10M and see if the circuit is still
stable. The project could still be powered by 3 volts but R2 should be a much
smaller value if the LED has to be bright. Perhaps 220 ohms.

http://s1.simpload.com/091748d1060ed3053.gif


All times are GMT -8. The time now is 04:24 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Search Engine Optimization by vBSEO 3.6.0 PL2
© 2002-2012 Tilted Forum Project


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47