IMU-Bridge Integration Tools

0:17

Considering API needs.

IMU-Bridge-2026-KB encountered an error.

get_component_notes("icm20689") ๅทฒๆˆๅŠŸ่ฟ”ๅ›žใ€‚

ICM-20689 ๅ…ณ้”ฎๅ‚ๆ•ฐ


้กน็›ฎ่ฟ”ๅ›žๅ†…ๅฎน
้‡่ฆ่ญฆๅ‘Šๆฒกๆœ‰ CPOUT ๅผ•่„š๏ผŒไปปไฝ• โ€œCPOUT ็”ตๅฎนโ€ ๆ่ฟฐ้ƒฝๅบ”ๅฟฝ็•ฅ
REGOUTPin 10 -> 0.47 ยตF X7R ยฑ10%
VDDPin 9 -> 2.2 ยตF + 100 nF
VDDIOPin 8 -> 10 nF
nCSPin 22 -> ็›ดๆŽฅๆŽฅ VDD๏ผŒ่ฟ›ๅ…ฅ I2C ๆจกๅผ๏ผŒไธๅŠ ็”ตๅฎน
FSYNCPin 7 -> ๆŽฅ GND๏ผŒไธๅฏๆ‚ฌ็ฉบ
I2C ๅœฐๅ€AD0=GND -> 0x68๏ผ›AD0=VDD -> 0x69
WHO_AM_I0x98
NC ๅผ•่„šINT / CLKIN / AUX_DA / AUX_CL ๆ‚ฌ็ฉบ๏ผŒไธฅ็ฆๆŽฅ GND
็ƒญ็„Š็›˜ไธญๅคฎ EP ็„Š็›˜ๅฟ…้กปๆŽฅ GND
่ฟ™ๆก็ป“ๆžœ้‡Œๆœ€ๅ…ณ้”ฎ็š„ไธค็‚น
  • FSYNC ไธๆ˜ฏ NC๏ผŒๅฟ…้กปๆŽฅๅœฐ
  • nCS ๆ˜ฏ Pin 22๏ผŒไธๆ˜ฏ Pin 20๏ผŒๅนถไธ”ๅบ”็›ดๆŽฅๆŽฅ VDD
ๅฆ‚ๆžœไฝ ่ฆ๏ผŒๆˆ‘ๅฏไปฅ็ปง็ปญๆŠŠ่ฟ™ๆกๅ™จไปถ่ง„ๅˆ™ๅ’Œๅฝ“ๅ‰้กน็›ฎ้‡Œ็š„ U2 / U3 ๅ†้€้กนๆ ธๅฏนไธ€้ใ€‚
Show pin details
Find matching part
Check datasheet requirements
Add project note
12 days

Refine this doc
Ask about this doc
IMU-Bridge-2026 ยท Flux Design Document v2
Dual MPU-6050 I2C Transparent Proxy Board for BaseCam AC2000 Version: v2.0 ยท 2026-04-14 ยท Lessons-learned revision
What changed from v1: This revision incorporates every issue encountered during the first Flux AI session. The scope is now limited to schematic only. PCB routing is explicitly out of scope and will be handled separately. Part substitutes are pre-approved. No-Connect handling is clearly separated into what AI can do vs. what requires manual action.
  1. Pre-flight: Library Availability Run these searches in the Flux component library before starting. Use the substitute if the primary part is not found. Do not ask โ€” just use the substitute listed. Primary PartFlux Library?Approved SubstituteNotesMPU-6050 QFN-24โŒ Not availableICM-20689 QFN-24Same package, same I2C scheme, same data registers 0x3Bโ€“0x48STM32G030F6P6 TSSOP-20โœ… Availableโ€”โ€”AMS1117-3.3 SOT-223โœ… AvailableLM1117-3.3 SOT-223Same pinoutJST GH 1.25 mm 5-pinโœ… Availableโ€”โ€”0402 / 0805 passivesโœ… Availableโ€”Standard values If a part is not found and no substitute is listed, stop and report โ€” do not guess.
  2. Project Overview This board replaces the stock IMU board (single MPU-6050) on a BaseCam AC2000 gimbal. SimpleBGC 32-bit firmware is closed-source and cannot be modified. Solution: STM32G030F6P6 as I2C transparent proxy
I2C1 (PA9/PA10) = Slave, main bus, responds to address 0x68 I2C2 (PB6/PB7) = Master, secondary bus, manages IMU#1 (0x68) and IMU#2 (0x69)
Board: 25.80 ร— 20.80 mm ยท JST GH 1.25 mm 5-pin ยท +5V input ยท 3.3V on-board Scope of this document: Schematic only. PCB routing is out of scope and will be handled by a separate contractor.
  1. Complete BOM
All capacitor and resistor values are exact. Do not substitute based on RAG suggestions. CPOUT = 2.2 nF โ€” this is the most commonly hallucinated value; do not change it.
RefDesMPN / ValuePackageQtyNotesU1STM32G030F6P6TSSOP-20148 MHz, dual I2CU2ICM-20689 (substitute for MPU-6050)QFN-24 4ร—4 mm1I2C addr 0x68, AD0=GNDU3ICM-20689 (substitute for MPU-6050)QFN-24 4ร—4 mm1I2C addr 0x69, AD0โ†’R6โ†’3.3VU4AMS1117-3.3SOT-22315V โ†’ 3.3V LDOJ1JST GH 1.25 mm 5-pinSMD horizontal1Pin order: +5V/GND/SCL/SDA/AUX1C110 ยตF / 10 V0805 MLCC X5R1AMS1117 VIN bulkC2100 nF / 16 V0402 MLCC1AMS1117 VIN bypassC310 ยตF / 10 V0805 MLCC X5R1AMS1117 VOUT bulkC4100 nF / 16 V0402 MLCC1AMS1117 VOUT bypassC5100 nF / 10 V0402 MLCC1STM32 VDD bypassC6100 nF / 10 V0402 MLCC1STM32 NRST filterC7100 nF / 10 V0402 MLCC1U2 VCC bypassC8100 nF / 10 V0402 MLCC1U3 VCC bypassC9100 nF / 10 V0402 MLCC1U2 REGOUT filterC10100 nF / 10 V0402 MLCC1U3 REGOUT filterC112.2 nF / 10 V0402 MLCC1U2 CPOUT โ€” must be 2.2 nFC122.2 nF / 10 V0402 MLCC1U3 CPOUT โ€” must be 2.2 nFR14.7 kฮฉ04021Main bus SCL pull-up โ†’ 3.3VR24.7 kฮฉ04021Main bus SDA pull-up โ†’ 3.3VR34.7 kฮฉ04021Sub bus SCL pull-up โ†’ 3.3VR44.7 kฮฉ04021Sub bus SDA pull-up โ†’ 3.3VR510 kฮฉ04021BOOT0 pull-down โ†’ GNDR610 kฮฉ04021U3 AD0 pull-up โ†’ 3.3VMH1โ€“MH4โ€”2.2 mm NPTH4M2 mounting holesTP1โ€“TP4โ€”0.9 mm via pad43.3V / GND / SWD_CLK / SWD_IO
  1. Power Network J1.Pin1 (+5V) โ”€โ”€โ†’ AMS1117 VIN โ”€โ”€โ”ฌโ”€โ”€ C1 (10 ยตF) โ”€โ”€โ†’ GND โ””โ”€โ”€ C2 (100 nF) โ”€โ”€โ†’ GND
AMS1117 VOUT (VCC_3V3) โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€ C3 (10 ยตF) โ”€โ”€โ†’ GND โ””โ”€โ”€ C4 (100 nF) โ”€โ”€โ†’ GND
J1.Pin2 (GND) โ”€โ”€โ†’ GND plane PinNetU1 VDD (all VDD pins)VCC_3V3 + C5 100 nF next to pinU1 VSS (all VSS pins)GNDU1 NRSTC6 100 nF โ†’ GNDU2 VDD (Pin 3, 13, 24), VDDIO (Pin 8)VCC_3V3 + C7 100 nF next to pinU2 GND (Pin 2, 17, 18, 21, 22, 23), EPGNDU3 VDD (Pin 3, 13, 24), VDDIO (Pin 8)VCC_3V3 + C8 100 nF next to pinU3 GND (Pin 2, 17, 18, 21, 22, 23), EPGND
  1. Signal Network (using ICM-20689 pin names) 4.1 Main I2C Bus โ€” J1 to STM32 Slave SignalJ1 PinSTM32 PinPull-upMAIN_SCLPin 3PA9 (I2C1_SCL)R1 4.7 kฮฉ โ†’ VCC_3V3MAIN_SDAPin 4PA10 (I2C1_SDA)R2 4.7 kฮฉ โ†’ VCC_3V3 4.2 Secondary I2C Bus โ€” STM32 Master to U2 and U3 SignalSTM32 PinU2 PinU3 PinPull-upSUB_SCLPB6 (I2C2_SCL)Pin 23 (SCL/SCLK)Pin 23 (SCL/SCLK)R3 4.7 kฮฉ โ†’ VCC_3V3SUB_SDAPB7 (I2C2_SDA)Pin 24 (SDA/SDI)Pin 24 (SDA/SDI)R4 4.7 kฮฉ โ†’ VCC_3V3 4.3 ICM-20689 Per-pin Wiring Apply identically to both U2 and U3 except AD0: ICM-20689 PinNameConnect ToValuePin 9AD0/SDOU2 โ†’ GND ยท U3 โ†’ R6 (10 kฮฉ) โ†’ VCC_3V3sets addr 0x68 / 0x69Pin 10REGOUTC9/C10 (100 nF) โ†’ GNDfilter capPin 11FSYNCGNDnot usedPin 12INTleave unconnected โ€” symbol already marks as NCdo not wirePin 19CLKINleave unconnected โ€” symbol already marks as NCdo not wirePin 20nCSC11/C12 (2.2 nF) โ†’ GNDCPOUT placeholderPin 6AUX_DAleave unconnected โ€” symbol already marks as NCdo not wirePin 7AUX_CLleave unconnected โ€” symbol already marks as NCdo not wire
Note on NC-typed pins: The ICM-20689 symbol in Flux types INT, CLKIN, AUX_DA, AUX_CL as NC. Do not attempt to connect these to GND โ€” doing so causes an ERC violation ("no-connect pin connected"). Leave them untouched.
4.4 STM32 Remaining Connections SignalPinNetBOOT0BOOT0 pinR5 (10 kฮฉ) โ†’ GNDSWD_IOPA13TP4SWD_CLKPA14TP33V3 test pointโ€”TP1 โ†’ VCC_3V3GND test pointโ€”TP2 โ†’ GND 4.5 J1 Connector PinNet1+5V2GND3MAIN_SCL4MAIN_SDA5Unconnected โ€” add No-Connect marker manually after AI step
  1. No-Connect Handling
Important: Flux Copilot cannot place No-Connect markers. This is a manual step. The table below separates what the symbol handles automatically vs. what needs manual action.
Handled automatically by the ICM-20689 symbol (no action needed) INT ยท CLKIN ยท AUX_DA ยท AUX_CL โ€” already typed as NC in the symbol. Requires manual No-Connect markers after AI completes schematic ComponentPinsJ1Pin 5 ยท Pin 6 ยท Pin 7U1 (STM32)PC14/PB9 ยท PC15 ยท PA0 ยท PA1 ยท PA2 ยท PA3 ยท PA4 ยท PA5 ยท PA6 ยท PA7 ยท PB0/PB1/PB2/PA8U2, U3 (ICM-20689)INT (Pin 12) How to add manually in Flux: Right-click the unconnected pin end โ†’ look for "No Connect" in the context menu. If not available, accept the ERC warnings โ€” they do not affect netlist correctness or PCB routing.
  1. PCB Mechanical Constraints (For reference โ€” to be handed to PCB layout contractor) ParameterValueBoard size25.80 ร— 20.80 mmLayers2Thickness1.6 mmSurface finishHASL-LF or ENIGBoard-edge keep-out0.3 mm Mounting holes (NPTH, dia = 2.2 mm, keep-out = 0.5 mm): RefDesX (mm)Y (mm)MH12.02.0MH22.018.8MH323.82.0MH423.818.8 Routing rules (for contractor): Net classWidthNotesPower (5V, 3V3)โ‰ฅ 0.3 mmโ€”I2C signals0.15 mmEqual-length pairs, no acute anglesOther signals0.1 mmโ€”Clearance0.15 mmAll copperGND pourBoth layersThermal relief, clearance 0.15 mm
  2. Acceptance Criteria for Schematic CheckTargetNotesERC real errors0Floating-pin warnings on manually-skipped NC pins are acceptableAll BOM nets connected100%Verify with ERC net checkCPOUT cap value2.2 nFVerify C11 and C12 before signing offU2 AD0GNDAddr = 0x68U3 AD0R6 โ†’ 3.3VAddr = 0x69J1 pin 1โ€“4Wired+5V / GND / MAIN_SCL / MAIN_SDA
  3. Export Checklist (after schematic is complete) ExportMenu pathRecipientSchematic NetlistFile โ†’ Export โ†’ Schematic Netlist (.edif)PCB layout contractorBill of MaterialsFile โ†’ Export โ†’ Bill of Materials (.zip)PCB layout contractorFlux projectFile โ†’ Export โ†’ Flux project (.flx)PCB layout contractor (board outline + holes included)Manufacturing FilesFile โ†’ Export โ†’ Manufacturing Files (Gerbers)PCB fab โ€” only after routing is done
  4. Master Schematic Command (Paste into Flux Copilot Chat after uploading this document) Read this entire document. Execute the schematic design below in order. Scope: schematic only โ€” do not attempt PCB routing.
โ‘  [Library check] Search the Flux library for each part in Section 2 BOM. Use ICM-20689 QFN-24 for U2 and U3 โ€” MPU-6050 is not available. If any other part is not found, stop and report before proceeding.
โ‘ก [Add all components] Place all parts from Section 2 with correct footprints: U1 = STM32G030F6P6 TSSOP-20 U2, U3 = ICM-20689 QFN-24 (4ร—4 mm) U4 = AMS1117-3.3 SOT-223 J1 = JST GH 1.25 mm 5-pin SMD horizontal C1, C3 = 10 ยตF 0805; all other caps = 0402 All resistors = 0402 MH1โ€“MH4 = 2.2 mm NPTH mounting holes TP1โ€“TP4 = test point pads
โ‘ข [Wire power network] Wire the complete power network per Section 3: J1.Pin1 โ†’ AMS1117 VIN โ†’ C1 + C2 โ†’ GND AMS1117 VOUT (VCC_3V3) โ†’ C3 + C4 โ†’ GND VCC_3V3 โ†’ U1 all VDD pins (with C5 bypass) VCC_3V3 โ†’ U2 VDD + VDDIO pins (with C7 bypass) VCC_3V3 โ†’ U3 VDD + VDDIO pins (with C8 bypass) U1 NRST โ†’ C6 โ†’ GND All VSS/GND pins โ†’ GND J1.Pin2 โ†’ GND
โ‘ฃ [Wire signal network] Wire all signal nets per Section 4:
  • Main I2C bus: J1.Pin3 โ†’ R1 โ†’ PA9; J1.Pin4 โ†’ R2 โ†’ PA10
  • Sub I2C bus: PB6 โ†’ R3 โ†’ U2.Pin23 + U3.Pin23; PB7 โ†’ R4 โ†’ U2.Pin24 + U3.Pin24
  • U2 AD0 (Pin9) โ†’ GND
  • U3 AD0 (Pin9) โ†’ R6 (10 kฮฉ) โ†’ VCC_3V3
  • U2 + U3: Pin10 (REGOUT) โ†’ C9/C10 (100 nF) โ†’ GND
  • U2 + U3: Pin11 (FSYNC) โ†’ GND
  • U2 + U3: Pin20 (nCS, used as CPOUT) โ†’ C11/C12 (2.2 nF) โ†’ GND
  • BOOT0 โ†’ R5 (10 kฮฉ) โ†’ GND
  • PA13 โ†’ TP4; PA14 โ†’ TP3
  • TP1 โ†’ VCC_3V3; TP2 โ†’ GND
โ‘ค [NC-typed pins โ€” do nothing] Do NOT connect or add No-Connect markers to these pins โ€” they are already typed as NC in the ICM-20689 symbol and will cause ERC violations if touched: U2 + U3: INT (Pin12), CLKIN (Pin19), AUX_DA (Pin6), AUX_CL (Pin7)
โ‘ฅ [ERC] Run ERC. Fix all real connection errors. Floating-pin warnings on unused STM32 GPIOs and J1 Pin5 are acceptable (No-Connect markers for those will be added manually โ€” Copilot cannot place them). Report the final ERC result.
โ‘ฆ [Report] List:
  • Any parts that were substituted and why
  • Any nets that could not be wired and why
  • Final ERC error count and warning count
  • Pins that still need manual No-Connect markers

Documents

    IMU-Bridge-2026 ยท Flux Design Document v2

    IMU-Bridge-2026 Design Notes

    Doc 1

    IMU-Bridge-2026-conversation-log

    Schematic Change Log

    PCB Layout Action Checklist

    Complete Conversation Log

    IMU-Bridge-2026-KB ้›†ๆˆๆญฃๅผๆต‹่ฏ•ๆŠฅๅ‘Š

Assets

No assets added.

IMU-Bridge-2026-V2

IMU-Bridge-2026-V2 thumbnail
Welcome to your new project. Imagine what you can build here.

Properties

Properties describe core aspects of the project.

Pricing & Availability

Distributor

Qty 1

Arrow

$6.48

Digi-Key

$6.55โ€“$7.46

LCSC

$13.68โ€“$13.88

Mouser

$3.04

TME

$1.03

Verical

$1.82โ€“$4.42

Controls