MH-Z19B: Difference between revisions
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 == | ||
MCU firmware can be easily dumped through SWD pads. Pinout: | |||
MCU firmware can be easily dumped through SWD | |||
{| class="wikitable" | {| class="wikitable" |
Revision as of 14:32, 1 October 2019
Project MH-Z19B | |
---|---|
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:
Front side of the (4-layer) PCB:
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.