Wired remote for Pioneer HU


Closed Thread
Results 1 to 23 of 23

Hybrid View

  1. #1
    Join Date
    Dec 2008
    Location
    Ploiesti, ROMANIA
    Posts
    582


    Did you find this post helpful? Yes | No

    Default Re: Wired remote for Pioneer HU

    Thanks for reply !
    I do not think I understood very well ...What that means "MUST USE MPASM" ?!
    Trisx.y in PBP it's not like trisx.y in assembler ?

  2. #2
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default Re: Wired remote for Pioneer HU

    Read
    http://www.picbasic.co.uk/forum/showthread.php?t=543

    And stop using the simulator, or at least let everyone kow that you are when you post a problem.
    Dave
    Always wear safety glasses while programming.

  3. #3
    Join Date
    Dec 2008
    Location
    Ploiesti, ROMANIA
    Posts
    582


    Did you find this post helpful? Yes | No

    Default Re: Wired remote for Pioneer HU

    Thanks You so much for support ! Are some thinks I dont understand (too ...) ...
    1. I dont use MPASM in code.
    2. My astonishment it's about non-function of this hardware ! If I connect JUST the resistor on jack, the HU react ! If I use same resistor -via optocoupler - the HU react ! But with PIC, dont !
    I increased the time for each tris command, but without results !
    Code:
    case 1     ; volume down    
     trisb.2=0
    Pause 5000 ; I try even with this huge pause !
    trisb.2=1
    ...
    endcase

  4. #4
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default Re: Wired remote for Pioneer HU

    I am not familiar with the HU, but if you post the current hardware schematic (PIC, opto, HU) someone may be able to spot the problem.
    Dave
    Always wear safety glasses while programming.

  5. #5
    Join Date
    Dec 2008
    Location
    Ploiesti, ROMANIA
    Posts
    582


    Did you find this post helpful? Yes | No

    Default Re: Wired remote for Pioneer HU

    So...with schematic from post #1 - no results !
    With a simple resistor - good results ; with optocouplers - good results too.
    Attached Images Attached Images   
    Last edited by fratello; - 28th May 2012 at 18:57.

  6. #6
    Join Date
    Dec 2008
    Location
    Ploiesti, ROMANIA
    Posts
    582


    Did you find this post helpful? Yes | No

    Default Re: Wired remote for Pioneer HU

    ...and how an "original" remote work :
    Attached Images Attached Images  

  7. #7
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,612


    Did you find this post helpful? Yes | No

    Default Re: Wired remote for Pioneer HU

    Hi,
    I haven't studied this thread in detail but if the idea is to "place a resistance" across the plug then I don't think you can run the same code (if that's what you're doing) with the two different hardware designs. When using the circuit with the opto-isolators you drive the PIC-pin high in order to turn on the opto-isolator and connect the associated resistor across the plug - and if I read your posts correct this works fine.

    It's not exactly clear to me how the plug is connected to the circuit in post#1 but it looks to me as if this circuit doesn't work the same way as the one with the opto-isolators. So, if you're trying to run the same code with the two circuits my guess is that's where your problem is.

    /Henrik.

  8. #8
    Join Date
    Aug 2006
    Location
    Look, behind you.
    Posts
    2,818


    Did you find this post helpful? Yes | No

    Default Re: Wired remote for Pioneer HU

    Quote Originally Posted by fratello View Post
    Thanks for reply !
    I do not think I understood very well ...What that means "MUST USE MPASM" ?!
    Trisx.y in PBP it's not like trisx.y in assembler ?
    Must use the MPASM assembler from Microchip, and not the PB assembler supplied with PBP. I am betting the simulator defaults to using MPASM and simply ignores the PB configs altogether. So when you run it, it knows what to do with Steve's keypad code whereas PB does not.Most of Steve and Darrel's code samples require MPASM, and when you upgrade to PBP3 it ONLY uses MPASM, so it is a worthwhile change.
    Last edited by Archangel; - 29th May 2012 at 06:58.
    If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
    .
    Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
    .
    There simply is no "Happy Spam" If you do it you will disappear from this forum.

Members who have read this thread : 1

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