Page 22 of 81 FirstFirst ... 12131415161718192021222324252627282930313272 ... LastLast
Results 211 to 220 of 801
Like Tree1Likes

Thread: Renault "Tuner List" Head Unit/CD changer hacking - Controls

  1. #211
    Ale
    Ale is offline
    Newbie
    Join Date
    Feb 2006
    Location
    Italy
    Posts
    42
    See my change in schematics at post #205.

  2. #212
    Constant Bitrate
    Join Date
    Feb 2006
    Posts
    113
    Quote Originally Posted by Ale
    Now I have a USB->RS232 cable and i'm looking for the miniISO connector to build my interface, as soon as i found it i will test this circuit.
    For testing you can use normal 2.8mm fastons (non insulated, like these , note that the picture is the 4.8mm one) with some tape to prevent shorts.
    I didn't test with the insulated one , I don't think it will fit.

  3. #213
    Constant Bitrate
    Join Date
    Feb 2006
    Posts
    113
    Quote Originally Posted by Ale
    can you check the voltage at pin 14, with a pulldown resistor of 1K, so we can know the value of the internal pullup (if exist) (sould be near 1V)?
    Not today, maybe tomorrow.

  4. #214
    Variable Bitrate
    Join Date
    Apr 2005
    Location
    Belgium
    Posts
    326
    Quote Originally Posted by Vicne
    I think the first try I'll make is transform the spying circuit to just replace it by 2 resistors and check how it works.
    And the answer is : pretty well :-)

    So I just threw it all away and only left the two 10k resistors inline between the Rx/Tx of the HU and the serial ports, and all looks well. The only glitch I had was while powering up the Head Unit : the first byte I received was a 0x00000000, so I guess a spike came along the line and was considered a start bit, then 8 data bits were all at zero. The parser should take care of discarding that.

    And indeed, the fact that the input impedance is between 3K and 7K is part of the RS232 specification (see http://www.rs485.com/rs485spec.html for example), so putting a 10K resistor in series actually creates a 3:1 divider which makes sure "low" voltage is under the input threshold... but a 5K or even lower could most probably work

    I'll try to wire the active part tomorrow.
    Attached Images Attached Images  

  5. #215
    Variable Bitrate
    Join Date
    Apr 2005
    Location
    Belgium
    Posts
    326
    Quote Originally Posted by pippolippi
    I just repeated without success my test with no interface (just a divider network on input and a diode on output, I tried even without a diode).
    After my few tests with open wires, I see that the original CDC doesn't want to go further if its "BOOTING" messages are not acknowledged. Conversely, maybe the HU doesn't want to acknowledge anything until it has received this first "BOOTING" message...
    So what you could try, instead of sending "PLAYING" frames, would be to send "BOOTING" frames and see if they get acknowledged. As they are the first frames sent, you can send the following fixed bytes and see if you get an answer :

    3Dh 01h 03h 11h 60h 06h 48h

    My tests show that they get repeated by the CDC (without the frame ID being incremented) until he gets an acknowledge, and that the HU ackowledges them all (once again, even though they have the same frame ID), so that looks like a bulletproof test to do.

  6. #216
    Constant Bitrate
    Join Date
    Feb 2006
    Posts
    113
    Quote Originally Posted by Vicne
    After my few tests with open wires, I see that the original CDC doesn't want to go further if its "BOOTING" messages are not acknowledged. Conversely, maybe the HU doesn't want to acknowledge anything until it has received this first "BOOTING" message...
    So what you could try, instead of sending "PLAYING" frames, would be to send "BOOTING" frames and see if they get acknowledged. As they are the first frames sent, you can send the following fixed bytes and see if you get an answer :

    3Dh 01h 03h 11h 60h 06h 48h

    My tests show that they get repeated by the CDC (without the frame ID being incremented) until he gets an acknowledge, and that the HU ackowledges them all (once again, even though they have the same frame ID), so that looks like a bulletproof test to do.

    That's what my test program (in post #132, though I made some changes since then) tries to do, alas without receiving an acknowledgment, so I cannot go further. Mmmh I actually send 00 as sequence, I'll try with 01.

  7. #217
    Ale
    Ale is offline
    Newbie
    Join Date
    Feb 2006
    Location
    Italy
    Posts
    42
    After all i'am thinking that the best solution is to use a chip made for rs232, like MC145406 it has already pullup and pulldown resistor, ESD protection etc. We supply only VCC +5V for the digital section (78L05 may be) and VDD+12V from the HU, the negative VSS not used and tied to GND, so we can use the cascaded inverter configuration used till now in the spy circuit, for both direction PCTX->HURX and HUTX->PCRX. Max3232 can't be used becouse of its max V+ of only 7V.
    Attached Files Attached Files

  8. #218
    mox
    mox is offline
    Constant Bitrate mox's Avatar
    Join Date
    Nov 2004
    Location
    The Netherlands
    Posts
    183
    Quote Originally Posted by Vicne
    So I just threw it all away and only left the two 10k resistors inline between the Rx/Tx of the HU and the serial ports, and all looks well.
    A mere glimpse of all the schematics we've seen passing by.

    The upcoming weekend appears to be a good time for a trip to Brussels, if that is convenient for you. Sunday, to be more specific, but subject to change. We'll exchange details by PM later this week.
    CarPC status: HW all done, SW needs tweaked.
    Hardware: VIA MII-12K, 512MB, 60GB 2.5", CW-8123 DVD-CDRW, 7" Lilli ts, Opus 90W, BU-353 GPS, 802.11b PCI, USB bluetooth dongle, AverMedia AverTV Cardbus Plus, Morex Cubid 3677
    Software: RR, MM/FD

  9. #219
    Variable Bitrate
    Join Date
    Apr 2005
    Location
    Belgium
    Posts
    326
    Quote Originally Posted by Ale
    After all i'am thinking that the best solution is to use a chip made for rs232
    Agreed.
    like MC145406 it has already pullup and pulldown resistor, ESD protection etc. We supply only VCC +5V for the digital section (78L05 may be)
    Simpler : we have the PC's 5V :-)
    and VDD+12V from the HU
    ...or PC too :-)
    the negative VSS not used and tied to GND, so we can use the cascaded inverter configuration used till now in the spy circuit, for both direction PCTX->HURX and HUTX->PCRX. Max3232 can't be used becouse of its max V+ of only 7V.
    Yes.
    Although, I asked my local dealer and he has a 15-days delay to order it (and it's 4.6 EUR a unit).
    So I'd try to do something with MAX3232 and a few transistors like you proposed in post 205.

  10. #220
    Variable Bitrate
    Join Date
    Apr 2005
    Location
    Belgium
    Posts
    326
    Quote Originally Posted by mox
    A mere glimpse of all the schematics we've seen passing by.
    Indeed.

    By the way, I just thought about something (for the only one of us who has a CDC :-)). I think I'll leave the "reading" part always connected so that even when on CDC position, I can do a special combination (e.g. press pause twice quickly) that would make the PC take the control or release it...

    The upcoming weekend appears to be a good time for a trip to Brussels, if that is convenient for you. Sunday, to be more specific, but subject to change. We'll exchange details by PM later this week.
    Sunday would be fine indeed.

Bookmarks

Posting Permissions

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