ImageVerifierCode 换一换
格式:DOC , 页数:18 ,大小:505KB ,
资源ID:9212509      下载积分:10 金币
快捷注册下载
登录下载
邮箱/手机:
温馨提示:
快捷下载时,用户名和密码都是您填写的邮箱或者手机号,方便查询和重复下载(系统自动生成)。 如填写123,账号就是123,密码也是123。
特别说明:
请自助下载,系统不会自动发送文件的哦; 如果您已付费,想二次下载,请登录后访问:我的下载记录
支付方式: 支付宝    微信支付   
验证码:   换一换

开通VIP
 

温馨提示:由于个人手机设置不同,如果发现不能下载,请复制以下地址【https://www.zixin.com.cn/docdown/9212509.html】到电脑端继续下载(重复下载【60天内】不扣币)。

已注册用户请登录:
账号:
密码:
验证码:   换一换
  忘记密码?
三方登录: 微信登录   QQ登录  

开通VIP折扣优惠下载文档

            查看会员权益                  [ 下载后找不到文档?]

填表反馈(24小时):  下载求助     关注领币    退款申请

开具发票请登录PC端进行申请

   平台协调中心        【在线客服】        免费申请共赢上传

权利声明

1、咨信平台为文档C2C交易模式,即用户上传的文档直接被用户下载,收益归上传人(含作者)所有;本站仅是提供信息存储空间和展示预览,仅对用户上传内容的表现方式做保护处理,对上载内容不做任何修改或编辑。所展示的作品文档包括内容和图片全部来源于网络用户和作者上传投稿,我们不确定上传用户享有完全著作权,根据《信息网络传播权保护条例》,如果侵犯了您的版权、权益或隐私,请联系我们,核实后会尽快下架及时删除,并可随时和客服了解处理情况,尊重保护知识产权我们共同努力。
2、文档的总页数、文档格式和文档大小以系统显示为准(内容中显示的页数不一定正确),网站客服只以系统显示的页数、文件格式、文档大小作为仲裁依据,个别因单元格分列造成显示页码不一将协商解决,平台无法对文档的真实性、完整性、权威性、准确性、专业性及其观点立场做任何保证或承诺,下载前须认真查看,确认无误后再购买,务必慎重购买;若有违法违纪将进行移交司法处理,若涉侵权平台将进行基本处罚并下架。
3、本站所有内容均由用户上传,付费前请自行鉴别,如您付费,意味着您已接受本站规则且自行承担风险,本站不进行额外附加服务,虚拟产品一经售出概不退款(未进行购买下载可退充值款),文档一经付费(服务费)、不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
4、如你看到网页展示的文档有www.zixin.com.cn水印,是因预览和防盗链等技术需要对页面进行转换压缩成图而已,我们并不对上传的文档进行任何编辑或修改,文档下载后都不会有水印标识(原文档上传前个别存留的除外),下载后原文更清晰;试题试卷类文档,如果标题没有明确说明有答案则都视为没有答案,请知晓;PPT和DOC文档可被视为“模板”,允许上传人保留章节、目录结构的情况下删减部份的内容;PDF文档不管是原文档转换或图片扫描而得,本站不作要求视为允许,下载前可先查看【教您几个在下载文档中可以更好的避免被坑】。
5、本文档所展示的图片、画像、字体、音乐的版权可能需版权方额外授权,请谨慎使用;网站提供的党政主题相关内容(国旗、国徽、党徽--等)目的在于配合国家政策宣传,仅限个人学习分享使用,禁止用于任何广告和商用目的。
6、文档遇到问题,请及时联系平台进行协调解决,联系【微信客服】、【QQ客服】,若有其他问题请点击或扫码反馈【服务填表】;文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“【版权申诉】”,意见反馈和侵权处理邮箱:1219186828@qq.com;也可以拔打客服电话:0574-28810668;投诉电话:18658249818。

注意事项

本文(IPOD接口.doc)为本站上传会员【pc****0】主动上传,咨信网仅是提供信息存储空间和展示预览,仅对用户上传内容的表现方式做保护处理,对上载内容不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知咨信网(发送邮件至1219186828@qq.com、拔打电话4009-655-100或【 微信客服】、【 QQ客服】),核实后会尽快下架及时删除,并可随时和客服了解处理情况,尊重保护知识产权我们共同努力。
温馨提示:如果因为网速或其他原因下载失败请重新下载,重复下载【60天内】不扣币。 服务填表

IPOD接口.doc

1、IPOD接口定义_老叶_百度空间   2010-05-18 00:46:33|  分类: 默认分类 |  标签: |字号大中小 订阅 [转贴]IPOD接口定义 2008年04月25日 星期五 05:59 今天有个朋友要做这样一个产品,就是一个产品能过USB线和电脑相连,这个产品有三个模块,1、包含一个4口的USB HUB,2、一个读卡器,能读MS,XD,SD(三合一的卡座)。另外一个单独的CF卡座,3、通过一个30PIN的连接座,和IPOD产品相连,然后再通过USB线和电脑实现通讯。于是上网查找,终于查到IPOD接口的定义,和大家一起分亨。          阿锦 文章来源:中国

2、汽车影音网 接口排列方式为: 1.2.3.4.5.6.7.8.9...........29.30 内部焊接点排列为: 1 3 5 7 9 11 13 15 17 19 21 23 25 27 29 2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 接口定义为: 1    Ground (-)     地    *                    2    Line Out - Common Ground (-)    线路输出 地* 3    Line Out - R (+)     R声道线路输出 4  

3、  Line Out - L (+)      L声道线路输出 5    Line In - R (+)        R声道线路输入 6    Line In - L (+)        L声道线路输入 7 8    Video Out - Composite Video (for ipod colour when slideshow activated)       复合视频输出 (只有彩屏的ipod有效)****** 9 10 11 Serial GND      RS-232串口 地 12 Serial TxD       RS-232串口 TxD 13 Seria

4、l RxD       RS-232串口 RxD 14 15 Ground (-)       地    **   16 USB GND (-)        USB电源负极 ** 17 18 3.3V Power (+)     3.3V电源正极 19 Firewire Power 12 VDC (+)     1394火线12V电源 正极 *** 20 Firewire Power 12 VDC (+)      1394火线12V电源 正极*** 21 Accessory Indicator        附件识别接口 **** 22 FireWire Data TPA

5、 (-)        1394火线数据 TPA(-) 23 USB Power 5 VDC (+)      USB 5V 电源 正极 24 FireWire Data TPA (+)       1394火线数据 TPA(+) 25 USB Data (-)                      USB 数据(-) 26 FireWire Data TPB (-)          1394火线数据 TPA(-) 27 USB Data (+)                     USB 数据(+) 28 FireWire Data TPB (+)        139

6、4火线数据 TPB(+) 29 FireWire Ground (-)           1394火线12V电源 负极***** 30 FireWire Ground (-)           1394火线12V电源 负极***** 特殊定义: * 1,2 与电路板连接 ** 15,16 与电路板连接 *** 19,20 与电路板连接 **** 21     通过一个电阻连接到地。    不同的阻抗表明不同的辅助部件被连接。            已知的resistances/functions (欧姆) 是如下:                 1k0 - iP

7、od 基座            10k - 照相机适配器            500k - RS-232通信            1M0 - Belkin 自动适配器, iPod 自动地关闭了当力量分开了 ***** 29,30 与电路板连接 ****** 全部连接在公共地 http://ipodlinux.org/Apple_Accessory_Protocol Apple Accessory Protocol From wikiPodLinux The Apple Accessory Protocol is used for communication betwe

8、en the iPod and serially connected accessories (such as the Remote, iTalk etc). The protocol was introduced with the 3rd generation iPods, and at present it is assumed is also compatible with the 4th generation iPods and mini iPods. (The Dock Connector provides access to this communication channel a

9、s well.) The connections uses a standard 8N1 serial protocol. The original speed rate is 19200 baud - higher rates (up to 57600 baud) work properly (tested the 5G) but make trouble sending large amounts of data (picture blocks) faster than 38400 baud. Table of contents Request/Response Structu

10、re The request and response messages follow this general form. Request/Response Message checksum10xXX - (8 bit additive checksum) ( (sum of all length/mode/command/parameter bytes) & 0xFF) The mode in the message indicates which mode the command belongs to, these same mode values are used in the

11、 mode switching command below. Mode List List of Modes Mode Switching (Mode 0) Mode 0 Commands 0x01 0x01Switch to Voice Recorder mode (not working on 5G)0x01 0x02Switch to iPod Remote mode0x01 0x04Switch to AiR mode0x04 0xXX(response) the current mode number (0xXX is the mode returned by the iP

12、od), 0x04 0x01 could also be an indicator that the iPod is currently busy - I frequently get this skipping tracks very fast --- this info is not 100% correct, I´m getting different responses. Will try to work this out later.0x06Switch to iPod Remote mode (same as 0x01 0x02?) Clearly there's stuff

13、here waiting to be figured out. Voice Memo (Mode 1) The mode 1 commands are used for the voice recording functions. To initiate the recording mode on the iPod the send the switch to mode 0x01 command - this will switch the iPod display to the "Voice Memo" screen. When the record button is pressed

14、the iPod will send the command "0x00 0x00", sending the command to switch to mode 0x01 will start the actual recording. Mode 1 Commands iPod Remote (Mode 2) The mode 2 commands are used by the remote control to signal button presses. When a button is pressed the appropriate code is send 66 times

15、 per second until the button is released at which point the button released command is sent. Note that the 3 and 4 byte commands may not work for older (tested on a 3g) iPods. They are valid for newer (tested on an iPod Nano) iPods however. Mode 2 Commands Advanced Remote (Mode 4) The mode 4 co

16、mmands are used for the Advanced iPod Remote (AiR) functions. The commands can be used to remotely control much of the iPod functions. Unfortunately when switched to this mode the iPod display changes to "OK to disconnect". Commands you send to the iPod are in bold, responses to those commands from

17、 the iPod are not. The response is always the command + 1. Mode 4 Commands 0x00 0x00Result(1) Command(2)think that the result 0x04 means that the command wasn´t understood0x00 0x01Result(1) Command(2)Gives you feedback on the command you just executed. Result: 0=success, 2=failure, 4=you exceeded t

18、he limit of whatever you were requesting/wrong parameter-count, 5=sent an iPod-Answere-Cmd(?). The Command is the command that this is in response to.0x00 0x02noneperhaps a simple ping-request ?!0x00 0x09none? returns flag set with 0x00 0x0b, don´t know, what this means (perhaps an indicator for tra

19、ck-change - if you set this flag to 0x01 it turns to 0x00 again after changing the track)0x00 0x0b1 byteparameter 0x00 & 0x01 result in a success-answere (copare 0x00 0x01), don´t know what happens - seems to be a flag which can be read with 0x00 0x090x00 0x0c?(1) (4)position ?(2)the 2-5 bytes of th

20、e parameters is the position in the play list. ?? results in a answer 0x0d0x00 0x0d11 bytes or 1 bytetried some parameters - result seems to dependent on current playlist parameters 0x00 0x00 0x00 0x00 0x00 0x00 0x00 give (on my Ipod) 11 bytes (0x00 0x00 0x00 0x00 0x00 0x00 0x02 0xf0 0xdb 0x00 0x

21、00 in main-Playlist - *not* the playlist-number and *not* the count of tracks in this playlist) This command can also inform the accessory when there is a track change (one song ends and another begins). So it is a "subscription" - some previous query caused the ipod to send this every time the tr

22、ack changes. Probably the parameter bytes are a kind of track ID, maybe based on some filesystem attribute, such as actual position on the hard disk. 0x00 0x12none? Get iPod Type Size ?0x00 0x132 bytesGen3 20GB: 0x01 0x02 (0x01 = Gen3 iPod, 0x02 = 20GB ??) Gen4 30GB: 0x01 0x09 Gen5 30GB: 0x01 0x0

23、90x00 0x14noneGet iPod Name0x00 0x16noneSwitch to the main library playlist (playlist 0)0x00 0x17type(1) number(4)Switch to item identified by the number and type given.0x00 0x18type(1)Get Count of the given types (count of playlists, etc)0x00 0x1Atype(1) number(4) number(4)Get Names for a range of

24、items, first number is starting item offset (0 for the first item), second number is number of items to retrieve. The iPod will send back an entire message for each item requested.0x00 0x1Bnumber(4) stringoffset, name of the item (note that playlist 0 is the "main library" and will contain all the s

25、ongs on the iPod and have the same name as the iPod itself as in command 0x00 0x14).0x00 0x1CnoneGet time and status info0x00 0x1Dlength(4) time(4) status(1)Track length in milliseconds, elapsed time in milliseconds, status=0x0 stop, 0x01 playing, 0x02 paused0x00 0x1EnoneGet current position in play

26、list0x00 0x20number(4)Get title of a song number0x00 0x22number(4)Get artist of a song number0x00 0x24number(4)Get album of a song number0x00 0x26pollingmode(1)Start Polling Mode = 0x01, Stop Polling Mode = 0x00. Polling mode causes the iPod to return the time elapsed (0x00 0x27) every 500 milliseco

27、nds.0x00 0x28number(4)Execute Playlist switch specified in command 0x00 0x17, and jump to specified songnumber in the playlist (0xFFFFFFFF = start at the beginning of the playlist, even when shuffled... probably what you want to use)0x00 0x29command(1)AiR Playback Control. Play/Pause=0x01, Stop=0x02

28、 Skip++=0x03, Skip--=0x04, FFwd=0x05, FRwd=0x06, StopFF/RW=0x070x00 0x2CnoneGet Shuffle Mode0x00 0x2Dshufflemode(1)Returns current Shuffle mode: Off = 0x00, Songs = 0x01, Albums = 0x020x00 0x2Eshufflemode(1)Sets the shuffle mode. Off = 0x00, Songs = 0x01, Albums = 0x02.0x00 0x2FnoneGet Repeat Mode0

29、x00 0x30repeatmode(1)Returns current Repeat mode: Off = 0x00, One song = 0x01, All songs = 0x020x00 0x31repeatmode(1)Sets the repeat mode. Off = 0x00, One song = 0x01, All songs = 0x020x00 0x32Picture BlocksUpload Picture for AiR mode (see picture block description below)0x00 0x33none? Get Max Scree

30、n Size for Picture Upload ?0x00 0x342+2+1 bytesGen3 20GB: 0x00 0x78 0x00 0x41 0x01 => 120 x 65 ? Gen5 30GB: 0x01 0x36 0x00 0xa8 0x01 => 310 x 168 ? what means the 0x01 at the end? - perhaps the supported resolution for 1bit bitmaps 0x00 0x35noneGet number of songs in current playlist0x00 0x37num

31、ber(4)Jump to specified Songnumber in the current playlist0x00 0x392*(2+2+1) = 10 bytes?? Gen5 30GB: 0x01 0x36 0x00 0xa8 0x02 0x01 0x36 0x00 0xa8 0x03 ... some similarities to 0x00 0x34 perhaps different solutions for different colordepth? Picture Blocks Transferring a picture to the iPod's scre

32、en is done using picture blocks. A picture block is basically the picture command (0x00 0x32). It's complicated enough to deserve its own section. The parameter bytes of a picture block look like the following: Picture Block Parameters bytes per line4number of bytes you will send for each line. Di

33、visible by 4, and only in the first blockpicture bytesN3 lines? of pixels to be displayed, every 2 bits represents a pixel (4 color greyscale) An example would look something like the following: First block: 0xFF 0x55 (standard header) 0x6E (length of data in this block) 0x04 (mode of the comman

34、d) 0x00 0x32 (command for picture display) 0x00 0x00 (indicates the first block (block zero)) 0x01 (damned if I know.. perhaps indicates that the size info for the picture is here) 0x00 0x78 (width of picture to be displayed) 0x00 0x40 (height of picture to be displayed) 0x00 0x00 0x00 0x20 (number

35、of bytes you're sending for each line of the display - must be a multiple of 8 and has to fit the needed bits!) The rest is a 4 color picture, with every two bits representing a pixel. Checksum. Second block and every block thereafter: 0xFF 0x55 (standard header) 0x65 (length of data in this bloc

36、k) 0x04 (mode of the command) 0x00 0x32 (command for picture display) 0x00 0x01 (indicates the second block (increment as you go)) The rest is a 4 color picture, with every two bits representing a pixel. Checksum. Any extra pixels you send outside the range of the picture size on the right or bott

37、om of the picture then get cut off. You can see if the command was valid when you watch the response string for each block. Good response is 0xFF 0x55 0x06 0x04 0x00 0x01 0x00 0x00 0x32 0xC3. Bad response 0xFF 0x55 0x06 0x04 0x00 0x01 0x04 0x00 0x32 0xBF. Below a width of 0x10 fillbits are used

38、only every 4th nibble of the picturedata is taken for the picture). Nike+ (Mode 9) Mode 9 is apparently used to transmit information and commands associated with the Nike+ product line. Commands can be transmitted to or from the ipod. All data is at 57600 with 8N1 formating. Two types of command

39、s have been observed; those which are commands to/from the receiver, and data from the wireless sensor. Packets containing data from the wireless sensor have additional structure inside their payload. Mode 9 Commands unknownTo receiverExit linking mode, use this sensor (based on WU paper)unknownTo

40、receiver"I am ipod serial number" (based on WU paper)unknownTo ipod"I am receiver serial number" (based on WU paper)unknownTo ipod"I am listening for sensor serial number" (based on WU paper) The received wireless data payload is formated as 4 bytes, unique sensor id 22 bytes, data (structure unk

41、nown at this time) Credits The bulk of this information is due to the hard work by Christoph, you can find his results at . Generalisation of the results was the work of Otto, see 网友评论: 2 朋友,你数反了吧,你的30脚应该是一脚 ©2010 Baidu 苹果公司使用了一家名叫JAE公司的接插件,型号为DD1. 这个接口有30针,

42、 接口排列方式为: 1.2.3.4.5.6.7.8.9...........29.30 内部焊接点排列为: 1 3 5 7 9 11 13 15 17 19 21 23 25 27 29 2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 接口定义为: 1   Ground (-) 地   *                2   Line Out - Common Ground (-)   线路输出 地* 3   Line Out - R (+) R声道线路输出 4   Line Out - L (+)

43、L声道线路输出 5   Line In - R (+)    R声道线路输入 6   Line In - L (+)    L声道线路输入 7 8   Video Out - Composite Video (for ipod colour when slideshow activated)     复合视频输出 (只有彩屏的ipod有效)****** 9 10 11 Serial GND RS-232串口 地 12 Serial TxD     RS-232串口 TxD 13 Serial RxD     RS-232串口 RxD 14 15 Ground (-)   

44、  地   **   16 USB GND (-)    USB电源负极 ** 17 18 3.3V Power (+) 3.3V电源正极 19 Firewire Power 12 VDC (+) 1394火线12V电源 正极 *** 20 Firewire Power 12 VDC (+) 1394火线12V电源 正极*** 21 ACCessory InDICator    附件识别接口 **** 22 FireWire Data TPA (-)    1394火线数据 TPA(-) 23 USB Power 5 VDC (+) USB 5V 电源 正极 24 FireW

45、ire Data TPA (+)     1394火线数据 TPA(+) 25 USB Data (-)                    USB 数据(-) 26 FireWire Data TPB (-)        1394火线数据 TPA(-) 27 USB Data (+)                USB 数据(+) 28 FireWire Data TPB (+)    1394火线数据 TPB(+) 29 FireWire Ground (-)       1394火线12V电源 负极***** 30 FireWire Ground (-)       1

46、394火线12V电源 负极***** 特殊定义: * 1,2 与电路板连接 ** 15,16 与电路板连接 *** 19,20 与电路板连接 **** 21 通过一个电阻连接到地。   不同的阻抗表明不同的辅助部件被连接。       已知的resistances/functions (欧姆) 是如下:              1k0 - iPod 基座       10k - 照相机适配器       500k - RS-232通信       1M0 - Belkin 自动适配器, iPod 自动地关闭了当力量分开了 ***** 29,30 与电路板连接

47、 全部连接在公共地 RS-232连接: 遥控器接口: Wire Color          Generation 2                       Generation 3           Signal black                          Tip                                  Tip                Audio, left white                   Ring (Next-to-tip)                    R

48、ing                Audio, right red                      Ring 2(3rd ring from end)        Ring 2             Audio ground green                Sleeve (4th ring from end)    PIN 1                 Data to iPod blue                   inner ring                            PIN 4                 Power

49、 to remote, +3.3v yellow                outermost ring                      PIN 3                 Digital ground                                                                      PIN 2                 Data from iPod (format unknown)                                                                      Sleeve             no connect / unknown 控制芯片使用的是MICroChip 12C508A microcontroller 单片机. 控制码: Button  G2 Three Byte Code  G3 Seven Byte Code PLAY/PAUSE  0xFF 0xFD 0xF1  0xFF 0x55 0x03 0x02 0x00 0x01 0xFA

移动网页_全站_页脚广告1

关于我们      便捷服务       自信AI       AI导航        抽奖活动

©2010-2026 宁波自信网络信息技术有限公司  版权所有

客服电话:0574-28810668  投诉电话:18658249818

gongan.png浙公网安备33021202000488号   

icp.png浙ICP备2021020529号-1  |  浙B2-20240490  

关注我们 :微信公众号    抖音    微博    LOFTER 

客服