diff --git a/devtypes/breakouts/breakouts.csv b/devtypes/breakouts/breakouts.csv index c83744e..1c61857 100644 --- a/devtypes/breakouts/breakouts.csv +++ b/devtypes/breakouts/breakouts.csv @@ -59,6 +59,7 @@ adafruit-4754,Adafruit,BNO085 9-DOF Orientation IMU Fusion,4754,BNO085,CEVA/Bosc adafruit-4480,Adafruit,LSM6DS33 6-DoF Accel + Gyro IMU,4480,LSM6DS33,ST,motion,LSM6DS3,stemma-qt,3,5,"0x6a,0x6b",discontinued,,https://www.adafruit.com/product/4480,, adafruit-4366,Adafruit,TLV493D Triple-Axis Magnetometer,4366,TLV493D,Infineon,magnetic,TLV493D,stemma-qt,3,5,"0x5e,0x1f",active,,https://www.adafruit.com/product/4366,, adafruit-4554,Adafruit,ICM-20948 9-DoF IMU,4554,ICM-20948,TDK InvenSense,motion,ICM20948,stemma-qt,3,5,"0x69,0x68",active,,https://www.adafruit.com/product/4554,,"the record covers accelerometer, gyroscope and temperature (not the AK09916 magnetometer, behind the chip's I2C master) at 0x69 only" +adafruit-3886,Adafruit,MPU-6050 6-DoF Accel and Gyro Sensor,3886,MPU-6050,TDK InvenSense,motion,MPU6050,stemma-qt,3,5,"0x68,0x69",active,,https://www.adafruit.com/product/3886,,"the record carries a _warning (identifying it writes a byte to whatever is at 0x68 or 0x69), so wildcard selections leave it out unless acknowledged" nexus-qwiic-sense,Nexus,QWIIC Sense,,,,,,qwiic,,,,active,,,,unknown board - fill in seeed-101020692,Seeed,Grove 12-bit Magnetic Rotary Position Sensor (AS5600),101020692,AS5600,ams,magnetic,AS5600,grove,,,0x36,active,,,https://look.ams-osram.com/m/7059eac7531a86fd/original/AS5600-DS000365.pdf, sparkfun-qwiic-led-stick-apa102c,SparkFun,Qwiic LED Stick (APA102C),,ATtiny85 + APA102C,,led,QwiicLEDStick,qwiic,,,"0x23,0x22",active,,https://learn.sparkfun.com/tutorials/qwiic-led-stick---apa102c-hookup-guide,,sheet said supported '?' diff --git a/devtypes/breakouts/tests.csv b/devtypes/breakouts/tests.csv index eda6707..abd5721 100644 --- a/devtypes/breakouts/tests.csv +++ b/devtypes/breakouts/tests.csv @@ -82,3 +82,4 @@ date,raft_record,breakout_id,tester,host,raftcore_version,checks,result,notes 2026-11-08,BMM150,dfrobot-sen0529,,Axiom018,,detect data,pass,"at 0x13 the chip is in suspend at power-up (0x4B = 0, every other register 0) - detected after power control was set; unplugged and plugged in again, identified again (from suspend); chip ID 0x32; still: x 16, y 16, z -73 uT (about 75 uT with the board's own offsets); turned flat through a circle and flipped: x -85 to 48, y -127 to 33, z -103 to 17 uT, valid 1 throughout; a sample's decode matched Bosch's float compensation worked separately in Python; polled at 10 Hz, no misses; slot 2; firmware 0.1.4-163-gdb6cba6-dirty with BMM150 added to Axiom's DeviceTypeSources.json" 2026-11-08,LIS2DW12,dfrobot-sen0405,,Axiom018,,detect data rsao,pass,"at 0x18 MPRLS (no detection values) claimed it before this record; WHO_AM_I 0x44; set on each face in turn: +1.01/-0.99 g z, +1.03/-0.99 g y, +1.01 g x (the -x face not shown, x min -0.24 g), magnitude 0.94-1.04 g throughout; temperature 23.9 C at rest rising to 30.1 C held in the hand; RSAO: lone 0x99 returns 0x7F, CTRL1-CTRL6 unchanged; polled at 10 Hz, no misses; slot 3; firmware 0.1.4-163-gdb6cba6-dirty with LIS2DW12 added to Axiom's DeviceTypeSources.json" 2026-11-08,MCP960x,adafruit-5165,,Axiom018,,detect data,pass,"no thermocouple to hand. Before probeByRead: answered register reads (ID 0x41, revision 0x11) for about 3 s after power-up, then NACKed everything until power was cycled; on the bench five ID reads, one zero-length write (ACKed), then every access NACKed - the scanner's address-only probe stops it. With probeByRead (RaftCore 5eb9e39, RaftI2C 2bf63b0 on feature/probe-by-read): identified 1.45 s after boot, first attempt, scanner read-probes at its addresses (120 in the first seconds) and polled at 2 Hz with no misses; cold junction 24.9 C; hot junction 118-309 C (no thermocouple, meaningless); status 0x6F: shortCircuit 1 and openCircuit 0 decoded as the chip reports them (bits as Adafruit_MCP9601), the open-circuit flag not exercised; slot 3; firmware 0.1.4-163-gdb6cba6-dirty" +2026-11-15,MPU6050,adafruit-3886,,Axiom018,,detect rsao,pass,"at 0x68 on slot 1, record loaded from a device type file (dtIdx 65); polled at 10 samples/s; rsao from the record's hwProbeEffects (registers unchanged, measuring carried on); data not passed: at rest 0.06/-0.33/0.80 g, a magnitude of 0.86 g on every range (raw counts halve with each range step, so the scale is right and the error is this part's), 27.8 C; no orientation or rotation test; firmware 0.1.4-174-g00ed408" diff --git a/devtypes/records/MPU6050.json b/devtypes/records/MPU6050.json new file mode 100644 index 0000000..6858613 --- /dev/null +++ b/devtypes/records/MPU6050.json @@ -0,0 +1,139 @@ +{ + "_notes": "TDK InvenSense MPU-6050 6-axis IMU (also the MPU-6000's I2C interface) at 0x68 (AD0 low, the default of the GY-521 and most breakouts) or 0x69. 8-bit registers; the chip ignores bit 7 of the register address\nDetection: WHO_AM_I (0x75) = 0x68 (the same at either address). The MPU-6500 (0x70) and MPU-9250 (0x71) aren't matched: their temperature scale differs\nInit: PWR_MGMT_1 (0x6B) = 0x80 - reset, 100 ms; PWR_MGMT_1 = 0x01 - awake (it starts asleep), clock from the X gyro, 50 ms; CONFIG (0x1A) = 0x03 - low-pass filter 44 Hz (accelerometer) / 42 Hz (gyro), gyro output 1 kHz; GYRO_CONFIG (0x1B) = 0x08 - +/-500 dps; ACCEL_CONFIG (0x1C) = 0x08 - +/-4 g; SMPLRT_DIV (0x19) = 0x09 - 100 samples a second\nPoll (100 ms): ACCEL_XOUT_H to GYRO_ZOUT_L (0x3B-0x48), big-endian 16-bit: accelerometer 8192 per g, temperature = count / 340 + 36.53 degC, gyro 65.5 per dps\nSource: registers from the InvenSense MPU-6000/MPU-6050 register map (RM-MPU-6000A) and product specification", + "_warning": "Selecting this record makes the bus write one byte (0x75, the ID register's address) to whatever answers at 0x68 or 0x69 when identifying it. An MCP342x ADC at 0x68 takes that byte as its configuration (channel 4, continuous, 14-bit, gain 2). RaftCore's other records at these addresses (ICM20948, AMG8833) claim only 0x69 for that reason", + "addresses": "0x68-0x69", + "detectionValues": "0x75=0x68", + "initValues": "0x6b80=p100&0x6b01=p50&0x1a03&0x1b08&0x1c08&0x1909", + "pollInfo": { + "c": "0x3b=r14", + "i": 100, + "s": 3 + }, + "hwProbeEffects": { + "rsao": { + "effect": "none", + "basis": "bench", + "note": "bench (Axiom018, 2026-11-15, measuring, at 0x68): the lone 0x99 write and 9-byte read returns registers 0x19-0x21 (bit 7 of the address is ignored); registers 0x0D-0x38 and 0x63-0x6C unchanged and measuring carried on" + } + }, + "devInfoJson": { + "name": "Accelerometer & Gyroscope", + "desc": "6-Axis IMU", + "manu": "TDK InvenSense", + "type": "MPU6050", + "clas": [ + "ACC", + "GYRO" + ], + "resp": { + "b": 14, + "a": [ + { + "n": "ax", + "at": 0, + "t": ">h", + "u": "g", + "r": [ + -4.0, + 4.0 + ], + "d": 8192, + "f": ".2f", + "o": "float", + "vt": "imu", + "vo": { + "gyro": [ + "gx", + "gy", + "gz" + ], + "accel": [ + "ax", + "ay", + "az" + ] + } + }, + { + "n": "ay", + "at": 2, + "t": ">h", + "u": "g", + "r": [ + -4.0, + 4.0 + ], + "d": 8192, + "f": ".2f", + "o": "float" + }, + { + "n": "az", + "at": 4, + "t": ">h", + "u": "g", + "r": [ + -4.0, + 4.0 + ], + "d": 8192, + "f": ".2f", + "o": "float" + }, + { + "n": "gx", + "at": 8, + "t": ">h", + "u": "°/s", + "r": [ + -500, + 500 + ], + "d": 65.5, + "f": ".2f", + "o": "float" + }, + { + "n": "gy", + "at": 10, + "t": ">h", + "u": "°/s", + "r": [ + -500, + 500 + ], + "d": 65.5, + "f": ".2f", + "o": "float" + }, + { + "n": "gz", + "at": 12, + "t": ">h", + "u": "°/s", + "r": [ + -500, + 500 + ], + "d": 65.5, + "f": ".2f", + "o": "float" + }, + { + "n": "temp", + "at": 6, + "t": ">h", + "u": "°C", + "r": [ + -40, + 85 + ], + "d": 340, + "f": ".1f", + "o": "float", + "a": 36.53 + } + ] + } + } +}