Skip to content

Example code for DS18B20 on nRF52832/nRF52840 (bitbanged)

Notifications You must be signed in to change notification settings

FulvioSpelta/Nordic-DS18B20

 
 

Repository files navigation

Nordic-DS18B20

Example code for the DS18B20 Digital Thermometer on nRF52840 and nRF52832.

Project based on SDK 15.0

Setup

Hardware

  • nRF52832-DK or nRF52840-DK
  • DS18B20 sensor
  • 4.7K Ohm resistor
  • Breadboard and jumper wires as needed.

Software

  • Download SDK 15
  • Download Segger Embedded Studio

Clone or download this repo, and make sure that the ds18b20 folder is placed the folder SDK15_folder_path\examples\peripheral

Expected output from terminal

Troubleshooting

  • No numbers being printed in the terminal?

Make sure that you have enabled support for printing floating-point numbers in SES IDE

About

Example code for DS18B20 on nRF52832/nRF52840 (bitbanged)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 100.0%