bbcmicrobit / micropython

Port of MicroPython for the BBC micro:bit
https://microbit-micropython.readthedocs.io
Other
595 stars 287 forks source link

one wire and micro:bit V2 for ds18b20 sensor ? #752

Closed G-Boronad closed 1 year ago

G-Boronad commented 2 years ago

Hy, First, thanks for all your work!

I'm looking for a solution to make works ds18b20 sensor with one wire protocol and a micro:bit V2 (and micropyton of course).
Is it possible? Thanks G.B

rhubarbdog commented 2 years ago

Hi, You'll need to use arm 2 assembly that's the best I can give. Check my dht11 repository to help but that's for v1 microbiology. Yet to update to v2

Phil

rhubarbdog commented 1 year ago

hi i've finished my dht11 repo and have decided to try and get this sensor working. i have just bought a ds18b20 so watch this space ...

G-Boronad commented 1 year ago

Thanks a lot !!!!!!!

microbit-carlos commented 1 year ago

I'll close this as a duplicate of https://github.com/microbit-foundation/micropython-microbit-v2/issues/99.

Thanks @rhubarbdog for working on porting the driver to micro:bit V2! If you want to share the driver in https://github.com/microbit-foundation/micropython-microbit-v2/issues/99 when it's done that would be fantastic 😃