Sensirion SF04 I2C Flow and Differential Pressure Sensors Sample Code Application Note

This application note contains a C++ sample code to implement the basic commands of I2C flow and differential pressure sensors.


Sensirion SF04 I2C Flow and Differential Pressure Sensors Sample Code Application Note - cover page
Brand
SENSIRION
Category
Other Electronics
Document type
Application Note
Language
English
Pages
17
File format
PDF
File size
103 KB
Published
11 April, 2012
Updated
30 September, 2023
Model
SF04
MD5 checksum
F0BABC8441DBA91B8C6C16EA1BE030D5

About this manual

The document describes a C++ sample implementation that demonstrates how to communicate with Sensirion's I2C flow and differential pressure sensors based on the SF04 chip. It includes a brief summary, revision history, and the full source code split across several header and source files.

The sample code is written for the NEC V850/SG3 (uPD70F3740) controller and uses a bit‑banging I2C implementation on normal I/O pins. The code is not optimized for speed or size, and the full source can be downloaded as a zip archive from Sensirion’s website or obtained on request.

What's inside

  • Summary
  • Sample Code
  • Revision History
  • SF04 Header (SF04.h)
  • SF04 Source (SF04.cpp)
  • System Functions (System.cpp)
  • Typedefs (typedefs.h)
  • I2C Interface Implementation
Download PDF (103 KB)

More SENSIRION Manuals


View all SENSIRION manuals →