This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

ds18b20 temperature updates with beacon

Using oneWire library, I was able to get the temperature from the ds18b20. But it didn't work if I put the same code in the Beacon software.

I understand that the softdevice operation maybe the reason (since it affects the timing of the onewire code).

What is the solution for that?

Should I stop the softdevice before the temperature readout? and start it again right after?

I am afraid that the power consumption of this method would be too high

Any other way?

Parents Reply Children
Related