aboutsummaryrefslogtreecommitdiff
path: root/assignments/read-temperature
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2018-06-13 20:41:24 +0200
committerTrygve Laugstøl <trygvis@inamo.no>2018-06-13 20:41:24 +0200
commita4cbbee0671ff20560c31a2f3945b6131496ab2b (patch)
tree7b3a7d80db0eb3377d87bb812a3cc233f7f0cd4d /assignments/read-temperature
parente4bdeee49319bc5570dfa0e998e4e68f3c33ee8c (diff)
downloadiot-workshop-ndc-2018-a4cbbee0671ff20560c31a2f3945b6131496ab2b.tar.gz
iot-workshop-ndc-2018-a4cbbee0671ff20560c31a2f3945b6131496ab2b.tar.bz2
iot-workshop-ndc-2018-a4cbbee0671ff20560c31a2f3945b6131496ab2b.tar.xz
iot-workshop-ndc-2018-a4cbbee0671ff20560c31a2f3945b6131496ab2b.zip
wip
Diffstat (limited to 'assignments/read-temperature')
-rw-r--r--assignments/read-temperature/read-temperature.md13
-rw-r--r--assignments/read-temperature/read-temperature.pdfbin794796 -> 0 bytes
-rw-r--r--assignments/read-temperature/schematic/read-temperature.fzzbin23036 -> 0 bytes
-rw-r--r--assignments/read-temperature/schematic/read-temperature_bb.pdfbin392490 -> 0 bytes
-rw-r--r--assignments/read-temperature/schematic/read-temperature_schem.pdfbin354997 -> 0 bytes
-rw-r--r--assignments/read-temperature/solution/read-temperature/read-temperature.ino24
6 files changed, 0 insertions, 37 deletions
diff --git a/assignments/read-temperature/read-temperature.md b/assignments/read-temperature/read-temperature.md
deleted file mode 100644
index 31a32a8..0000000
--- a/assignments/read-temperature/read-temperature.md
+++ /dev/null
@@ -1,13 +0,0 @@
-# Read the temperature and humidity sensor DHT22
-
-## Step 1
-
-Wire up this schematic on the bread board:
-
-![](schematic/read-temperature_schem.pdf)
-
-![](schematic/read-temperature_bb.pdf)
-
-## Step 2
-
-* Change sampling frequency
diff --git a/assignments/read-temperature/read-temperature.pdf b/assignments/read-temperature/read-temperature.pdf
deleted file mode 100644
index f1ec641..0000000
--- a/assignments/read-temperature/read-temperature.pdf
+++ /dev/null
Binary files differ
diff --git a/assignments/read-temperature/schematic/read-temperature.fzz b/assignments/read-temperature/schematic/read-temperature.fzz
deleted file mode 100644
index 52a9fa0..0000000
--- a/assignments/read-temperature/schematic/read-temperature.fzz
+++ /dev/null
Binary files differ
diff --git a/assignments/read-temperature/schematic/read-temperature_bb.pdf b/assignments/read-temperature/schematic/read-temperature_bb.pdf
deleted file mode 100644
index 79cc8eb..0000000
--- a/assignments/read-temperature/schematic/read-temperature_bb.pdf
+++ /dev/null
Binary files differ
diff --git a/assignments/read-temperature/schematic/read-temperature_schem.pdf b/assignments/read-temperature/schematic/read-temperature_schem.pdf
deleted file mode 100644
index d01ab4b..0000000
--- a/assignments/read-temperature/schematic/read-temperature_schem.pdf
+++ /dev/null
Binary files differ
diff --git a/assignments/read-temperature/solution/read-temperature/read-temperature.ino b/assignments/read-temperature/solution/read-temperature/read-temperature.ino
deleted file mode 100644
index b261dc5..0000000
--- a/assignments/read-temperature/solution/read-temperature/read-temperature.ino
+++ /dev/null
@@ -1,24 +0,0 @@
-#include <DHT.h>
-#include <DHT_U.h>
-
-const auto DHTPIN = D1;
-const auto DHTTYPE = DHT22;
-
-DHT_Unified dht(DHTPIN, DHTTYPE);
-
-void setup() {
- Serial.begin(115200);
- pinMode(D2, INPUT);
- pinMode(D0, OUTPUT);
-}
-
-void loop() {
- if (digitalRead(D2) == HIGH) {
- Serial.println("HIGH");
- } else {
- Serial.println("LOW");
- }
- digitalWrite(D0, digitalRead(D2));
- delay(100);
-}
-