With Vikrant the third challenge comprised the developement from the Duckweed Incubator from Term 1 to a Distributed and Independent Monitoring Sysytem.
figure 1: Mindmap of common interests.
Purpose
Since a few weeks I've been lurking the Chainlink oracle community space in which software developers and other distributed-design related people are constructing DAO's and smart contracts for real-life data applications.
Within lemna I was attempting to approach this from a more digifab perspective.
The core aim was to monitor the health for the Duckweeed plants so that athey could be grown in a healthy efficient way, to control the nutrition and strains of protiens grown, for consumption in the later stage. The same system could be used my multiple individuals for any plants or mediums be it, aquatic plants, terrestrial plants or even compost.
Planning
We had a more or less clear way to execute the artifact, taking into considerations the different steps of the process that would need to be assembled eventually.
My responsibilities included the communication protocol, 3D CAD design and electronic design in which I was helped a lot by Mikel Llobera.
I soldered and assembled the device after multiple iterations. Overall Vikrant focussed on conceptual development, prototyping and documentation.
This division worked naturally and complementary as we both were flexible in lending support during tough steps.
figure 2: Planning of the week.
First day was dedicated to identify the concept and start figuring out circuitry and required components.
Second day focussed further on hardware plus communication protocol.
Third day is to finalize electronics, arrange the user interface, run tests and start documentation.
Fourth day is for tuning, synchronizing the artifact and documenting.
Process
Circuitry evolution
The electronics were powered by an ESP32 Huzzah microcontroller and a 5V USB input supporting the form factor and modes of connectivity. The evolution of the circuit occured in phases, with addition of one sensor at a time; starting with Temperature sensor to the Moisture sensor at last.
figure 3: Circuitry evolution of the oracle monitoring device.
Code
The assembled code as executed on the ESP32 by a Arduino IDE sketch consisting of the wifi- and MQTT-setup and sensor inputs is stated below.
Fabrication
The cap of the housing was lasercut out of green 3mm acrylic sheet. The shape holds the phototransistor in place and has holes for both the LED and USB input-cable. The open grid serves for the DHT11 sensor.
Assembly
The soldered wiring setup fit inside the 3D printed housing and guided to it's designated positions.
figure 4: Assembling the device.
Repository
We created a repo of the microchallenge that shows the process in more detail and provides all related working files.