PDA

View Full Version : Touch Switch Tutorial



Thaxos
04-14-2009, 08:11 PM
Disclaimer: I assume that the reader understands Ohm's law, knows the basics of electronics and knows how to read a schematic. I am not responsible if you do not take appropriate measures to ensure your safety. WEAR SAFETY GLASSES!!! Please do not attempt this project if you do not fully understand why this circuit works and what each part does.
For those that want to have a resistance touch switch(and then 3 more!), here's an easy way to do it FOR UNDER $10!
(Cost from my local electronics store $7.54)
Step 1: Acquire the components
(I assume you will already own the necessary tools to solder and strip wires)
You will need:
1 - 10uF 16V Electrolytic Capacitor
2 - 100K 1/4W Resistors (R1, R2)
1 - 10M 1/4W Resistor (R3)
1 - 4011 CMOS NAND Gate IC
http://i322.photobucket.com/albums/nn414/Thaxos/Touch%20Switch/TouchSwitch002.jpg
(or it's equivalent - I am using a Quad 2 Input NAND Gate[4011BPC])
DO NOT purchases an SMT type component unless you have either a lot of determination and a high level of soldering skill. SMT components are components that are meant for Surface Mounting. They are extremely small and hard to solder with a regular soldering iron.
Step 2:
Read and comprehend the schematic!
http://i322.photobucket.com/albums/nn414/Thaxos/Touch%20Switch/Schematic.png
Step 3:
Solder and/or use your breadboard!
Step 4:
Be amazed!

Alright, here's how it went.
I put everything down on my project table, kind of just shoved the other stuff to the side. YOU should keep your table neat and organized!
http://i322.photobucket.com/albums/nn414/Thaxos/Touch%20Switch/TouchSwitch001.jpg

Now having a good knowledge of electronics from my robotics courses I took way back when I was a Padawan, I got right to the soldering!
http://i322.photobucket.com/albums/nn414/Thaxos/Touch%20Switch/TouchSwitch006.jpg

Nearly done with the pesky and super tiny NAND Gate
DON'T BUY SMT COMPONENTS!!!
http://i322.photobucket.com/albums/nn414/Thaxos/Touch%20Switch/TouchSwitch010.jpg
This is why! Your soldering iron tip is the same size as the component itself!!!
http://i322.photobucket.com/albums/nn414/Thaxos/Touch%20Switch/TouchSwitch013.jpg

Then you plug everything into the breadboard, hook up a multimeter to see that it's so far so good.
http://i322.photobucket.com/albums/nn414/Thaxos/Touch%20Switch/TouchSwitch014.jpg

And finally, you grin and pump your fist in the air (don't hit the fluorescent tube lights above you though) and yell loudly that it works!
http://i322.photobucket.com/albums/nn414/Thaxos/Touch%20Switch/TouchSwitch016.jpg

Also, the reason it didn't output 9V, but rather 8.1V is this:
http://i322.photobucket.com/albums/nn414/Thaxos/Touch%20Switch/TouchSwitch017.jpg
Battery only gave out 8.1V!

Now you have your very own touch switch. Hide those wires where you will so you turn your saber on with 'the Force'!

Note: You only need to solder up pins 1-7 and 14
I didn't pay enough attention and ended up soldering the others as well, at the risk of overheating my NAND gate.

Hope you enjoy making your own touch switches, and if anyone has questions or needs help when trying it themselves, I would be happy to help!

Thaxos
04-14-2009, 08:29 PM
Sticky this for me, please? I put it in the Thread Index ;) - LM <-- OMG TEH HAX!

For those that don't understand but want to:
Use Google and;
Learn soldering, how to breadboard, multimeter use
Learn Ohm's Law, understand NAND gates, capacitors, resistors
Then come back and read it again.

swear000
04-14-2009, 09:33 PM
sparkfun has a SOIC to DIP converter. It lets you solder the surface mount chip onto the board so that you have easier access to the pins. I am trying it with a LED segment driver chip that I got. It was not through hole as I was hoping for. I tried soldering wires directly onto a surface mount chip and found that it was nearly impossible because of the tight spacing. Congratulations on actually doing it.

Thaxos
04-15-2009, 04:48 PM
sparkfun has a SOIC to DIP converter. It lets you solder the surface mount chip onto the board so that you have easier access to the pins. I am trying it with a LED segment driver chip that I got. It was not through hole as I was hoping for. I tried soldering wires directly onto a surface mount chip and found that it was nearly impossible because of the tight spacing. Congratulations on actually doing it.
Haha thanks!
I considered buying one of those boards, but I felt overconfident and so I headed home first. Then I realized my soldering tip was the size of the component.

Basically, I tinned the wires, left a minute blob on the end, heated it slightly above the pin, then lowered it down and let the solder flow.
Very tricky. Had to de-solder several times due to bridging.

mihunai
04-15-2009, 09:58 PM
when does this switch activate?
when you touch your saber?
i would really appreciate it if you tried to explain how this thing works, when assembled...

mTm

Obi-Dar Ke-Gnomie
04-15-2009, 10:50 PM
I hate to be critical here. It's great that you put this tutorial together, but some of the pictures are too blurry to see what you did. Is there any way you could take sharper pictures? I'm sure there will be people that would love to see details on how to do this.

Try mounting the camera on a tripod and using the close-up/macro/flower setting.

I'm not putting you down, just trying to be helpful.

Zook
04-16-2009, 03:25 AM
when does this switch activate?
when you touch your saber?
i would really appreciate it if you tried to explain how this thing works, when assembled...

mTm

in the next to the last picture you see him touching two wires with his hand. You would want to connect those two wires up to something for you to touch...like two pins close together on the saber hidden in the grip or something (isolated from the metal of the saber).

Good work...its been a long time (around 18 years or so) since I dealt with this stuff in school.

Thaxos
04-21-2009, 09:12 AM
There's really not much more to see, you'd just see the wires clearer. My camera is not the greatest Gnomie.

Yeah Zook has the right idea, and I'll bet you could hook up one electrode to the hilt itself, and run several wires off the other to various well hidden spots on the hilt so that touching the hilt and any of those wires would activate it.

I will be making a single electrode touch switch (capacitance) which will simply require the person to touch it once to turn it on.

jtong77
05-29-2009, 02:19 AM
I will be making a single electrode touch switch (capacitance) which will simply require the person to touch it once to turn it on.

So it will behave like a latching switch?

Thaxos
07-08-2009, 07:36 PM
So it will behave like a latching switch?

Wow, sorry it took so long to revisit here and answer you, didn't know you had posted a question.
This one works as momentary, I've yet to build the other type which would behave like a latching switch.

Darth_Dadderall
02-12-2010, 12:08 PM
I can see an application for this in Anakin-style hilts with the "recharge port" pins acting as your switch contacts.

Dalesabers
03-31-2010, 08:08 PM
Has anyone attempted this yet an LED yet?

Jedi-Loreen
04-01-2010, 02:20 AM
Uh, wut? :rolleyes:

Dalesabers
04-01-2010, 05:45 PM
well it's been a while since this was posted and i was curious if anyone has done the touch switch installed on a saber.

Jedi-Loreen
04-02-2010, 12:24 AM
Has anyone attempted this yet an LED yet?
This was a confusing sentence to me.

Did you mean, "Has anyone attempted this yet(sic) on an LED saber yet?"

Shadar Al'Niende
04-02-2010, 06:44 AM
For those of you who may not be grammar junkies...;)


Sic is a Latin word meaning "thus", "so", "as such", or "in such a manner". In writing, it is placed within the quoted material, in square brackets – or outside it, in regular parentheses – and usually italicized – [sic] – to indicate that an incorrect or unusual spelling, phrase, punctuation, and/or other preceding quoted material has been reproduced verbatim from the quoted original and is not a transcription error.

Do not ask how i know this one.....:rolleyes:

Et Kin Evenstar
04-02-2010, 07:30 AM
OK...good to know. I thought "sic" was some kind of acronym for an expresion of profanity. ;-)

Dalesabers
04-02-2010, 12:26 PM
Has anyone attempted this yet an LED yet?

this is what happens when i do late night browsing and asking questions.