Multi Source Translation Content

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

Multi Source Translation Content

讨论

排序依据:
Accelerometer as tilt sensor Hello. I was about to develop tilt sensor using Acclerometer.Could someone please explain me how the value of low medium and high value of G affect the tilt sensing. Accelerometers Re: Accelerometer as tilt sensor Pavan, Inclination sensing is a static measurement that uses the gravity vector and its projection on the axes of the accelerometer to determine the tilt angle. Therefore, to achieve the highest resolution of a tilt measurement, low-g/high-sensitivity accelerometers are required. For example, the output of our 14-bit accelerometer operating in the ±2g range will change by 8192 counts as the accelerometer is rotated 180° from pointing downward to upward, giving an average sensitivity of one count per 0.022° change in tilt. I hope this answers your question. Regards, Tomas Re: Accelerometer as tilt sensor Thanks for the response. But than what does 1g, 2g, 200g, +\-2g and other values tell us. Re: Accelerometer as tilt sensor Hi Pavan, Accelerometers are sensitive to the difference between the linear acceleration of the sensor and the local gravitational field. The data sheet for any accelerometer will denote the positive x, y, and z axes on the sensor package and, by convention, these are defined so that a linear acceleration aligned in the direction of these axes will give a positive accelerometer output. A gravitational field component aligned along the same axes directions will, however, result in a negative reading on the accelerometer. Using an accelerometer, you can calculate the angle between the gravitational vector measured by the accelerometer and the initial orientation with the gravitational field pointing downwards along the z-axis. You can find excellent documentation explaining how to measure the tilt angle using accelerometers in the application note AN3461 that you can find in the following link: http://cache.freescale.com/files/sensors/doc/app_note/AN3461.pdf Best regards, Jose
查看全文
FXTH8705026T1 tire pressure monitor sensor Hi, for the FXTH8705026T1 tire pressure monitor sensor, it is possible also to measure pressure lower than 100kPa ? Thanks Pascal Pressure Sensors Re: FXTH8705026T1 tire pressure monitor sensor Hi Tomas, thank you very much for your feedback. If the FXTH8705 is an absolute sensor I can measure tire pressure from 0 to 350KPa ( I subtract the atmospheric pressure from reading ). Best regards, Pascal Re: FXTH8705026T1 tire pressure monitor sensor Hi Pascal, The pressure sensor inside the FXTH8705 is an absolute type pressure sensor. Its output (Pout) is converted and internally processed using both the TPMS_READ_PRESSURE and TPMS_COMP_PRESSURE routines resulting in a fixed pressure range of 100kPa to 450kPa. If Pout < 100kPa, the “underflow” status flag is set and Pcode = 0 (FAULT) as shown in “Pressure Measurement Characteristic” tab of the datasheet.  Best regards, Tomas
查看全文
有关 AN5019 中磁性校准的问题 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 您好, 我正在根据 AN5019 Rev 2.0 第 5 节进行磁场校准。七参数模型 我不太理解第 22 页的内容。 关于 |A|=1...It says 您能给我更多关于这一段的信息吗?如果我们假设衰减为 40% 或 60% 呢?它对计算有什么影响吗? ,在理解这些内容之前,我应该掌握哪些知识? 非常感谢 传感器融合 Re: Question about Magnetic Calibration in AN5019 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 您好, 不,即使你假设衰减为40%或60%,也不可能做出|A|=10,你发送的段落中提到了原因,即实际上不可能将地磁场场强度与软铁分开,这就是为什么在恩智浦软件中,我们总是设置筛铁矩阵的行列式 |A|=1。 您可 从以下网址下载 硬铁和软铁校准 的完整源代码和许可证 : https://www.nxp.com/support/developer-resources/evaluation-and-development-boards/freedom-development-boards/sensors/nxp-e-compass-software:E-Compass?lang=en& lang_cd=en & 我们通过从MCUXpresso下载用于 FRDM_K64F 和 FRDM_K22F 的 KDSK,在传感器融合库的 7.2 版上提供带完整源代码的全优化 MCU 软件,包括用于硬铁和软铁的 10 元磁校准模型。 *请在构建 KSDK 时选中 ISSDK 复选框。 下载后,您可以在项目中的 magnetic.c 文件中找到 10 个元素的具体代码。
查看全文
血压计-mpx5050 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 我们希望了解以下情况。 1. 如何将阀门连接至 mpx5050 2。该设备的阀门规格是什么 3. 连接到 MPX5050 的袖带规格 4. 如何将空气泵入袖带。 Re: BLOOD PRESSURE MONITOR -mpx5050 你好,戴维、 请分享您的电子邮件地址,以便就 BP 计进行更多讨论。 我们有兴趣生产同样的产品。 谢谢并致以诚挚的问候 卡拉姆-钱德 电子邮件:[email protected] Re: BLOOD PRESSURE MONITOR -mpx5050 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 你好 要获得有关软管应用的更多信息,您可以参考以下应用笔记: AN1513 - 安装技术和管道选项​ 我建议您使用内径较小的软管,比传感器外径小 0.5 毫米即可。 如果按照前面提到的建议,只需将管子推到端口即可。 此外,我想推荐应用笔记 AN1571-数字血压计。 本应用笔记描述了数字血压计的概念,该概念使用集成的压力传感器、模拟信号调节电路、微控制器硬件/软件和液晶显示器。 希望这些信息对你有用。 如果我误解了你的问题,请随时告诉我。 我很乐意提供帮助。 祝您有美好的一天。 戴维-迪亚兹 注:如果本帖回答了您的问题,请点击 "正确答案 "按钮。谢谢!
查看全文
MPX5010DP Sensitivity to sensor orientation I am currently using a MPX5010DP for a pitot tube project with an Arduino microprocessor and I am finding that the sensor output is sensitive to the sensor orientation.  Sometimes a vertical orientation of the sensor gives stable values, other times a horizontal orientation gives more stable values - it is not consistent. Does anybody have any further information on sensor orientation. Thanks.  #MPX5010DP #sensor-orientation Re: MPX5010DP Sensitivity to sensor orientation Hi md63 These devices are very sensitive to any change. To ensure optimal performance, we recommend implementing auto-zero according to the application note, This process ensures a “start from Zero” and the measures will be more stable, as linked below: Implementing Auto-Zero for Integrated Pressure Sensors I hope this information has helped you, please let me know if you need help with anything else. Have a great day and best of luck.
查看全文
MMA8451Q加速度センサを使って速度を計算できますか? <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> こんにちは、皆さん。 私は MMA8451Q 加速度センサを使用しており、これを移動物体に配置すると、X、Y、Z の値が得られます。これらの x、y、z 値から、移動する物体の速度と加速度を判断できるかどうか。 Re: Can we Calculate Speed using MMA8451Q Accelerometer <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 残念ながら答えは明確に「いいえ」です。加速度センサは、ある程度の測定誤差を伴い、加速度と重力を測定します。加速度を積分して速度を取得し、さらにもう一度積分して変位を取得すると、測定誤差も無制限に積分されることになります。最大で数秒以内に、速度と変位は非常に不正確になり、これらの誤差は時間の経過とともに無制限に直線的および二次的に増加します。 Re: Can we Calculate Speed using MMA8451Q Accelerometer <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 皆さんこんにちは。 物体の加速度がわかっている場合は、積分を適用することで速度データの比例近似値を得ることができます。 残念ながら、当社の新しい加速度センサを使用してこれを行う方法についての情報が記載された更新されたドキュメントはありませんが、加速度センサ MMA7260 (現在は製造されていません) を使用して速度 (およびポジショニング) を計算する方法について説明したアプリケーションノートはありますので、参考として使用できます。 加速度計を用いたポジショニングアルゴリズムの実装 - AN3397 役に立つと思われる場合は、MMA8451 のサンプル コードを次の場所から参照してください。 MMA8451Q - ベアメタルのサンプル・プロジェクト この情報が皆様のお役に立てれば幸いです。 素晴らしい一日をお過ごしください。 デビッド・ディアス。 Re: Can we Calculate Speed using MMA8451Q Accelerometer <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> これについて誰か応答できますか? 加速度センサ「MMA8451Q」を使って速度を計算してみた人はいますか?
查看全文
俯仰角度应为 -180 到 +180 度,而不是 -90 到 +90 度 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 您好, 我正在使用恩智浦传感器融合库。在我的应用程序中,方向将在前端显示单元中以欧拉角度以偏航、俯仰和滚动显示。 恩智浦融合源代码输出偏航为 0 至 360 度,俯仰为 -90 至 +90 度,滚动 -180 度至 +180 度。 但是根据我的应用程序,俯仰角度应该是-180到+180度,而不是-90到+90度。 这意味着当我将俯仰轴从 0 旋转到 360 度时,我的显示屏应该会显示 0 ---> 45 ---> 90 (89+) ---> 135 ---> +180/-180 --> - 135 ---> -90 (89) ---> -45 ---> 0. 而不是 0 ---> 45 ---> 90(89+) ----> 45 ---> 0 ---> -45 ---> -90(89) ---> -45 ---> 0. 在根据旋转矩阵计算引脚间距时,是否有可能应用任何其他数学/逻辑...? 请给我建议。 提前感谢您 传感平台 传感器融合 Re: Pitch angle should be -180 to +180 Degrees instead of -90 to +90 Degrees <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 您好, 我认为我的问题本身是错误的...由于表示超过 +-90(即 +-180)的俯仰将为 3D 帧中的每个方向提供两个欧拉角解决方案...因此,在 NED 参考框架中,音高仅限于 +-90。 应用笔记 AN5017 的第 1.8 节对此进行了明确的解释。感谢恩智浦,如果没有它,我可能会举步维艰。 非常感谢,恩智浦。
查看全文
加速度センサベクトル振幅 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> こんにちは。FXOS8700 で A_VECM 機能を使用しようとすると、奇妙な応答が発生します。 次のコードがあります: MMA865x_スタンバイ(); IIC_RegWrite(CTRL_REG4,0x02); //データレディ割り込みを無効にし、A_VECM割り込みを有効にする IIC_RegWrite(A_VECM_THS_MSB,0x80); //MSB THSを更新し、条件が満たされない場合はリセットする print_string("A_VECM_THS_MSB= ",16); print_hex(IIC_RegRead(A_VECM_THS_MSB)); WaitPrintBuffer(); IIC_RegWrite(A_VECM_THS_LSB,Acc_THS); // LSB THSを更新 print_string("A_VECM_THS_LSB= ",16); print_hex(IIC_RegRead(A_VECM_THS_LSB)); WaitPrintBuffer(); IIC_RegWrite(A_VECM_CNT,Acc_COUNT); //カウンターを更新 print_string("A_VECM_CNT= ",13); print_hex(IIC_RegRead(A_VECM_CNT)); printENTER; WaitPrintBuffer(); IIC_RegWrite(A_VECM_CFG,0x78); //0111 1000 ラッチ有効、A_VECM_INIT、イベント発生時に参照を更新しない IIC_RegWrite(M_CTRL_REG1,((IIC_RegRead(M_CTRL_REG1))&(~0x03))); //Accelerometer_Onlyを有効にする Data_Mode= Accelerometer_Only; //EX0割り込みを通知して加速度センサデータを読み取る IIC_RegWrite(M_CTRL_REG2,((IIC_RegRead(M_CTRL_REG2))&(~0x20))); //自動インクリメントモードを無効にする // IntSource=IIC_RegRead(TRANSIENT_SRC); // 割り込みをクリアするために0x1E TRANSIENT_SRCレジスタを読み出す MMA865x_Active(); //センサをアクティブにする このコードを使用すると、プログラムは正常に動作し、デバイスを移動するたびに A_VECM がアサートされます。 この段階で、print_string() 行を削除することにしました。 それを実行した後、A_VECM は一度アサートされ、それ以降はアサートされなくなります。 print_string() 行を単純な遅延に置き換えてみました: for(i=0; i<60000; i++); この行では、A_VECM が問題なく再びアサートされます。 CNTR_REG4 を読み取ることができ、0x02 に設定されています。ただし、A_VECM はアサートされません。 その理由は何でしょうか? よろしくお願いします。 加速度センサ 磁気センサ Re: accelerometer vector magnitude <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> こんにちは、トーマス 正しいリンクをありがとうございます。 問題はまだ存在します。 私のプロジェクトの詳細(コード)は以下をご覧ください センサー初期化: MMA865x_スタンバイ(); IIC_RegWrite(CTRL_REG4,0x02); IIC_RegWrite(A_VECM_THS_MSB、0x80); IIC_RegWrite(A_VECM_THS_LSB、Acc_THS); IIC_RegWrite(A_VECM_CNT、Acc_COUNT); IIC_RegWrite(A_VECM_INITX_MSB、0x00); IIC_RegWrite(A_VECM_INITX_LSB、0x00); IIC_RegWrite(A_VECM_INITY_MSB、0x00); IIC_RegWrite(A_VECM_INITY_LSB、0x00); IIC_RegWrite(A_VECM_INITZ_MSB、0x00); IIC_RegWrite(A_VECM_INITZ_LSB、0x00); IIC_RegWrite(A_VECM_CFG,0x78); IIC_RegWrite(M_CTRL_REG1,((IIC_RegRead(M_CTRL_REG1))&(~0x03))); IIC_RegWrite(M_CTRL_REG2,((IIC_RegRead(M_CTRL_REG2))&(~0x20))); MMA865x_アクティブ(); IntSource=IIC_RegRead(INT_SOURCE); 今、 A_VECMイベントをポーリングしています General_IntSource = IIC_RegRead(INT_SOURCE); General_IntSource&0x02の場合、readdata(); そして最後に関数readdata() void readdata (void) // { IntSource=IIC_RegRead(INT_SOURCE); MMA865x_スタンバイ(); IIC_RegWrite(M_CTRL_REG1,((IIC_RegRead(M_CTRL_REG1))|0x03)); //ハイブリッドモード IIC_RegWrite(M_CTRL_REG2,((IIC_RegRead(M_CTRL_REG2))|0x20)); //磁気自動インクリメントを有効にする IIC_RegWrite(CTRL_REG4,0x01); //データ準備割り込みを有効にし、A_VECM割り込みを無効にする MMA865x_アクティブ(); //センサをアクティブにする ここで、データ準備割り込みを使用して加速度センサと磁気データを数回読み取り、新しいデータを取得します。 データの読み取りが完了したら、 A_VECM割り込みを再度受け入れるようにパラメータを設定します。 MMA865x_スタンバイ(); IIC_RegWrite(CTRL_REG4,0x02); //データレディ割り込みを無効にし、A_VECM割り込みを有効にする for (i=0; i<60000; i++); - この行を削除すると、システムを再起動しない限り、A_VECM割り込みはアサートされなくなります。 IIC_RegWrite(M_CTRL_REG1,((IIC_RegRead(M_CTRL_REG1))&(~0x03))); //加速度計のみを有効にする IIC_RegWrite(M_CTRL_REG2,((IIC_RegRead(M_CTRL_REG2))&(~0x20))); //自動インクリメントモードを無効にする MMA865x_アクティブ(); //センサをアクティブにする IntSource=IIC_RegRead(INT_SOURCE); //割り込みをクリアするために0x0C INT_SOURCEレジスタを読み出す } 最初の割り込みは常にアサートされ、システムは期待どおりに動作します。すべてのデータの読み取り値を取得します。 遅延線を配置してもシステムは正常に動作します。問題は、それがなぜ必要なのかということです。 デバッグのために数行印刷していたので、遅延が必要だというアイデアを得ました。これらの行を削除すると、最初の A_VECM の後の割り込みが発生しなくなりました。 調査の結果、連続した割り込みを取得するには、CTRL_ REG4 の設定後に遅延が必要であることがわかりました。 デバッグ モードでGeneral_IntSource変数の値が 0x00 になっているのを確認できるため、割り込みがアサートされていないことは確かです。 このCASEについて調査してご意見を頂ければ幸いです。 よろしくお願いします。 メイア MMA865x_スタンバイ(); IIC_RegWrite(CTRL_REG4,0x02); IIC_RegWrite(A_VECM_THS_MSB、0x80); IIC_RegWrite(A_VECM_THS_LSB、Acc_THS); IIC_RegWrite(A_VECM_CNT、Acc_COUNT); IIC_RegWrite(A_VECM_INITX_MSB, 0x00); IIC_RegWrite(A_VECM_INITX_LSB, 0x00); IIC_RegWrite(A_VECM_INITY_MSB, 0x00); IIC_RegWrite(A_VECM_INITY_LSB, 0x00); IIC_RegWrite(A_VECM_INITZ_MSB, 0x00); IIC_RegWrite(A_VECM_INITZ_LSB, 0x00); IIC_RegWrite(A_VECM_CFG,0x78); IIC_RegWrite(M_CTRL_REG1,((IIC_RegRead(M_CTRL_REG1))&(~0x03))); IIC_RegWrite(M_CTRL_REG2,((IIC_RegRead(M_CTRL_REG2))&(~0x20))); MMA865x_アクティブ(); IntSource=IIC_RegRead(INT_SOURCE); Re: accelerometer vector magnitude <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> こんにちは、メイアさん。 申し訳ございませんが、正しいリンクは次のとおりです: https://community.freescale.com/docs/DOC-106050 私の設定を再現してみて、問題が解決しない場合はお知らせください。 よろしくお願いいたします。 トーマス Re: accelerometer vector magnitude <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> こんにちは、トーマス 迅速なご対応ありがとうございます。 残念ながら、サンプルコードとして送信されたリンクを開くことができません。 実際、私は一時割り込みを扱うプログラムから以前のコード部分をコピーして貼り付けたSO、INT_Source ではなく一時ソースを読み取りました。 質問に添付したコードは、A_VECM 割り込みを処理する最後の部分です。 割り込みがアサートされた直後に、INT_SOURCE レジスタを読み取ります。 最後に、あなたの提案に従って行を変更しました // IntSource=IIC_RegRead(TRANSIENT_SRC); // 割り込みをクリアするために0x1E TRANSIENT_SRCレジスタを読み出す そしてそれを IntSource=IIC_RegRead(INT_SOURCE); //割り込みをクリアするために0x0C INT_SOURCEレジスタを読み出す 問題はまだ存在しています。 私のCASEのポイントは、一拍違うことです。 行の後に遅延がある場合のように見えます: IIC_RegWrite(CTRL_REG4,0x02); //データレディ割り込みを無効にし、A_VECM割り込みを有効にする 中断されることはあります。 遅延は、いくつかのレジスタを設定して印刷することによって行われます(質問で送信したコードを参照してください)。 あるいは単純に for(i=0; i<60000; i++); とすることで遅延を実装することもできます。 このようなCASE、最初の割り込みの後に A_VECM 割り込みが発生しますが、これは常に予想どおりにアサートされます。 遅延が実装されていない場合、最初にアサートされた後の割り込みは発生しません。 よろしくお願いします。 メイア・サドリー Re: accelerometer vector magnitude <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> こんにちは、メイアさん。 私のサンプルコードを見てください。SRC_A_VECM ステータス ビットをクリアし、INTx ピンをデアサートするには、INT_SOURCE レジスタ (0x0C) を読み取る必要があります。 お役に立てれば幸いです。 よろしくお願いいたします。 トーマス 追伸: 私の回答が質問の解決に役立った場合は、「正解」とマークしてください。ありがとう。
查看全文
加速度计矢量幅度 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 你好,我在尝试使用 FXOS8700 的 A_VECM 功能时遇到了一个奇怪的反应。 我有以下一段代码: MMA865x_Standby(); IIC_RegWrite(CTRL_REG4,0x02); //禁用数据就绪中断,启用 A_VECM 中断 iic_regWrite (a_vecm_ths_msb,0x80); //更新 MSB THS,条件失败时RESET print_string("A_VECM_THS_MSB=",16); print_hex(IIC_RegRead(A_VECM_THS_MSB)); WaitPrintBuffer(); IIC_RegWrite(A_VECM_THS_LSB,Acc_THS); //更新 LSB THS print_string("A_VECM_THS_LSB=",16); print_hex(IIC_RegRead(A_VECM_THS_LSB)); WaitPrintBuffer(); IIC_RegWrite(A_VECM_CNT,Acc_COUNT); //更新计数器 print_string("A_VECM_CNT=",13); print_hex(IIC_RegRead(A_VECM_CNT)); printENTER; WaitPrintBuffer(); iic_regWrite (a_vecm_CFG,0x78); //0111 1000 锁定启用,A_VECM_INIT,事件发生时不要更新引用 IIC_RegWrite(M_CTRL_REG1,((IIC_RegRead(M_CTRL_REG1))&(~0x03))); //Enable Accelerometer_Only Data_Mode= Accelerometer_Only; // 通知 EX0 中断以读取加速计数据 IIC_RegWrite(M_CTRL_REG2,((IIC_RegRead(M_CTRL_REG2))&(~0x20)); /禁用自动递增模式 // IntSource=IIC_RegRead(TRANSIENT_SRC); //读取 0x1E TRANSIENT_SRC 寄存器以清除中断 MMA865x_Active(); // 激活传感器 使用这段代码,程序运行良好,每次我移动设备时都会钳位 A_VECM。 在这个阶段,我决定删除 print_string() 行。 在我这样做之后,A_VECM 被钳位过一次,不再钳位了。 我试着用简单的延迟来替换 print_string() 行: for(i=0; i<60000; i++); 使用这条线,再次钳位 A_VECM 没有问题。 我可以读取 CNTR_REG4,它被设置为 0x02。但是没有钳位 A_VECM。 你知道这是什么原因吗? 谢谢! 加速度传感器 磁力传感器 Re: accelerometer vector magnitude <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 你好,托马斯 感谢提供正确的链接。 问题依然存在。 更多项目详情(代码)请见下文 传感器初始化 MMA865x_Standby(); IIC_RegWrite(CTRL_REG4,0x02); IIC_RegWrite(A_VECM_THS_MSB,0x80); IIC_RegWrite(A_VECM_THS_LSB,Acc_THS); IIC_RegWrite(A_VECM_CNT,Acc_COUNT); IIC_RegWrite(A_VECM_INITX_MSB, 0x00); IIC_RegWrite(A_VECM_INITX_LSB, 0x00); IIC_RegWrite(A_VECM_INITY_MSB, 0x00); IIC_RegWrite(A_VECM_INITY_LSB, 0x00); IIC_RegWrite(A_VECM_INITZ_MSB, 0x00); IIC_RegWrite(A_VECM_INITZ_LSB, 0x00); IIC_RegWrite(A_VECM_CFG,0x78); IIC_RegWrite(M_CTRL_REG1,((IIC_RegRead(M_CTRL_REG1))&(~0x03))); IIC_RegWrite(M_CTRL_REG2,((IIC_RegRead(M_CTRL_REG2))&(~0x20))); MMA865x_Active(); IntSource=IIC_RegRead(INT_SOURCE); 现在我正在轮询 A_VECM 事件 General_IntSource= IIC_RegRead(INT_SOURCE); if (General_IntSource&0x02) readdata(); 最后是函数readdata() 无效 readdata(void) // { IntSource=IIC_RegRead(INT_SOURCE); MMA865x_Standby(); IIC_RegWrite(M_CTRL_REG1,((IIC_RegRead(M_CTRL_REG1))|0x03)); //混合模式 IIC_RegWrite(M_CTRL_REG2,((IIC_RegRead(M_CTRL_REG2))|0x20)); //启用磁性自动增量功能 IIC_RegWrite(CTRL_REG4,0x01); // 启用数据就绪中断并禁用 A_VECM 中断 MMA865x_Active(); // 激活传感器 在这里,我使用数据就绪中断多次读取加速度计和磁场数据,以检索新数据 在最终完成读取数据后,我设置了重新接受A_VECM 中断的参数 MMA865x_Standby(); IIC_RegWrite(CTRL_REG4,0x02); /禁用数据就绪中断,启用 A_VECM 中断 f@@ or (i=0; i < 60000; i++); -如果删除此行,除非我重新启动系统,否则不会再钳位 A_VECM 中断 IIC_RegWrite(M_CTRL_REG1,((IIC_RegRead(M_CTRL_REG1))&(~0x03)); //Enable Accelerometer_Only IIC_RegWrite(M_CTRL_REG2,((IIC_RegRead(M_CTRL_REG2))&(~0x20))); //禁用自动递增模式 MMA865x_Active(); // 激活传感器 IntSource=IIC_RegRead(INT_SOURCE); //读取 0x0C INT_SOURCE 寄存器以清除中断 } 始终钳位第一个中断,系统按预期运行。我获得了所有数据读数。 当放置延迟线时,系统也能正常工作。问题是为什么需要它。 我之所以认为需要延迟,是因为我在调试时打印了几行。当我删除这些行之后,在第一个 A_VECM 之后就不再出现中断了。 经过调查,我意识到在设置 CTRL_ REG4 后需要延迟才能获得连续的中断。 我肯定知道中断没有钳位,因为在调试模式下我能看见 General_intSource 变量的值为 0x00。 如果您能调查这个案件并提出您的见解,我将不胜感激。 谢谢! 梅厄 MMA865x_Standby(); IIC_RegWrite(CTRL_REG4,0x02); IIC_RegWrite(A_VECM_THS_MSB,0x80); IIC_RegWrite(A_VECM_THS_LSB,Acc_THS); IIC_RegWrite(A_VECM_CNT,Acc_COUNT); IIC_RegWrite(A_VECM_INITX_MSB,0x00); IIC_RegWrite(A_VECM_INITX_LSB,0x00); IIC_RegWrite(A_VECM_INITY_MSB,0x00); IIC_RegWrite(A_VECM_INITY_LSB,0x00); IIC_RegWrite(A_VECM_INITZ_MSB, 0x00); IIC_RegWrite(A_VECM_INITZ_LSB, 0x00); IIC_RegWrite(A_VECM_CFG,0x78); IIC_RegWrite(M_CTRL_REG1,((IIC_RegRead(M_CTRL_REG1))&(~0x03))); IIC_RegWrite(M_CTRL_REG2,((IIC_RegRead(M_CTRL_REG2))&(~0x20))); MMA865x_Active(); IntSource=IIC_RegRead(INT_SOURCE); Re: accelerometer vector magnitude <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 嗨,梅厄 对不起,正确的链接是: https://community.freescale.com/docs/DOC-106050 请尝试重现我的设置,如果问题仍然存在,请告诉我。 此致, 托马斯 Re: accelerometer vector magnitude <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 你好,托马斯 感谢您的及时回复。 很遗憾,我无法打开您发送的示例代码链接。 事实上,我是从一个处理瞬时中断的程序中复制粘贴了一段以前的代码,所以我读取的是瞬时源,而不是 INT_Source。 我在问题中附上的代码是处理 A_VECM 中断的最后一部分。 中断钳位后,我立即读取了 INT_SOURCE 寄存器。 最后,我按照你的建议修改了这一行 // IntSource=IIC_RegRead(TRANSIENT_SRC); //读取 0x1E TRANSIENT_SRC 寄存器以清除中断 改为 IntSource=IIC_RegRead(INT_SOURCE); //读取 0x0C INT_SOURCE 寄存器以清除中断 问题依然存在。 我的情况则不同。 看起来,如果我在该行后面有一个延迟: IIC_RegWrite(CTRL_REG4,0x02); //禁用数据就绪中断,启用 A_VECM 中断 我确实被打断了。 延迟是通过设置和打印几个寄存器来实现的(见我在问题中发送的代码)、 或甚至通过简单的 for(i=0; i<60000; i++); 来实现延迟。 在这些情况下,我确实会在第一个中断之后 A_VECM 中断,这种中断总是按预期进行钳位。 如果未实现延迟,则在钳位的第 1 次之后我不会被中断。 谢谢! 梅厄-苏德利 Re: accelerometer vector magnitude <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 嗨,梅厄 请看我的示例代码。您需要读取 INT_SOURCE 寄存器 (0x0C) 以清除 SRC_A_VECM 状态位并取消 INTx 引脚的置信。 希望对你有所帮助。 此致, 托马斯 PS:如果我的回答有助于解决您的问题,请标记为"正确" 。谢谢。
查看全文
Pressure Sensor MPXM2051GST1 spec On revision 5 of the MPXM2051G specification, 22 April 2021, on page 5 the Linearity in Table 4 shows a min of -0.3 and a max of +3.0 %Vfss. The maximum of +3.0 % seems high. Is this spec correct? Re: Pressure Sensor MPXM2051GST1 spec Dear Adam, the application engineer confirmed, that the max. linearity value is a typo and it should be 0.3%VFSS, not the not 3%VFSS.  With Best Regards, Jozef Re: Pressure Sensor MPXM2051GST1 spec Dear Adam, thank you for the research you have conducted. Due to the new information you shared I think yes, the max. linearity value is most probably 0.3%VFSS, not 3%VFSS. I have contacted an application engineer for confirming the correct value and asked to fix the mistake in the datasheet rev. 5 if the 0.3% is correct. I will let you know the answer from the application engineer. With Best Regards, Jozef Re: Pressure Sensor MPXM2051GST1 spec Jozef, Thanks for the reply. Sorry to be a bother, but on Rev 4 of the MPXM2051G specification the Linearity is listed as -0.3% to +0.3%, page 4, table 3. This is also the case for revision 1, 2, and 3 of the MPXM2051G spec. Revision 4 of the spec is attached. The revision history on the rev 5 specification also does not mention a change to the Linearity spec.  Thanks for your help with this. Adam M Re: Pressure Sensor MPXM2051GST1 spec Dear Adam, unfortunately yes. The MPXM2051GS has such high linearity error. If you want a similar gauge sensor with much better linearity error, you can use for example MPX2050, which has the linearity error +/-0.25%.  Please check this link for other differential and gauge pressure sensors up to 115kPa.  With Best Regards, Jozef
查看全文
使用 NTM88 进行车轮加固 我在 TPMS 应用程序中使用 NTM88 传感器,我想在其中实现车轮定位功能。我找到了解释其原理算法的 APP 笔记和演示文稿。但找不到任何使用 NTM88 实现车轮定位的示例代码。我在哪里可以找到它。 Re: Wheel Loacalisation using NTM88 亲爱的安吉特 您可以在此链接中找到 NTM88 X、Z 角度定位示例项目。 致以最崇高的敬意 约瑟夫
查看全文
MMA8451 change default I2C address Hello everyone, I am interfacing Raspberry Pi with the MMA8451. Raspberry Pi only provides 1 i2c port, because the other i2c is attached to the camera device port, and the MMA8451 only have 2 I2C addresses. My question is: There is any way to change the default I2C addresses 0x1C and 0x1D of the MMA8451? In the datasheet there is nothing about this and I can't think about other way than using a multiplexer to use more than two MMA8451 in the same Pi board. Thank you for your support! Accelerometers Re: MMA8451 change default I2C address Hello David, Indeed, the MMA8451Q's standard slave address is a choice between the two sequential addresses 0011100 and 0011101. The selection is made by the high- and low-logic level of the SA0 (pin 7) input respectively. The slave addresses are factory programmed and alternate addresses are available at customer request. The format is shown below: Usually it is not possible to change the I2C slave addresses of the MMA8451Q for individual customers unless it represents a big business opportunity. Could you please send me more information about your application, volumes, and production data? You may send this information creating a new case. You may find more information here.   On the other hand, I can gladly suggest you some solutions: Using a 2 channel I2C Bus Multiplexer (in case you need two MMA8451 on the same I2C bus).      More specifically, I recommend the PCA9540B. You may find more information here​. Considering the FXLS8471Q, which is basically the same device as the MMA8451Q, but its two address selection inputs (SA1 and SA0) allow assignment of four unique addresses (0x1C, 0x1D, 0x1E, or 0x1F).           You can find more information about the FXLS8471Q here​. I hope this information will be useful for you. If I misunderstood your question, feel free to let me know.  I will be glad to help. Have a great day. David Diaz. Note: If this post answers your question, please click the Correct Answer button. Thank you!
查看全文
MMA8652FC 回転、基準変更 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> こんにちは、みんな、 これがこのトピックについて質問したり議論したりするのに適切な場所かどうか分かりません。 私の機器には加速度センサ (MMA8652FC) が内蔵されており、機器が平らな面に静止した状態で置かれている場合、画像 (Forças_G_EN.png) に示すように、G ベクトル力 (0, 0, 1) が得られます。 これは、機器/車の位置がわかるため、車内に設置する理想的な位置になります。 つまり、車の前部が -X、後部が X、左が -Y、右が Y、床が -Z、屋根が Z にあることがわかります。画像 (EquipInCar_02_EN.png) しかし、この装置は車内の助手席側の正面に配置されており、回転した位置に配置することができます。 固定された位置はありません。 車内でのポジショニングの例を画像 (EquipInCar_01_EN.png) に示します。 私の質問は、加速度センサによって得られた値を車内の位置 (EquipInCar_01_EN.png) から理想的な位置 (EquipInCar_02_EN.png) に変換するにはどうすればいいかということです。 これについて誰か助けてくれませんか? よろしくお願いいたします。 セルジオ センサ・フュージョン
查看全文
Sensor MPX5700ASX ¿liquid/wine? Hi. I would like to know if the #MPX5700ASX sensor can be used for #liquids and can be in contact with food (Food Security Law). If this #sensor can not be used for this, do you know any other model that does work? Thanks Re: Sensor MPX5700ASX ¿liquid/wine? Ok,  thanks! Re: Sensor MPX5700ASX ¿liquid/wine? Hi Fran, We do not recommend direct contact with any kind of liquid substances. The sensing die is covered with a protective gel, this gel might crack or get washed out and with this changing the characterization of the device, therefore we do not recommend it for any of NXP pressure sensors. However, as you may know, our products are used in washing machine applications, which would expose the gel to a humid environment. In such applications, the device is located at the top of a measurement tube - so water level is indirectly measured through the water pushing a trapped air column up to the sensor. As you can see, the sensor does not have direct contact with water, but is separated by the air column. For more information, please refer to the AN3728. Best regards, Tomas
查看全文
Hi - Does the MPH6250A6T1 pressure sensor come with any options to protect (seal) the port opening during the assembly process (i.e. aqueous wash, etc.)? Hi - Does the MPH6250A6T1 pressure sensor come with any options to protect (seal) the port opening during the assembly process (i.e. aqueous wash, etc.)? Re: Hi - Does the MPH6250A6T1 pressure sensor come with any options to protect (seal) the port opening during the assembly process (i.e. aqueous wash, etc.)? Hi Rick, The feedback from our product group is that there are no plans to provide something to cover the port up, unfortunately. Best regards, Tomas Re: Hi - Does the MPH6250A6T1 pressure sensor come with any options to protect (seal) the port opening during the assembly process (i.e. aqueous wash, etc.)? Hi Rick, I am asking our product group to comment on this. I will update this thread as soon as I have their feedback. Best regards, Tomas Re: Hi - Does the MPH6250A6T1 pressure sensor come with any options to protect (seal) the port opening during the assembly process (i.e. aqueous wash, etc.)?   Hi Tomas, Thanks for the reply.  Do you know if there are any plans in the future to provide the purchased part with a removable seal?  The reason I am asking is because it is a small SMD device and there is risk and labor at the piece part level of unpackaging, handling, applying a seal and repackaging prior to loading on the placement machine for assembly. Thanks, Rick.  Re: Hi - Does the MPH6250A6T1 pressure sensor come with any options to protect (seal) the port opening during the assembly process (i.e. aqueous wash, etc.)? Hi Rick, No, it does not. But yes, it is strongly recommended the port opening to be protected e.g. by adhesive Kapton tape or other means prior to the cleaning process to prevent contamination and foreign materials from being introduced into device as result of cleaning processes.   Best regards, Tomas
查看全文
MXP2300DT1 传感器使用的灌封凝胶混合物 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 是否有可能获得 MXP2300DT1 传感器中使用的灌封凝胶混合物样品,用于材料符合性测试? Re: Potting gel mixture used in the MXP2300DT1 sensors <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 你好,梅根、 事实上,MPX2300DT1 的硅压阻传感元件上覆盖了一层硅介质凝胶。凝胶是一种无毒、无过敏性的弹性体系统,符合美国药典 XX 生物测试 V 级的所有要求。 遗憾的是,我们无法获得这种凝胶的样本。 在这种情况下,您可以参考材料成分声明 (MCD),以获得更多有关这种凝胶的信息。 希望这些信息对你有用。 如果我误解了你的问题,请随时告诉我。 我很乐意提供帮助。 祝您有美好的一天。 戴维-迪亚兹 PS:如果我的回答有助于解决您的问题,请标记为"正确" 。谢谢。
查看全文
MM8452Q Xtrinsic加速度計の感度精度パラメータ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> こんにちは、フリースケールさん: Xtrinsic 8452Q 加速度センサの PCB マウント後のゲインとオフセットのキャリブレーションに関するアプリケーション ノート AN4096 と AN4399 を詳しく調べても、2G モードでの各チャネルの測定範囲での精度に関してまだ疑問が残ります。それで、データシートに記載されている「感度精度」パラメータ(2.64%)の意味を教えていただけますか?これはキャリブレーションされたデバイスにどのように適用されますか? AN4399の15パラメータ校正アルゴリズムを適用した場合、チャネルあたりの絶対精度はどの程度になるでしょうか?校正なしの場合、+/- 20mgとなり、1Gの測定値は9.65~10m/s^2となり、自然変動の0.7%gからは大きく外れます。 ありがとうございます ディラン PSL 加速度センサ Re: Sensitivity Accuracy parameter of the MM8452Q Xtrinsic Accelerometer <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 私は加速度センサを比較しており、MMA8452Q の 12 パラメータ キャリブレーションの修正形式を使用しました。較正済みの傾斜テーブルを持っていないので、_精度_について話すことはできませんが、代わりに精密度を評価しています。私は、結果のビット数に依存するのではなく、出力の変動を見て、チップの実際の精度を示します。ODR を 50Hz に設定し、スライディング ウィンドウ平均 (10 サンプル) を使用してノイズの一部を除去します。最新のテスト実行 (3 秒間) では、公称ゼロ傾きでは出力が 0.1 度の範囲内に留まり、公称 45 度の傾きでは 0.15 度の範囲内に留まることが示されています。 もちろん、「精度」だけでは正確さに関する疑問には答えられません。 アプリケーションノートに記載されている重力の 0.7% の変動を考慮するために、arcsin(X) ではなく arctan(X/Z) から傾きを導き出す予定です。 MMA8452Q、MMA8451、MMA9550L の精度を比較できる人はいますか?8452Q と 8451 は同様の精度 (ただし 8451 の方が精度が高い) があると予想していますが、9550L についてはわかりません。
查看全文
MPX5010DP reading error/accuracy I have MPX5010DP pressure sensor. What is the accuracy/error? Here is the datasheet: https://www.nxp.com/docs/en/data-sheet/MPX5010.pdf   Is this 5% of a reading (so it changes and is bigger for bigger readings) or is it 5% of VFSS (Voltage of Full Scale Span) which is 5% of 4.5V for 5V supply (so the error is the same for all readings). There is also error from transfer function depending on temperature and pressure. So should I add these 3 errors so I can obtain information on reading accuracy or choose one of the 3? It's written so unclearly I've got this equation Vout=Vs x (0.09 X P +0.04) +/- 5% Vfss So total error should I calculate from pressure value error(bigger with bigger readings) and  vfss error(constant)? Or that +/- 5% Vfss is the only error (and we have only constant reading error)? Or should I should I just assume total error equal +/-5% of a reading (bigger with bigger readings)? Pressure Sensors Re: MPX5010DP reading error/accuracy Hi Bruno, The worst accuracy is +/- 5% of Vfss, which is +/- 0.225V for a 5V supply.  So the transfer function for a 5V supply and temperature from 0°C to +85°C is:  Vout = 5 x (0.09 x P + 0.04) +/- 0.225V Best regards, Tomas
查看全文
FXTH871511 短距離問題 こんにちは、 自分で作った8715ボードを使ってテストしたところ発射距離が3メートル程度しかありませんが、8715の周波数偏差の設定は正しいのでしょうか? 中心周波数は 433.920Mhz、周波数オフセットは 20khz に設定されています。8715のレジスタは以下のように正しく設定されていますか? /**************************************************************************************************** *周波数:433.920MHz *偏差:20khz *************************************************************************************************/ //最小 433.900MHz PLLCR0=0xb0; PLLCR1=0x40; //最大 433.940MHz PLLCR2 = 0xb0; PLLCR3=0xa6 ご返信をお待ちしております。どうもありがとうございます。 雪 圧力センサ Re: FXTH871511 short range issue こんにちは、スノーさん。 表82の式に従ってfDATA0とfDATA1を計算しました。および表83。あなたが提供した値から。下記の結果をご覧ください。 PLLCR0=0xb0; PLLCR1=0x40 0xB040=0b1011 0000 0100 0000=>AFREQ=0b1011 0000 0100 0=5640 fDATA0 = fXTAL * ( (12 + 4 * CF) + AFREQ / 8192) fDATA0=26 000 000*((12+4*1)+5640/8192) fDATA0 = 433,9MHz。 PLLCR2=0xb0; PLLCR3=0xa6 0xB0A6=0b1011 0000 1010 0110=>BFREQ=0b1011 0000 1010 0=5652 fDATA1 = fXTAL * ( (12 + 4 * CF) + BFREQ / 8192) fDATA1=26 000 000*((12+4*1)+5652/8192) fDATA1 = 433,94MHz。 SOあなたの計算は正しいのです。 敬具、 ヨゼフ
查看全文
MPX5010DP 读数误差/精度 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 我有 MPX5010DP 压力传感器。准确度/误差是多少? 下面是数据表: https://www.nxp.com/docs/en/data-sheet/MPX5010.pdf   是读数的 5% (因此读数会发生变化,读数越大,误差越大),还是 VFSS(满刻度跨距电压)的 5% ,即 5% 4.5V 的 5 (因此所有读数的误差都相同)。传递函数的误差也取决于温度和压力。那么,我是应该加上这 3 个错误,从而获得阅读准确性方面的信息,还是从这 3 个错误中选择一个?写得太不清楚了 我有这样一个等式 Vout=Vs x (0.09 X P +0.04) +/- 5% Vfss 因此,我是否应该根据压力值误差(读数越大误差越大)和 vfss 误差(常数)计算总误差?或者 +/- 5% Vfss 是唯一的误差(我们只有恒定读数误差)?还是我应该假设总误差等于读数的 +/-5% (读数越大误差越大)? 压力传感器 Re: MPX5010DP reading error/accuracy <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 你好,布鲁诺、 最差精度为 Vfss 的 +/- 5% ,即 5V 电源的 +/- 0.225V。 因此,5V 电源和0°C至 +85°C 温度范围内的传递函数为 输出电压 = 5 x (0.09 x P + 0.04) +/- 0.225V 顺祝商祺! 托马斯
查看全文