Multi Source Translation Content

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Multi Source Translation Content

讨论

排序依据:
センサ Fusion FXS-9AXIS + KL25Z は、ジャイロ安定化コンパス モードでは正常に動作しません。 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> こんにちは、   私は、USB 経由でコンピューターにコネクテッドされたボード KL25Z + FXS-9AXIS で Windows 7 (ビルド日 2014 年 11 月 20 日 Rev B) で Fusion Toolbox を使用しようとしていますが、デモ ビデオ ( http://www.freescale.com/webapp/video_vault/videoSummary.sp?code=XTRINSIC_SFTANDROID_VID ) と同じ結果が得られません。   たとえば、ボードの近くに磁石を置くと、ボードがジャイロ安定化コンパス アルゴリズムを使用していても方向が変わります。もう 1 つの例として、ボードを 90 度回転させると、ソフトウェアは 70 度または 100 度の回転を表示します。   私はツールボックスユーザーガイドリリース422(セクション2.3 - Windowsクイックスタートガイド)の指示に従い、OpenSdaドライバーP&E Microバージョン1.09を使用しています。     何が間違っているのでしょうか?   よろしくお願いします。 センサ・フュージョン Re: Sensor Fusion FXS-9AXIS + KL25Z don´t work well in Gyro Stabilized Compass Mode. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> おそらくその通りです。私たちのオフィスエリアには、昔ながらの磁気コンパスが西側の壁に向かって北を指し示している場所が 1 か所あります。定常状態の場合、どれだけ計算してもそれを修正することはできません。 参考までに、+/- 5 度は、eCompass を細かく調整しなくても、ほぼ最高の精度です。 Re: Sensor Fusion FXS-9AXIS + KL25Z don´t work well in Gyro Stabilized Compass Mode. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 最初の質問は、磁気バッファが十分に満たされて磁気キャリブレーションが適切に行われるまでボードを回転させましたか? バッファ上で 240 回の測定が完了するまで、磁気キャリブレーションを待機しました。しかし、私の適合度は 5% 未満になることはありませんでした。 次の質問は、以下で概説したように、センサの選択がラジオ ボタンの選択と一致していることを確認できますか? 選択とセンサも一致しています。 そして、私は屋内のさまざまな場所で試してみましたが、いつも正しい回転を得ることができません。私は電磁波汚染された環境に住んでいたと思います。=/。そして私のアプリケーションでは、部屋間を移動する必要があります。したがって、磁力計を使用したあらゆるセンサ融合は歪むことになると思います。 助けてくれてありがとう Re: Sensor Fusion FXS-9AXIS + KL25Z don´t work well in Gyro Stabilized Compass Mode. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 考慮すべき点がいくつかあります。最初の質問は、磁気バッファが十分に満たされて磁気キャリブレーションが適切に行われるまでボードを回転させましたか?GUI の「Magnetics」タブをクリックするとこれを確認できます。 上の図は、磁気較正に使用される点の完全な配置を示しており、適合誤差は 3.8% です。通常、計算で物事を短縮するために完全な星座は必要ありません。「磁気球」の一部がその役割を果たすはずです。完全な星座をお見せするために特別にこれを作成しました。 次の質問は、以下で概説したように、センサの選択がラジオ ボタンの選択と一致していることを確認できますか? センサの近くに磁石を導入すると、ジャイロ安定化設定であっても、いくらかの変化が見られます。ただし、「傾き補正」eCompass 設定を使用する場合よりも影響ははるかに少なくなります。 もう一つ注意すべき点は、これをテーブルまたはデスクトップで実行しているかどうかです。表面の下を見て、引き出しの中に鉄製の材料が入っているか、または表面の構築に鉄製の材料が使われているかどうかを確認しましたか?あるいは、センサから 1 フィートほど以内に PC やスピーカーがありますか?その場合、ボードを動かすと磁気星座が移動する可能性があります。一般的に、このアルゴリズムは磁場の急激な変化の影響を受けにくくなります。非常にゆっくりとした変化と通常の周囲フィールドを区別することはできません。 ワイヤレス システムでは、バッテリー残量が少なくなると同期が失われることがあります。有線 9 軸ボードを使用している場合、このような問題は発生しないはずです。しかし、確認しても損はありません。 ボードをジャイロの最大速度よりも速く動かすと、アルゴリズムが再収束するまでに少し時間がかかることがあります。この最大レートは、FXAS21000 を搭載したボードの場合は +/-1600 dps、FXAS21002 の場合は +/-2000 dps です。現在存在する 9 軸ボードの 99.9% は FXAS21000 を使用しています。 ちなみに、Sensor Fusion Toolbox と通信している場合 (上記の表示が表示できればそうです)、OpenSDA 通信に関しては問題ありません。そのリンクに関する問題は、通常、「すべてか無か」のカテゴリに分類されます。 それが役に立つことを願います。 Mike
查看全文
MMA9555L PEDOMETER.STEPCOALESCE 寄存器未更新 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 你好 我们正在开发一个基于 MMA9555L 计步器的项目。 不更新 STEPCOALESCE 寄存器。 开机后,按照计步器应用配置进行操作: X00 X00 X00 X00 X01 X00 X00 XAF X50 X04 X03 X05 X01 X00 X00 X00 按照我们的要求配置计步器应用程序: X00 X00 X00 X00 X01 X80 X00 XB4 X64 X04 X83 X05 X82 X00 X00 X01 按照计步器应用程序配置的回读(请注意,CONFIG 位已正确 RESET): x00 x00 x00 x00 x01 x00 x00 x00 xb4 x64 x04 x83 x05 x82 x00 x00 x00 x00 除STEPCOALESCE外,所有参数都已正确更新。 我们还尝试了偏移 = 0x10 的单寄存器更新,但没有成功。 问题 1: 为什么开机配置与数据表中定义的默认值(0x01)不一致? 问题 2:为什么更新不起作用? 加速度传感器 Re: MMA9555L PEDOMETER.STEPCOALESCE register not updated <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 你好,Amine, ,我使用的是 FW 1.34 版,不知道这是否可以解释差异。 是的,我可以成功地将 STEPCOALESCE 更改为任何值。 好的,我在你的通信日志中看到只返回了 0x10 字节,而不是请求的 0x11 字节。这将解释为什么你无法访问/更新 ST EP COALESCE 注册表。 请直接与我联系 ([email protected])讨论如何为您的部件配备最新的 FW。 再见,雅克 Re: MMA9555L PEDOMETER.STEPCOALESCE register not updated <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 你好,雅克、   1/ 关于硬件,它是 从 DIGIKEY 购买的 263 9555 BWL 模块,安装在我们专有的硬件原型上。 |MMA9555L| chip_info = {.device_id= x12a274d8, .rom_ver= x0101,.fw_ver= x0202,.hw_ver= x0106, .build_ver= x0341} |MMA9555L| pedometer.status = {.ver= x01} 我们注意到,我们使用的是计步器应用程序的R1.33版本,而不是最新的R1.34(这两个版本之间可能有修复吗,我们找不到与这些版本相关的发行说明)。   2/ 关于您的测试;我们无法确认 STEPCOALESCE 已正确更新,更新前 STEPCOALESCE 已 = 0x01)请尝试将其更改为 0x02 或 0x03 以确认。     我们还注意到您和我们的序列之间的另一个区别与响应的实际字节数有关;它与请求的字节数不匹配(缺少一个字节,它对应于 STEPCOALESCE reg)。我们该如何解释呢?   |MMA9555L| mma9555l_get_pedometer_configuration>> |命令头 = x15 x10 x00 x11 |MMA9555L| 响应头 = x15 x80x10 x11 |MMA9555L| raw_data = x00 x00 x00 x00 x00 x01 x00 x00 xaf x50 x04 x03 x05 x01 x00 x00x00 |MMA9555L| mma9555l_get_pedometer_configuration<< Br、 阿明 Re: MMA9555L PEDOMETER.STEPCOALESCE register not updated <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 你好,阿明, 你使用的是哪种硬件? 我使用 KITMMA9555LEVM 进行了一些调查,但无法重现您的问题。 请参阅下面的从属端口交易日志: IIC 命令交易:起始 MB = 00,要读取的字节数 = 21 写入:15 10 00 11//查询计步器设置 读取:15 80 11 11 00 00 00 00 00 00 00 00 01 00 00 AF 50 04 03 05 82 00 00 0 1 IIC 写入事务 ::开始 MB = 00 写 : 15 20 00 11 00 00 00 01 80 00 B4 64 04 83 05 82 00 00 01 // 写入自定义计步器设置 IIC 命令交易:: 起始 MB = 00,要读取的字节数 = 21 写入:15 10 00 11//查询计步器设置 读取:15 80 11 11 00 00 00 00 00 00 00 01 00 00 00 B4 64 83 05 82 00 00 0 1 STEPCOALESCE 寄存器默认内容为 0x01,符合预期。 请注意,rev2.2 版数据表中出现了一个错字: STEPCOALESCE 寄存器偏移地址错误地声明为 0xF。后来在数据手册 rev2.3 中进行了更正(改为 0x10)。 再见,雅克
查看全文
FXOS8700CQ - Time-aligned accelerometer/magnetometer measurements Hi all, I am using the FXOS8700CQ six axis sensor, and can read the (x,y,z) accelerometer measurements and (x,y,z) magnetometer measurements without issue from their dedicated registers. The data sheet also references complementary/companion registers that hold accelerometer readings that are time-aligned with the magnetometer values. However, if I query these registers (at 0x39 et seq), the values are always zero. Any pointers on procedures or special setup steps that need to be taken to get meaningful values from these registers? Thanks Accelerometers Magnetic Sensors Re: FXOS8700CQ - Time-aligned accelerometer/magnetometer measurements Hi Tomas, Thanks for the confirmation; the behavior you describe makes sense. Jeffrey Re: FXOS8700CQ - Time-aligned accelerometer/magnetometer measurements Hi Jeffrey, After taking a closer look at this behavior and trying several ODR and OSR options, I realized that specific OSR settings  is important to get meaningful values from the CMP_X/Y/Z registers which actually makes sense as these registers contain time-aligned accelerometer data. I was able to get nonzero values if the accelerometer OSR (set using mods [1:0] bits) is equal or higher than the magnetometer OSR (set using m_os [2:0] bits). The OSRs can be found in Table 37 for the accelerometer and in Table 201 for the magnetometer. As for the (5) superscript at the CMP_X/Y/Z registers in Table 15, it is indeed incorrect and will be corrected in the next data sheet revision. Thanks for pointing it out. I hope it helps. Regards, Tomas Re: FXOS8700CQ - Time-aligned accelerometer/magnetometer measurements Hi Tomas, Thank you for the comprehensive reply. The detailed remarks and the code sample were especially useful. My code was using the hybrid mode, but zero-valued data for the time-aligned accelerometer values were always returned with a burst read. Looking through the device configuration steps in your initialization functions for the six-axis sensor, I note the following register-write statement, which I did not have in my setup.  Empirically, this seems to affect whether I get zero or nonzero valued data for the time-aligned accelerometer measurements. I2C_WriteRegister(FXOS8700CQ_I2C_ADDRESS, CTRL_REG2, 0x02); // High Resolution mode Is it a proper conclusion that having the accelerometer OSR mode in normal is not compatible with the specification of 8x oversampling for the magnetometer, and thus I get zero valued data for the time-aligned accelerometer measurements? As an aside, Table 15 of the data sheet (FXOS8700CQ.pdf) has a (5) superscript for the CMP_X_MSB ... CMP_Z_LSB registers. This indicates that "Modification of the register's contents can only occur when device is in Standby mode ...".  Is this really the case for these registers? Many thanks, Jeffrey Re: FXOS8700CQ - Time-aligned accelerometer/magnetometer measurements Hi Jeffrey, In order to read the accelerometer measurements from the CMP_X/Y/Z registers (0x39 – 0x3E), the FXOS8700CQ needs to operate in hybrid mode (m_hms [1:0] = 0b11), so make sure you set these two bits during initialization of the device. Attached you can find my example code where I am using burst mode to read 12 bytes of both accelerometer and magnetometer measurements. Both burst readings from registers 0x33 – 0x3E or 0x01 – 0x38 (when hyb_autoinc_mode = 1) work fine. Let me know whether or not this helps, or if you have any other questions. Regards, Tomas PS: If my answer helps to solve your question, please mark it as "Correct" or “Helpful”. Thank you.
查看全文
Docker-Swarm を使用して Docker-Compose を複製しますか? Docker 認定資格の一部として、相互に通信する 4 つのサービスを実行する 1 つの docker-compose ファイルを含むプロジェクトを作成する必要があります。これら 4 つのサービスは、1 つのタンク コントローラと 3 つのタンク センサのように機能します。Docker Swarm を使用して、4 つのサービスすべてで docker-compose 全体を複製したいと考えています。私がやろうとしていることのイメージは、 最終目標を示すイメージ です docker swarm をセットアップするときに、多くの混乱が生じています。次のコマンドを実行しました: docker swarm init docker stack deploy --compose-file=docker-compose.yml tank しかし、この設定では一度に 1 つのサービスしかスケーリングできません。例えば: docker service scale tank_lowlevelalarm=4 これは私がやりたいことではありません。4 つのサービスをすべて同時に複製することで、docker-compose 全体をスケーリングできるようにしたいと考えています。私の目標は、オーバーレイ ネットワーク上で複数のタンクがあるように見え、各タンクに 1 つのコントローラと 3 つのセンサがあることです。これを私に行うことは可能でしょうか? 参考までに私の docker-compose ファイル: version: '3.0' services: tli: image: tli networks: - my-overlay lowlvlalarm: image: lowlvlalarm build: . networks: - my-overlay highlvlalarm: image: highlvlalarm build: ./HighLvlAlarm networks: - my-overlay plc: image: plc depends_on: - tli - lowlvlalarm - highlvlalarm networks: - my-overlay networks: my-overlay:  
查看全文
MMA8451の最小および最大のODR精度はどれくらいですか? <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 標準的な ODR 精度は、データシートの表 2 に +- 2% と記載されています。これは25℃のときです。 データシートには最小値や最大値は記載されていません。 どの程度の温度耐性が期待できますか? ジョンより Re: What is the min and max ODR accuracy on the MMA8451 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 迅速なご対応ありがとうございます。私の質問に答えます。 ジョンより Re: What is the min and max ODR accuracy on the MMA8451 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> ジョン様 これは実際には典型的な値ではなく、次のように表示されます: MIN = -2%、MAX = +2% 総精度変動は+/-2%を超えて変化してはならない。 すてきな一日を、 ホセ ----------------------------------------------------------------------------------------------------------------------- 注: この投稿で質問が解決した場合は、「正解」ボタンをクリックしてください。ありがとう! -----------------------------------------------------------------------------------------------------------------------
查看全文
IMU 传感器(加速度计) 你好 我有几个关于加速度传感器的基本问题。 1. 来自 imu 传感器的加速度计数据是二进制数据,因此我应该以有符号整数还是无符号整数接收这些数据? 2. 我想知道从加速度传感器电阻器获得的原始数据是 mg/LSB 还是 g?如果是 mg/LSB,我如何将其转换为 g(参考 ±2g)? 3. 将 g 转换成(-180° 到 0 到 180°)的公式? 请参阅下面我所附的机械特性文件。 注意:考虑 XYZ 轴的所有情况,并为 1 轴设置 2 个寄存器的预置位(例如 Xaxis_H_A ,Xaxis_L_A) 加速度传感器 Re: IMU seneor (accelerometer) 你好,希仁、 请参阅我们的传感器算法和元器件库,了解如何将原始加速度计数据转换为以 g 为单位的实际值和以度为单位的倾角。 BR, Tomas Re: IMU seneor (accelerometer) 是的,我知道,但一般情况下,我问这个问题时,已经忘记了 asm330lhh 传感器,只是觉得我正在使用 imu 传感器,我想了解上述问题,最后,我接触到了 nxp 微控制器,这就是我在这里提问的原因。 Re: IMU seneor (accelerometer) 你好,希仁、 从截图来看,您使用的似乎是意法半导体的 ASM330LHH。因此,我建议在 ST 社区上发布这些问题。 BR, Tomas
查看全文
MPX5700 系列之间的区别 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> MPX5700GS 与 MPX5700GP 和 MPX5700GP1 有什么区别?既然 MPX5700GS 已经停产,那么 MPX5700GP 或 MPX5700GP1 是否可以直接替代 MPX5700GS? 压力传感器 Re: Differences between MPX5700 series <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 嗨,尤娜、 唯一的区别是封装(侧面和轴向端口): 如果使用侧端口封装(案例 867B-04)对您的应用程序来说不是问题,则 MPX5700GP 和 MPX5700GP1 都可以取代 MPX5700GS。 顺祝商祺! 托马斯
查看全文
IMU seneor (accelerometer) hello, i have few basic Question regarding accelerometer sensor. 1. accelerometer data coming from imu sensor that is 2's compliment data, so should i receive this data in signed integer or unsigned integer?  2. i want to know whatever raw data is coming from this sensor resgistors of accelerometer that is mg/LSB or only g ? if it is mg/LSB then how i can covert into g (refer ±2g)? 3. formula of convert g into (-180° to 0 to 180°) ? please refer below i attached Mechanical characteristics document. NOTE: consider everything for XYZ axis, and for 1 axis 2 register provoid (e.g Xaxis_H_A ,Xaxis_L_A) Accelerometers Re: IMU seneor (accelerometer) Hello Hiren, Please refer to our Sensor Algorithms and Component Libraries to understand how to convert raw accelerometer data to real values in g’s and inclination in degrees. BR, Tomas Re: IMU seneor (accelerometer) yeah i know but generally i'm asking this Questions,forget for some time about asm330lhh sensor just think i am working with imu sensor and i want to know about above asked Questions finally i'm intract with nxp microcontroller that's why i'm asking here. Re: IMU seneor (accelerometer) Hello Hiren, Looking at the screenshots, it appears you are using the ASM330LHH from STMicroelectronics. Therefore I would recommend posting these questions on the ST Community. BR, Tomas
查看全文
6DOF GY KALMAN 偏航漂移 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 首先,我要感谢你们开源了如此完整和优化的传感器融合库。   设置: 我正在微控制器(没有 RTOS)上运行您的传感器融合库,利用来自不同供应商的加速度计和陀螺仪。我特别使用了 fRun_3DOF_G_BASIC 和 fRun_6DOF_GY_KALMAN 函数。我创建了一个程序,该程序可在 PC 上运行,并显示一个 3D 立方体,该立方体根据 MCU 计算出的四元数方向改变方向,并通过 Wifi 发送到 PC。   问题 在使用 fRun_3DOF_G_BASIC 函数时,立方体表现正常,但在使用 fRun_6DOF_GY_KALMAN 的后向四元数"fqPl" 时,立方体在下颚(Z 轴)上的表现却很奇怪。最初,如果我们把传感器静止地放在桌子上,它不会发生漂移(立方体不会在 Z 轴上旋转),但当我们移动或摇晃它时,即使我们把传感器再次放在桌子上,它也会开始在 Z 轴上快速旋转。然后,如果我们倾斜传感器,旋转速度就会降低。   调试代码时,我发现协方差矩阵 P+"fPPlus9x9[9][9]" 的元素 [2][2] 增加得非常快,而当我倾斜传感器时,它就会减小。   问题 我不是这方面的专家,但我猜这种在 Z 轴上的持续旋转是由于陀螺仪的偏差和漂移(在卡尔曼之前没有校准)造成的,因为当传感器与工作台平行时,加速度计无法提供补偿 Z 轴(偏航)的信息。这是 6 轴陀螺仪/Acc Fusion 配置的限制吗?   此外,我还想知道代码中包含的卡尔曼常数(卡尔曼滤波器噪声方差、Qw 协方差矩阵初始化、线性加速时间常数)是否对这一问题有影响,因为尽管我使用了其他传感器,却没有更改这些常数,因为我在数据表上找不到类似的值。   非常感谢! 真诚的 传感器融合 Re: 6DOF GY KALMAN Yaw drift <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 卡洛斯 您提到您没有使用飞思卡尔硬件。 您能否与运行在 Windows 系统上的传感器融合工具箱通信? 它专门用于帮助识别这类问题。 您可以实时查看传感器和过滤器的输出,这有助于追踪问题。 没有它,你可能会盲目飞行。 你不应该像现在这样重新初始化卡尔曼滤波器。 我建议投资购买 FRDM-KL26Z 加上新的 FRDM-STBC-AGM01 9 轴传感器板,这样你就可以运行其中一个固定项目,看看它应该如何运作。 此致, Mike Re: 6DOF GY KALMAN Yaw drift <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 非常感谢你的及时回复,这对我非常有用。我的应用程序存在的问题是卡尔曼滤波器持续预测偏航的旋转幅度很大,导致三维立方体以每秒多次旋转的速度持续旋转,因此我通过每 50 次迭代重新初始化卡尔曼滤波器使其停止来解决这个问题、但在达到第 50 次迭代之前,IMU 静止时仍会有少量旋转,更重要的是,旋转 IMU 很难使立方体沿 Z 轴的一个方向旋转(较小的旋转),而沿 Z 轴的另一个方向(即漂移方向)旋转(正常旋转)则更容易。我想知道这种巨大的漂移是否是双重整合的产物?我想总会有一些漂移,但不会太大,因为我已经看到利用 madgwick 滤波器可以很好地解决这个问题,否则 6DOF Acc/Gyro 卡尔曼滤波器的偏航信息即使在简单的应用中也将毫无用处。但我找不到我做错了什么。我已经下载了新版本的融合库,我看到它有更多的文档,这对我非常有用,谢谢!=) Re: 6DOF GY KALMAN Yaw drift <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 卡洛斯 你说得对。 如果您使用的是 6 轴加速度+磁场滤波器,而 X、Y 或 Z 传感器轴中的任何一个轴都与重力对齐,那么滤波器中就没有新的信息来帮助修正陀螺仪的偏移估计值。 当你倾斜设备时,你在该轴的计算中引入了新的信息,然后它开始校正。这正是我们在九轴融合中加入磁力计的原因。 您可以通过调整各种常量来提高性能,但我们发现这些代码可以很好地按原样移植到其他传感器上。 如果您还没有使用,可以试试我上周末在本空间发布的 5.00 版新程序库。 它是专门为改善偏航漂移而重新设计的。 此致, Mike
查看全文
Is there a STEP model file available for the MPXM2202A, CASE 1320-02? Looking for a STEP file for the MPXM2202A, case CASE 1320-02.  Pressure Sensors Re: Is there a STEP model file available for the MPXM2202A, CASE 1320-02? Hi Randy, Please see the attached STEP file for the MPAK. Please note that the drawing is based on the case outline instead of the tooling drawing, so the accuracy may not be totally perfect.  Sorry it has taken so long. Regards, Tomas Re: Is there a STEP model file available for the MPXM2202A, CASE 1320-02? Hi Randy, I have asked our device group for such a model and will update this thread as soon as I get any feedback. It should be later today or tomorrow. Regards, Tomas
查看全文
S32K144 上未触发 ADC0 中断 你好, ,我正在使用 S32K144,在连续转换模式下使用 ADC0,并启用了中断。系统初始化正确,但是ADC中断似乎没有触发,而且我在主回路中没有收到任何数据。我想了解有关连续模式的正确ADC中断配置、任何与ISR相关的注意事项以及确保正确触发中断的最佳实践的指导。 Re: ADC0 Interrupt Not Triggering on S32K144 你好 您使用的是 S32K1SDK还是RTD?SDK 和 RTD 配置中断的 API 不同。 您真的需要 ADC 连续转换吗?开始连续转换,直至中止。 您是否检查过 Rn 数据寄存器是否在不断更新? 如果不是,请看 " 图 11。带有 PDB 触发信号的 ADC 示例工作流程 " 或 " 图 12。AN12217 中带有 PDB 触发信号的背靠背模式 ":S32K1xx 和 S32M24x ADC 指南、规格和配置,它们更接近您的应用要求。 此致敬礼, Robin
查看全文
MPL3115 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> MPL3115 の場合、測定精度を 1.5 Pa に向上させるには、どのように設定すればよいですか? 現在の設定は、アドレス フィールドの後にデータ フィールドが続く初期化に設定されています。 I2C_WriteReg(0x26,0x01); I2C_WriteReg(0x13,0x07); I2C_WriteReg(0x26,0x39); 次に、I2C_WriteReg(0x26,0x3B) を書き込みます。 8ms待ってから、アドレス0x01、0x02、0x03からデータを読み取ります。通常、20ビットのデータでは最後の6ビットが変動します。精度が1.5Paであれば、最後の4ビットの変動は最大で抑えられます。 圧力センサー Re: MPL3115 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 周様 OSR を 128 倍に設定すると、MPL3115 の圧力読み取りノイズは 1.5 Pa になることに注意してください。 しかし、MPL3115の絶対精度は+/-0.4kPaであり、相対精度は最大+/-0.1kPaです。 このセンサのデータシートを確認してください。 ありがとうございます 郭ジョージ
查看全文
FXOS8700 transient interrupt goes crazy when motion interrupt is enabled! Hello all! We are developing a new product with FXOS8700 inside. Into the firmware, we enable both motion and transient interrupt. In this case, the transient interrupt (with a threshold of 1g on all axes) goes crazy and it is enabled continuously. When the motion is not enabled, the transient works correctly. We have the same issue on all our boards (the first batch of 8 pieces). What's happen? this behaviour is normal or we are doing something wrong? Regards Marco Accelerometers Re: FXOS8700 transient interrupt goes crazy when motion interrupt is enabled!  Hi Marco, Yes, it is the same issue since the FXOS8700 have embedded the same structure than the MMA8451. So, unfortunately it is not possible to o use the motion and the transient detection functions together. Sorry about that. Re: FXOS8700 transient interrupt goes crazy when motion interrupt is enabled! Hi Jose, I just check this possibility and the result is the same. The transient acceleration is fired (with high pass filter active) when between two sample the threshold is over. During my research, I find this: MMA8451 motion and transient detection. Can you check whether the issue is the same for FXOS8700? Regards Marco Re: FXOS8700 transient interrupt goes crazy when motion interrupt is enabled! Hi Marco, I think that the problem is that you are setting a threshold of 1g on all axes, by definition, 1g equals the force of gravity, so, even if the accelerometer is not in movement, it will continue reaching the threshold of 1g due to the force of the earth gravity is applying to your accelerometer’s body. I recommend you to increase the threshold to around 1.2g and check if this solves the problem. Have a great day, Jose ------------------------------------------------------------------------------- Note: - If this post answers your question, please click the "Mark Correct" button. Thank you! - We are following threads for 7 weeks after the last post, later replies are ignored Please open a new thread and refer to the closed one, if you have a related question at a later point in time. -------------------------------------------------------------------------------
查看全文
テンシオメータで真空を測定したいです。テンシオメータは土壌水分測定に使用されます。機械デザインでは、0 ~ 100 センチバールの範囲の真空ゲージを使用します。適切なデバイスを提案してください。 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> ​ Re: I want to measure vacuum in a Tensiometer. Tensiometers are used in soil moisture measurement. The mechanical design uses a vacuum gage with a range of 0 to 100 centibar. Please suggest an appropriate device. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> ありがとう、トーマス。 サンプルを5つ注文しました。 敬具、 LSKarandikar Re: I want to measure vacuum in a Tensiometer. Tensiometers are used in soil moisture measurement. The mechanical design uses a vacuum gage with a range of 0 to 100 centibar. Please suggest an appropriate device. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> ありがとう、トーマス。 敬具、 LSKarandikar Re: I want to measure vacuum in a Tensiometer. Tensiometers are used in soil moisture measurement. The mechanical design uses a vacuum gage with a range of 0 to 100 centibar. Please suggest an appropriate device. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> こんにちは、ラックスマンさん。 NXP 圧力センサにご興味をお持ちいただきありがとうございます。 負のゲージ圧を測定するために設計された MPXV6115V シリーズをお勧めします。データシートはこちらから入手でき、このWeb サイトから購入したり無料サンプルを注文したりすることもできます。 よろしくお願いいたします。 トーマス PS: この回答が質問の解決に役立った場合は、「正解」としてマークしてください。ありがとう。
查看全文
MMA8453Q Self Test Thanks in advance for your patience, we are relative newbies in using this part.... This device has a self test feature that introduces a noise spike in the data that simulates movement on each of the XYZ axis. My customer would like to use this feature to final test their end product on their manufacturing line without having to build a mechanical tilt+bump test platform.   We enable "Self Test" in the config register, but are having difficulty getting the unit to recognize this function and generate an interrupt to an external MCU. When we mechanically bump the unit, an interrupt is generated as desired, so we believe we have the back end (digital+interrupts) enabled and functioning properly.   I checked the data sheet and found that the generated Self Test noise values in 4g mode are X=11 LSB, Y=16 LSB, and Z = 105 LSB.   I then asked the customer to double check his noise thresholds and sampling delay to see if somehow they were set too high to be triggered by the small self test noise event. His response ...... -------------------------------------------------------- Below is the code I use to try the self test. The delay is approximately 25ms. ST is 0x80.  I am using the default range of 2g. Even when setting the wakeup threshold to the minimum of 1 and it wakes up with a bare touch, the self-test does not wake it up. The wakeup interrupt I have enabled is the "transient" interrupt for all 3 axis' which works very well for real bumps. Is there anything else I need to set up? I know the register read and write routines work since I use them to set things up on startup and also for clearing the interrupt. I have a scope on the interrupt line and a breakpoint on the service routine that clears the interrupt. Everything runs at 3.3V. void accSelfTest(void) {     uint8_t reg;     accelRegRead(CTRL_REG2, ®);     accelRegWrite(CTRL_REG2, reg | ST);     delay(2);     accelRegWrite(CTRL_REG2, reg); } --------------------------------- Any clues on where to focus our debugging efforts and attention are appreciated. -Gordy Accelerometers Re: MMA8453Q Self Test Gordy, Sorry for the late response, I have been out of the office the last couple of days. First, to activate the self test by setting the ST bit in the CTRL_REG2 register (0x2B), the MMA8453Q must first be put into Standby mode by clearing the ACTIVE bit in the CTRL_REG1 register (0x2A). Then you can set the ST bit in the CTRL_REG2 register and put the part back into the Active mode by setting the ACTIVE bit in the CTRL_REG1 register: void accSelfTest(void) {     uint8_t reg;     accelRegRead(CTRL_REG1, ®);     accelRegWrite(CTRL_REG1, reg & 0xFE);        // Standby mode     accelRegRead(CTRL_REG2, ®);     accelRegWrite(CTRL_REG2, reg | ST);     accelRegWrite(CTRL_REG1, reg | 0x01);        // Active mode        delay(2);     accelRegWrite(CTRL_REG2, reg); } Further, the transient detection function uses the high-pass filtered data unless the HPF_BYP bit in the TRANSIENT_CFG register (0x1D) is set. So, I would recommend to set this bit or use the motion detection function. I hope it helps. Regards, Tomas
查看全文
MPX5700 MPX5700 圧力センサは DAQ に適合しますか?
查看全文
FXOS8700CQ上电后,其SCL/SDA引脚的初始电平是高还是低??? After power on the FXOS8700CQ, is the SCL/SDA pin hign or low at the first?? Accelerometers Magnetic Sensors Re: FXOS8700CQ上电后,其SCL/SDA引脚的初始电平是高还是低??? Dear Tomas Vaverka,      Thanks for your answer, my last problem have been insolved but I have another question now.      I have made the bus pulled up with 4.7KΩ resistors, and the  SDA and SCL both are hign when I reset FXOS8700CQ, so do INT1 and INT2, and I made the SDA0、SDA1 connected to GND. The question is the master can give the ST singal、 slave address and write bit correctly , but the slave(FXOS8700CQ) just cann't send the ACK to the master , so the register value cann't be read or write .      First I guess that if the FXOS8700CQ doesn't work , but the INT1 and INT2 bins are both hign , while after I power it off they are both low ; Then the no.2 bin and no.8 bin are in a high impedance state , I don't know if it's true state or false state.      By the way , the VDD and VDDIO connected together to 3.3V Re: FXOS8700CQ上电后,其SCL/SDA引脚的初始电平是高还是低??? Hi, Once set for I 2 C operation (SA0 pin connected to GND or VDDIO), both the SDA nad SCL pins will be in a high impedance state, so with pull-up resistors on the bus, the SDA and SCL lines are both high. Regards, Tomas PS: If my answer helps to solve your question, please mark it as "Correct". Thank you.
查看全文
Are there demo/eval boards available for MP3H6115AC6T1 or MPXAZ6115AC6T1? Are there demo/eval boards available for MP3H6115AC6T1 or MPXAZ6115AC6T1? Pressure Sensors Sensing Platforms Re: Are there demo/eval boards available for MP3H6115AC6T1 or MPXAZ6115AC6T1? Hi, Unfortunately, there is no evaluation board for these pressure sensors, but these are really easy to use as you can see in Figure 4 of both devices datasheets, you only need a 5V (for the MPXAZ6115AC6T1) or 3V (for the MP3H6115AC6T1) power supply connected to pin 2 (with a 100nF decoupling capacitor), connect pin 3 to GND, and connect a 47pF capacitor and a 51k resistor on the output pin (Pin 4). The output is given right away without the need of any kind of programming or initialization. There are some recommendation about how to use this kind of sensors using different mcus, for example, you can find an example using an Arduino uno board with a MPXV7025DP in the following link: http://fabacademy.org/2019/labs/bahrain/students/zahra-almukhariq/assignments/week11/#sensor-connection-with-my-own-ardunio-board Jose NXP Semiconductors
查看全文
MMA8653FC as pedometer counter Hi,all      I'm using MMA8653FC. and I don't know how to implement a pedometer aglorithm. I't there demo source code? Regards, Roy Accelerometers Re: MMA8653FC as pedometer counter Hi, Tomas:     It's helpful. Thank you! Regards, Roy Re: MMA8653FC as pedometer counter Roy, The low-pass filter on the MMA8653FC is a simple 1st order decimation filter, i.e. a moving average filter followed by a down-sampling.  Its cut-off frequency depends on the selected ODR (DR[2:0] bits) and mode ((S)MODS[1:0] bits). If you look at Table 62 in the datasheet, you will find a column "OS Ratio" for all possible ODR/(S)MODS combinations. This table allows you to calculate the ADC frequency, following the formula: ADC freq = OS Ratio * ODR The low-pass filter does a decimation by either 2 or 4, according to the following rule, and the cut-off frequency depends on the decimation rate: OS Ratio = 2:  decimation by 2, cut-off freq = 0.25 * ADC freq OS Ratio >= 4: decimation by 4, cut-off freq = 0.114 * ADC freq Regards, Tomas Re: MMA8653FC as pedometer counter Tomas, 1. Thanks for your advise.According to our project, MMA8653 is more suitable. Since we already have a 8051 compatible soc chip. So we have to implement the pedometer algorithm on it. 2. The MMA8653FC does have a low-pass filter. can the cutoff frequency be change? Regards, Roy Re: MMA8653FC as pedometer counter Roy, Currently, I am not aware of any implementations of pedometer algorithms using the MMA8653FC. There is available the MMA9553L intelligent pedometer platform that allows the user to customize and control the behavior of the pedometer application using a few configuration registers and report back the measured and calculated data using several status registers. For more information on this device, have a look at the MMA9553LSWRM. Regards, Tomas
查看全文
MMA8452Qを使用した自動ウェイク/スリープの設定に関するヘルプ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> こんにちは、 MMA8452Q を自動スリープ/ウェイクに設定しようとしていますが、まったく成功しません。加速度センサは、単純な XYZ データを出力するように設定できたため、正常に動作します。 ウェイク/スリープ機能の設定方法を説明していると思われるドキュメント AN4074 (MMA8451、2、3Q を使用した自動ウェイク/スリープ) をダウンロードしましたが、やはり機能しませんでした。ドキュメントの最後の 8 ページにある疑似コードを実行したところ、例ではデバイスのスリープ タイムアウト期間を 20 秒に設定すると記載されているにもかかわらず、疑似コード内で ASLP_COUNT レジスタ (0x29) 値に関連する変更/更新を特定できなかったことに気付きました。 レジスタ 0x29 の設定方法について誰か教えてもらえませんか?このレジスタのビット D7 ~ D0 をどのように設定すればよいのか、(ドキュメントを読んでも)わかりません。ウェイクスリープ機能を設定するときに、このレジスタに書き込む必要がある値は何ですか? プロトタイプの開発段階では、現在加速度センサをスリープ状態にして、デバイスを振った後に起動させることだけを試みています。そのため、コード/疑似コード/説明は何でも歓迎します。 Google でいくつかのコード サンプルとライブラリを見つけることができましたが、autp-wake-sleep を設定する方法を示す例やコードは 1 つもありませんでした。どのようなご指示でも大歓迎です! 事前に感謝いたします。 フラビオ [email protected] 加速度センサ センシング・プラットフォーム Re: Help setting up Auto-Wake/Sleep Using the MMA8452Q <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> トーマス、 あなたは素晴らしいです!!!! あなたのコードは私に大いに役立ち、私の問題を解決してくれました! 君は最高だよ! ご返信よろしくお願いします。 ご回答よろしくお願いします。 フラビオ Re: Help setting up Auto-Wake/Sleep Using the MMA8452Q <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> こんにちは、フラビオさん。 AN4074の8ページにある擬似コードは確かに不完全です。添付のFRDM-KL25Zボード用に作成したサンプルコードでは、自動ウェイク/スリープ機能の使い方を説明しています。トランジェント関数はMMA8451Qのウェイクアップに使用し、タイムアウト時間は5秒に設定されています。 ```MMA8452Q データシートの 36 ページの表 51 を見ると、時間ステップは選択した ODR によって異なることがわかります。1.56Hz の場合は 640 ミリ秒、その他のすべての ODR 値の場合は 320 ミリ秒です。添付のサンプル コードでは、ODR は 100Hz に設定されており、必要なタイムアウト期間は 5 秒、SO ASLP_COUNT レジスタに書き込む必要がある値は 16 または 0x10 (=5 秒/320 ミリ秒 = 約 16) になります。 お役に立てれば幸いです。他にご質問がございましたら、お知らせください。 追伸:もし私の回答がご質問の解決に役立った場合は、「正解」または「役に立った」と評価していただけると幸いです。ありがとうございます。
查看全文