The MP3car.com Store The MP3car.com Blog    

Sponsored links

Go Back   MP3Car.com > Mp3Car Technical > Hardware Development

Reply
 
LinkBack Thread Tools Display Modes
Old 03-30-2008, 11:25 PM   #1
Variable Bitrate
 
Join Date: Jun 2007
Location: Houston, TX
Posts: 346
need some help with a relay

total relay newb here... so pardon my ignorance. I've done some searching on the subject, looked at the datasheet, but am still a bit perplexed as to which pins to connect.

The relay is a SY- 5 -K. Link to datasheet

I'm going to take a leap here and say that I should connect the positive to pin 2, negative to pin 9, and the switch that I want to operate to pins 10 and 6. Am I correct in this? (going by the diagram on bottom of page 4 of the datasheet)


thanks
nst6563 is offline   Reply With Quote
Advertisement
 
Advertisement
Sponsored links

Old 03-31-2008, 07:45 PM   #2
Variable Bitrate
 
Join Date: Jun 2007
Location: Houston, TX
Posts: 346
ok,...tested that and it works... however now I'm stuck at a part that confuses me. I'm attempting the one-shot circuit as depicted in this post... I got it to work... once. I didn't think it was quite literally a one-shot deal...I figured that after the cap was discharged it would function again. I'm going to mess with it some more, but anyone have any tips on why it would work once and not again (even after I drain the cap).
nst6563 is offline   Reply With Quote
Old 04-01-2008, 10:39 PM   #3
Variable Bitrate
 
Join Date: Jun 2007
Location: Houston, TX
Posts: 346
no one? I'm stumped here. I've tried different values of caps, resistors, and the most I can get the circuit to do is energize the cap, and then watch an LED bleed off the power after the main power is cut so the cap is drained.
nst6563 is offline   Reply With Quote
Old 04-03-2008, 04:03 PM   #4
Newbie
 
Join Date: Sep 2007
Posts: 23
draw out how you have this circuit made. IS the LED constantly connected? DOes the LED light immediately when power is turned on? If so this may be the problem. With a resistor, a cap, and an LED in Parrallel with the relay coil. You may be dropping voltage too much to turn the relay coil on. Although the circuit it quite simple and easy it probably isnt the best way to do it. Try looking up 555 timer circuits, they are easy to build and will do what you want and be both dependable and pridictable.
triath5147 is offline   Reply With Quote
Old 04-03-2008, 05:52 PM   #5
Variable Bitrate
 
Join Date: Jun 2007
Location: Houston, TX
Posts: 346
no, the led isn't connected in the circuit at all. I apply power, nothing happens, disconnect the power and touch the leads of the led to the cap and can watch it drain.

I will look in to the 555...I may even have one somewhere here
nst6563 is offline   Reply With Quote
Old 04-05-2008, 10:48 AM   #6
Variable Bitrate
 
Join Date: Jun 2007
Location: Houston, TX
Posts: 346
ok, afte some tinkering and troubleshooting with this thing, I finally got it to work like I want...partially.

I have 2x3300uf and 2x2200uf in parallel to give a 2-3 second hold time on the relay. I also have an LED wired into the circuit to bleed off the caps once the power is cut.

Circuit diagram below:
[IMG][/IMG]

now, what I'd like to do is have this relay trigger another which turns the device OFF when the power is cut...this I'm not sure of. I'm going today to pick up another couple relays and a timer, and I'll draw up a diagram of my idea, but anyone else done something like this?
nst6563 is offline   Reply With Quote
Old 04-07-2008, 04:35 PM   #7
Variable Bitrate
 
Join Date: Jun 2007
Location: Houston, TX
Posts: 346
no one? 170+ hits and no one knows? dang.

Well, here's basically what I need - and I have half of it.

I need a circuit that will attach to the switch on my bluetooth GPS receiver and close the switch for 2 seconds when the carpc is powered on. I have this part. Works perfect.

the part I don't have, and can't get to work, is a circuit that will close the gpsr switch for 2 seconds when the carpc shuts off. Similar to the Delayed Off circuit in the schematics sticky.

So at start, relays hold switch closed for ~2 seconds, then during normal operation relays are open, and at shutdown, relays hold switch closed for another ~2seconds.

Can anyone help me with such a circuit?
nst6563 is offline   Reply With Quote
Old 04-07-2008, 06:32 PM   #8
Newbie
 
Join Date: Sep 2007
Posts: 23
Here try this and see how it works.
Name:  PO CIRCUIT.JPG
Views: 267
Size:  46.7 KB

You will have to play with the cap and resistor values to get your required time delay of 2 seconds. I suggest you hook an LED to the output at first and time the LED till you get what you want. There is a formula for figuring time delay out but I am not good at math, nor do I know the formula so I always just use trial and error till I get what I want.

Have fun! Let me know if it works.
triath5147 is offline   Reply With Quote
Old 04-07-2008, 09:07 PM   #9
Variable Bitrate
 
Join Date: Jun 2007
Location: Houston, TX
Posts: 346
awesome thanks! I've been searching around the internet and haven't found quite what I'm looking for, so I started to try to combine some different circuits to get what I wanted but my knowledge on the subject is limited anymore (last time I was REALLY into this level was almost 10 years ago...and when you don't use it...you lose it -at least I did anyway )

I'll have to order the transistor b/c there are really no decent shops around my area. Radioshack is worthless here anymore, and that's about it for electronics "parts". I salvaged the relays from an old modem, all the caps from old motherboards, and also have voltage regulators, flip flops, nand gates, uarts, hex inverters, etc...but don't think I have any transistors. So off to Mouser I go

and to be quite honest...since there were no posts in response, I sort of gave up on the idea and just added enough capacitance to drain off in the same amount of time that it took the bluetooth gpsr to timeout and shut itself down (30 minutes).
nst6563 is offline   Reply With Quote
Sponsored links
Advertisement
 
Advertisement
Reply

Bookmarks

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 On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
FAQ: RELAYS; how they work and how to wire it up... FusionFanatic The FAQ Emporium 9 09-01-2008 05:10 PM
StreetDeck Functions god_of_cpu DigitalMods (Scripts / API) 22 01-15-2008 11:44 PM
AMP 1.X Phidget Plugin Interface bcohen5055 AMP 68 09-06-2007 01:10 AM
Single Pulse to Lock and Unlock Using a mechanical latching relay rotarypower101 Hardware Development 3 08-16-2006 03:40 PM
Will someone help me program my relay control module cproaudio Software & Software Development 6 09-04-2002 05:50 AM


All times are GMT -5. The time now is 04:39 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