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
- Host: GitHub
- URL: https://github.com/gtalusan/nrf52-ds18b20
- Owner: gtalusan
- Created: 2017-09-17T03:35:03.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-10-06T02:16:44.000Z (over 7 years ago)
- Last Synced: 2025-03-29T07:22:24.645Z (3 months ago)
- Topics: arduino, arduino-sketch, ble, bluetooth, bluetooth-le, bluetooth-low-energy, ds18b20, nrf52, nrf52832, nrf5x, onewire, redbearlab, redbearlabs, temperature-sensor
- Language: Arduino
- Size: 1.26 MB
- Stars: 7
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# nRF5x DS18B20 example

### 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.