Author Topic: Circuit Help.  (Read 1509 times)

0 Members and 1 Guest are viewing this topic.

Offline khofo

  • EZ's Swashbuckler
  • Knight
  • **
  • Posts: 350
  • Cookies: 25
  • My humor is so black, it could go cotton picking.
    • View Profile
Circuit Help.
« on: September 03, 2014, 09:28:38 pm »
I don't know if this forum is the right place to post that, and please if this thread doesn't belong here plz notify me when removing it.
So Basically what I want is making a circuit that will use the audio signals to operate a latch for activating another circuit.
So what should be done is to amplify the signal then use it to operate that latch.
if anyone can help me out that would be great.
Quote from: #Evilzone
<Spacecow18> priests are bad ppl
<Insanity> Holy crap
Of course God isnt dead. He's out there partying with the Easter Bunny, Santa Clause, Tooth Fairy, and the Man on the moon...
Some of my work: Introduction to Physical Security

Offline techb

  • Soy Sauce Feeler
  • Global Moderator
  • King
  • *
  • Posts: 2350
  • Cookies: 345
  • Aliens do in fact wear hats.
    • View Profile
    • github
Re: Circuit Help.
« Reply #1 on: September 04, 2014, 06:36:10 am »
You should tell us what your doing first.

But by latch I assume you mean switch. So, you will need to use a comparator to trigger a transistor or mosfet. You might not need to amplify the signal but if it is needed, than an opamp would work.

But to give a better answer and possibly a schematic, I need to know exactly what your trying to do.
>>>import this
-----------------------------

Offline khofo

  • EZ's Swashbuckler
  • Knight
  • **
  • Posts: 350
  • Cookies: 25
  • My humor is so black, it could go cotton picking.
    • View Profile
Re: Circuit Help.
« Reply #2 on: September 04, 2014, 06:49:20 am »
You should tell us what your doing first.

But by latch I assume you mean switch. So, you will need to use a comparator to trigger a transistor or mosfet. You might not need to amplify the signal but if it is needed, than an opamp would work.

But to give a better answer and possibly a schematic, I need to know exactly what your trying to do.
YAY SOMEONE WHO CARES.

What I want to do is connect a cellphone and it's mp3 jack to do the following:
-Take the audio signal of the 3.5mm jack on the phone (while it's ringing)
-Use it to operate a switch which is used to activate another circuit with it's own independent power of course.
I probably need OpAmp to amplify the signal.
I want it to operate a circuit from a long distance without Internet. And IR or Radio are much much less efficient on long range
« Last Edit: September 04, 2014, 06:50:35 am by Khofo »
Quote from: #Evilzone
<Spacecow18> priests are bad ppl
<Insanity> Holy crap
Of course God isnt dead. He's out there partying with the Easter Bunny, Santa Clause, Tooth Fairy, and the Man on the moon...
Some of my work: Introduction to Physical Security

Offline proxx

  • Avatarception
  • Global Moderator
  • Titan
  • *
  • Posts: 2803
  • Cookies: 256
  • ФФФ
    • View Profile
Re: Circuit Help.
« Reply #3 on: September 04, 2014, 08:40:42 am »
YAY SOMEONE WHO CARES.

What I want to do is connect a cellphone and it's mp3 jack to do the following:
-Take the audio signal of the 3.5mm jack on the phone (while it's ringing)
-Use it to operate a switch which is used to activate another circuit with it's own independent power of course.
I probably need OpAmp to amplify the signal.
I want it to operate a circuit from a long distance without Internet. And IR or Radio are much much less efficient on long range
Very easy.
Use a transistor as the switch, than close that circuit with a relay.


Just add a transistor to this schema where the switch currently is.

The only challenge is to to actually flip it because this would hold it open only as long as power is applied.
I would also suggest that if you use a phone you should tap onto the vibration mechanism as it provides much more power and is DC as opposed to audio.

Happy ? :P
« Last Edit: September 04, 2014, 08:43:38 am by proxx »
Wtf where you thinking with that signature? - Phage.
This was another little experiment *evillaughter - Proxx.
Evilception... - Phage

Offline shad0wingfir3

  • Serf
  • *
  • Posts: 40
  • Cookies: 4
    • View Profile
Re: Circuit Help.
« Reply #4 on: September 04, 2014, 09:37:50 am »
An OpAmp can help amplify the signal, but it also depends on what you consider "long distance". As far as a latch is concerned a standard SR latch would do the job.

Here is the trick, how do you send the signal from your phone? Some sort of network connection will most likely be required, the Galaxy S5 has an IR blaster (shorter distance), but that is about it when it comes to sending light...unless you use your phone's 4g...but even then you need the receiving circuit to be able to accept that. Then you have to worry about EMI around your device. An arduino board, with some basic application that can accept an internet connection from your phone's 4g...

sorry I raised more questions than answers. These are some things you have to think about, try an electronic hobbyist community, they might be able to help you further: http://forum.arduino.cc/
« Last Edit: September 04, 2014, 09:38:58 am by shad0wingfir3 »

Offline khofo

  • EZ's Swashbuckler
  • Knight
  • **
  • Posts: 350
  • Cookies: 25
  • My humor is so black, it could go cotton picking.
    • View Profile
Re: Circuit Help.
« Reply #5 on: September 04, 2014, 09:43:47 am »
Very easy.
Use a transistor as the switch, than close that circuit with a relay.


Just add a transistor to this schema where the switch currently is.

The only challenge is to to actually flip it because this would hold it open only as long as power is applied.
I would also suggest that if you use a phone you should tap onto the vibration mechanism as it provides much more power and is DC as opposed to audio.

Happy ? :P
The probem with that is the fact that any ringtone is not monotonal thus u cannot create a fixed current so is it held open on a minimla current? 
And for the vibrator I was aware of this but it's not bery stable the fact that the keeps rolling alternatavely cuts the current.. And I as I said it's unstable:
-A cable can be taken out by the roller
-U can't manipulate the device while upside dow on a board and have to makes a hole in it
-Access to vibrator is not very easy

So for me the technical difficulty of using the mp3  is worth it :)
But that's my opinion ifu think it can be made easy and reliable don't hesitat.

Quote from: shad0wingfir3
link=topic=16415.msg89232#msg89232 date=1409816270
An OpAmp can help amplify the signal, but it also depends on what you consider "long distance". As far as a latch is concerned a standard SR latch would do the job.

Here is the trick, how do you send the signal from your phone? Some sort of network connection will most likely be required, the Galaxy S5 has an IR blaster (shorter distance), but that is about it when it comes to sending light...unless you use your phone's 4g...but even then you need the receiving circuit to be able to accept that. Then you have to worry about EMI around your device. An arduino board, with some basic application that can accept an internet connection from your phone's 4g...

sorry I raised more questions than answers. These are some things you have to think about, try an electronic hobbyist community, they might be able to help you further: http://forum.arduino.cc/
I plan to send the signal via cellular data: installing a Sim card and calling the the phone with a mp3 cable connected it will resirect the ringtone there creating the adio waves necesary.

Sorry for all the mistakes will fix that once on PC but I am on mobile right now
« Last Edit: September 04, 2014, 09:59:55 am by Khofo »
Quote from: #Evilzone
<Spacecow18> priests are bad ppl
<Insanity> Holy crap
Of course God isnt dead. He's out there partying with the Easter Bunny, Santa Clause, Tooth Fairy, and the Man on the moon...
Some of my work: Introduction to Physical Security

Offline proxx

  • Avatarception
  • Global Moderator
  • Titan
  • *
  • Posts: 2803
  • Cookies: 256
  • ФФФ
    • View Profile
Re: Circuit Help.
« Reply #6 on: September 04, 2014, 10:07:39 am »
The probem with that is the fact that any ringtone is not monotonal thus u cannot create a fixed current so is it held open on a minimla current? 
And for the vibrator I was aware of this but it's not bery stable the fact that the keeps rolling alternatavely cuts the current.. And I as I said it's unstable:
-A cable can be taken out by the roller
-U can't manipulate the device while upside dow on a board and have to makes a hole in it
-Access to vibrator is not very easy

So for me the technical difficulty of using the mp3  is worth it :)
But that's my opinion ifu think it can be made easy and reliable don't hesitat.
I plan to send the signal via cellular data: installing a Sim card and calling the the phone with a mp3 cable connected it will resirect the ringtone there creating the adio waves necesary.

Sorry for all the mistakes will fix that once on PC but I am on mobile right now
mp3 cable Wut? lol fuck lol

You just need to use that one pulse to flip something , go online and search ;)
Wtf where you thinking with that signature? - Phage.
This was another little experiment *evillaughter - Proxx.
Evilception... - Phage

Offline khofo

  • EZ's Swashbuckler
  • Knight
  • **
  • Posts: 350
  • Cookies: 25
  • My humor is so black, it could go cotton picking.
    • View Profile
Re: Circuit Help.
« Reply #7 on: September 04, 2014, 10:12:11 am »
mp3 cable Wut? lol fuck lol

You just need to use that one pulse to flip something , go online and search ;)
Just for clarification:
What is weird using the mp3 jack
I will definetly google how to use cellphone vibrator to activate circuit. Because what I thought ut was i putting two cables on both sides of the things that rolls and when it does it closes the current so I guess some research should be done here
Quote from: #Evilzone
<Spacecow18> priests are bad ppl
<Insanity> Holy crap
Of course God isnt dead. He's out there partying with the Easter Bunny, Santa Clause, Tooth Fairy, and the Man on the moon...
Some of my work: Introduction to Physical Security

Offline shad0wingfir3

  • Serf
  • *
  • Posts: 40
  • Cookies: 4
    • View Profile
Re: Circuit Help.
« Reply #8 on: September 04, 2014, 10:29:43 am »
All a latch is doing is waiting for a Hi input on Set. This will turn on Q, completing a circuit to what ever you need flipped. With a low (0 volts) it will stay Not Q (off so to speak). You won't be sending anything from the audio jack of your phone. You will be using your 4g to send a digital signal to flip the latch, a transistor could work, but you just need a simple switch not a transistor for logic operations. You will need a D/A converter. And you probably won't need an op Amp since an Internet connection is pretty strong assuming you do setup the IC properly, a raspberry pi would do the trick with an ethernet connection, eliminating EMI by a ton.

Offline khofo

  • EZ's Swashbuckler
  • Knight
  • **
  • Posts: 350
  • Cookies: 25
  • My humor is so black, it could go cotton picking.
    • View Profile
Re: Circuit Help.
« Reply #9 on: September 04, 2014, 10:44:56 am »
All a latch is doing is waiting for a Hi input on Set. This will turn on Q, completing a circuit to what ever you need flipped. With a low (0 volts) it will stay Not Q (off so to speak). You won't be sending anything from the audio jack of your phone. You will be using your 4g to send a digital signal to flip the latch, a transistor could work, but you just need a simple switch not a transistor for logic operations. You will need a D/A converter. And you probably won't need an op Amp since an Internet connection is pretty strong assuming you do setup the IC properly, a raspberry pi would do the trick with an ethernet connection, eliminating EMI by a ton.

I did not understand why I can't use the signal that passes through the 3.5 mm jack because definetly there is current there when there is a cable conected since it yhe ringtone is playing there
Quote from: #Evilzone
<Spacecow18> priests are bad ppl
<Insanity> Holy crap
Of course God isnt dead. He's out there partying with the Easter Bunny, Santa Clause, Tooth Fairy, and the Man on the moon...
Some of my work: Introduction to Physical Security

Offline shad0wingfir3

  • Serf
  • *
  • Posts: 40
  • Cookies: 4
    • View Profile
Re: Circuit Help.
« Reply #10 on: September 04, 2014, 11:00:38 am »
The 3.5 jack is not a transmitter. It does conduct sound waves through a headphone cord, but there is no sending or receiving signals like your thinking. The most it could do is maybe receive Fm/AM signals with the help of headphones acting like an antenna. But that would be with a transceiver built into the device, the 3.5 input doesn't do any of those funtions except extend the possibility of an antenna as a reciever.

Offline khofo

  • EZ's Swashbuckler
  • Knight
  • **
  • Posts: 350
  • Cookies: 25
  • My humor is so black, it could go cotton picking.
    • View Profile
Re: Circuit Help.
« Reply #11 on: September 04, 2014, 06:01:49 pm »
The 3.5 jack is not a transmitter. It does conduct sound waves through a headphone cord, but there is no sending or receiving signals like your thinking. The most it could do is maybe receive Fm/AM signals with the help of headphones acting like an antenna. But that would be with a transceiver built into the device, the 3.5 input doesn't do any of those funtions except extend the possibility of an antenna as a reciever.
You got me totally wrong.
I know that the jack itself doesn't send or receive any kind of signal.
On most phone if u have a headphone cord connected the phone when receiving a call will ring into the headphone cord and not the phone's speaker. So what I want to do is use the sound waves that come out of the jack when the phone is ringing. In the meantime I posted on an electronic forum my question and got an answer, Here is the link : http://www.electronicspoint.com/threads/using-phone-mp3-jack-for-power.270129/
« Last Edit: September 04, 2014, 06:04:36 pm by Khofo »
Quote from: #Evilzone
<Spacecow18> priests are bad ppl
<Insanity> Holy crap
Of course God isnt dead. He's out there partying with the Easter Bunny, Santa Clause, Tooth Fairy, and the Man on the moon...
Some of my work: Introduction to Physical Security

Offline techb

  • Soy Sauce Feeler
  • Global Moderator
  • King
  • *
  • Posts: 2350
  • Cookies: 345
  • Aliens do in fact wear hats.
    • View Profile
    • github
Re: Circuit Help.
« Reply #12 on: September 04, 2014, 11:32:59 pm »
I still don't see why a comparator wouldn't work. If the audio signal is too low then an opamp could be used. I don't see a need to rectify it either, all your doing is testing for a voltage, if a voltage is on the line trigger something else using what you want. Could be a relay, mosfet, SSR, an opto isolator, input to some microcontroller, blah blah blah.

If you want to get fancy, you could use one of these  and do a bunch of shit with it.
>>>import this
-----------------------------

Offline khofo

  • EZ's Swashbuckler
  • Knight
  • **
  • Posts: 350
  • Cookies: 25
  • My humor is so black, it could go cotton picking.
    • View Profile
Re: Circuit Help.
« Reply #13 on: September 05, 2014, 01:04:47 am »
Today I'll test the voltage then see what i will do
My multimeter's battery is down :(
« Last Edit: September 05, 2014, 01:25:52 am by Khofo »
Quote from: #Evilzone
<Spacecow18> priests are bad ppl
<Insanity> Holy crap
Of course God isnt dead. He's out there partying with the Easter Bunny, Santa Clause, Tooth Fairy, and the Man on the moon...
Some of my work: Introduction to Physical Security

Offline shad0wingfir3

  • Serf
  • *
  • Posts: 40
  • Cookies: 4
    • View Profile
Re: Circuit Help.
« Reply #14 on: September 05, 2014, 06:28:40 am »
You got me totally wrong.
I know that the jack itself doesn't send or receive any kind of signal.
On most phone if u have a headphone cord connected the phone when receiving a call will ring into the headphone cord and not the phone's speaker. So what I want to do is use the sound waves that come out of the jack when the phone is ringing.

I apologize, I still didn't quite understand what you are trying to use the 3.5 jack, it is just a connection for your earphones, the little circuits in the earphones are being driven by the soundwaves generated inside the phone, the 3.5 jack is just provides a path, it doesn't actually switch your phones ringing to the headset, your phones IC does that.