EEVblog Electronics Community Forum

Electronics => Beginners => Topic started by: mattek on April 18, 2018, 08:19:40 pm

Title: Simple circuit transmiting voltage when powered on isn't working correctly
Post by: mattek on April 18, 2018, 08:19:40 pm
Hi there!

I would like to say hello to everyone here. I treat electronics and all this stuff as one of my hobbys, learning by my mistakes and knowoledge based from the internet. It gives me huge satisfaction, however, I'm newbie so maybe this is one of the reasons why I decided to post here? Nevermind, let's go ::)

I Recently decided to built my first project (http://blob:https://imgur.com/92a45763-6419-4c18-8ba9-16a5b4bc9c2f) with Arduino Uno - it's CD changer emulator, which connected to car's head unit, unlocks hidden AUX port. It works just flawlessly, however contains one disadvantage - this emulator uses constant 12V from headunit'd connector and even with radio turned off, voltage is still alive. In the same connector, there is another pin with about 8.8V which is only active when radio is turned on.

I found simple solution, just something like a gate which opens, when 8.8V appears, here's schematic:
(https://i.imgur.com/WdJFb6w.png)
Left, upper side with mosfet, transistor and two resistors. This solution was used with similar emulator but built using ATMega and confirmed to be ok.

Decided to built it, gathered all components and suprisingly, it doesn't want to work. I connected everything like this (http://blob:https://imgur.com/a833622c-6b03-4d49-8601-9b8f69d94e35), hope it's proper connection.

Checked Mosfet with it's resistor and after giving 12V to G and S, it opens at D. Second transistor is "ok" too I think, from B to C or E, gives me 0.7V and in another cases, my multimeter shows gape.

Anyone sees something wrong with this simple circuit? I would be very thankful for the solution.

Best regards!

EDIT: Gosh, I forgot to say what's the main problem: when I give 12V, as schematic shows, I get 12V on D. It should open after 8.8V is given, not needed 12V.
Title: Re: Simple circuit transmiting voltage when powered on isn't working correctly
Post by: tpowell1830 on April 18, 2018, 08:30:18 pm
Looks like R3 is much too large to drive the NPN, try a 1k resistor.
Title: Re: Simple circuit transmiting voltage when powered on isn't working correctly
Post by: mattek on April 18, 2018, 08:33:52 pm
Yeah, but you read my post before editing, I just forgot to say what is going on.

When I give 12V as my schematic shows, D is already opened, wihtout connecting 8.8V to CD_ENABLE pin.

Sorry!
Title: Re: Simple circuit transmiting voltage when powered on isn't working correctly
Post by: tpowell1830 on April 18, 2018, 08:55:22 pm
Yeah, but you read my post before editing, I just forgot to say what is going on.

When I give 12V as my schematic shows, D is already opened, wihtout connecting 8.8V to CD_ENABLE pin.

Sorry!

Mattek, I forgot to say welcome to the forum.

The IRF9530 is an interesting choice, did you look at the specification sheet?

Here is the link: https://www.vishay.com/docs/91076/sihf9530.pdf (https://www.vishay.com/docs/91076/sihf9530.pdf)

Hope this helps...
Title: Re: Simple circuit transmiting voltage when powered on isn't working correctly
Post by: mattek on April 18, 2018, 09:01:47 pm
I'm very sorry but I don't know how could I interpret your suggestion with this mosfet, I don't have so much knowledge about this :/
IRF9530 isn't my choice, whole schematic isn't mine, but author confirmed that this works.
Title: Re: Simple circuit transmiting voltage when powered on isn't working correctly
Post by: llkiwi2006 on April 18, 2018, 10:46:00 pm
How much current is it drawing from the 12v rail? If it's small enough just don't worry about it.
Title: Re: Simple circuit transmiting voltage when powered on isn't working correctly
Post by: mattek on April 19, 2018, 03:16:20 pm
I can't check it now, my soldering iron got broken yesterday's evening, sorry! I need few days to get replacement.

But current is enough to run whole Arduino and other stuff connected to it.
Title: Re: Simple circuit transmiting voltage when powered on isn't working correctly
Post by: mattek on May 16, 2018, 05:43:28 pm
Hi guys,

I found the problem. I had CD pin disconnected somewhere in my assembly and that was the reason why circuit didn't work properly. Thank you for any answers here.

Best regards :)