2020-01-30 11:06:05 +03:00
..
2018-05-27 18:44:28 +03:00
2018-05-27 18:44:28 +03:00
2018-05-27 18:44:28 +03:00
2018-05-27 18:44:28 +03:00
2018-05-27 18:44:28 +03:00
2018-05-27 19:09:10 +03:00
2018-05-27 18:44:28 +03:00
2018-05-27 18:44:28 +03:00
2020-01-30 11:06:05 +03:00
2018-05-27 18:44:28 +03:00
2018-05-27 18:44:28 +03:00
2018-05-27 18:44:28 +03:00
2018-05-27 18:44:28 +03:00

Check temperature on sensors pair and show values of T measured by USART.

USART speed 115200. Code for NUCLEO-042

Serial interface commands (ends with '\n'):

  • C show coefficients for both thermosensors
  • D detect seosors (reseting them)
  • H switch I2C to high speed (100kHz)
  • L switch I2C to low speed (default, 10kHz)
  • R reset both sensors
  • T get temperature in degrC

PINOUT

  • I2C: PA9 (SCL) & PA10 (SDA)
  • USART2: PA2 (Tx) & PA15 (Rx)