AC Signal...


Closed Thread
Results 1 to 19 of 19

Thread: AC Signal...

Hybrid View

  1. #1
    EDWARD's Avatar
    EDWARD Guest


    Did you find this post helpful? Yes | No

    Default yo dude

    you dude, ADC means Anologue to Digital Comparator or something. it basically will give you a decimal readout of a signal (usually 0 to 255) rather then 1 or 0. it it can be hard to set up beacuse you would likely need to build a transforming circuit.

    do you even know what type of signal must be sent out the amp siganl line? is it 5 or 12 volts DC? does it stay at 5-12 volts dc or does it just sent a pulse?

    this could be made without a pic. but if you must these are things to consider.

    sound to me like all you need is a zener diode and resistor connected between the ac sound signal and a pics input. not sure how much power a deck can produce and not really sure the value or the components, but get one that wont allow more then 5volts and limited current. if the current is higher then extepcted then i would use an isolation relay like the one posted at the top, this will prevent frying the pic. if all you can find is a standard relay that should work too but will be clicking like crazy.


    just write a code that is like this:

    if pic recives pulse on input line then
    turn on amp
    endif


    the pics input pin will be reciving random pulses as the music plays so youll ne ed to write a workaround like:

    if no pulse is recived within 1 minutes then
    shut off amp
    endif

    how do you plan on powering the pic?


    google search zener diode, optical isolation relay, rectification

    also, using you meter, meaure the ac signal out the deck with the volume all theway up. also measure the amp signal on your car. im not 100% sure but when you meause the amp signal line go from that wire to ground in dc mode. but when measuring the speakers go from speaker LF + to speaker LF - (left front ) in ac mode.

  2. #2
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    That's an area i'm really experienced with. I did installation for more than 10 years as now. Still do some times..
    do you even know what type of signal must be sent out the amp siganl line? is it 5 or 12 volts DC? does it stay at 5-12 volts dc or does it just sent a pulse?
    100% of the aftermarket amplifier need a constant 12 volt to turn them on. Usally called PCon, Remote or Turn-on Lead. The amplifier will stay on as long as you send him a 12volt on the remote terminal.
    not sure how much power a deck can produce and not really sure the value or the components, but get one that wont allow more then 5volts and limited current.
    Those deck work on 12Volts and never use internal voltage shifter to raise te voltage. So a MAX of 14Volts amplitude will be on the Speaker terminal when the car is running. Simple Voltage divider built with 2 resistor will do the job. Let's say 10K in serie between PIC and Speaker, 5.1k(or a few less) between PIC input and gnd. We can skip the capacitor in serie.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

Similar Threads

  1. Measuring p-p of a 1.5v to 12v ac signal?
    By sccoupe in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 30th October 2009, 16:22
  2. Decoding an incoming infrared signal: need advice
    By xnihilo in forum mel PIC BASIC Pro
    Replies: 10
    Last Post: - 9th May 2008, 16:28
  3. PIC16F684 + LCD to use the 256bytes of EEPROM - HELP
    By xnihilo in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 7th March 2008, 14:19
  4. Help with sound command in 2 programs
    By hyperboarder in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 5th July 2007, 20:36
  5. Rc signal help
    By geckogrotto in forum mel PIC BASIC Pro
    Replies: 42
    Last Post: - 27th August 2006, 00:10

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts