Wired remote for Pioneer HU


Closed Thread
Results 1 to 23 of 23

Hybrid View

  1. #1
    Join Date
    Feb 2006
    Location
    Gilroy, CA
    Posts
    1,530


    Did you find this post helpful? Yes | No

    Default Re: Wired remote for Pioneer HU

    I'm confused. So, your big thank you a year ago, (and the happy dance by Steve) was for code you couldn't get working? Or you didn't try the code until now? Perhaps more explanation is required, at least for me.
    http://www.scalerobotics.com

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


    Did you find this post helpful? Yes | No

    Default Re: Wired remote for Pioneer HU

    Yes, I have not tested this scheme until yesterday ... and how I say, I found that does not work ! Even if my ohm-meter show "right" value of resistances ( at every press of buttons) the HU not react ; with optocouplers all are ok. Strange for me...The hardware it's finished, but remains my astonishment about this. Thanks for reply !

  3. #3
    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

    Welllll Fratello, it seems you've been bitten by a simulator ?
    One hint from Steve's code's comments . . . " MUST USE MPASM " . . . Your configs indicate PB assembler.
    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.

  4. #4
    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 ?

  5. #5
    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.

  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

    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

  7. #7
    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.

  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