michl
New Member
Posts: 1
|
Post by michl on Nov 4, 2021 17:15:02 GMT
Arduino IDE
Is there a way to use a "OneWire" communication to other devices, like temperature sensor DS18B20 ?
|
|
ac
New Member
Posts: 4
|
Post by ac on Nov 29, 2021 23:43:38 GMT
I do not have one of these temperature sensors to test, but from the site below, it looks like you just have to use the one wire and Dallas temperature libraries and just attach it to one of the analog inputs on the ShieldBuddy. The code from this site should work with the ShieldBuddy, just make sure you change the pin that you are using on the #define ONE_WIRE_BUS line at the top of the code. Link to the site: create.arduino.cc/projecthub/TheGadgetBoy/ds18b20-digital-temperature-sensor-and-arduino-9cc806Hope that helps.
|
|