1 page.title=Light Testing Circuit 2 @jd:body 3 4 <!-- 5 Copyright 2014 The Android Open Source Project 6 7 Licensed under the Apache License, Version 2.0 (the "License"); 8 you may not use this file except in compliance with the License. 9 You may obtain a copy of the License at 10 11 http://www.apache.org/licenses/LICENSE-2.0 12 13 Unless required by applicable law or agreed to in writing, software 14 distributed under the License is distributed on an "AS IS" BASIS, 15 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 See the License for the specific language governing permissions and 17 limitations under the License. 18 --> 19 <div id="qv-wrapper"> 20 <div id="qv"> 21 <h2>In this document</h2> 22 <ol id="auto-toc"> 23 </ol> 24 </div> 25 </div> 26 27 <p> 28 The file <a href="http://developer.android.com/downloads/partner/audio/av_sync_board.zip">av_sync_board.zip</a> 29 contains CAD files for an A/V sync and latency testing 30 printed circuit board (PCB). 31 The files include a fabrication drawing, EAGLE CAD, schematic, and BOM. See <a 32 href="latency.html">Audio Latency</a> for recommended testing methods. 33 </p> 34 35 <p> 36 This PCB 37 can be used to help measure the time between flashing the device's 38 notification LED or screen backlight, vs. detecting an audio signal. 39 When combined with a dual-channel oscilloscope and suitable test app, 40 it can show the difference in time between detecting the light and audio. 41 That assumes the LED or backlight response time and light detector's response time 42 are negligible relative to the audio. 43 </p> 44 45 <p> 46 This design is supplied "as is", and we aren't be responsible for any errors in the design. 47 But if you have any suggestions for improvement, please post to the <a 48 href="https://groups.google.com/forum/#!forum/android-porting">android-porting</a> group. 49 </p> 50 51 <p> 52 Of course, this is not the only (or necessarily best) way to measure A/V sync and latency, 53 and we would like to hear about your alternative methods, also at android-porting group. 54 </p> 55 56 <p> 57 There are currently no compatibility requirements to use this particular PCB. 58 We supply it to encourage your continued attention to audio performance. 59 </p> 60 61 <h2 id="images">Images</h2> 62 63 <p> 64 These photos show the circuit in action. 65 </p> 66 67 <img style="margin:1.5em auto" src="images/breadboard.jpg" alt="breadboard prototype" id="figure1" /> 68 <p class="img-caption"> 69 <strong>Figure 1.</strong> Breadboard prototype 70 </p> 71 72 <img style="margin:1.5em auto" src="images/pcb.jpg" alt="an early run of the PCB" id="figure2" /> 73 <p class="img-caption"> 74 <strong>Figure 2.</strong> An early run of the PCB 75 </p> 76 77 <img style="margin:1.5em auto" src="images/display.jpg" alt="example display" id="figure3" /> 78 <p class="img-caption"> 79 <strong>Figure 3.</strong> Example display 80 </p> 81 82 <p> 83 This image 84 shows the scope display for an unspecified device, software release, and test conditions; 85 the results are not typical and cannot be used to extrapolate to other situations. 86 </p> 87 88 <h2 id="video">Video</h2> 89 90 <p> 91 This <a href="http://www.youtube.com/watch?v=f95S2IILBJY">Youtube video</a> 92 shows the breadboard version testing circuit in operation. 93 Skip ahead to 1:00 to see the circuit. 94 </p> 95