diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2018-04-26 19:46:03 +0200 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2018-04-26 19:46:03 +0200 |
commit | 02e2780d233c2d73fcbd32a2a970d5a6f3696224 (patch) | |
tree | 2e0e008622b22f921857e297197836c8f563365a /assignments/read-temperature | |
parent | 4c9176f3a07ea8c10301e08f659e3781f69d7a7c (diff) | |
download | iot-workshop-02e2780d233c2d73fcbd32a2a970d5a6f3696224.tar.gz iot-workshop-02e2780d233c2d73fcbd32a2a970d5a6f3696224.tar.bz2 iot-workshop-02e2780d233c2d73fcbd32a2a970d5a6f3696224.tar.xz iot-workshop-02e2780d233c2d73fcbd32a2a970d5a6f3696224.zip |
wip
Diffstat (limited to 'assignments/read-temperature')
-rw-r--r-- | assignments/read-temperature/read-temperature.md | 8 | ||||
-rw-r--r-- | assignments/read-temperature/read-temperature.pdf | bin | 0 -> 790129 bytes | |||
-rw-r--r-- | assignments/read-temperature/schematic/read-temperature.fzz | bin | 0 -> 23036 bytes | |||
-rw-r--r-- | assignments/read-temperature/schematic/read-temperature_bb.pdf | bin | 0 -> 392490 bytes | |||
-rw-r--r-- | assignments/read-temperature/schematic/read-temperature_schem.pdf | bin | 0 -> 354997 bytes | |||
-rw-r--r-- | assignments/read-temperature/solution/read-temperature/read-temperature.ino | 14 |
6 files changed, 22 insertions, 0 deletions
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 Binary files differnew file mode 100644 index 0000000..5a13441 --- /dev/null +++ b/assignments/read-temperature/read-temperature.pdf diff --git a/assignments/read-temperature/schematic/read-temperature.fzz b/assignments/read-temperature/schematic/read-temperature.fzz Binary files differnew file mode 100644 index 0000000..52a9fa0 --- /dev/null +++ b/assignments/read-temperature/schematic/read-temperature.fzz diff --git a/assignments/read-temperature/schematic/read-temperature_bb.pdf b/assignments/read-temperature/schematic/read-temperature_bb.pdf Binary files differnew file mode 100644 index 0000000..79cc8eb --- /dev/null +++ b/assignments/read-temperature/schematic/read-temperature_bb.pdf diff --git a/assignments/read-temperature/schematic/read-temperature_schem.pdf b/assignments/read-temperature/schematic/read-temperature_schem.pdf Binary files differnew file mode 100644 index 0000000..d01ab4b --- /dev/null +++ b/assignments/read-temperature/schematic/read-temperature_schem.pdf 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 <DHT.h> +#include <DHT_U.h> + +const auto DHTPIN = D1; +const auto DHTTYPE = DHT22; + +DHT_Unified dht(DHTPIN, DHTTYPE); + +void setup() { +} + +void loop() { +} + |