This commit is contained in:
pablo 2022-10-24 19:55:27 +02:00
parent 8ce94d7d00
commit 5c32be3d8d
4 changed files with 6021 additions and 15 deletions

View file

@ -1,16 +1,43 @@
# Experiment 01 - Sensor Calibration
- Purpose: to understand how the values provided by sensor XXX vary in
different humidity conditions.
- Components:
- Arduino Proto
- Sensor XXX
- Methodology
- Prepare the board and sensor to take measurements.
- Prepare production code and alternative code with raw values.
- Prepare 6 testing conditions: air, water, and three pots with different
humidity conditions (completely dry, XXXml watered, XXXml watered and
XXXml watered).
- Perform raw and production-grade measurements in each environment.
- Results
- Take-aways
## Purpose
The purpose of experiment 1 is to map the analog output values of the hydration
sensor to different levels of water concentration in soil. This mapping will be
necessary to adjust the user experience of the final device.
## Components and equipment
- Arduino board to run code
- Three male to male jumper cables
- One moisture sensor
- A cup of soil
- Water
## Methodology
1. Prepare the code. Three versions of the code will be used raw, slightly
smoothed and heavily smoothed.
- Raw version outputs the sensor's measurement to the serial port in
real-time, unfiltered.
- The slightly smoothed version will take 10 measurements with 50ms of
delay between each and return the mean.
- The heaviliy smoothe version will take 100 measurements with 50ms of
delay between each and return the mean.
2. Prepare the soil
- In a small recipient (weight: 80g), place 200g of soil.
- Let it dry for X days (collection on 24/10/2022) to obtain the driest
possible soil.
3. The next steps will be performed repeteadly by adding 10ml of water to the
soil at each step. Start by first measuring the completely dry-soil. Ensure
that the water is distributed uniformly across the soil. For each amount of
water up to a max of 200ml, and for each version of the code:
- Obtain measurements from the sensor. If the measurement is unstable,
record the observed range and the most frequent value.
4. Finally, obtain measurements in a glass of pure water, with no soil at all.
## Results
Make line chart with measurement by hydration level.
## Conclusions

View file

@ -7,4 +7,8 @@
- https://www.electroya.com/producto/arduino-nano-v3-ch340/
- https://www.electrohobby.es/placas-arduino/388-nano-ch340g.html
- https://tienda.bricogeek.com/arduino/12-arduino-nano-8058333490342.html
-
- https://www.az-delivery.de/en/products/nano-v3-mit-ftdi-arduino-kompatibel
- Moisture Sensor:
- Docs: https://cdn.shopify.com/s/files/1/1509/1638/files/Hygrometer_V1.2_Sensor_Modul_Datenblatt_AZ-Delivery_Vertriebs_GmbH.pdf?v=1608545956
- Buy:
- https://www.az-delivery.de/en/products/bodenfeuchte-sensor-modul-v1-2?variant=12461193920608

File diff suppressed because one or more lines are too long

View file

@ -31,6 +31,19 @@ sensors being on the market for a long time. It's definetely a design challenge
if you can't count on that and future alternatives might not work exactly the
same way or require a different calibration procedure.
## 20221024
I have discovered this germany shop called AZDelivery. It's heaven. They have
plenty of good stuff, all in stock, free deliveries with a relatively low
basket value and they offer volume-discounts. It's sad that we don't have such
a page here in Spain and we get pushed to look for this kind of service
outside.
But for now, I have found a guy in my neighbourhood that sells exactly the
moisture sensors I intend to try. Sometimes fortune smiles on us. I'll get in
touch with him to get the sensors this week. With that, I can keep on
experimenting and designing the device.
## Open topics
- How to measure how much power a circuit is consuming.