From 02e2780d233c2d73fcbd32a2a970d5a6f3696224 Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Thu, 26 Apr 2018 19:46:03 +0200 Subject: wip --- assignments/read-temperature/read-temperature.md | 8 ++++++++ assignments/read-temperature/read-temperature.pdf | Bin 0 -> 790129 bytes .../read-temperature/schematic/read-temperature.fzz | Bin 0 -> 23036 bytes .../read-temperature/schematic/read-temperature_bb.pdf | Bin 0 -> 392490 bytes .../schematic/read-temperature_schem.pdf | Bin 0 -> 354997 bytes .../solution/read-temperature/read-temperature.ino | 14 ++++++++++++++ 6 files changed, 22 insertions(+) create mode 100644 assignments/read-temperature/read-temperature.md create mode 100644 assignments/read-temperature/read-temperature.pdf create mode 100644 assignments/read-temperature/schematic/read-temperature.fzz create mode 100644 assignments/read-temperature/schematic/read-temperature_bb.pdf create mode 100644 assignments/read-temperature/schematic/read-temperature_schem.pdf create mode 100644 assignments/read-temperature/solution/read-temperature/read-temperature.ino (limited to 'assignments/read-temperature') diff --git a/assignments/read-temperature/read-temperature.md b/assignments/read-temperature/read-temperature.md new file mode 100644 index 0000000..2528b4a --- /dev/null +++ b/assignments/read-temperature/read-temperature.md @@ -0,0 +1,8 @@ + +## Step 1 + +Wire up this schematic on the bread board: + +![](schematic/read-temperature_schem.pdf) + +![](schematic/read-temperature_bb.pdf) diff --git a/assignments/read-temperature/read-temperature.pdf b/assignments/read-temperature/read-temperature.pdf new file mode 100644 index 0000000..5a13441 Binary files /dev/null and b/assignments/read-temperature/read-temperature.pdf differ diff --git a/assignments/read-temperature/schematic/read-temperature.fzz b/assignments/read-temperature/schematic/read-temperature.fzz new file mode 100644 index 0000000..52a9fa0 Binary files /dev/null and b/assignments/read-temperature/schematic/read-temperature.fzz differ diff --git a/assignments/read-temperature/schematic/read-temperature_bb.pdf b/assignments/read-temperature/schematic/read-temperature_bb.pdf new file mode 100644 index 0000000..79cc8eb Binary files /dev/null and b/assignments/read-temperature/schematic/read-temperature_bb.pdf differ diff --git a/assignments/read-temperature/schematic/read-temperature_schem.pdf b/assignments/read-temperature/schematic/read-temperature_schem.pdf new file mode 100644 index 0000000..d01ab4b Binary files /dev/null and b/assignments/read-temperature/schematic/read-temperature_schem.pdf differ diff --git a/assignments/read-temperature/solution/read-temperature/read-temperature.ino b/assignments/read-temperature/solution/read-temperature/read-temperature.ino new file mode 100644 index 0000000..71e860e --- /dev/null +++ b/assignments/read-temperature/solution/read-temperature/read-temperature.ino @@ -0,0 +1,14 @@ +#include +#include + +const auto DHTPIN = D1; +const auto DHTTYPE = DHT22; + +DHT_Unified dht(DHTPIN, DHTTYPE); + +void setup() { +} + +void loop() { +} + -- cgit v1.2.3