Interfacing Infineon DPS422 Sensor With Infineon XMC4700 and Sending Data to NodeMCU
by Rohith_mr in Circuits > Arduino
1287 Views, 1 Favorites, 0 Comments
Interfacing Infineon DPS422 Sensor With Infineon XMC4700 and Sending Data to NodeMCU
In this tutorial we will learn how to use DPS422 for measuring temperature and barometric pressure with XMC4700.
DPS422
The DPS422 is a miniaturized digital barometric air pressure and temperature sensor with high accuracy and low current consumption. Pressure sensing is carried out using a capacitive sensor element, guaranteeing high accuracy over temperature.
Measurement results can be accessed over I2C or SPI protocol.
DPS422 barometric pressure sensor come with a ready to use Arduino library.
Please find the datasheet of DPS422 here.
UART(Universal Asynchronous Receive Transmit)
UART communication is used to send the data from XMC4700 to Node MCU. UART stands for Universal Asynchronous Receive Transmit is a computer hardware device for serial communication. UART is one of the most simple and most commonly used serial communication techniques. For more information refer to the link.
Required Components
Hardware Interfacing
Components Used
Stacked system
Interface between NodeMCU and My IoT Adaptor
Software Requirements
Installation Procedure
Please refer through the link for installation procedure.
Code
Arduino code for XMC4700
Downloads
Arduino code for NodeMCU
Downloads
Results
XMC4700
NodeMCU
Applications Using DPS422
- Accurate altitude metering
- Drones
- Indoor and outdoor navigation
- IoT applications
- Smart home
- Sport and fitness tracking
Important Warning
- The DPS422 has a maximum rating of 4 V
- Third party boards with 5 V logic, e.g. the Arduino Uno, cannot be connected to the DPS422 Pressure Shield2Go board directly, even if the power is connected to the 3.3 V pin as the interface lines, e.g. SDA/SCL, will still be driven by 5 V
- Please use appropriate level shifting for these boards
- The DPS422 is sensitive to light and should be shielded against direct light exposure
Next Step
To upload the data from NodeMCU to Amazon AWS please refer to the link.