Your Contact to Sensirion

Umschlag

Contact

Contact our sensor experts:

Contact Form

Distributoren

Distributors

Here you find the nearest distributor in your area:

Our Distributors

Standorte

Locations

Find out where we are located:

Our Locations

toggle menu
  • Home
  • News
  • Sensirion Products
    • SEK-SensorBridge (Evaluation Kit)
    • SEN5x Environmental Sensor Node
    • SCD4x CO2 Sensors
    • SFA30 Formaldehyde Sensor Module
    • SGP41 VOC+NOx Sensor
    • SGP40 VOC Sensor
    • SHT4x Humidity and Temperature Sensors
  • Partner Spotlight
    • Partner Spotlight SparkFun
    • Partner Spotlight MikroElektronika
    • Partner Spotlight Seeed
  • Archive
    • Platforms
      • Environmental Sensor Shield
      • Smart Gadget Development Kit
      • Wearable Development Kit
      • Raspberry Pi
      • Qualcomm Snapdragon
      • Arduino
      • Cypress PSoC Series
      • Generic Linux Support
      • Thingstream MQTT IoT Sensor Starter Kit
    • Applications
      • Sensors for Ventilation
      • CO2 Monitor Reference Design
      • SHTC3 BLE Beacon Development Kit
      • Directional Wind Meter Using SDP3x
      • Smart Speaker
      • Archive
    • Labs
      • #21 - Using an RJ45 Breakout Board Connect with Evaluation Kit Cables
      • #20 - Integrate Flex-PCB Sensors into Prototyping Setups
      • #19 - Smart Factory Particle Monitor Network
      • #18 - Inhalation Application Benefits
      • #17 - Sleep Analysis and Pulse Monitor
      • #16 - Thermal Comfort Sensor
      • #15 - Anti-Fogging for Bathroom Mirrors
      • #14 - Improved Puff Sensing of Inhalation Devices
      • #13 - Spirometer
      • #12 - Breath Detection
      • #11 - Stress, Mood and Emotion Sensing
      • #10 - CO2 Sensing in Car
      • #9 - Milk Fat Concentration Sensor
      • #8 - Presence Detection with IR Sensor
      • #7 - RH Sensor Trigger for BLE Beacon
      • #6 - Smart Inhaler
      • #5 - Windshield Ice Detector
      • >> See All Labs Ideas
    • Tutorials
      • Wearable Development Kit: Build Your Own Device
      • Wearable Development Kit: Logging Data
      • Raspberry Pi: SFM Software Package
      • Raspberry Pi: Alexa with Indoor Air Quality
      • Raspberry Pi: Using Flow Sensors
      • Raspberry Pi: Weather Station
      • Arduino: Create Your Own CO2 Monitor
      • Arduino: Stand-Alone Liquid Flow Meter
      • Arduino: Interface for Liquid Flow Sensors
      • Arduino: Weather Station
      • Arduino: Closed Loop Volume Controller Using Liquid Flow Sensors
      • Arduino: Interface for Multiple SF06 Liquid Flow Sensors
      • Arduino: Interface for SF06 Liquid Flow Sensors with Level Shifter
      • Arduino: CAN Bus Flow Meter
  • Global Website

연락처

search
cart
DOWNLOAD CENTER BUY NOW INVESTORS
Sensirion AG Switzerland
  • Home
  • News
  • Sensirion Products
    • SEK-SensorBridge (Evaluation Kit)
    • SEN5x Environmental Sensor Node
    • SCD4x CO2 Sensors
    • SFA30 Formaldehyde Sensor Module
    • SGP41 VOC+NOx Sensor
    • SGP40 VOC Sensor
    • SHT4x Humidity and Temperature Sensors
    • Sensirion Products

      Start testing our sensors

      Here you can find all information for evaluating and testing Sensirion's latest sensor solutions. From drivers and software to tutorials and quick start guides - we try to offer all tools necessary so that you can kick-start your application!

  • Partner Spotlight
    • Partner Spotlight SparkFun
    • Partner Spotlight MikroElektronika
    • Partner Spotlight Seeed
  • Archive
    • Platforms
      • Environmental Sensor Shield
      • Smart Gadget Development Kit
      • Wearable Development Kit
      • Raspberry Pi
      • Qualcomm Snapdragon
      • Arduino
      • Cypress PSoC Series
      • Generic Linux Support
      • Thingstream MQTT IoT Sensor Starter Kit
    • Applications
      • Sensors for Ventilation
      • CO2 Monitor Reference Design
      • SHTC3 BLE Beacon Development Kit
      • Directional Wind Meter Using SDP3x
      • Smart Speaker
      • Archive
        • On/Off Body Detection
        • Perspiration
        • Antifogging in VR Goggles
    • Labs
      • #21 - Using an RJ45 Breakout Board Connect with Evaluation Kit Cables
      • #20 - Integrate Flex-PCB Sensors into Prototyping Setups
      • #19 - Smart Factory Particle Monitor Network
      • #18 - Inhalation Application Benefits
      • #17 - Sleep Analysis and Pulse Monitor
      • #16 - Thermal Comfort Sensor
      • #15 - Anti-Fogging for Bathroom Mirrors
      • #14 - Improved Puff Sensing of Inhalation Devices
      • #13 - Spirometer
      • #12 - Breath Detection
      • #11 - Stress, Mood and Emotion Sensing
      • #10 - CO2 Sensing in Car
      • #9 - Milk Fat Concentration Sensor
      • #8 - Presence Detection with IR Sensor
      • #7 - RH Sensor Trigger for BLE Beacon
      • #6 - Smart Inhaler
      • #5 - Windshield Ice Detector
      • >> See All Labs Ideas
    • Tutorials
      • Wearable Development Kit: Build Your Own Device
      • Wearable Development Kit: Logging Data
      • Raspberry Pi: SFM Software Package
      • Raspberry Pi: Alexa with Indoor Air Quality
      • Raspberry Pi: Using Flow Sensors
      • Raspberry Pi: Weather Station
      • Arduino: Create Your Own CO2 Monitor
      • Arduino: Stand-Alone Liquid Flow Meter
      • Arduino: Interface for Liquid Flow Sensors
      • Arduino: Weather Station
      • Arduino: Closed Loop Volume Controller Using Liquid Flow Sensors
      • Arduino: Interface for Multiple SF06 Liquid Flow Sensors
      • Arduino: Interface for SF06 Liquid Flow Sensors with Level Shifter
      • Arduino: CAN Bus Flow Meter
Sensirion AG Switzerland
  • Sensirion Developers
  • Archive
  • Tutorials
  • Arduino: Weather Station

Tutorial: Simple Weather Station using Arduino

Hardware Used in This Tutorial

In this example, we show how to build a simple weather station using the Arduino Uno board and Sensirion's SHTC1 sensor.

  • Arduino Uno
  • Atmel SHTC1 extension board
  • Jumper wires

Hardware Assembly

SignalPin on Sensor Extension BoardPin on Arduino
SDA1127
SCL1228
VDD205V
GND19GND

Software Setup

Install the Arduino IDE

The first step is to install the "Arduino IDE", a program that runs on your computer, which is used to develop code and download firmware to the Arduino board. To do so, please follow the instructions on the Arduino webpage here.

Once you have the Arduino IDE installed, it's time to set it up for your board.

Arduino Software Setup

Before we can install the Sensirion software, we have to prepare the Arduino IDE for the Arduino board. To do so, first connect the Arduino to your computer using an USB cable. Then, start the Arduino IDE. Afterwards, select the "Tools" menu, and select "Arduino/Genuino Uno" from the "Boards" submenu:

This defines for which board the code is compiled.

Next, we have to tell Arduino IDE to which port the Arduino is connected. This can also be done in the "Tools" menu, where you have to select the corresponding port from the "Port" submenu. Note that this can look differently than the screen shot, depending on the operating system you're using and the USB port it is plugged in:

Download Sensirion's SHT Sensor Library for Arduino

The next step is to get the software library that supports Sensirion's humidity and temperature sensors. To install the current version, download the archive using this link and import the .ZIP archive by running "Sketch > Include Library > Add .ZIP Library".

Load the Humidity and Temperature Example

The Sensirion library comes with two examples, one for the I2C sensors, and one for the analog SHT3x chips. Since we're using the SHTC1 board in this example, we'll use the I2C example, which is called 'sht-autodetect'. To open the example program, select "File > Examples > arduino-sht-1.0.0 > sht-autodetect".

Build and Upload the Firmware

To compile the firmware, we use the "Verify" button shown below:

Afterwards, we can use the "Upload" button to upload the code to Arduino:

This will upload the code, and reboot the Arduino. After the reboot, the Arduino will start communicating with the sensor board.

Display Temperature and Humidity Values

In order to see the values read from the sensor board, open the "Serial Monitor" from the "Tools" menu. This will show a new window, which displays values for "RH" (relative humidity) and "T" (temperature). Try holding the sensor board over a cup of coffee to see if the values raise.


Follow Us

Sensirion Products

  • CO2 Sensors
  • Formaldehyde Sensors
  • VOC Sensors
  • Humidity and Temperature Sensors

Partner Spotlight

  • Sparkfun
  • MikroElektronika

Archive

  • Labs
  • Applications
  • Tutorials
  • Platforms

Further Information

  • Developer News
  • Download Center
  • FAQs
  • Contact
  • Locations

Your Contact to Sensirion

Umschlag

Contact

Contact our sensor experts:

Contact Form

Distributoren

Distributors

Here you find the nearest distributor in your area:

Our Distributors

Standorte

Locations

Find out where we are located:

Our Locations

Please Find Here Various Support Topics

Buy Our Products at Your Local Distributor

About Sensirion

Environmental Sensors

Flow Sensors

Media/Newsroom

Investors

Useful Links

Sensirion Automotive Solutions

Career

Support Center

Partner Access

General

Terms and Conditions

Terms and Conditions for US Customers

Supplier Social Responsibility

Quality, Environment and Ethics

Sensirion AG

Laubisruetistrasse 50

8712 Staefa ZH, Switzerland

Tel. +41 44 306 40 00

infosensirioncom

2022 © Sensirion AG Switzerland
  • Home
  • Sitemap
  • Privacy Policy and Cookies
  • Imprint
  • Login
  • Disclaimer