Skip to content

Latest commit

 

History

History
59 lines (41 loc) · 1.83 KB

hdc1080_IIC.md

File metadata and controls

59 lines (41 loc) · 1.83 KB

hdc1080_IIC module

Last modification: 6.08.2020

Modul board: ebay I ordered and tested this modul board

Reconnection with Raspberry PI 3+:

  • Configuration for /dev/i2c-1
  • port 2 (SDA), port 3 (SCL)
  • pull-up resistor for this module was set to 1.5 kΩ

How to install?

Install Lazarus-ide at raspberry FPC & Lazarus Installation Install Python3 and next modules for hdc1080 Python3 & modules

(optional when you have only lite linux version)

sudo apt-get install gtk2-engines libgtk2.0-dev

Run application:

ecomet_i2c_tools/hdc1080

Features:

  • Read config and measure register of hdc1080 chip and show on concole
  • In Accuracy section is possible to set accuracy of measurment for Temperature and Humidity setting of A/D converter
  • Heating means (ENABLE/DISABLE) heating chip before measurement
  • Chip (MODE) means if measurement will be done by reading temperature and humidity in one cycle or separately:
    • Mode Both for measurement in on cycle
    • Mode Sequence when each measurement is done individualy
  • ID is only readable parameter:
    • First number (ID Serial) Unique serial number of chip
    • Second number (Manufacturer ID)
    • Device Type ID
  • Help for quick help
  • Self test for I2C connection
  • Pushing ON button will be refreshed measurement and read changes of chip setting

Application pictures:

Works

Prepare for measurement

Chip_missing

Chip I2C Issue

Source Code (FPC):

  • Path: ~/ecomet_i2c_tools/fpc/hdc1080