Civinfo

15.jpg
This thread is about: Electronic background help needed with circuit, it's in General Discussion at the Honda Civic forum Civinfo; I'm in the process of my install and I'm using a creative zen as my mp3 player. I've soldered two wires on the Zen's on/off ...

Help Rules Search Stickers Surveys Wiki Forum
Go Back   Civinfo > Honda Civic > General Discussion

Reply
 
LinkBack Thread Tools Display Modes
Old 11th December 2007, 15:35   #1 (permalink)
Supporter
Valve Cap
 
Join Date: 8th August 2007
Posts: 27
Thanks: 0
Thanked 0 Times in 0 Posts
iTrader: (0)
Electronic background help needed with circuit

I'm in the process of my install and I'm using a creative zen as my mp3 player. I've soldered two wires on the Zen's on/off switch, but to turn it on and off they need to make contact for 2-3 seconds.

I've been playing around with 555 timers, capacitors and relays with no luck now for about a week, but I'm no electronic engineer. This is what i need

turn on ignition
>relay triggered for 3 seconds then off

turn off ignition
>relay triggered for 3 seconds then off

If theres anyone out there with an electronic background who can help, all i need is a diagram, i can do the rest.

I'd really appreciate it...

Thanks, Ger
ger_uk is offline   Reply With Quote
Old 11th December 2007, 15:45   #2 (permalink)
King of the rodeo
Civinfo guru
 
czechplastik's Avatar
 
Join Date: 24th October 2006
Location: Belfast IE
Posts: 4,687
Thanks: 0
Thanked 2 Times in 2 Posts
iTrader: (0)
I suggest you make contact with stef or bog, they'll soon sort you out
czechplastik is offline   Reply With Quote
Old 11th December 2007, 21:06   #3 (permalink)
Bog
Supporter
Magic Rear Seat
 
Bog's Avatar
 
Join Date: 5th October 2006
Location: Romford, Essex GB
Posts: 898
Thanks: 0
Thanked 3 Times in 3 Posts
iTrader: (0)
Thanks for for the recommendation CP , but I'm not that good with electonic circuits - basic circuits and electrics I'm fine with, but what what is a bit beyond.

Ger, I think Stef is you best bet! Like you I know the basics, know what I want and how to achieve it (Sort of) and when I see a circuit, I can normally figure out how it works.

I assume you would have a circuit along the line of the one below which Stef designed for his Homing Lights project (Here: Install Homing Lights )

sc.jpg

I can see how his circuit holds the power on for 4-5 seconds, but how you would modify to hold the power when the ignition is turned off is a bit more complex.

As CP says, try a PM to Stef, he's very good at this sort of thing and is vey helpfull.

By the way, I'm curious, are hard wiring your ZEN into the car? Can you post some more details or pics - sounds very interesting

Let us know how you get on
Bog is offline   Reply With Quote
Old 12th December 2007, 09:27   #4 (permalink)
Supporter
Valve Cap
 
Join Date: 8th August 2007
Posts: 27
Thanks: 0
Thanked 0 Times in 0 Posts
iTrader: (0)
Thanks Bog, I'll give Stef a pm later. It's been driving me mad, I've been using livewire circuit simulation, and done loads of circuits, but I'm stuck.

I bought a damaged Zen 60gb on eBay, the screen was damaged, but works using the av out connector. This is ideal for us guys, same interface as the ipod, but it's visible all the time. Looks really good on the nav screen. I want to hard wire everything in and make a Fiberglas mould for the controls.

This is only the front setup, I've installed two screens for the rear, and I'm ruining them off a hard drive media player, so the kids can use a remote to select what they want to watch. This is also connected to the front screen, which has 2 av inputs and the reversing camera, i did this by building using jupido's circuit.

Some pics below, will take so more soon, all i need now is the switching circuit and I'm ready to go.




Click the image to open in full size.



Click the image to open in full size.

Click the image to open in full size.

Click the image to open in full size.

Click the image to open in full size.

Click the image to open in full size.

Click the image to open in full size.

Last edited by ger_uk; 12th December 2007 at 09:30.
ger_uk is offline   Reply With Quote
Old 12th December 2007, 10:33   #5 (permalink)
Supporter
Triangular Exhaust
 
Koen's Avatar
 
Join Date: 18th September 2007
Location: Belgium BE
Posts: 244
Thanks: 0
Thanked 0 Times in 0 Posts
iTrader: (0)
I was more thinking about the follwing. Beware, it's just a quick drawing, not tested, no values for Rv and C.
How (I think) it works:
- When switching your civic on, there is a voltage at the accessory input, making the transistor switch.
- Current starts flowing through the relay making it switch on.
- Capacitor C starts charging through Rrel. (the resistance of the relay) + Rv.
- When the capacitor is charged, the current stops and the relay swiches off. Rv and C should be calculated/tested in such a way that the time constant (time to charge the capacitor) is 2 to 3 seconds.
- When turning your civic off, the transistor open gain, and the capacitor discharges trough the relay, making it switch again.

Remarks:
- There can be no protective diode over the relay, but the transistor is protected against inductive current by the diode over it.
- The relay cannot be "polarity-sensitive".
- Rv cannot be to big, since it woul reduce the current to much, and that may prevent the relay from closing.
- C must be rather big, because it needs to hold the power to switch the relay on again. (4700 µF, maybe more. 16v types are ok.)


Currently I do not have the time to build and test this, but you could give it a try.
If think 15 min longer, I might come up with something more clever. Unfortunately my time is limited...

K.
Attached Images
File Type: jpg schematic.JPG (14.0 KB, 151 views)
Koen is offline   Reply With Quote
Old 12th December 2007, 10:38   #6 (permalink)
Supporter
Valve Cap
 
Join Date: 8th August 2007
Posts: 27
Thanks: 0
Thanked 0 Times in 0 Posts
iTrader: (0)
Cheers Koen, I'll give it a go in Livewire later and play around with it. I'll keep you updated. Thanks
ger_uk is offline   Reply With Quote
Old 12th December 2007, 11:57   #7 (permalink)
Supporter
Valve Cap
 
Join Date: 8th August 2007
Posts: 27
Thanks: 0
Thanked 0 Times in 0 Posts
iTrader: (0)
Hi K, Been playing around, but with no luck I'm affraid... I cant get the simulation to work, tried loads of different values.
Attached Images
File Type: jpg circuit1.jpg (22.3 KB, 143 views)
ger_uk is offline   Reply With Quote
Old 12th December 2007, 12:19   #8 (permalink)
Supporter
Triangular Exhaust
 
Koen's Avatar
 
Join Date: 18th September 2007
Location: Belgium BE
Posts: 244
Thanks: 0
Thanked 0 Times in 0 Posts
iTrader: (0)
I'll check tonight if I 've got the necessary components, and I'll build it on an exp.board. Can't be to hard IMHO. I'll keep you posted.

K.
Koen is offline   Reply With Quote
Old 12th December 2007, 19:50   #9 (permalink)
Supporter
Valve Cap
 
spongeybob's Avatar
 
Join Date: 14th June 2007
Location: Norfolk ENGLAND
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
iTrader: (0)
Hi Ger, Try this.

Been giving your little problem some thought. Haven’t tried it but I think it should work.
The circuit is based on a cheap comparator (LP311). When power is first applied the Opto-Coupled switch (FOD852) is switched on for approx 3 seconds (C1 charging via R2) when power is removed C1 is rapidly discharged via D1 and R1 switching the opto-coupler back on until C2 run’s out of charge.
I must stress that I haven’t tried it. It’s come straight out my head. Don’t blame me if you blow up your Zen!!!
Attached Images
File Type: jpg Zen.jpg (37.8 KB, 120 views)
spongeybob is offline   Reply With Quote
Old 13th December 2007, 10:48   #10 (permalink)
Supporter
Valve Cap
 
Join Date: 8th August 2007
Posts: 27
Thanks: 0
Thanked 0 Times in 0 Posts
iTrader: (0)
Hi Spongeybob, Thanks for the help, only problem I've got is I'm using Livewire to simulate the circuits before i build them, but i cant find the comparator (LP311) in the components so i cant test it. Does it have another name by any chance?

Cheers
ger_uk is offline   Reply With Quote
Old 13th December 2007, 10:54   #11 (permalink)
Supporter
Valve Cap
 
spongeybob's Avatar
 
Join Date: 14th June 2007
Location: Norfolk ENGLAND
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
iTrader: (0)
Hi Ger,
I chose the LP311 for it low power consumption, Try simulating using a LM111, 211, or 311
spongeybob is offline   Reply With Quote
Old 13th December 2007, 11:23   #12 (permalink)
Supporter
Valve Cap
 
Join Date: 8th August 2007
Posts: 27
Thanks: 0
Thanked 0 Times in 0 Posts
iTrader: (0)
thanks, will have a go this evening, have to go out and do some x-mas shopping today... just had a quick look, i have the lm311, but it has different pins (see pic)

What should i do...

Ta
Attached Images
File Type: png lm311.png (22.9 KB, 100 views)
ger_uk is offline   Reply With Quote
Old 13th December 2007, 12:34   #13 (permalink)
Supporter
Valve Cap
 
spongeybob's Avatar
 
Join Date: 14th June 2007
Location: Norfolk ENGLAND
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
iTrader: (0)
Hi Ger,
Not familiar with ‘Livewire’ but it looks as though some of the pins on your LM311 have been removed for simplicity. A real LM311 must have pin 1 connected in order to work.

See http://cache.national.com/ds/LM/LM111.pdf

I have redrawn the circuit with the opto-coupler in a different position. You could substitute this for an LED to get your simulator working.

Have fun…
Attached Images
File Type: jpg Zen.JPG (45.5 KB, 93 views)
spongeybob is offline   Reply With Quote
Old 13th December 2007, 20:23   #14 (permalink)
Supporter
Valve Cap
 
Join Date: 8th August 2007
Posts: 27
Thanks: 0
Thanked 0 Times in 0 Posts
iTrader: (0)
Did the circuit, still no luck, can't get it to work, i think i've followed your diagram correctly. see below.
Attached Images
File Type: jpg spongy.jpg (26.5 KB, 86 views)
ger_uk is offline   Reply With Quote
Old 13th December 2007, 21:39   #15 (permalink)
Supporter
Valve Cap
 
spongeybob's Avatar
 
Join Date: 14th June 2007
Location: Norfolk ENGLAND
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
iTrader: (0)
Hi,
Does your software allow you to open and close the switch during the simulation?
If not, to simulate the opening and closing of the switch you could try replacing SW1 and B1 with a pulse generator set to +12V 0.05Hz
As you can see from my simulation the output goes low when power is applied and removed.
Attached Images
File Type: jpg Zen.jpg (42.9 KB, 73 views)
spongeybob is offline   Reply With Quote
Old 13th December 2007, 21:50   #16 (permalink)
Supporter
Valve Cap
 
Join Date: 8th August 2007
Posts: 27
Thanks: 0
Thanked 0 Times in 0 Posts
iTrader: (0)
Yer it does allow me to switch during simulation, i don't think my software likes the lm311. This is starting to do my head in now, really appreciate your help though
ger_uk is offline   Reply With Quote
Old 13th December 2007, 22:06   #17 (permalink)
Supporter
Valve Cap
 
spongeybob's Avatar
 
Join Date: 14th June 2007
Location: Norfolk ENGLAND
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
iTrader: (0)
Glad to be of help. I know how you feel.
spongeybob is offline   Reply With Quote
Old 17th December 2007, 09:03   #18 (permalink)
Supporter
Triangular Exhaust
 
Stef's Avatar
 
Join Date: 14th October 2006
Location: Belgium BE
Posts: 386
Thanks: 5
Thanked 1 Time in 1 Post
iTrader: (0)
It is so simple that it hurts:

Check that the relay coil impedance is about 300ohm or more.
Check that the +12V after ignition that you use is not turned off when you press the start button.
If the circuit gets +12V after ignition the relay will be on for about 2 secs (higher cap= longer time).
If you turn off the ignition, this point becomes "virtual" ground and the relay will turn on again for about 2 secs.
Have fun!
Attached Images
File Type: jpg Puls relay.jpg (54.0 KB, 42 views)

Last edited by Stef; 17th December 2007 at 16:40.
Stef is offline   Reply With Quote
Old 17th December 2007, 10:30   #19 (permalink)
Supporter
Triangular Exhaust
 
Stef's Avatar
 
Join Date: 14th October 2006
Location: Belgium BE
Posts: 386
Thanks: 5
Thanked 1 Time in 1 Post
iTrader: (0)
Simulation of the circuit
Attached Images
File Type: jpg Puls relay_simulation.jpg (48.1 KB, 37 views)
Stef is offline   Reply With Quote
Old 17th December 2007, 13:29   #20 (permalink)
Supporter
Valve Cap
 
spongeybob's Avatar
 
Join Date: 14th June 2007
Location: Norfolk ENGLAND
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
iTrader: (0)
Well done, I like it.
spongeybob is offline   Reply With Quote
Reply

  Civinfo > Honda Civic > General Discussion

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 On
Forum Jump

Similar Threads for: Electronic background help needed with circuit
Thread Thread Starter Forum Replies Last Post
Advice Needed Jacqui General Discussion 23 29th January 2008 15:56
Add-on nav Circuit Help NEEDED... PLEASE ger_uk Electronics 2 7th December 2007 22:57
Other Location of brake light circuit? Naresh Electronics 1 15th November 2007 08:23
More votes needed? terry Type-R 10 21st August 2007 23:47