The MP3car.com Store  

Welcome to the MP3Car.com forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. Registering will also remove advertisements. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

Go Back   MP3Car.com > Mp3Car Technical > Hardware Development

Reply
 
Thread Tools Display Modes
Old 11-10-2005, 02:44 PM   #1
Newbie
 
Flagg's Avatar
 
Join Date: Nov 2005
Posts: 4
My Photos: (0)
Pioneer HU --> Carputer via XMDpio100

Alright, everyone. Here's my project. I know it was brought up elsewhere in the forums, but I didn't see a resolution anywhere. I've got a pioneer HU (Model # to come later), and a newly aquired XMDPIO100. My hope is to use the XMDPIO100 as an interface for the carputer. Seeing as there is already an abundance for plugins and whatnot for XM-PCR and XMD, I thought it wouldn't be a stretch to adapt the process to use the Pioneer HU as control and display device for a carputer MP3 palyer. What I am lacking currently is a decisive set of control codes for the serial data coming out of the XMDPIO100. I assume it would be the same thing used in PCR applications. What are these byte sequences, and how could I utilize this via a RS232 or USB serial port?
Thanks for any pointers, or resources that you can afford me.
Flagg is offline   Reply With Quote
Sponsored Links
Old 11-11-2005, 07:34 AM   #2
Low Bitrate
Enak's CarPC Specs
 
Enak's Avatar
 
Join Date: May 2004
Location: Hertfordshire, UK
Vehicle: Range Rover
Posts: 65
My Photos: (0)
Here's some useful links I book marked:
http://ipodlinux.org/Apple_Accessory_Protocol
http://www.maushammer.com/systems/ip...od-remote.html
http://pinouts.ru/data/ipod_pinout.shtml
http://pinouts.ru/data/ipod_jack_pinout.shtml

I was planning on building an interface... the theory behind it is pretty simple... But I'm going headunit-less now and it seemed pretty pointless to carry on.

Basically, you need to reverse the protocol so you use your PC to pretend to be an Ipod.

Then the commands the unit sends out will be received by the PC and you can do as you like.

The difficult part is interfacing the PC so that song titles, etc. are sent to the head unit.

The protocol itself is pretty straight forward if you've had some programming experience.
Enak is offline   Reply With Quote
Old 11-11-2005, 08:26 AM   #3
Newbie
 
Flagg's Avatar
 
Join Date: Nov 2005
Posts: 4
My Photos: (0)
That makes sense, but then I'd have to get the iPoo interface and ditch the XM interface.
Flagg is offline   Reply With Quote
Old 11-11-2005, 08:35 AM   #4
Newbie
 
Flagg's Avatar
 
Join Date: Nov 2005
Posts: 4
My Photos: (0)
Here's what I have found, and I'm looking for any more info and/or ideas from here. Also, I'll admit I'm a novice programmer, but I can fix that. If you can supply the meat, I'll figure out the potatos.
Requests from PC to PCR:
All requests take the form:
5A A5 xx xx ED ED
-where xx xx is the length of the data field in big-endian (MSB first) format.
Known commands:
00 10 10 10 01 -- power on. see response 80
01 00 -- power off. see response 81
10 02 -- select channel
13 00 -- ? see response 93
25 08 xx 00 -- get channel info. see response A5
25 09 xx 00 -- get channel info. see response A5
31 -- get radio ID. see response B1
42 01 -- ? see response C2
43 -- get signal strength info. see response C3
50 00 00 00 00 00 -- ?
70 05 -- get radio info? see response E3

Responses from PCR to PC:
All responses take the form:
5A A5 xx xx yy yy
-where xx xx is the length of the data field in big-endian format
yy yy is the last two bytes of the data field, repeated (why?)
Many response codes seem to be the request codes with the MSB set high.
80: HELLO
80 ?? ?? ?? aa bb cc dd ee ?? ?? ?? ?? ff gg hh ii jj ??
aa "SDEC Ver." in BCD
bb/cc/ddee SDEC revision date, in BCD
(note: My PCR returns 25 10 29 20 02, but diag.exe
refers to this as "SDEC Ver. 25 (10/02/2002)) ???
ff
gg/hh/iijj XMSTK version info
XM ID in ASCII, 8 characters long
Sent on poweron. See request 00 01.

81: GOODBYE
81 ?? ?? ??
Sent on power down. See request 01.

93: ??
93 ?? ?? ??
See request 13 00.

A5: CHINFO (see below for further notes on this response)
A5 ?? ?? aa bb ?? XX XX XX XX XX XX XX XX XX XX
XX XX XX XX XX XX ?? ?? YY YY YY YY YY YY YY YY
YY YY YY YY YY YY YY YY ?? ZZ ZZ ZZ ZZ ZZ ZZ ZZ
ZZ ZZ ZZ ZZ ZZ ZZ ZZ ZZ ZZ WW WW WW WW WW WW WW
WW WW WW WW WW WW WW WW WW ?? ?? ?? ??

aa Channel number. This is one two low when 25 09 is used?
bb Usually the same as the channel number -- but not always.
XX Station name. (16 chars)
YY Genre name. (16 chars) all are padded with trailing
ZZ Artist name. (16 chars) whitespace (0x20)
WW Song title. (16 chars)
See request 25 08, 25 09.

B1: GETID
B1 ?? ?? ?? XX XX XX XX XX XX XX XX
XX XM ID, in ASCII. (8 chars)
See request 31.

C1: ??
C1 ??

C2: ??
C2 ?? ??
See request 42 01.

C3: Signal strength?
C3 (lots and lots of numbers.
See request 43.

D0: ??
D0 ?? ?? ??
See request 50.

E0: Some sort of seperator or ACK?
E0

E3: XM INFO
E3 ?? ?? ?? XX XX XX XX XX YY YY YY YY YY ZZ ZZ ZZ ZZ ZZ
XX CBM Version
YY XMSTK Version
ZZ SDEC Version (see 80 for more details)
See request 70 05.
Flagg is offline   Reply With Quote
Old 11-11-2005, 01:36 PM   #5
Newbie
 
Flagg's Avatar
 
Join Date: Nov 2005
Posts: 4
My Photos: (0)
Here's some more information, in case anyone else out there is doing anything similar:
http://www.xmfan.com/viewtopic.php?t...light=xmdirect
Flagg is offline   Reply With Quote
Sponsored Links
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Potentially poor sound quality with carputer vs. HU SubPuter Car Audio 20 05-02-2004 12:45 PM
unusual question: hook up cd changer to carputer Tufail Newbie 4 02-16-2004 09:08 AM
How to incorporate a HU into a carputer setup? h22lude Newbie 8 02-06-2004 03:58 PM
Pioneer AVH-P6500DVD edscott LCD/Display 8 12-15-2003 01:14 PM
Using Pioneer aux AND a CD Changer w/o CD-RB dptucunduva General MP3Car Discussion 1 01-18-2002 11:05 AM


All times are GMT -5. The time now is 05:07 AM.


Sponsored Links
The MP3car.com Store

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0
Copyright © 1999 - 2008 Mp3Car.com Inc.
Ad Management by RedTyger
Message Board Statistics