IDT ZMOD4510 Programming Manual

Advertisement

Contents
1.
Introduction ...................................................................................................................................................................................................2
2.
Hardware Setup for the ZMOD4510 .............................................................................................................................................................2
3.
General Program Flow for Setting up ZMOD4510 Gas Measurements .......................................................................................................3
4.
Description of the Programming Example Code...........................................................................................................................................4
4.1
main Files ...........................................................................................................................................................................................4
4.2
Program Flow to Operate the Sensor ................................................................................................................................................4
5.
Using the Example on a Different Hardware Platform ..................................................................................................................................5
5.1
Adaptation for the Target System ......................................................................................................................................................5
5.2
Error Codes ........................................................................................................................................................................................5
6.
Revision History ............................................................................................................................................................................................6
List of Figures
Figure 1. ZMOD4510 Evaluation Kit ...................................................................................................................................................................2
Figure 2. File Overview for ZMOD4510 ..............................................................................................................................................................3
Figure 3. System Hierarchy ................................................................................................................................................................................5
List of Tables
Program Flow ......................................................................................................................................................................................4
© 2019 Integrated Device Technology, Inc.
ZMOD4510 Programming Manual - Read Me
1
September 4, 2019

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ZMOD4510 and is the answer not in the manual?

Questions and answers

Summary of Contents for IDT ZMOD4510

  • Page 1: List Of Figures

    ZMOD4510 Programming Manual – Read Me Contents Introduction ........................................2 Hardware Setup for the ZMOD4510 ................................2 General Program Flow for Setting up ZMOD4510 Gas Measurements .......................3 Description of the Programming Example Code............................4 main Files ......................................4 Program Flow to Operate the Sensor ..............................4 Using the Example on a Different Hardware Platform ..........................5...
  • Page 2: Introduction

    This document describes a general program flow to set up ZMOD4510 gas sensor modules for outdoor air quality (OAQ) gas measurements. In addition, it describes the function of an example code provided as a C file by IDT for the ZMOD4510, which can be operated using its evaluation kit (EVK).
  • Page 3: General Program Flow For Setting Up Zmod4510 Gas Measurements

    3. General Program Flow for Setting up ZMOD4510 Gas Measurements To operate the ZMOD4510 in the hardware and use its full functionality, four code blocks are needed as displayed in Figure 2: The “Target Specific I2C and Low-Level Functions” block is the hardware-specific implementation of the I2C interface; it contains read and ...
  • Page 4: Description Of The Programming Example Code

    (NVM) and initializing it to run at its operation temperature. An endless loop continuously checks the status of the ZMOD4510 and reads its data. The raw data is subsequently processed, and the OAQ algorithm for Air Quality Index (AQI) is calculated. The values are shown in a command line window. To stop the loop, press any key, which releases the hardware and stops the program.
  • Page 5: Using The Example On A Different Hardware Platform

    The type definitions of the function pointers can be found in zmod45xx_types.h (see Figure 2). The functions read and write should point to the I2C implementation of the hardware used. In addition, IDT provides precompiled algorithm libraries that are hardware-platform dependent. IDT offers a download of these libraries for x86/x64 (Linux/Windows) as well as for ARM Cortex -M Series, MSP430 Series, 8051, and RL78 (GCC) microcontrollers.
  • Page 6: Revision History

    The information contained herein is provided without representation or warranty of a ny kind, whether express or implied, including, but not limited to, the suitability of IDT's products for any particular purpose, an implied warranty of merchantability, or non -infringement of the intellectual property rights of others. This document is presented only as a guide and does not convey any license under intellectual property rights of IDT or any third parties.

Table of Contents