电子发烧友App

硬声App

0
  • 聊天消息
  • 系统消息
  • 评论与回复
登录后你可以
  • 下载海量资料
  • 学习在线课程
  • 观看技术视频
  • 写文章/发帖/加入社区
会员中心
创作中心

完善资料让更多小伙伴认识你,还能领取20积分哦,立即完善>

3天内不再提示
电子发烧友网>电子资料下载>电子资料>使用CPS120和Arduino Nano进行压力测量

使用CPS120和Arduino Nano进行压力测量

2022-11-23 | zip | 0.02 MB | 次下载 | 免费

资料介绍

描述

CPS120是一种高质量、低成本的电容式绝对压力传感器,具有全补偿输出。它消耗更少的功率,并且包括用于压力测量的超小型微机电传感器(MEMS)。基于sigma-delta的ADC也体现在其中,以实现补偿输出的要求。
 
在本教程中,说明了CPS120传感器模块与Arduino Nano的接口。为了读取压力值,我们使用了带有I2C适配器的Photon。该I2C适配器使与传感器模块的连接更容易、更可靠。

 

步骤1:所需硬件
 
实现目标所需的材料包括以下硬件组件:
 
1.第120页
2.Arduino纳米
3.I2C电缆
pYYBAGN68dCARea2AAD1QduoxKc125.jpg
 

4.Arduino Nano的I2C屏蔽

Step 2: Hardware Hookup

 
pYYBAGN68diAAacdAACEGnpCl9A884.jpg
 
1 / 2
 

The hardware hookup section basically explains the wiring connections required between the sensor and the Arduino Nano. Ensuring correct connections is a basic necessity while working on any system for the desired output. So, the requisite connections are as follows:

  • The CPS120 will work over I2C. Reference the example schematic demonstrating how to wire up each interface of the sensor.
  • Out-of-the-box, the board is configured for an I2C interface, as such we recommend using this hookup if you’re otherwise agnostic. All you need is four wires!

Only four connections are required: Vcc, Gnd, SCL and SDA pins. These are connected with the help of an I2C cable. These connections are demonstrated in the pictures above.

Step 3: Code for Pressure Measurement

 
poYBAGN68duADn5bAAB8TyQKAZo052.jpg
 

Lets start with the Arduino code now.

While using the sensor module with the Arduino, we include Wire.h library. The Wire library contains the functions which facilitate the I2C communication between the sensor and the Arduino board.

The entire Arduino code is given in the below Code section for the convenience of the user.

In the Wire library, Wire.write() and Wire.read() are used to write the commands and read the sensor output. Serial.print() and Serial.println() are used to display the output of the sensor on the serial monitor of the Arduino IDE. The output of the sensor is shown in the picture above.

Step 4: Applications

CPS120 has a variety of applications. It can be employed in portable and stationary barometers, altimeters etc. Pressure is an important parameter to determine the weather conditions and considering that this sensor can be installed at weather stations too. It can be incorporated in air control systems as well as vacuum systems.


下载该资料的人也在下载 下载该资料的人还在阅读
更多 >

评论

查看更多

下载排行

本周

  1. 1山景DSP芯片AP8248A2数据手册
  2. 1.06 MB  |  532次下载  |  免费
  3. 2RK3399完整板原理图(支持平板,盒子VR)
  4. 3.28 MB  |  339次下载  |  免费
  5. 3TC358743XBG评估板参考手册
  6. 1.36 MB  |  330次下载  |  免费
  7. 4DFM软件使用教程
  8. 0.84 MB  |  295次下载  |  免费
  9. 5元宇宙深度解析—未来的未来-风口还是泡沫
  10. 6.40 MB  |  227次下载  |  免费
  11. 6迪文DGUS开发指南
  12. 31.67 MB  |  194次下载  |  免费
  13. 7元宇宙底层硬件系列报告
  14. 13.42 MB  |  182次下载  |  免费
  15. 8FP5207XR-G1中文应用手册
  16. 1.09 MB  |  178次下载  |  免费

本月

  1. 1OrCAD10.5下载OrCAD10.5中文版软件
  2. 0.00 MB  |  234315次下载  |  免费
  3. 2555集成电路应用800例(新编版)
  4. 0.00 MB  |  33566次下载  |  免费
  5. 3接口电路图大全
  6. 未知  |  30323次下载  |  免费
  7. 4开关电源设计实例指南
  8. 未知  |  21549次下载  |  免费
  9. 5电气工程师手册免费下载(新编第二版pdf电子书)
  10. 0.00 MB  |  15349次下载  |  免费
  11. 6数字电路基础pdf(下载)
  12. 未知  |  13750次下载  |  免费
  13. 7电子制作实例集锦 下载
  14. 未知  |  8113次下载  |  免费
  15. 8《LED驱动电路设计》 温德尔著
  16. 0.00 MB  |  6656次下载  |  免费

总榜

  1. 1matlab软件下载入口
  2. 未知  |  935054次下载  |  免费
  3. 2protel99se软件下载(可英文版转中文版)
  4. 78.1 MB  |  537798次下载  |  免费
  5. 3MATLAB 7.1 下载 (含软件介绍)
  6. 未知  |  420027次下载  |  免费
  7. 4OrCAD10.5下载OrCAD10.5中文版软件
  8. 0.00 MB  |  234315次下载  |  免费
  9. 5Altium DXP2002下载入口
  10. 未知  |  233046次下载  |  免费
  11. 6电路仿真软件multisim 10.0免费下载
  12. 340992  |  191187次下载  |  免费
  13. 7十天学会AVR单片机与C语言视频教程 下载
  14. 158M  |  183279次下载  |  免费
  15. 8proe5.0野火版下载(中文版免费下载)
  16. 未知  |  138040次下载  |  免费