androidthings / contrib-drivers

Open source peripheral drivers
Apache License 2.0
560 stars 174 forks source link

[driver]How to support 1-wire just like DS18B20? #93

Closed 562134391 closed 6 years ago

Fleker commented 6 years ago

There's no direct support for a OneWire bus on any Android Things SOM, although there are ways you can implement the OneWire protocol using a UART bus. I don't have an example, but that repository is one example of the circuit that you can build. The code there can serve as a good starting point for implementing the protocol.