---
title: "An Simple IoT example – connected CO2 Sensor with WIZ550S2E"
url: "https://maker.wiznet.io/TheoIm/projects/an-simple-iot-example--connected-co2-sensor-with-wiz550s2e/"
markdown_url: "https://maker.wiznet.io/TheoIm/projects/an-simple-iot-example--connected-co2-sensor-with-wiz550s2e/md"
type: "UCC: User Created Content"
author: "embeddist"
author_url: "https://embeddist.wordpress.com/2014/12/22/an-simple-iot-example-connected-co2-sensor-with-wiz550s2e/"
editor: "WIZnet"
editor_url: "https://maker.wiznet.io/"
original_author: "embeddist"
original_url: "https://embeddist.wordpress.com/2014/12/22/an-simple-iot-example-connected-co2-sensor-with-wiz550s2e/"
published: "2023-12-04"
language: "en"
hardware: ["WIZnet WIZ550io", "DFRobot Gravity: UART Infrared CO2 Sensor (0-50000ppm)"]
likes: 0
views: 283
comments: 0
source: "WIZnet Makers (https://maker.wiznet.io/)"
---

# An Simple IoT example – connected CO2 Sensor with WIZ550S2E

> This IoT example shows how to connect CO2 sensor to your ethernet network, and how to send sensing data by using Serial-to-Ethernet gateway module

Original author: embeddist (source: https://embeddist.wordpress.com/2014/12/22/an-simple-iot-example-connected-co2-sensor-with-wiz550s2e/)

## Components

- **WIZnet WIZ550io** x 1 ([docs](https://docs.wiznet.io/Product/ioModule/wiz550io))
- **DFRobot Gravity: UART Infrared CO2 Sensor (0-50000ppm)** x 1 ([docs](https://www.dfrobot.com/wiki/index.php/Infrared_CO2_Sensor_0-50000ppm_SKU:_SEN0220))

## Article

![WIZ5500S2E and S-300](https://i0.wp.com/i.imgur.com/qKv4huk.png)

This IoT example shows how to connect CO2 sensor to your ethernet network, and how to send sensing data by using Serial-to-Ethernet gateway module as UDP client. Using S-to-E gatewat module, your device does not need any additional codes and hardware requried.

In this example, WIZ550S2E-232 as a S-to-E module and S-300 as a CO2 sonsor module are used.

- WIZ550S2E-232: This module is a gateway module that converts RS-232 protocol into TCP/IP protocol and enables remote gauging, remote management of the device through the network based on the Ethernet and the TCP/IP by connecting to existing equipment with RS-232 serial interface.

S-300: This SO2 (Carbon Dioxide) sensor module designed by ELT (http://eltsensor.co.kr/) and has available output with TTL-UART for sampling interval of about 3 seconds .

## Block Diagram and Network Configurations

This figure is shown the block diagram and network configurations for this project.

- IoT Sensor Node is made up as follows
  - S-to-E : WIZ550S2E-232
  - CO2 Sonsor : S-300
  - UDP Client embedded on S-to-E

- Monitoring Server is composed as follows
  - UDP server : Hercules (TCP/IP utils) on PC

Serial-to-Ethernet Module : [WIZ550S2E-232](http://wizwiki.net/wiki/doku.php?id=products:wiz550s2e:start)

![WIZ550S2E-232](https://i0.wp.com/i.imgur.com/yWnkDyI.png)

- Gateway module that converts RS-232 protocol into TCP/IP protocol

- Serial to Ethernet Module based on W5500 & Cortex-M0

- RJ-45 mounted, Pin-header type module

- Serial signals : TXD, RXD, RTS, CTS, GND

- Support the configuration method of AT command & Configuration tool program

- Configuration tool program operates on Windows, Linux & MAC OS

- Support the interface board for RS-232 and RS422/485

- 10/100Mbps Ethernet & Max.230kbps serial speed

- Support WIZ VSP (Virtual Serial Port) program

- Dimension (mm) : 55(L) x 30 ![(W)](https://s0.wp.com/wp-content/mu-plugins/wpcom-smileys/wordpress.svg) x 23.49 (H)

- Co2 Sensor: ELT Sensor : [S-300](http://tccelt.co.kr/2012/eng/product/co2-sensor-module-S300.html)

![S-300](https://i0.wp.com/i.imgur.com/uRja54M.png)

- Non-Dispersive Infrared (NDIR) technology used to measure CO₂levels.

- Pre-calibrated

- Available outputs : TTL-UART, I2C, ALARM, PWM/Analog Voltage.

- Gold-plated sensor provides long-term calibration stability.

- Installed re-calibration function

- Operate as ACDL mode (Automatic Calibration in Dimming Light mode).

- Manual Re-Calibration function is executable.

- ROHS Directive- 2011/65/EU,[EN50581 : 2012,IEC 62321-3-1 : 2013]

- Size : 33mmx33mmx13.1mm

- Weight : 10 grams

## Hardware connections

Three lines as below the may be connected for Sensor node.
The TXD in S-300 and RXD in WIZ550S2E should be connected together.

| WIZ550S2E | Direction | S-300 JIG |
| --- | --- | --- |
| RXD | &lt;— | TXD |
| VCC(baseboard) | &lt;— | VCC (5V) |
| GND |  | GND |

- WIZ550S2E

![WIZ550S2E Pin Maps](https://i0.wp.com/i.imgur.com/caJ6S1i.png)

S-300 JIG

![JIG S-300 Pin Maps](https://i0.wp.com/i.imgur.com/uRGvWcQ.png)

## Software

WIZ550S2E Side: Sensor Node

- **wiznet_configuration_tool** is dedicated utility to configure the WIZ550S2E.

- **WIZ550 Configruation T**ool Download : [wiznet_configuration_tool_ver1.02.zip](http://wizwiki.net/wiki/lib/exe/fetch.php?media=products:wiz550s2e:wiznet_configuration_tool_ver1.02.zip)

- **WIZ550 Configruation Tool User Guide** : [WIZ550 Configruation Tool Guides](http://wiznetacademy.com/?p=512)

PC tools: Monitoring Server

- **Herdules**

> > Hercules SETUP utility is useful serial port terminal (RS-485 or RS-232 terminal) , UDP/IP terminal and TCP/IP Client Server terminal. It was created for HW group internal use only, but today it’s includes many functions in one utility and it’s Freeware! With our original devices (Serial/Ethernet Converter, RS-232/Ethernet Buffer or I/O Controller) it can be used for the UDP Config.

- **Hercules** download : [version3.2.8](http://new.hwg.cz/files/download/sw/version/hercules_3-2-8.exe)

- **Hercules user guide** : [User Guide](http://www.hw-group.com/products/hercules/index_en.html)

---

Source: https://maker.wiznet.io/TheoIm/projects/an-simple-iot-example--connected-co2-sensor-with-wiz550s2e/
