The MP3car.com Store The MP3car.com Store    

Sponsored links

Go Back   MP3Car.com > Mp3Car Technical > Hardware Development

Reply
 
LinkBack Thread Tools Display Modes
Old 06-20-2007, 02:16 AM   #1
Constant Bitrate
 
portabuddy's Avatar
 
Join Date: Feb 2006
Location: mississauga, On.
Posts: 220
simple yet complicated forg light switch...

Ok well i have a 06 civic Si that i would like to put fog lights into. I'm going for a oem looking install...


The fog light kit that they offer for my car is about 500 from honda and a bit over 150 from ebay... but i still need a switch. I work at volvo trucks as a parts guy so anything that i need is mine, like my fog lights, im useing the projection light out of a crashed new volvo truck and making a bracket for it and useing a 100watt 996 fog light bulb insted of the normal h11, this is so the beam looks right.


Now for the switch. the only switch i could get is a VSA(Veichle Stability Assist) switch, its a momentary switch that only makes contact whenever you push the button. so does anyone have a good ic that is aplicable?

for the relay i was thinking one of three; a standard automotive 30a 5pin relay(tyco vf4-15f11-s01), a higher power 70a 4 pin relay(tyco vf4-11f11-s01) or a volvo cab suply relay, its for older trucks, it allows 200a of constant power, a solenoid type relay..., for the sake of argument I'm going to be useing the 5 pin 30A relay in the diagrams.

I looked around and a flip flop ic seems like it would work, when every press of the switch would make the ic flip on and flop off... so i was thinking of wiring it up like this...
(i would like to thank GoHybrid for the switch pinout and the partnumber ^_^)

Now i dont know if i should go with a 555 timer Circuit or the direct transistor approach....?????


Name:  flip 2.JPG
Views: 1426
Size:  43.3 KB

Name:  flip 1.jpg
Views: 1084
Size:  34.6 KB



HELP please..... maybe you have a simpler way????
__________________
Life Dosn't come with a reset button, if it did you might as well turn the game off.

Last edited by portabuddy; 06-20-2007 at 02:21 AM.
portabuddy is offline   Reply With Quote
Advertisement
 
Advertisement
Sponsored links

Old 06-20-2007, 02:21 AM   #2
Constant Bitrate
 
portabuddy's Avatar
 
Join Date: Feb 2006
Location: mississauga, On.
Posts: 220
umm i ment fog light switch... not a forg light switch, psssss.... i have like tons of those.... like who doesnt?


any help would be nice, the simpler the better...


here is a picture of the switch in question, like my buddy GoHybrid i will be sanding down the face, and painting the switch to say whatever i want.
Name:  Picture 553_800x600.jpg
Views: 1187
Size:  46.4 KB


there isnt any harnesses that i can buy for this switch ans soldering on terminalas is too muck work so insted i grabbed some terminals from work that fit on the tiny pins perfectly and made me up a spiffy pigtail. i heatshrunk some heatshrink on to the terminals so that they dont touch, i will be mixing up some hard plastic epoxy and filling it in, to make a removable plug, i might even go all out and grab a weather pack connector from work too...?
Name:  Picture 552_800x600.jpg
Views: 1119
Size:  50.3 KB


and here is a bunch of relays i hapen to have laying around, the ones with the big terminals are the 70A ones, the 5 pin ones are the 30A's
Name:  Picture 554_800x600.jpg
Views: 1006
Size:  101.8 KB
__________________
Life Dosn't come with a reset button, if it did you might as well turn the game off.

Last edited by portabuddy; 06-20-2007 at 02:38 AM.
portabuddy is offline   Reply With Quote
Old 06-20-2007, 03:24 AM   #3
Fusion Brain Creator
 
2k1Toaster's Avatar
 
Join Date: Mar 2006
Location: Colorado, but Canadian!
Posts: 7,414
Well you want the simple or the geeky way?

You are on the right track with a flip-flop. But if you wire that straight to a button, the mechanical nature of the button will produce many many pulses with each push, and you will never know what state it will end up on. Like a crap shoot.

The geeky way is to build a debouncing circuit, and then a flip flop.

Debounce means take all those "bounces" of the mechanical touches and smooth them out so it is only 1 output pulse rather than how ever many hundreds.

The simple way is to buy an IC that does that already. And there are many. I did a quick google and here is one. I havent looked over the datasheet because I am going to bed, but this should get you started with a search term "debounce". It might work, I'll look at it more closely tomorrow, but at first glance, it seems like it would work.

The LTC2951. http://www.linear.com/pc/productDeta...4,C1129,P10992

I am not sure of your competancy level with IC's, but whatever you buy, make sure you buy an IC in a DIP package. Through-Hole, for easy mounting on a radioshack protoboard. Surface mount components (SMD) are very small and not very good to solder. Since you were unable to solder those pins on the switch, you will be unable to solder any SMD part.
2k1Toaster is offline   Reply With Quote
Old 06-20-2007, 03:30 AM   #4
Fusion Brain Creator
 
2k1Toaster's Avatar
 
Join Date: Mar 2006
Location: Colorado, but Canadian!
Posts: 7,414
Alright last post before bed:

About debouncing: http://www.ganssle.com/debouncing.pdf

Simple 1 IC circuit: http://www.edn.com/article/CA217664.html

This is for the geeky way.

For the super super super geeky way, dont use an IC, just a bunch of 3 lead transistors and create your own through-hole logic IC.
2k1Toaster is offline   Reply With Quote
Old 06-20-2007, 04:57 AM   #5
Variable Bitrate
 
billmee's Avatar
 
Join Date: May 2005
Location: USA
Posts: 239
Check http://www.bernardiparts.com/ for the best dealer prices, I get everything for my Odyssey there 30-50% less than the local dealer.

They have a breakdown of the foglight kit that mentions a switch and micro relay.

I'm wondering if they include this in the fog light kit which they sell for $239.

Last edited by billmee; 06-20-2007 at 05:08 AM.
billmee is offline   Reply With Quote
Old 06-20-2007, 12:17 PM   #6
Constant Bitrate
 
portabuddy's Avatar
 
Join Date: Feb 2006
Location: mississauga, On.
Posts: 220
Im actuly very handy with a soldering gun, i regularly solder SMD when modding buddies satilite recivers(soldering 30aug wires to the prosesors), Xbox's, soldering cellphone LEDs ect... but you are right the DIP type will be easyer to work with... but bigger HMMMM.....lol

when reading the writeups for those two circuts i was under the impretion that they had debouncers built in, the capacitors and resistors acting lind buffers, not allowing voltage under and over a certin level to pass?, granted i picked the simplest ones to use and not the most sonplex and geeky, but i might just do that and go the geeky way,

i like the super geeky way useing the transistors, i have a bunch of mosfet IRFZ's laying around from amps i have fixed, would you please make me a diagram i could follow?, as i and uncertin of their use, the center pin is signal and the two on the others are switches right?, also i have a bunch od gate type transitors laying around too.... oh and about 3-4 drowrs of spair parts...

And billmee that site wont work for me?>, I'll try it at work later, thats where i do all my best thinking .

Maybe its just me but i dont like the write up on http://www.edn.com/article/CA217664.html, but check out this site...

http://www.cpemma.co.uk/flipflop.html
__________________
Life Dosn't come with a reset button, if it did you might as well turn the game off.
portabuddy is offline   Reply With Quote
Old 06-20-2007, 03:07 PM   #7
Low Bitrate
 
Join Date: Feb 2007
Posts: 72
switch

here is a very simple toggle switch i used for switching my screen on/off, always powers up with relay deactivated,can get a full description off site, some very good stuff here http://ourworld.compuserve.com/homepages/Bill_Bowden/
Attached Images
 
millsy is offline   Reply With Quote
Advertisement
 
Advertisement
Sponsored links

Old 06-21-2007, 03:00 AM   #8
Constant Bitrate
 
portabuddy's Avatar
 
Join Date: Feb 2006
Location: mississauga, On.
Posts: 220
did you notice the screen turning on and off rappidly when you pressed the switch down?, or are you useing a toggle switch???


ok well i took it apart and now i see what makes it tick, the third pin that looks like it does nothing controles another light that isnt installed, which is why is had no continuity or resistance... the switch itself is a slide mexhinism, I'll post a pic tomarow as my camera died, i might just gut it and put in a micro on off switch and two led's in it, ok well im defietly removing the bulb and putting in a led but now im also going to be controlling the second one seperatly , bit now i know what the damm third pin does... again if you could make me a diagram of how to use the three transisters that would be great... also in a compleatly simplified way couldnt i just use a capasitor, resistor and a diode to make this work just aswell, all its doing is smothing the signal out right?... well thats what capasiters do, noize supretion...
__________________
Life Dosn't come with a reset button, if it did you might as well turn the game off.
portabuddy is offline   Reply With Quote
Sponsored links
Advertisement
 
Advertisement
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
FAQ: LCD Technologies dontpntpool LCD/Display 4 03-15-2007 12:20 AM
Gamma control by light sensor kronos General Hardware Discussion 28 03-14-2005 07:57 AM
Help needed on switch install for Inverter eazyrog Power Supplies 9 07-24-2004 06:42 AM
Need clairification on wiring on/off switch syclone477 Newbie 9 03-23-2004 04:59 PM
Help With Extending Laptop Docking Station's Power Button JeffesonM General Hardware Discussion 10 04-14-2003 01:13 AM


All times are GMT -5. The time now is 02:59 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0
Copyright © 1999 - 2008 Mp3Car.com Inc.Ad Management by RedTyger
Message Board Statistics