MH-Z19B: Difference between revisions

From RevSpace
Jump to navigation Jump to search
No edit summary
No edit summary
Line 18: Line 18:
* 1.5V voltage reference
* 1.5V voltage reference
* Lamp
* Lamp
== Teardown ==
Back side of the MH-Z19B sensor with unlabeled SWD pads on the right:
[[File:MH-Z19B-back.jpg|400px]]
Front side of the (4-layer) PCB:
[[File:MH-Z19B-pcb.jpg|400px]]
[[File:MH-Z19B-pcb-markings.jpg|400px]]
[[File:MH-Z19B-pcb-tracks.jpg|400px]]


== Firmware ==
== Firmware ==


[[File:MH-Z19B-back.jpg|thumb|Back side of the MH-Z19B sensor with unlabeled SWD pads on the right]]
MCU firmware can be easily dumped through SWD pads. Pinout:
 
MCU firmware can be easily dumped through SWD test pads. Pinout:


{| class="wikitable"
{| class="wikitable"

Revision as of 14:32, 1 October 2019

Project MH-Z19B
Mhz19.jpg
Some research into the MH-Z19B CO2 sensor
Status Initializing
Contact Disasm
Last Update 2019-10-01

Introduction

MH-Z19B is an updated version of the MH-Z19 sensor.

Hardware

  • STM32F051K86 MCU
  • Unknown analog light+temperature sensor
  • Two 3.3V regulators
  • 1.5V voltage reference
  • Lamp

Teardown

Back side of the MH-Z19B sensor with unlabeled SWD pads on the right:

MH-Z19B-back.jpg

Front side of the (4-layer) PCB:

MH-Z19B-pcb.jpg MH-Z19B-pcb-markings.jpg MH-Z19B-pcb-tracks.jpg

Firmware

MCU firmware can be easily dumped through SWD pads. Pinout:

Pin Signal
1 (square) 3V3
2 GND
3 SWDIO
4 SWCLK
5 RESET (active low)

Additionally, bootloader asks for a firmware update during the first 20s of startup.