Arduino, DS18B20/DS18S20 Temperature Sensor and 1-Wire Bus – The Details

Описание к видео Arduino, DS18B20/DS18S20 Temperature Sensor and 1-Wire Bus – The Details

Just install some libraries and that’s it. Hold on, there might be more …
↓↓↓ Complete description, time index and links below ↓↓↓

For example: How does that parasitic power thing work? Does it always work? What about several devices on the same 1-Wire bus? And what’s the difference between the DB18B20 and DS18S20 temperature sensors?

I’ll try my best to answer all these questions in this video and then some. At the end we’ll have four DS18B20s connected to an Arduino Nano via two 1-wire busses, one with phantom power and one with a dedicated 5V supply line.

Intro …
00:00 Intro – there shall be two busses with two sensors each
1-Wire bus basics …
01:06 Data transmission – pull-up resistor and open collector/drain pull-downs
02:44 Parasite power – hard pull-up through transistor, timing issues
05:46 Masters – hardware differences between microcontrollers and -processors
Simple example …
07:45 Demo – wired up breadboard and Arduino serial monitor
10:20 Circuit – one bus with parasitic and one bus with direct power, two sensors each
12:56 Code – 1-Wire and Dallas Temperature library
DS18B20 vs DS18S20 …
17:50 Overview – same accuracy (almost) but different resolutions
18:48 Speed – DS18B20 is eight times faster at the same resolution
20:08 Accuracy – DS18B20 is a wee bit better specified
Second example …
21:19 Demo – faster with higher resolution, but what sensor is which on the bus?
24:37 Code – setting resolution and optimized loops
Addressing …
25:55 1-Wire identification – a 64-bit address, talk about internet of things
27:55 Demo – seeing the 64-bit addresses of the devices on the breadboard
28:48 Code – getting addresses and using them to address devices
31:29 Methods – just some suggestions on how to use addressing in practice
Remarks …
34:24 Pull-up resistor – smaller values might be required, but there are limits
38:10 Parasite power – it’s not always working, supported or possible
Wrap-up …
39:00 Wrap-up – a lot of things went unsaid, so just ask for specifics

Tutorials:    • Tutorials  

#robertssmorgasbord #tutorials #tutorial #how-to #Arduino #temperature #temperaturesensor #bus #dallas

Комментарии

Информация по комментариям в разработке