Skip to main content
  • 产品
  • Evaluate our Software
  • 下载
  • Free Utilities
  • 购买
  • 支持
  • 关于我们
  • Search
    • Contact Us
    • Forum
    • Knowledge Base
    • Newsletter
    • RSS
  •   工作机会
  •   视频
  •   永续性
  • IoT Solutions
  • Security
  • Connectivity
  • Core
Internet-of-Things-product-icon-SEGGER-blue

SEGGER Weather Station

The SEGGER Weather Station demonstrates how to create an IoT Node to communicate with an IoT Cloud Service.

  • Secured communication via MQTT
  • Secured communication via HTTPS
  • Device configuration and provisioning
  • Creating and parsing JSON data
  1. 1.Setting up SEGGER Weather Station Hardware
    1. 1.1.Required Hardware
    2. 1.2.Preparation and soldering
  2. 2.Installation
  3. 3.Configuration
  4. 4.Usage

 

The IoT Temperature Node registers with the service and publishes its sensor data. The data is analyzed in the cloud and made available on a website: http://weather.segger.com.

The core of the project is built with embOS as the operating system to handle the different tasks, and emWin for the graphical user interface and user input. To connect to the internet, the IoT Node uses emNet with optional WiFi support. The connection is secured with TLS, powered by emSSL. The registration is done with the HTTP Client and JSON Parser of the IoT Toolkit. Device signatures, certificates, and verification is done with the cryptography algorithms of emCrypt. The main communication of the IoT Node, publishing the sensor data, uses the MQTT Client, emMQTT, also secured by emSSL.

Setting up SEGGER Weather Station Hardware

Required Hardware

  • SEGGER emPower V2.0 board
  • SolderCore CoreTemp module
  • SolderCore CorePressure module
  • SolderCore Mount kit
  • Micro USB cable
  • Network cable

Preparation and soldering

The IoT Temperature Nodes use a SEGGER emPower board V2.0 Rev. D. Older revisions can be used, too, but do not support drag & drop programming of the firmware.

The temperature and pressure sensors are based on the SolderCore CoreTemp and CorePressure modules, which fit on the emPower board's ExpIF headers. The schematics of the modules are available for you to build your own modules. We also have some modules in stock.

The sensor modules require some soldering

  1. Solder the pins on the CoreTemp module to plug in to ExpIF 2 of the emPower board.
  2. Solder the pins on the smaller mount kit board to plug in to ExpIF 1 of the emPower board.
  3. Solder the CorePressure module on the larger mount kit board.
  4. Connect the mount kit boards.
  5. Plug in the USB cable to the emPower board and connect it with your computer.
  6. Plug in the network cable and connect it to your local network.

Installation

The J-Link OB on the emPower board (Rev. D or later) supports drag & drop programming of the target MCU.
When the emPower board is connected to your computer, it will show up as a mass storage device in the file explorer, just like a USB stick.

  1. Download the IoT Temperature Node Firmware.
  2. Extract the archive to your disk.
  3. Copy the .hex file to the emPower device.
  4. Reset the emPower.

Configuration

On the first run of the IoT Temperature Node, it is not configured, yet. You can set its properties, i.e. its location, and configure the settings, i.e. network configuration.
The properties can only be set once and are used to provision the device. The user settings can be changed later, for example if the network configuration changes.

  1. Connect the emPower board to your local network.
  2. Power-on the emPower board by connecting a cable to the USB connector labeled "J-Link".
  3. Follow the instructions on the screen to set the properties of the IoT Temperature Node.
    1. Select the country. (e.g. Germany)
    2. Enter the state code. (e.g. NW, Optional, can be left empty)
    3. Enter the city. (e.g. Monheim am Rhein)
    4. Enter a location name. (e.g. SEGGER Headquarter)
  4. Confirm that you want to save the properties.
  5. Follow the instructions on the screen to configure the settings of the IoT Temperature Node.
    1. Select to connect via WiFi or Ethernet (only if shown, otherwise Ethernet only).
    2. Select the IP Configuration.
      1. If you use a static IP, enter the IP, Subnet Mask, Gateway and DNS address.
  6. Confirm that you want to save the settings.

After the configuration is done, the IoT Temperature Node connects to your network and the internet.
On first start it will connect to the Weather Station endpoint to register itself and get its device certificate and credentials.

INFO:

If any step fails, reset the IoT Temperature Node to redo the steps.
If you need to change the user settings, hold down the USER Button while you power the board.

Usage

IoT node weather station sample using embOS, emMQTT, emNet, emSSL, IoT Toolkit
IoT node weather station sample using embOS, emMQTT, emNet, emSSL, IoT Toolkit

全球总部

德国: SEGGER Microcontroller GmbH

地址: Ecolab-Allee 5
40789 Monheim am Rhein, Germany
电邮: info@segger.com
电话: +49-2173-99312-0
传真: +49-2173-99312-28

网点分布

中国:哲戈微系统科技(上海)有限公司

地址: 中国上海市闵行区秀涟路133号
大虹桥国际A 栋218室
邮编201199
电邮: china@segger.com
电话: +86-133-619-907-60

通过ISO 9001认证

ISO 9001

30多年的嵌入式行业经验

First-class embedded software tools since 1992
  • 版本说明
  • 免责声明
  • 隐私策略
  • 沪ICP备2022005181号
  • 沪公网安备 31011202014525号
© 2025 SEGGER - 版权所有.

您即将离开 segger.cn 而访问境外网站,是否继续?