Skip to the content
2 layers72 × 47 mmKicad usb co2, the printed circuit board in 3D

Mac, LinuxマシンにUSBで接続できて追加ドライバ不要で値を読めるCO2センサ

Size
72 × 47 mm
Copper layers
2
Thickness
1.6 mm
Parts
9
Nets
33
Pads
89
Tracks, vias
101, 3
Pours
2
Routed
Yes
KiCad
KiCad 5 (file 20171130)
Created
28 Mar 2020
Updated
6 Jun 2021

Overview

Kicad usb co2 is an open-source printed circuit board by realglobe-Inc, from the realglobe-Inc/usb_co2 repository on GitHub. It is a 2-layer board of 72 × 47 mm with 9 parts on 33 nets, routed with 101 tracks and 3 vias.

It is built around the MH-Z19B. Its parts include 5 ICs, 2 resistors and 2 switches. It belongs with the sensors and measurement boards and the SAM D and SAM boards of this library.

Main components

1

README

README.md

usb_co2

usb_co2

Mac, LinuxマシンにUSBで接続できて追加ドライバ不要で値を読めるCO2センサ

使い方(macOS)

まず、USB機器をすべてコンピュータから取り外す。

次に、usb_co2をUSBポートに接続する。

次に、コンピュータに接続されているシリアルポートの一覧を表示する。

text
$ ls -1 /dev/cu.*
/dev/cu.Bluetooth-Incoming-Port
/dev/cu.iMiminashi5s-WirelessiAP
/dev/cu.usbmodem14101

上記の例の場合、cu.usbmodem14101 というデバイスファイルがusb_co2を示す。

次に、sttyコマンドを実行してシリアルポートの設定を行う。

sh
stty -f /dev/cu.usbmodem14101 raw 9600

最後に、catコマンドでデバイスファイルを読み込むとCO2の値(ppm)が表示される。

text
$ cat /dev/cu.usbmodem14101 
co2=399;status=0
co2=399;status=0
co2=399;status=0
co2=399;status=0
co2=399;status=0
co2=399;status=0

使い方(Linux)

まず、USB機器をすべてコンピュータから取り外す。

次に、usb_co2をUSBポートに接続する。

次に、コンピュータに接続されているシリアルポートの一覧を表示する。

text
$ ls -1 /dev/tty*
/dev/tty
.
. (中略)
.
/dev/ttyACM0
/dev/ttyAMA0
/dev/ttyprintk
/dev/ttyUSB0

上記の例の場合、/dev/ttyACM0 というデバイスファイルがusb_co2を示す。

次に、sttyコマンドを実行してシリアルポートの設定を行う。

sh
stty -F /dev/ttyACM0 raw 9600

最後に、catコマンドでデバイスファイルを読み込むとCO2の値(ppm)が表示される。

text
$ cat /dev/ttyACM0
co2=399;status=0
co2=399;status=0
co2=399;status=0
co2=399;status=0
co2=399;status=0

Parts

9
QtyValueFootprintReferences
2PinHeader_XIAOkicad_mylib:PinHeader_XIAOU4, U5
2RResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_HorizontalR1 10k, R2 10k
2SW_SPDTkicad_mylib:SW_SLIDE_sengokuSW1, SW2
1MH-Z14Akicad_mylib:MH-Z14AU3
1MH-Z19Bkicad_mylib:MH-Z19BU1
1SeeeduinoXIAOkicad_mylib:SeeedXIAOU2

Similar boards

  • 2 layers169.1 × 252.5 mmAirguard v1, the printed circuit board in 3D

    Airguard v1

    open-lv/air-guard

    Do-it-yourself electronics kit for building an air quality monitor for your school, work and home.

    38 parts7MIT
  • 2 layers118 × 70 mmESP32SmartBoard PCB, the printed circuit board in 3D

    ESP32SmartBoard PCB

    ronaldsieber/ESP32SmartBoard_PCB

    KiCad project of a Printed Cuircit Board (PCB) for ESP32 with Temperature/Humidity/CO2 Sensors, User LEDs and Buttons

    36 parts4MIT
  • 2 layers110.1 × 38.6 mmEnvironmentalSensors, the printed circuit board in 3D

    EnvironmentalSensors

    strayer/EnvironmentalSensor

    A WiFi environmental sensor based on Tasmota that reports temperature, air pressure, air quality, humidity and CO2 (ppm).

    8 parts4MIT
  • 2 layers79 × 79 mmHm env sensor, the printed circuit board in 3D

    Hm env sensor

    HiMinds/himinds-boosting-innovation-embedded-env-sensor-hw

    HiMinds Open Source Wireless Environmental Sensor HW

    94 parts1Apache-2.0
  • 2 layers94 × 68.6 mmCO2Sensor, the printed circuit board in 3D

    CO2Sensor

    JensFZ/CO2Sensor_PCB

    Added external power suply, leds and a buzzer (all of them are optional)

    18 parts1
  • 2 layers65 × 40 mmIndoor sensor, the printed circuit board in 3D

    Indoor sensor

    Djuke-DIYAudio/indoor-sensor

    Affordable indoor sensor for measuring CO2, temperature, humidity and pressure

    19 parts
  • 2 layers51.6 × 78 mmMHZ19B wemos BM280 pistes 1mm buzz, the printed circuit board in 3D

    MHZ19B wemos BM280 pistes 1mm buzz

    Gonellarro/Sensor-de-CO2

    Building a C02 and wheather station with Wemos D1 mini micro controller, MH Z19B and BM280 sensors

    10 parts
  • 2 layers43 × 63 mmEnv sensor, the printed circuit board in 3D

    Env sensor

    motty-mio2/env_sensor_pcb

    29 parts

Questions

How big is the Kicad usb co2 PCB?

It measures 72 × 47 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Kicad usb co2 use?

9 parts, built around the MH-Z19B. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the Kicad usb co2 KiCad files?

From the realglobe-Inc/usb_co2 repository on GitHub, at the commit this page was made from: the board is kicad/kicad_usb_co2.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.

Can I use the Kicad usb co2 design in my own project?

Its repository states no licence, so its author keeps all rights: ask realglobe-Inc before reusing the design.