Work in progress, see project tasks. Questions? Contact [email protected]
Based on FHNW IoT Bricks in the tradition of Botanicalls.
... // presence, movement, moisture, fader, sound and graph brick
while (true) {
boolean presence = presenceBrick.isActive(); // triggered by neighbor
boolean watering = movementBrick.isActive(); // triggered by neighbor
int moisture = moistureBrick.getMoisture(); // changes when watering
int threshold = faderBrick.getPosition() * 10; // set by researcher
if (presence && !watering && moisture < threshold) {
soundBrick.play(SAMPLE_LAMENT, VOLUME_LOUD);
} else if (presence && watering && moisture > threshold) {
soundBrick.play(SAMPLE_THANK, VOLUME_NORMAL);
}
graphBrick.addValue(moisture); // monitored by researcher
proxy.waitForUpdate();
}
- Feather HUZZAH ESP8266 w/ Stacking Headers
- FeatherWing Grove Adapter
- Grove Adjustable PIR Motion Sensor
- 3000 mAh 18650 Li-Ion Battery w/ Holder
- nRF52840Sense_MovementBrick.ino (TODO)
- MovementBrick.java (TODO)
- Feather nRF52840 Sense
- Feather Female Headers
- FeatherWing AirLift ESP32
- 3000 mAh 18650 Li-Ion Battery w/ Holder
- Feather ESP32 HUZZAH w/ Stacking Headers
- FeatherWing Grove Adapter
- Grove Soil Moisture Sensor
- 3000 mAh 18650 Li-Ion Battery w/ Holder
- Feather ESP32 HUZZAH w/ Stacking Headers
- FeatherWing Grove Adapter
- M5Stack Grove Fader
- 3000 mAh 18650 Li-Ion Battery w/ Holder
- ESP32S3_GraphDisplayBrick_ST7789.ino (TODO)
- GraphDisplayBrick.java (TODO)
- QT Py ESP32-S3
- QT Py EYESPI BFF
- EYESPI Cable 100 mm
- 240x240 px TFT LCD
- 3000 mAh 18650 Li-Ion Battery w/ Holder