Home > other >  Help: STM32F103ZET + WZ - H3 formaldehyde sensor code
Help: STM32F103ZET + WZ - H3 formaldehyde sensor code

Time:11-28

WZ - H3 connected to STM32F103ZET PA2 \ PA3, poor old white base, don't know how to start writing code, the great god, please give directions, thank you!

CodePudding user response:

Whatever sensor, its communication interface with specifications, in accordance with its agreement read register data, we get the testing values, this app is very simple,
Now is generally 485 interface, a UART add a 485 chip on F103 connected to just go,
See sensor protocol, see will understand, it still won't do I help you,

CodePudding user response:

Find a 103 f serial port routines, using a serial port 0, modify the serial port baud rate Settings, read interrupt Settings, when read the complete data message after an interrupt, into the process,
  • Related