aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordakkar <dakkar@thenautilus.net>2022-03-27 14:52:40 +0100
committerdakkar <dakkar@thenautilus.net>2022-03-27 14:52:40 +0100
commit084d8ef95cdbd0e83db57581d477aa44fe5198fd (patch)
treec28cc3862796b1a6180cff3cbd493862717b8811
parentcomment and simplify enclosure (diff)
downloadenv-sensor-084d8ef95cdbd0e83db57581d477aa44fe5198fd.tar.gz
env-sensor-084d8ef95cdbd0e83db57581d477aa44fe5198fd.tar.bz2
env-sensor-084d8ef95cdbd0e83db57581d477aa44fe5198fd.zip
update readme
-rw-r--r--README.md73
1 files changed, 51 insertions, 22 deletions
diff --git a/README.md b/README.md
index 7078be3..760d124 100644
--- a/README.md
+++ b/README.md
@@ -1,6 +1,8 @@
# Environmental sensor
-## CO₂
+## Components
+
+### CO₂ sensor
https://sensirion.com/products/catalog/SEK-SCD41/
@@ -8,7 +10,12 @@ https://github.com/Sensirion/arduino-i2c-scd4x
connector: JST PH 2.0mm 4 pin
-## particulate
+* 1 SCL
+* 2 GND
+* 3 VDD
+* 4 SDA
+
+### particulate sensor
https://sensirion.com/products/catalog/SPS30/
@@ -16,29 +23,51 @@ https://github.com/Sensirion/arduino-sps
connector: JST ZH 1.5mm 5 pin
-## controller
+* 1 VDD
+* 2 SDA
+* 3 SCL
+* 4 SEL → GND (to select I₂C mode)
+* 5 GND
+
+### main board
http://www.lilygo.cn/claprod_view.aspx?TypeId=62&Id=1391&FId=t28:62:28
https://github.com/Xinyuan-LilyGO/LilyGo-T5-ink-series
battery: JST 1.25mm 2 pin
-
-## breadboarding
-
-μC:
-* 21 SDA green
-* 22 SCL yellow
-
-SCD41:
-* 1 SCL yellow
-* 2 GND black
-* 3 VDD white/red
-* 4 SDA green
-
-SPS30:
-* 1 VDD black
-* 2 SDA red
-* 3 SCL white
-* 4 SEL yellow → GND
-* 5 GND orange
+
+* 21 SDA
+* 22 SCL
+
+## Software
+
+Arduino +
+[ESP32](https://docs.espressif.com/projects/arduino-esp32/en/latest/) +
+[makeEspArduino](https://github.com/plerup/makeEspArduino/) + a bunch
+of libraries; `git submodule init && git submodule update` to get
+them.
+
+You'll probably need to adjust some paths in the
+[`Makefile`](Makefile), then you can `make flash` to build and flash
+the software.
+
+## Enclosure
+
+Render with [OpenSCAD](https://openscad.org/), then print.
+
+I printed on a Prusa MK3S, with PLA, sliced with PrusaSlicer:
+
+* setting "0.20mm speed"
+* variable layer height
+* "adaptive cubic" fill pattern
+* bottom layer of the enclosure:
+ * 4 bottom solid layers
+ * 2 top solid layers
+* middle layer of the enclosure:
+ * 2 bottom solid layers
+ * 2 top solid layers
+* top layer of the enclosure:
+ * 4 bottom solid layers (which are, in fact, the top layers of the
+ enclosure, because the top is upside-down)
+ * 2 top solid layers