[Nano100] Read DS18B20

Post Reply
chhsieh3
Posts: 271
Joined: 13 Mar 2020, 09:08

06 May 2020, 14:02

  • Application: This code uses Nano100 to read DS18B20.
  • BSP Version: Nano100B Series BSP CMSIS v3.03.000
  • Hardware: NuTiny-EVB-Nano130-LQFP128 v1.1
The MCU communicates with DS18B20 through PD.0, 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 ... 1213165510
Nuvoton

Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest