-
Notifications
You must be signed in to change notification settings - Fork 50
Description
feature request for DS18B20
DS18B20 are convenient small temperature sensors that are sold by SF: https://www.sparkfun.com/products/11050 . I (and several colleagues) use a lot of them, and it would be convenient if these could be logged automatically by the OLA default firmware.
It would be great to be able to:
- over serial, set up DS18B20 logging, providing over serial the ID of the pin used for communications, setting the sample rate, etc
- get in the SD card file the periodically logged DS18B20 data
it would be great to support an arbitrary number if DS18B20 if possible (we often log 4 to 10 of these, but we have plan to log maybe up to 30)
example of use by other project using the same ambiq MCU
The DS18B20 can "easily" be logged by the Ambiq chip; for example, the OpenMetBuoy logs several of these; note that on the core v1, this requested using a fixed OneWire library, provided by @paulvha :
https://github.com/paulvha/apollo3/tree/master/OneWire_on_uart
https://github.com/paulvha/apollo3/blob/master/OneWire_on_uart/1-wire_uart.odt
not sure how this looks like on the core v2.
use in OMB, that uses the Artemis Global Tracker:
in particular: