기존의 2.1 채널 스피커를 개조하여 아이폰 스피커 독을 만들고 있다.

사용된 스피커는 Britz BR-1100(제조사 제품설명)이다. 
(사진 출처 : Britz 홈페이지)

오래전에 무언가 구매할 때 사은품으로 받은 제품인데, 
오래되서 그런지 볼륨 조절시 잡음이 심한 문제가 있었다.

좌우 위성 스피커를 분리해 우퍼 본체에 구멍을 뚫어 내부에 장착하였다.

iPhone 용 커넥터(디바이스마트)를 구입하여 연결하였다.

BR-1100에 사용된 위성 스피커용 앰프는 CD8227GP(Datasheet)이다.

앰프 회로는 CD8227GP의 데이터시트에 있는 test circuit 과 크게 다르지 않다.
(저항 값이나 커패시턴스 값, 종류 등만 약간 다름)

BR-1100의 line in 및 전원, 볼륨 조절 케이블을 제거하고 iPhone용 커넥터를 연결하였다.

iPhone dock connector의 핀정보는 다음과 같다.
(출처 : pinouts.ru )

Pin Signal Description
1 GND Ground (-), internally connected with Pin 2 on iPod motherboard
2 GND Audio & Video ground (-), internally connected with Pin 1 on iPod motherboard
3 Right Line Out - R (+) (Audio output, right channel)
4 Left Line Out - L(+) (Audio output, left channel)
5 Right In Line In - R (+)
6 Left In Line In - L (+)
8 Video Out Composite video output (only when slideshow active on iPod Photo)
9 S-Video Chrominance output for iPod Color, Photo only
10 S-Video Luminance output for iPod Color, Photo only
11 GND If connected to GND the iPhone sends audio signals through pin 3-4, otherwise it uses onboard speaker.
12 Tx ipod sending line, Serial TxD
13 Rx

ipod receiving line, Serial RxD

14 RSVD Reserved
15 GND Ground (-), internally connected with pin 16 on iPod motherboard
16 GND USB GND (-), internally connected with pin 15 on iPod motherboard
17 RSVD Reserved
18 3.3V 3.3V Power (+) 
Stepped up to provide +5 VDC to USB on iPod Camera Connector. If iPod is put to sleep while Camera Connector is present, +5 VDC at this pin slowly drains back to 0 VDC.
19,20 +12V Firewire Power 12 VDC (+)
21 Accessory Indicator/Serial enable

Different resistances indicate accessory type:
1kOhm - iPod docking station, beeps when connected
10kOhm - Takes some iPods into photo import mode
68kOhm - makes iPhone 3g send audio through line-out without any messages
500kOhm - related to serial communication / used to enable serial communications Used in Dension Ice Link Plus car interface
  1MOhm - Belkin auto adaptor, iPod shuts down automatically when power disconnected Connecting pin 21 to ground with a 1MOhm resistor does stop the ipod when power (i.e. Firewire-12V) is cut. Looks to be that when this pin is grounded it closes a switch so that on loss of power the Ipod shuts off. Dock has the same Resistor.

22 TPA (-) FireWire Data TPA (-)
23 5 VDC (+) USB Power 5 VDC (+)
24 TPA (+) FireWire Data TPA (+)
25 Data (-) USB Data (-)
26 TPB (-) FireWire Data TPB (-)
27 Data (+)

USB Data (+) 
Pins 25 and 27 may be used in different manner. To force the iPod 5G to charge in any case, when USB Power 5 VDC (pin 23) is fed, 25 must be connected to 5V through a 10kOhm resistor, and 27 must be connected to the Ground (for example: pin 1) with a 10kOhm resistor.

iPod 5G can also be forced to charge by attaching the data + and the data - pins to the 5v via a 10k Ohm resistor ( BOTH PINS) and connecting pin 16 to the 5v (ground). (Confirmed working with iPod 5G 20GB)

To charge an iPhone 3G / iPod Touch 2nd gen or Ipod Classic (6th Gen), usb data- (25) should be at 2.8v, usb data+(27) should be at 2.0v. This can be done with a few simple resistors: 33k to +5v (23) and 22k to gnd(16) to obtain 2v and 33k to +5v and 47k to gnd to obtain 2.8v. This is a notification to the iphone that it is connected to the external charger and may drain amps from the usb.

To charge iPod Nano pins 25 and 27 should be tied together and then connected to a 10K ohm resistor, and the other side of this resistors then needs to be connected to 5v power.

It's also possible to charge the iPod's or iPhone's battery to make use the of internal +3.3v output (18) terminal to connect the USB Data + (27) thru a 47k ohms resistor and the USB Data- (25) thru a 47k resistor to the USB Power source +5v (23).  This way the USB function is still useable for normal operations and makes it easier the fit in a plug. The resistors are not to critical 2x 150k's still work.

28 TPB (+) FireWire Data TPB (+)
29,30 GND FireWire Ground (-)

현 단계에서는 1~4, 11, 15, 16, 21pin이 필요하다.
1,2pin은 오디오 신호를 위한 GND이다. 
이 두 핀은 iPhone 내부에서 연결되어있기 때문에 나중에 iPhone이 연결되었는지 체크하는 용도로 쓸 수 있다. 다른 GND 핀들도 마찬가지.

11pin은 iPhone에서 speaker dock이 제대로 작동하기 위해서는 반드시 GND와 연결되어야 한다. 15pin에 연결했다.
21pin은 커넥터의 용도를 iPhone에 알려주기 위한 pin인데, 68KΩ을 연결하였다. GND는 16pin을 이용했다.

iPhone을 dock에 연결하면 3,4pin을 통해 오디오 신호가 출력되는데 이 신호는 iPhone에서 볼륨조절이 불가능하다. 처음 테스트 시 앰프 입력단에 볼륨조절용 가변저항을 연결하지 않고 테스트를 했는데, 엄청나게 큰 소리에 깜짝 놀랐다(밤 12시 쯤???)

이 신호는 780mVrms, 2.23Vpp 정도 된다. 1KHz sine 파를 PC에서 최대 볼륨으로 생성하여 iPhone에 넣고 line out으로 출력되는 신호를 load 없이 측정한 결과이다. 임시 방편으로 10KΩ 가변저항을 앰프 입력단에 연결하여 볼륨조절이 가능하도록 했다.

(회로도 등은 추후 첨부 예정)


앞으로 할 일.
1. Dock connector 부분 제대로 만들기 - 충전 기능 추가
2. 디지털 화(전원, 볼륨 조절, 알람용 시계추가)
3. AUX, iPhone 선택할 수 있도록 수정
4. FM 라디오 수신칩 추가
5. CDP 추가???


Posted by mahnee
이전버튼 1 이전버튼

블로그 이미지
온갖 자작과 공학 전반에 걸쳐 관심이 많은 ..
mahnee
Yesterday
Today
Total

달력

 « |  » 2024.4
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30

최근에 올라온 글

최근에 달린 댓글

최근에 받은 트랙백

글 보관함