Skip to content

mitwelten/mitwelten-iot-tree

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

81 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mitwelten IoT Toolkit: Lamenting Tree

Work in progress, see project tasks. Questions? Contact [email protected]

Algorithm

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();
}

Presence Sensor

   

Software

Hardware

Enclosure

Movement Sensor

   

Software

  • nRF52840Sense_MovementBrick.ino (TODO)
  • MovementBrick.java (TODO)

Hardware

Enclosure

Moisture Sensor

   

Software

Hardware

Enclosure

Threshold Fader

   

Software

Hardware

Enclosure

Graph Monitor

   

Software

  • ESP32S3_GraphDisplayBrick_ST7789.ino (TODO)
  • GraphDisplayBrick.java (TODO)

Hardware

Enclosure

Sound Player

   

Software

Hardware

Enclosure

Bluetooth Speaker

   

Hardware

Enclosure

Watering Cans

Material

Fountain

Material

Lab test

Field test

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published