I noticed a bug in the library I used, so I found myself another one …
↓↓↓ Complete description, time index and links below ↓↓↓
Kudos to all the people publishing libraries for the Arduino! I really do appreciate the effort that goes into creating classes for general use and maintaining libraries. You are the ones that made the Arduino environment what it is today!
That said, sometimes there’s a bug in a library. It happens. The DallasTemperature library used in the previous video has a bug regarding the DS18B20. But there’s another library specifically for the DS18B20 available that works in that respect.
00:00 Intro – DallasTemperature library does not set DS18B20 resolution
01:15 DS18B20 – on the breadboard getting direct power and working
02:19 Code – DS18B20_RT library does the job, that is sets the resolution
05:14 Resolutions – and conversion times behaving as expected
06:57 Libraries – in library manager: DallasTemperature and DS18B20_RT
07:59 Datasheet – of DS18B20 revisited (resolution vs conversion time)
09:46 Parasite power – not possible with DS18B20_RT library
10:55 Wrap-up – that’s it
Tutorials: [ Ссылка ]
Arduino, DS18B20/DS18S20 Temperature Sensor and 1-Wire Bus – The Details: [ Ссылка ]
1-Wire – Through the Looking Glass (Scope) and Down the Rabbit Hole (Bit Level): [ Ссылка ]
Arduino Nano Every: The Better Nano? – Tests and Shootout with Nano v3: [ Ссылка ]
PlatformIO DS18B20 by Rob Tillaart: [ Ссылка ]
GitHub RobTillaart / Arduino / DS18B20: [ Ссылка ]
#robertssmorgasbord #tutorials #tutorial #how-to #Arduino #temperature #temperaturesensor #bus #dallas
Ещё видео!