Starting March 27, 2025, we recommend using android-latest-release instead of aosp-main to build and contribute to AOSP. For more information, see Changes to AOSP.
Stay organized with collections
Save and categorize content based on your preferences.
This page provides information on how to purchase or assemble a Sensor Fusion
Box. The Sensor Fusion Box is used in the CameraITS sensor_fusion test and
multi-camera sync test. It provides a consistent test environment for
measuring timestamp accuracy of sensors for Android
devices, specifically camera image sensors and gyroscopes. It consists of
plastic box components that are laser cut from
computer-aided design (CAD) drawings and a Servo Control Box.
You can purchase a Sensor Fusion Box or build your own.
Purchase a Sensor Fusion Box
We recommend purchasing a Sensor Fusion Box from one of the following qualified
vendors.
Byte Bridge Inc.
USA: 1502 Crocker Ave, Hayward, CA 94544-7037
China: 22F #06-08, Hongwell International Plaza Tower A,
1600 West Zhongshan Road, Xuhui, Shanghai, 200235 www.bytebt.com
androidpartner@bytebt.com
USA: +1-510-373-8899
China: +86-400-8866-490
JFT CO LTD 捷富通科技有限公司 (previously known as MYWAY DESIGN)
China: No. 40, Lane 22, Heai Road, Wujing Town, Minhang District, Shanghai, China
Taiwan: 4F., No. 163, Fu-Ying Road, XinZhuang District, New Taipei City 242, Taiwan www.jftcoltd.com
service@jfttec.com or its.sales@jfttec.com
China:+86-021-64909136
Taiwan: 886-2-29089060
Build a Sensor Fusion Box
This section includes step-by-step instructions for assembling a Sensor Fusion
Box from laser-cut acrylonitrile butadiene styrene (ABS) components (shown in
Figure 1).
Figure 1. Mechanical drawing of Sensor Fusion Box components
Required tools
Before starting, ensure you have downloaded the technical drawings for the
Sensor Fusion Box (included in the
Sensor Fusion Box zip file)
and have the following tools available:
Phillips head screwdriver
JIS head screwdriver
Hex keys
Power drill set
X-ACTO knife
Tape
Step 1: Apply vinyl stickers
After creating the ABS components with a laser
cutter, apply vinyl stickers to the plastic box to get the proper color control
on the interior of the test box:
Apply vinyl on the smooth side of the ABS
as shown in Figure 2. For helpful tips on applying vinyl, refer to
wikiHow.
Cut out the necessary holes on the vinyl with the exacto knife.
Figure 2. ABS pieces with vinyl applied on the smooth side (interior of
the box)
Using acrylic glue, glue the round ABS pieces onto the four corners of the
bottom panel.
Figure 3. Bottom panel with round ABS pieces glued to the four corners.
Step 2: Prepare phone mount and attach servo mount
To prepare the phone mount to attach to the servo:
Tap 20 holes on the phone fixture with a 1/4"-20 drill bit.
Figure 4. Phone fixture with tapped holes
Make sure you have the ABS cut outs, nylon thumb screws, nylon nuts
(for adjusting screw height if necessary), the C1 spline
actobotics dual servo arm, 4-40 screws, and compression springs.
Figure 5. Phone mount parts
Apply the 4-40 screws and tighten (1.2 N*m or 8.9 in*lbf) the
servo arm to the back of the phone mount. Using the same screws and
4-40 cap nuts, tighten the phone divider ABS cut out on the front side of
the phone mount.
Figure 6. Shaft on the back of fixture, tightened by screws applied
from the front
Figure 7. 4-40, 3/4" long screws and 4-40 cap nuts
Figure 8. Back (left) and front (right) of the phone mount
Step 3: Attach phone clamps
To attach the phone clamps:
Cut the neoprene sheet according to the shape of the ABS cut-out
clamps, but leave one inch shorter from both ends as shown in Figure 9.
After cutting the neoprene sheet accordingly, apply the pieces to the ABS
cut-out clamps as in Figure 8.
Figure 9. ABS clamp with neoprene sheet applied
Attach nylon thumb screws and spring wire to the clamp. Add nylon
nuts to reduce screw length, as needed.
Figure 10. Clamp with neoprene sheet, thumb screws, nylon nuts, and
spring wire
Screw the phone clamps' thumb screws into the tapped holes of the phone
fixture as shown in Figure 11. You can adjust the location of the phone
mounts depending on the size of the phones.
Figure 11. Mechanical drawing of the phone fixture
Figure 12. Assembled phone fixture
Step 4: Assemble sliding door rail
Fix sliding panel rails on the top and bottom of the box toward the front.
Figure 13 shows 6-32 screws on pre-tapped holes. Alternatively, you can use
self-tapping screws.
Figure 13. Fixed sliding panel rail on top and bottom of box
Step 5: Attach lighting
To attach the light brackets and diffuser:
Stack two handle pieces on top of each other and assemble them using 6-32
screws (or use self-tapping screws).
Figure 14. Sensor Fusion Box handle pieces and assembly
Prepare four 4-40 screws, nuts, and acorn nuts to fix the mounting bracket
from the lighting kit to the wall of the box.
Figure 15. 4-40 screws and light bracket on the interior wall of the box
Figure 16. Bolts and acorn bolts applied to the screws from the exterior
of the box
Cut the light diffuser to an appropriate size to wrap the light strips (not
required if the lights come with the diffuser).
Figure 17. Light strips and light diffusers
Wrap the light diffuser around the strip and tape it at the back.
Figure 18. Light strips and light diffusers taped from the back
Snap the lights into the brackets (can be a tight fit).
Figure 19. Lights mounted in brackets
Step 6: Attach phone fixture to servo plate
To attach the phone fixture to the servo plate:
Prepare four 6-32 screws and a servo plate to fix the servo onto the wall.
Fix the servo onto the interior wall and insert the screws from the inside
into the servo plate on the exterior wall.
Figure 20. Servo and servo plate held in place with 6-32 screws
Secure the phone fixture onto the servo with nylocks (pushing the center of the
shaft into the servo's rotation center).
Figure 21. Servo gear
Using the servo screw that came with the servo, screw (1.2 N*m or
8.9 in*lbf) the phone fixture onto the servo gear through the servo
arm.
Figure 22. Servo arm
Step 7: Final assembly
To complete assembly of the Sensor Fusion Box:
From Android 13, the sensor fusion test rig comes
with the
Android 13 Arduino lighting controller.
(In Android 12
or lower, the sensor fusion rig shipped with a 6-channel Arduino
controller or a Canakit controller. Devices running
Android 11 to Android 12
are compatible with the Android 13 controller, 6-channel Arduino controller,
or Canakit controller.) Connect the servo extension to any channel of the
servo controller, where GND corresponds to black wire, VCC corresponds to
the red wire, and SIG corresponds to the yellow wire.
Tape the box together, then screw the parts together (you might need to
pre-drill holes in some parts).
Figure 25. Taped sensor fusion test rig
For Android 15 or higher, work with your local print
shop to print out the checkerboard.pdf file (included in the
test/sensor_fusion directory of the codebase)
on 18 x 18 inch paper with the checkerboard pattern the width of the paper,
and tape the chart on the wall opposite the phone fixture.
For cameras with smaller fields of view, such as telephoto cameras, work
with your local print shop to create proportionally scaled versions of the
checkerboard. (For example, a 50% scaled chart would be printed on 9 x 9
inch paper.)
Figure 26. Checkerboard chart for Android 15 or
higher.
Make sure the red dot in the center of the checkerboard is directly facing
the camera when placed on the fixture, as shown in Figure 27.
Figure 27. Checkerboard printed and taped to the opposite wall of phone
fixture.
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-07-29 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-07-29 UTC."],[],[],null,["# Obtain a sensor fusion box\n\nThis page provides information on how to purchase or assemble a Sensor Fusion\nBox. The Sensor Fusion Box is used in the CameraITS `sensor_fusion` test and\n`multi-camera` sync test. It provides a consistent test environment for\nmeasuring timestamp accuracy of sensors for Android\ndevices, specifically camera image sensors and gyroscopes. It consists of\nplastic box components that are laser cut from\ncomputer-aided design (CAD) drawings and a Servo Control Box.\n\nYou can purchase a Sensor Fusion Box or build your own.\n\nPurchase a Sensor Fusion Box\n----------------------------\n\nWe recommend purchasing a Sensor Fusion Box from one of the following qualified\nvendors.\n\n- *Byte Bridge Inc.* \n\n USA: 1502 Crocker Ave, Hayward, CA 94544-7037 \n\n China: 22F #06-08, Hongwell International Plaza Tower A,\n 1600 West Zhongshan Road, Xuhui, Shanghai, 200235 \n\n [www.bytebt.com](https://www.bytebt.com/) \n\n androidpartner@bytebt.com \n\n USA: +1-510-373-8899 \n\n China: +86-400-8866-490\n\n- *JFT CO LTD 捷富通科技有限公司 (previously known as MYWAY DESIGN)* \n\n China: No. 40, Lane 22, Heai Road, Wujing Town, Minhang District, Shanghai, China \n\n Taiwan: 4F., No. 163, Fu-Ying Road, XinZhuang District, New Taipei City 242, Taiwan \n\n [www.jftcoltd.com](https://www.jftcoltd.com) \n\n service@jfttec.com or its.sales@jfttec.com \n\n China:+86-021-64909136 \n\n Taiwan: 886-2-29089060\n\n| **Note:** For additional support for foldable and large form factor devices, you can purchase the [foldable kit](/docs/compatibility/cts/its-accessories-foldable-kit).\n\nBuild a Sensor Fusion Box\n-------------------------\n\nThis section includes step-by-step instructions for assembling a Sensor Fusion\nBox from laser-cut acrylonitrile butadiene styrene (ABS) components (shown in\nFigure 1).\n\n\u003cbr /\u003e\n\n\n**Figure 1.** Mechanical drawing of Sensor Fusion Box components\n\n### Required tools\n\nBefore starting, ensure you have downloaded the technical drawings for the\nSensor Fusion Box (included in the\n[Sensor Fusion Box zip file](/static/docs/compatibility/cts/sensor_fusion_1_8.zip))\nand have the following tools available:\n\n- Phillips head screwdriver\n- JIS head screwdriver\n- Hex keys\n- Power drill set\n- X-ACTO knife\n- Tape\n\n### Step 1: Apply vinyl stickers\n\nAfter creating the ABS components with a laser\ncutter, apply vinyl stickers to the plastic box to get the proper color control\non the interior of the test box:\n\n1. Apply vinyl on the smooth side of the ABS\n as shown in Figure 2. For helpful tips on applying vinyl, refer to\n [wikiHow](https://www.wikihow.com/Install-a-Vinyl-Graphic).\n\n2. Cut out the necessary holes on the vinyl with the exacto knife.\n\n \u003cbr /\u003e\n\n\n **Figure 2.** ABS pieces with vinyl applied on the smooth side (interior of\n the box)\n3. Using acrylic glue, glue the round ABS pieces onto the four corners of the\n bottom panel.\n\n \u003cbr /\u003e\n\n\n **Figure 3.** Bottom panel with round ABS pieces glued to the four corners.\n\n### Step 2: Prepare phone mount and attach servo mount\n\nTo prepare the phone mount to attach to the servo:\n\n1. Tap 20 holes on the phone fixture with a 1/4\"-20 drill bit.\n\n \u003cbr /\u003e\n\n\n **Figure 4.** Phone fixture with tapped holes\n2. Make sure you have the ABS cut outs, nylon thumb screws, nylon nuts\n (for adjusting screw height if necessary), the C1 spline\n actobotics dual servo arm, 4-40 screws, and compression springs.\n\n \u003cbr /\u003e\n\n\n **Figure 5.** Phone mount parts\n3. Apply the 4-40 screws and tighten (1.2 N\\*m or 8.9 in\\*lbf) the\n servo arm to the back of the phone mount. Using the same screws and\n 4-40 cap nuts, tighten the phone divider ABS cut out on the front side of\n the phone mount.\n\n \u003cbr /\u003e\n\n\n **Figure 6.** Shaft on the back of fixture, tightened by screws applied\n from the front\n\n \u003cbr /\u003e\n\n\n **Figure 7.** 4-40, 3/4\" long screws and 4-40 cap nuts\n\n \u003cbr /\u003e\n\n\n **Figure 8.** Back (left) and front (right) of the phone mount\n\n### Step 3: Attach phone clamps\n\nTo attach the phone clamps:\n\n1. Cut the neoprene sheet according to the shape of the ABS cut-out\n clamps, but leave one inch shorter from both ends as shown in Figure 9.\n After cutting the neoprene sheet accordingly, apply the pieces to the ABS\n cut-out clamps as in Figure 8.\n\n \u003cbr /\u003e\n\n\n **Figure 9.** ABS clamp with neoprene sheet applied\n2. Attach nylon thumb screws and spring wire to the clamp. Add nylon\n nuts to reduce screw length, as needed.\n\n \u003cbr /\u003e\n\n\n **Figure 10.** Clamp with neoprene sheet, thumb screws, nylon nuts, and\n spring wire\n3. Screw the phone clamps' thumb screws into the tapped holes of the phone\n fixture as shown in Figure 11. You can adjust the location of the phone\n mounts depending on the size of the phones.\n\n \u003cbr /\u003e\n\n\n **Figure 11.** Mechanical drawing of the phone fixture\n\n \u003cbr /\u003e\n\n\n **Figure 12.** Assembled phone fixture\n\n### Step 4: Assemble sliding door rail\n\n1. Fix sliding panel rails on the top and bottom of the box toward the front.\n Figure 13 shows 6-32 screws on pre-tapped holes. Alternatively, you can use\n self-tapping screws.\n\n \u003cbr /\u003e\n\n\n **Figure 13.** Fixed sliding panel rail on top and bottom of box\n\n### Step 5: Attach lighting\n\nTo attach the light brackets and diffuser:\n\n1. Stack two handle pieces on top of each other and assemble them using 6-32\n screws (or use self-tapping screws).\n\n \u003cbr /\u003e\n\n\n **Figure 14.** Sensor Fusion Box handle pieces and assembly\n2. Prepare four 4-40 screws, nuts, and acorn nuts to fix the mounting bracket\n from the lighting kit to the wall of the box.\n\n \u003cbr /\u003e\n\n\n **Figure 15.** 4-40 screws and light bracket on the interior wall of the box\n\n \u003cbr /\u003e\n\n\n **Figure 16.** Bolts and acorn bolts applied to the screws from the exterior\n of the box\n3. Cut the light diffuser to an appropriate size to wrap the light strips (not\n required if the lights come with the diffuser).\n\n \u003cbr /\u003e\n\n\n **Figure 17.** Light strips and light diffusers\n4. Wrap the light diffuser around the strip and tape it at the back.\n\n \u003cbr /\u003e\n\n\n **Figure 18.** Light strips and light diffusers taped from the back\n5. Snap the lights into the brackets (can be a tight fit).\n\n \u003cbr /\u003e\n\n\n **Figure 19.** Lights mounted in brackets\n\n### Step 6: Attach phone fixture to servo plate\n\nTo attach the phone fixture to the servo plate:\n\n1. Prepare four 6-32 screws and a servo plate to fix the servo onto the wall.\n Fix the servo onto the interior wall and insert the screws from the inside\n into the servo plate on the exterior wall.\n\n \u003cbr /\u003e\n\n\n **Figure 20.** Servo and servo plate held in place with 6-32 screws\n2. Secure the phone fixture onto the servo with nylocks (pushing the center of the\n shaft into the servo's rotation center).\n\n **Figure 21.** Servo gear\n3. Using the servo screw that came with the servo, screw (1.2 N\\*m or\n 8.9 in\\*lbf) the phone fixture onto the servo gear through the servo\n arm.\n\n **Figure 22.** Servo arm\n\n### Step 7: Final assembly\n\nTo complete assembly of the Sensor Fusion Box:\n\n1. From Android 13, the sensor fusion test rig comes\n with the\n [Android 13 Arduino lighting controller](/docs/compatibility/cts/sensor-fusion-controller).\n (In Android 12\n or lower, the sensor fusion rig shipped with a 6-channel Arduino\n controller or a Canakit controller. Devices running\n Android 11 to Android 12\n are compatible with the Android 13 controller, 6-channel Arduino controller,\n or Canakit controller.) Connect the servo extension to any channel of the\n servo controller, where GND corresponds to black wire, VCC corresponds to\n the red wire, and SIG corresponds to the yellow wire.\n\n \u003cbr /\u003e\n\n\n **Figure 23.** Arduino Lighting Controller Rev3\n\n \u003cbr /\u003e\n\n\n **Figure 24.** Arduino lighting controller Rev3 connection sample\n2. Tape the box together, then screw the parts together (you might need to\n pre-drill holes in some parts).\n\n **Figure 25.** Taped sensor fusion test rig\n3. For Android 15 or higher, work with your local print\n shop to print out the checkerboard.pdf file (included in the\n `test/sensor_fusion` directory of the codebase)\n on 18 x 18 inch paper with the checkerboard pattern the width of the paper,\n and tape the chart on the wall opposite the phone fixture.\n\n For cameras with smaller fields of view, such as telephoto cameras, work\n with your local print shop to create proportionally scaled versions of the\n checkerboard. (For example, a 50% scaled chart would be printed on 9 x 9\n inch paper.)\n\n **Figure 26.** Checkerboard chart for Android 15 or\n higher.\n\n Make sure the red dot in the center of the checkerboard is directly facing\n the camera when placed on the fixture, as shown in Figure 27.\n\n **Figure 27.** Checkerboard printed and taped to the opposite wall of phone\n fixture."]]