duguyining

    1. LIS3DH三轴加速度传感器封装和代码 19/7557 MEMS传感器 2020-06-12
      littleshrimp 发表于 2020-6-11 18:21 官方代码没改动吗
      没有 这是初始化后数据寄存器的原始数据
    2. LIS3DH三轴加速度传感器封装和代码 19/7557 MEMS传感器 2020-06-11
      littleshrimp 发表于 2020-6-2 20:13 再试试这个新代码看看 https://github.com/STMicroelectronics/STMems_Standard_C_drivers/tree/maste ...
      acc = 0 -1408 -128 acc = 0 -1344 -192 acc = 0 -1408 -128 acc = -64 -1344 -192 acc = 0 -1408 -128 acc = 0 -1408 -256 acc = 0 -1344 -192 acc = 0 -1408 -128 acc = -64 -1408 -128 acc = 0 -1408 -64 acc = 0 -1408 -128 acc = 0 -1408 -128 acc = 0 -1408 -256 acc = 0 -1408 -192 acc = 0 -1408 -128 acc = 0 -1408 -64 acc = -64 -1408 -192 acc = 0 -1344 -256 acc = -64 -1344 -128 acc = -64 -1408 -128 acc = 0 -1344 -128 acc = -64 -1408 -64 acc = 0 -1344 -128 acc = 0 -1408 -64 acc = 0 -1408 -128 acc = 0 -1344 -192 acc = 0 -1408 -192 acc = -64 -1408 -192 acc = -64 -1408 -256 acc = 0 -1408 -128 acc = 0 -1408 -128 acc = 0 -1408 -192 acc = -64 -1408 -128 acc = 0 -1408 -128 acc = -64 -1408 -128 acc = -64 -1344 -128 acc = 0 -1344 -128 acc = 0 -1408 -128 acc = 0 -1408 -64 acc = 0 -1408 -192 acc = 0 -1408 -128 acc = 0 -1408 -64 acc = 0 -1408 -128 acc = 0 -1408 -128 读取LIS3DH传感器的输出寄存器数值  发现波动比较大  而且为什么所有的值都是64的倍数
    3. LIS3DH三轴加速度传感器封装和代码 19/7557 MEMS传感器 2020-06-02
      littleshrimp 发表于 2020-6-2 11:12 这个驱动是ST官方的 我没有这个板子没实际测过 不过ST那边应该是测试过的 你使用的是read data simple.c ...
      是的
    4. LIS3DH三轴加速度传感器封装和代码 19/7557 MEMS传感器 2020-06-02
      littleshrimp 发表于 2020-6-2 09:35 先读一下WHO_AM_I(0F)看一下是否正确,排除通信问题。
      WHO AM I寄存器读出来的值是0x33 没有问题 就是使用的您上传的驱动
    5. LIS3DH三轴加速度传感器封装和代码 19/7557 MEMS传感器 2020-06-02
      你好 使用了这个封装之后  我发现在成功读取到状态寄存器STATUS_REG (27h)的ZYXDA标志为1之后读取出来的加速度数据均为0  请问您知道是什么原因吗
    6. STM32驱动LIS25BA 41/10592 MEMS传感器 2019-12-10
      芯片手册
    7. STM32驱动LIS25BA 41/10592 MEMS传感器 2019-12-10
    8. STM32驱动LIS25BA 41/10592 MEMS传感器 2019-12-10
      功耗0.01 µA w/o RTC和 0.20 µA w/ RTC是什么意思
    9. STM32驱动LIS25BA 41/10592 MEMS传感器 2019-12-10
      请问一下 0.01 µA w/o RTC和 0.20 µA w/ RTC是什么意思
    10. STM32驱动LIS25BA 41/10592 MEMS传感器 2019-11-22
      这是I2C配置代码:     void MX_I2C1_Init(void) {   hi2c1.Instance = I2C1;   hi2c1.Init.Timing = 0x00501E6C;   hi2c1.Init.OwnAddress1 = 0;   hi2c1.Init.AddressingMode = I2C_ADDRESSINGMODE_7BIT;   hi2c1.Init.DualAddressMode = I2C_DUALADDRESS_DISABLE;   hi2c1.Init.OwnAddress2 = 0;   hi2c1.Init.OwnAddress2Masks = I2C_OA2_NOMASK;   hi2c1.Init.GeneralCallMode = I2C_GENERALCALL_DISABLE;   hi2c1.Init.NoStretchMode = I2C_NOSTRETCH_DISABLE;   if (HAL_I2C_Init(&hi2c1) != HAL_OK)   {     Error_Handler();   }   /** Configure Analogue filter    */   if (HAL_I2CEx_ConfigAnalogFilter(&hi2c1, I2C_ANALOGFILTER_ENABLE) != HAL_OK)   {     Error_Handler();   }   /** Configure Digital filter    */   if (HAL_I2CEx_ConfigDigitalFilter(&hi2c1, 0) != HAL_OK)   {     Error_Handler();   } } void HAL_I2C_MspInit(I2C_HandleTypeDef* i2cHandle) {   GPIO_InitTypeDef GPIO_InitStruct = {0};   if(i2cHandle->Instance==I2C1)   {   /* USER CODE BEGIN I2C1_MspInit 0 */   /* USER CODE END I2C1_MspInit 0 */        __HAL_RCC_GPIOB_CLK_ENABLE();     /**I2C1 GPIO Configuration         PB8     ------> I2C1_SCL     PB9     ------> I2C1_SDA      */     /* I2C1 clock enable */     __HAL_RCC_I2C1_CLK_ENABLE();     GPIO_InitStruct.Pin = GPIO_PIN_8|GPIO_PIN_9;     GPIO_InitStruct.Mode = GPIO_MODE_AF_OD;     GPIO_InitStruct.Pull = GPIO_PULLUP;     GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_VERY_HIGH;     GPIO_InitStruct.Alternate = GPIO_AF4_I2C1;     HAL_GPIO_Init(GPIOB, &GPIO_InitStruct);   /* USER CODE BEGIN I2C1_MspInit 1 */   /* USER CODE END I2C1_MspInit 1 */   } } 这是读取数据的代码:     lsm9ds1_dev_reset_set(&dev_ctx_mag, &dev_ctx_imu, PROPERTY_ENABLE);     do     {         lsm9ds1_dev_reset_get(&dev_ctx_mag, &dev_ctx_imu, &rst);     } while (rst);     //    Enable Block Data Update     lsm9ds1_block_data_update_set(&dev_ctx_mag, &dev_ctx_imu, PROPERTY_ENABLE);     //    Set full scale     lsm9ds1_xl_full_scale_set(&dev_ctx_imu, LSM9DS1_16g);     //    Set Output Data Rate / Power mode     lsm9ds1_imu_data_rate_set(&dev_ctx_imu, LSM9DS1_IMU_952Hz); while (1) {             lsm9ds1_dev_status_get(&dev_ctx_mag, &dev_ctx_imu, &reg);             if (reg.status_imu.xlda)             {                 //Read device status register                 lsm9ds1_acceleration_raw_get(&dev_ctx_imu, data_raw_acceleration.u8bit);                 acceleration_g[0] = lsm9ds1_from_fs16g_to_g(data_raw_acceleration.i16bit[0]);                 acceleration_g[1] = lsm9ds1_from_fs16g_to_g(data_raw_acceleration.i16bit[1]);                 acceleration_g[2] = lsm9ds1_from_fs16g_to_g(data_raw_acceleration.i16bit[2]); }
    11. STM32驱动LIS25BA 41/10592 MEMS传感器 2019-11-22
      轮询模式
    12. STM32驱动LIS25BA 41/10592 MEMS传感器 2019-11-22
      不是 是LSM9DS1
    13. STM32驱动LIS25BA 41/10592 MEMS传感器 2019-11-22
      不对,只有一百多个数据。 [2019-11-22 11:26:01.431]# RECV ASCII> I2C communication successd!!! ax[0] = 0.000000, ay[0] = 0.000000, az[0] = 0.000000 ax[1] = 9.647861, ay[1] = -0.710668, az[1] = 0.918844 ax[2] = 9.734002, ay[2] = -0.660419, az[2] = 0.782453 ax[3] = 15.060425, ay[3] = -3.129812, az[3] = 20.315063 ax[4] = 9.662217, ay[4] = -1.292124, az[4] = 0.803988 ax[5] = 7.968099, ay[5] = -1.507478, az[5] = 0.725025 ax[6] = 9.626325, ay[6] = -1.622334, az[6] = 0.653241 ax[7] = 9.705288, ay[7] = -1.356730, az[7] = 0.660419 ax[8] = 9.820145, ay[8] = -1.414158, az[8 [2019-11-22 11:26:01.480]# RECV ASCII> ] = 0.703490 ax[9] = 9.676575, ay[9] = -1.012164, az[9] = 0.868595 ax[10] = 9.812965, ay[10] = -0.918844, az[10] = 0.638884 ax[11] = 9.576076, ay[11] = -0.882951, az[11] = 0.868595 ax[12] = 9.748359, ay[12] = -1.019342, az[12] = 0.746561 ax[13] = 9.626325, ay[13] = -1.033699, az[13] = 0.969093 ax[14] = 9.475577, ay[14] = -1.033699, az[14] = 1.198804 ax[15] = 9.705288, ay[15] = -1.191626, az[15] = 0.832702 ax[16] = 9.525826, ay[16] = -1.134198, az[16] = 0.882951 ax[17] = 9.626325, ay[17] = -0.976272 [2019-11-22 11:26:01.529]# RECV ASCII> , az[17] = 0.890130 ax[18] = 9.690931, ay[18] = -1.048056, az[18] = 0.803988 ax[19] = 9.568897, ay[19] = -1.026521, az[19] = 0.969093 ax[20] = 9.590433, ay[20] = -0.897308, az[20] = 0.969093 ax[21] = 9.719646, ay[21] = -0.818345, az[21] = 0.839881 ax[22] = 9.734002, ay[22] = -0.990629, az[22] = 0.746561 ax[23] = 9.683753, ay[23] = -0.940379, az[23] = 0.725025 ax[24] = 9.798608, ay[24] = -1.263410, az[24] = 0.739382 ax[25] = 9.597611, ay[25] = -1.478764, az[25] = 0.782453 ax[26] = 9.597611, ay[26] = [2019-11-22 11:26:01.578]# RECV ASCII>  -1.536192, az[26] = 0.725025 ax[27] = 9.590433, ay[27] = -1.450050, az[27] = 0.725025 ax[28] = 9.633504, ay[28] = -1.177269, az[28] = 0.725025 ax[29] = 9.712466, ay[29] = -1.119841, az[29] = 0.832702 ax[30] = 9.676575, ay[30] = -0.976272, az[30] = 0.768096 ax[31] = 9.690931, ay[31] = -0.933201, az[31] = 0.832702 ax[32] = 9.619146, ay[32] = -1.026521, az[32] = 0.832702 ax[33] = 9.626325, ay[33] = -1.076770, az[33] = 0.811167 ax[34] = 9.568897, ay[34] = -1.091127, az[34] = 0.969093 ax[35] = 9.482756 [2019-11-22 11:26:01.628]# RECV ASCII> , ay[35] = -1.048056, az[35] = 0.882951 ax[36] = 9.604790, ay[36] = -1.091127, az[36] = 0.890130 ax[37] = 9.576076, ay[37] = -1.055235, az[37] = 0.796810 ax[38] = 9.604790, ay[38] = -1.048056, az[38] = 0.803988 ax[39] = 9.777073, ay[39] = -1.105484, az[39] = 0.732204 ax[40] = 9.726824, ay[40] = -1.119841, az[40] = 0.710668 ax[41] = 9.741180, ay[41] = -1.234696, az[41] = 0.725025 ax[42] = 9.640682, ay[42] = -1.292124, az[42] = 0.674776 ax[43] = 9.669396, ay[43] = -1.349552, az[43] = 0.782453 ax[44]  [2019-11-22 11:26:01.677]# RECV ASCII> = 9.633504, ay[44] = -1.227518, az[44] = 0.667597 ax[45] = 9.726824, ay[45] = -1.234696, az[45] = 0.624527 ax[46] = 9.590433, ay[46] = -1.141376, az[46] = 0.660419 ax[47] = 9.726824, ay[47] = -1.141376, az[47] = 0.646062 ax[48] = 9.626325, ay[48] = -1.040878, az[48] = 0.753739 ax[49] = 9.611968, ay[49] = -1.162912, az[49] = 0.725025 ax[50] = 9.705288, ay[50] = -1.234696, az[50] = 0.667597 ax[51] = 9.554541, ay[51] = -1.141376, az[51] = 0.825524 ax[52] = 9.662217, ay[52] = -1.184447, az[52] = 0.71066 [2019-11-22 11:26:01.726]# RECV ASCII> 8 ax[53] = 9.669396, ay[53] = -1.263410, az[53] = 0.631705 ax[54] = 9.640682, ay[54] = -1.177269, az[54] = 0.674776 ax[55] = 9.791430, ay[55] = -1.263410, az[55] = 0.617348 ax[56] = 9.676575, ay[56] = -1.213161, az[56] = 0.631705 ax[57] = 9.748359, ay[57] = -1.227518, az[57] = 0.660419 ax[58] = 9.755538, ay[58] = -1.363909, az[58] = 0.531207 ax[59] = 9.712466, ay[59] = -1.399801, az[59] = 0.710668 ax[60] = 9.626325, ay[60] = -1.320838, az[60] = 0.681954 ax[61] = 9.640682, ay[61] = -1.356730, az[61] [2019-11-22 11:26:01.775]# RECV ASCII>  = 0.545564 ax[62] = 9.705288, ay[62] = -1.249053, az[62] = 0.710668 ax[63] = 9.698110, ay[63] = -1.220340, az[63] = 0.746561 ax[64] = 9.669396, ay[64] = -1.004985, az[64] = 0.638884 ax[65] = 9.734002, ay[65] = -1.134198, az[65] = 0.595813 ax[66] = 9.726824, ay[66] = -1.205983, az[66] = 0.689133 ax[67] = 9.698110, ay[67] = -1.227518, az[67] = 0.624527 ax[68] = 9.669396, ay[68] = -1.256232, az[68] = 0.782453 ax[69] = 9.583255, ay[69] = -1.249053, az[69] = 0.753739 ax[70] = 9.611968, ay[70] = -1.1916 [2019-11-22 11:26:01.824]# RECV ASCII> 26, az[70] = 0.775274 ax[71] = 9.676575, ay[71] = -1.119841, az[71] = 0.674776 ax[72] = 9.698110, ay[72] = -1.069592, az[72] = 0.746561 ax[73] = 9.655039, ay[73] = -1.069592, az[73] = 0.768096 ax[74] = 9.748359, ay[74] = -1.162912, az[74] = 0.760918 ax[75] = 9.583255, ay[75] = -1.184447, az[75] = 0.739382 ax[76] = 9.669396, ay[76] = -1.170090, az[76] = 0.746561 ax[77] = 9.705288, ay[77] = -1.198804, az[77] = 0.696311 ax[78] = 9.640682, ay[78] = -1.256232, az[78] = 0.746561 ax[79] = 9.619146, ay[79] [2019-11-22 11:26:01.874]# RECV ASCII>  = -1.162912, az[79] = 0.703490 ax[80] = 9.676575, ay[80] = -1.170090, az[80] = 0.760918 ax[81] = 9.748359, ay[81] = -1.184447, az[81] = 0.760918 ax[82] = 9.597611, ay[82] = -1.141376, az[82] = 0.753739 ax[83] = 9.640682, ay[83] = -1.241875, az[83] = 0.674776 ax[84] = 9.741180, ay[84] = -0.983450, az[84] = 0.710668 ax[85] = 9.726824, ay[85] = -1.148555, az[85] = 0.768096 ax[86] = 9.669396, ay[86] = -1.148555, az[86] = 0.638884 ax[87] = 9.511470, ay[87] = -1.191626, az[87] = 0.789631 ax[88] = 9.7052 [2019-11-22 11:26:01.923]# RECV ASCII> 88, ay[88] = -1.299303, az[88] = 0.732204 ax[89] = 9.698110, ay[89] = -1.263410, az[89] = 0.660419 ax[90] = 9.633504, ay[90] = -1.184447, az[90] = 0.746561 ax[91] = 9.590433, ay[91] = -1.112662, az[91] = 0.753739 ax[92] = 9.834500, ay[92] = -1.198804, az[92] = 0.509671 ax[93] = 9.626325, ay[93] = -0.961915, az[93] = 0.854238 ax[94] = 9.827322, ay[94] = -1.198804, az[94] = 0.430708 ax[95] = 9.489934, ay[95] = -1.220340, az[95] = 0.775274 ax[96] = 9.662217, ay[96] = -1.292124, az[96] = 0.696311 ax[97 [2019-11-22 11:26:01.968]# RECV ASCII> ] = 9.561719, ay[97] = -1.277767, az[97] = 0.638884 ax[98] = 9.604790, ay[98] = -1.227518, az[98] = 0.653241 ax[99] = 9.741180, ay[99] = -1.234696, az[99] = 0.602991 ax[100] = 9.619146, ay[100] = -1.205983, az[100] = 0.710668 ax[101] = 9.698110, ay[101] = -1.198804, az[101] = 0.624527 ax[102] = 9.698110, ay[102] = -1.213161, az[102] = 0.617348 ax[103] = 9.647861, ay[103] = -1.127019, az[103] = 0.674776 ax[104] = 9.712466, ay[104] = -1.205983, az[104] = 0.5 [2019-11-22 11:26:02.017]# RECV ASCII> 52742 ax[105] = 9.547362, ay[105] = -1.213161, az[105] = 0.811167 ax[106] = 9.655039, ay[106] = -1.313660, az[106] = 0.617348 ax[107] = 9.662217, ay[107] = -1.249053, az[107] = 0.732204 ax[108] = 9.741180, ay[108] = -1.177269, az[108] = 0.595813 ax[109] = 9.712466, ay[109] = -1.234696, az[109] = 0.610170 ax[110] = 9.633504, ay[110] = -1.213161, az[110] = 0.624527 ax[111] = 9.690931, ay[111] = -1.213161, az[111] = 0.638884 ax[112] = 9.669396, ay[112] = -1.320838, az[112] = 0.660419 ax[113] = 9.67657 [2019-11-22 11:26:02.066]# RECV ASCII> 5, ay[113] = -1.284946, az[113] = 0.538385 ax[114] = 9.690931, ay[114] = -1.292124, az[114] = 0.681954 ax[115] = 9.741180, ay[115] = -1.320838, az[115] = 0.545564 ax[116] = 9.676575, ay[116] = -1.342373, az[116] = 0.567099 ax[117] = 9.784252, ay[117] = -1.263410, az[117] = 0.581456 ax[118] = 9.640682, ay[118] = -1.270589, az[118] = 0.588634 ax[119] = 9.583255, ay[119] = -1.249053, az[119] = 0.653241 ax[120] = 9.626325, ay[120] = -1.141376, az[120] = 0.760918 ax[121] = 9.676575, ay[121] = -1.177269,  [2019-11-22 11:26:02.115]# RECV ASCII> az[121] = 0.646062 ax[122] = 9.705288, ay[122] = -1.098306, az[122] = 0.703490 ax[123] = 9.676575, ay[123] = -1.105484, az[123] = 0.775274 ax[124] = 9.690931, ay[124] = -1.155733, az[124] = 0.667597 ax[125] = 9.683753, ay[125] = -1.155733, az[125] = 0.732204 ax[126] = 9.640682, ay[126] = -1.256232, az[126] = 0.796810 ax[127] = 9.604790, ay[127] = -1.234696, az[127] = 0.760918 ax[128] = 9.647861, ay[128] = -1.198804, az[128] = 0.811167 ax[129] = 9.626325, ay[129] = -1.112662, az[129] = 0.854238 ax[1 [2019-11-22 11:26:02.164]# RECV ASCII> 30] = 9.647861, ay[130] = -1.112662, az[130] = 0.717847 ax[131] = 9.626325, ay[131] = -1.083949, az[131] = 0.825524 ax[132] = 9.640682, ay[132] = -1.098306, az[132] = 0.782453 ax[133] = 9.662217, ay[133] = -1.170090, az[133] = 0.796810 ax[134] = 9.683753, ay[134] = -1.119841, az[134] = 0.753739 ax[135] = 9.619146, ay[135] = -1.148555, az[135] = 0.782453 ax[136] = 9.698110, ay[136] = -1.112662, az[136] = 0.782453 ax[137] = 9.647861, ay[137] = -1.184447, az[137] = 0.739382 ax[138] = 9.640682, ay[138]  [2019-11-22 11:26:02.213]# RECV ASCII> = -1.191626, az[138] = 0.818345 ax[139] = 9.662217, ay[139] = -1.205983, az[139] = 0.796810 ax[140] = 9.647861, ay[140] = -1.062413, az[140] = 0.847059 ax[141] = 9.604790, ay[141] = -1.162912, az[141] = 0.861416 ax[142] = 9.626325, ay[142] = -1.076770, az[142] = 0.875773 ax[143] = 9.690931, ay[143] = -1.134198, az[143] = 0.897308 ax[144] = 9.662217, ay[144] = -1.148555, az[144] = 0.796810 ax[145] = 9.561719, ay[145] = -1.127019, az[145] = 0.732204 ax[146] = 9.655039, ay[146] = -1.148555, az[146] = 0 [2019-11-22 11:26:02.262]# RECV ASCII> .825524 ax[147] = 9.633504, ay[147] = -1.170090, az[147] = 0.768096 ax[148] = 9.619146, ay[148] = -1.162912, az[148] = 0.768096 ax[149] = 9.777073, ay[149] = -1.091127, az[149] = 0.753739 ax[150] = 9.719646, ay[150] = -1.220340, az[150] = 0.689133 ax[151] = 9.633504, ay[151] = -1.249053, az[151] = 0.811167 ax[152] = 9.597611, ay[152] = -1.148555, az[152] = 0.789631 ax[153] = 9.662217, ay[153] = -1.083949, az[153] = 0.760918 ax[154] = 9.698110, ay[154] = -1.069592, az[154] = 0.753739 ax[155] = 9.633 [2019-11-22 11:26:02.311]# RECV ASCII> 504, ay[155] = -1.033699, az[155] = 0.746561 ax[156] = 9.647861, ay[156] = -1.134198, az[156] = 0.818345 ax[157] = 9.597611, ay[157] = -1.213161, az[157] = 0.861416 ax[158] = 9.690931, ay[158] = -1.205983, az[158] = 0.746561 ax[159] = 9.698110, ay[159] = -1.155733, az[159] = 0.710668 ax[160] = 9.683753, ay[160] = -1.170090, az[160] = 0.760918 ax[161] = 9.576076, ay[161] = -1.234696, az[161] = 0.847059 ax[162] = 9.439685, ay[162] = -1.119841, az[162] = 1.040878 ax[163] = 9.712466, ay[163] = -1.170090 [2019-11-22 11:26:02.360]# RECV ASCII> , az[163] = 0.904487 ax[164] = 9.820145, ay[164] = -0.839881, az[164] = 0.739382 ax[165] = 9.913465, ay[165] = -1.249053, az[165] = 0.602991 ax[166] = 9.619146, ay[166] = -1.263410, az[166] = 0.818345 ax[167] = 9.812965, ay[167] = -1.213161, az[167] = 0.760918 ax[168] = 9.611968, ay[168] = -1.363909, az[168] = 0.811167 ax[169] = 9.360722, ay[169] = -1.069592, az[169] = 1.134198 ax[170] = 9.554541, ay[170] = -0.983450, az[170] = 0.868595 ax[171] = 9.604790, ay[171] = -0.696311, az[171] = 0.904487 ax [2019-11-22 11:26:02.409]# RECV ASCII> [172] = 9.726824, ay[172] = -0.983450, az[172] = 0.725025 ax[173] = 9.748359, ay[173] = -1.162912, az[173] = 0.653241 ax[174] = 9.382257, ay[174] = -1.162912, az[174] = 0.847059 ax[175] = 9.174082, ay[175] = -1.277767, az[175] = 0.725025 ax[176] = 9.963714, ay[176] = -1.263410, az[176] = 0.423530 ax[177] = 9.698110, ay[177] = -1.263410, az[177] = 0.732204 ax[178] = 9.655039, ay[178] = -1.256232, az[178] = 0.638884 ax[179] = 9.611968, ay[179] = -1.191626, az[179] = 0.624527 ax[180] = 9.669396, ay[180 [2019-11-22 11:26:02.458]# RECV ASCII> ] = -1.213161, az[180] = 0.545564 ax[181] = 9.970891, ay[181] = -1.263410, az[181] = 0.423530 ax[182] = 9.798608, ay[182] = -1.270589, az[182] = 0.301496 ax[183] = 9.791430, ay[183] = -1.342373, az[183] = 0.344566 ax[184] = 9.985249, ay[184] = -1.406980, az[184] = 0.107677 ax[185] = 9.734002, ay[185] = -1.579263, az[185] = 0.667597 ax[186] = 9.827322, ay[186] = -1.586441, az[186] = 0.344566 ax[187] = 9.439685, ay[187] = -1.529014, az[187] = 0.373280
    14. STM32驱动LIS25BA 41/10592 MEMS传感器 2019-11-22
      可是我实际测试的时候,发现每秒钟只能输出三百多个三轴加速度数据。
    15. STM32驱动LIS25BA 41/10592 MEMS传感器 2019-11-22
      请教一个问题,比如ST的三轴加速度传感器的ODR设置为952HZ,这是不是表示三个轴每秒能同时刷新952个数据,而不是每秒三个轴加起来共同刷新952个数据。
    16. 如何消除加速度计的重力加速度的影响 14/11747 MEMS传感器 2019-08-01
      maychang 发表于 2019-7-24 17:53 在你的加速度计静止时读数,然后将此数值在测量后扣除,是否可以行得通?
      行不通,加速度计一旦姿态和空间位置发生变化,还是会有重力分量的影响。
    17. 如何消除加速度计的重力加速度的影响 14/11747 MEMS传感器 2019-08-01
      littleshrimp 发表于 2019-7-25 11:26 st的open mems的MotionFX库里有linear acceleration的东西,你也可以试一下   float linear_accele ...
      我想只利用加速度计消除重力加速度的影响,不结合图陀螺仪和磁力计。
    18. LSM6DSL读取数据STM32L4R5中断方式 6/6126 MEMS传感器 2019-08-01
      请问为什么我用同样的方式利用中断读取数据,中断只能进入一次,下面是我的配置代码:   lsm9ds1_pin_int1_route_t lsm9ds1_pin_int1_route;   lsm9ds1_pin_int1_route.int1_ig_xl = 1;   lsm9ds1_pin_int1_route.int1_drdy_xl = 1;   lsm9ds1_pin_int1_route_set(&dev_ctx_imu, lsm9ds1_pin_int1_route);
    19. IIS2DH 3 轴加速计数据手册、驱动、封装 7/3652 MEMS传感器 2019-06-04
      littleshrimp 发表于 2019-5-31 16:22 你需要有一个单片机,连接传感器,把数据通过spi或者i2c读到单片机里,然后再做处理。
      这个已经做过了  就是不知道读到单片机之后怎么进行数据采样和FFT分析   处理之后又怎么进行验证  需要什么硬件或软件环境
    20. IIS2DH 3 轴加速计数据手册、驱动、封装 7/3652 MEMS传感器 2019-05-31
      littleshrimp 发表于 2019-5-30 10:57 这个需要你采集数据后再计算
      如何采集数据并计算  请问需要用到什么软硬件

最近访客

< 1/1 >

统计信息

已有7人来访过

  • 芯积分:5
  • 好友:--
  • 主题:1
  • 回复:30

留言

你需要登录后才可以留言 登录 | 注册


现在还没有留言