M5stack and DS18B20
-
I wanted to measure temperatures with DS18B20 and M5stack using OneWire. Which pin do I need to connect the DATA wire (yellow)?
-
Hello @fly4fun
you are more or less free in choosing a GPIO/pin as long as it hasn't been used internally and is available on the M5Stack bus or Groove port. The OneWire library should have a means to define the GPIO/pin to be used.
Check out M-BUS section on this page. GPIO2 or GPIO5 should be free to use.
Thanks
Felix -
@felmue thank you very much for your help!