An open API service indexing awesome lists of open source software.

https://github.com/gtalusan/nrf52-ds18b20

nRF52 DS18B20 arduino example
https://github.com/gtalusan/nrf52-ds18b20

arduino arduino-sketch ble bluetooth bluetooth-le bluetooth-low-energy ds18b20 nrf52 nrf52832 nrf5x onewire redbearlab redbearlabs temperature-sensor

Last synced: 2 months ago
JSON representation

nRF52 DS18B20 arduino example

Awesome Lists containing this project

README

        

# nRF5x DS18B20 example

![alt text](./redbear-ds18b20.jpg "DS18B20 with Redbear BLE Nano v2")

### Description

Short example broadcasting a DS18B20 temperature sensor over Bluetooth LE

### Electrical

DS18B20 wired in parasitic mode. 3.3V -> 2.2kΩ resistor -> DQ, DQ -> D4 (nRF). VCC shorted to GND.

### Current consumption

Typical with no calls into mbed SDK is about 8mA.

Turning on DCDC in loop brings it down to 3.5mA.

Calling sd_app_evt_wait brings it down to 0.36mA on system boot.

Back to 3.5mA once a central connects. Force a system reset when a central disconnects brings it back down to 0.36mA.