Work
This commit is contained in:
parent
8ce94d7d00
commit
5c32be3d8d
4 changed files with 6021 additions and 15 deletions
|
|
@ -1,16 +1,43 @@
|
||||||
# Experiment 01 - Sensor Calibration
|
# Experiment 01 - Sensor Calibration
|
||||||
|
|
||||||
- Purpose: to understand how the values provided by sensor XXX vary in
|
## Purpose
|
||||||
different humidity conditions.
|
|
||||||
- Components:
|
The purpose of experiment 1 is to map the analog output values of the hydration
|
||||||
- Arduino Proto
|
sensor to different levels of water concentration in soil. This mapping will be
|
||||||
- Sensor XXX
|
necessary to adjust the user experience of the final device.
|
||||||
- Methodology
|
|
||||||
- Prepare the board and sensor to take measurements.
|
## Components and equipment
|
||||||
- Prepare production code and alternative code with raw values.
|
|
||||||
- Prepare 6 testing conditions: air, water, and three pots with different
|
- Arduino board to run code
|
||||||
humidity conditions (completely dry, XXXml watered, XXXml watered and
|
- Three male to male jumper cables
|
||||||
XXXml watered).
|
- One moisture sensor
|
||||||
- Perform raw and production-grade measurements in each environment.
|
- A cup of soil
|
||||||
- Results
|
- Water
|
||||||
- Take-aways
|
|
||||||
|
## 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
|
||||||
|
|
@ -7,4 +7,8 @@
|
||||||
- https://www.electroya.com/producto/arduino-nano-v3-ch340/
|
- https://www.electroya.com/producto/arduino-nano-v3-ch340/
|
||||||
- https://www.electrohobby.es/placas-arduino/388-nano-ch340g.html
|
- https://www.electrohobby.es/placas-arduino/388-nano-ch340g.html
|
||||||
- https://tienda.bricogeek.com/arduino/12-arduino-nano-8058333490342.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
|
|
@ -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
|
if you can't count on that and future alternatives might not work exactly the
|
||||||
same way or require a different calibration procedure.
|
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
|
## Open topics
|
||||||
|
|
||||||
- How to measure how much power a circuit is consuming.
|
- How to measure how much power a circuit is consuming.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue