[Mini51] Read DS18B20

Post Reply
Posts: 229
Joined: 13 Mar 2020, 09:08

17 Jun 2020, 15:21

  • Application: This code uses Mini51 to read DS18B20.
  • BSP Version: Mini51DE Series BSP CMSIS v3.02.000
  • Hardware: NuTiny-EVB-Mini51 v3.0
The MCU communicates with DS18B20 through P5.2, reads DS18B20 and then outputs the temperature through serial port as float type. DS18B20 temperature resolution is 12 bits.
Serial port baud rate is 115200.

You can download the sample code at https://www.nuvoton.com/resource-downlo ... 1213165808

Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest