PROJECT DESCRIPTION
//Project under developpement.//
![](https://maker.wiznet.io/upload/ckeditor5/1010956522_1667284482.png)
Introduction
Ivypots is a solution for people who want to grow indoors vegetables, without worrying about How Often & How Much Watering the Houseplants are.
Ivypots uses the Peltier Effect to generate water from the humidity to finally be able to water the plants. Thanks to the SD Card we can use the results to create a graph in Excel to analyze the plants to determine how much and how often the plants need to be watered to give the best possible experience.
To be able to produce water, you must already understand what a Peltier module is. The module Peltier is a component that can perform heat exchange without any moving parts. It is a semiconductor cooler which consists of a collection of legs composed of P or N-type semiconductor material.
![peltier-cooling (1)](https://inbthermoelectric.com/wp-content/uploads/2018/01/peltier-cooling-1.jpg)
A leg is constructed by creating several layers of substrate material, built up in order to have some height.
Thermoelectric coolers operate according to the Peltier effect. The effect creates a temperature difference by transferring heat between two electrical junctions.
![](https://maker.wiznet.io/upload/ckeditor5/797178594_1667165688.png)
When the current flows through the junctions of the two conductors, heat is removed at one junction and cooling occurs.
Depending on the direction of the current, when current is applied one side gets hot and the other gets cold. Thanks to this physical effect would be able in theory to produce water thanks to the condensation.
Note that, this is the same process as the so-called Dehumidifier.
![Diy 120w Tec Peltier Semiconductor Refrigerator Water-cooling Air Condition Movement For Refrigeration And Fan - Air Conditioner Parts - AliExpress](https://ae01.alicdn.com/kf/H2f2384adec1546be8809e928783f855aU/DIY-120W-TEC-Peltier-Semiconductor-Refrigerator-Water-cooling-Air-Condition-Movement-for-Refrigeration-and-Fan.jpg_Q90.jpg_.webp)
This has been proven, YouTubers have been able to use this effect to design a system called the atmospheric water generator. The system is composed of three parts: the Peltier module, a passive cooler, and a fan, so it can produce water.
For the device to be most effective a heat sink has to be mounted on the hot side for heat transfer, otherwise, the cooling effect will be minimized and it will not give proper results.
![Peltier Effect Cooling Experiments – Peltier Devices](https://i0.wp.com/dronebotworkshop.com/wp-content/uploads/2019/10/peltier-module-before.jpg?resize=750%2C422&ssl=1)
![Peltier died. Burn out? Condensation leakage? What could cause this? - Electrical Engineering Stack Exchange](https://i.stack.imgur.com/szcHZ.jpg)
Now let's see how the light detection works :
for the light detection, we will the KY-018 Photoresistor LDR module ideally it will be better to use a phototransistor because of its high accuracy but it will be more expensive than the project should be.
So how does it work?
The KY-018 Photoresistor LDR module consists of a photoresistor (or Light Dependent Resistor - LDR) and a 10kΩ resistor. These two resistors create a voltage divider, as shown on the following image:
![](https://maker.wiznet.io/upload/ckeditor5/797178594_1667166057.png)
The resistance of a photoresistor decreases in the presence of light and increase in the absence of it. The output is an analog voltage that is in the opposite relation to the intensity of light.
A photoresistor is a resistor that can vary depending on the state of the light, it will change the value of the voltage applied to it.
To understand a little better how it works, here is an example:
![How Light Sensor Works](https://arduinogetstarted.com/images/tutorial/how-it-works-light-sensor.gif)
We can see when there is light the value of the voltage is 5V but when there is no light the voltage is 0V.
Now that we know this, we could use this mechanism to deploy LEDs to give light to plants.
How can we reproduce the sunlight?
You may know that plants need light to be able to photosynthesize, but how can we do this?
First of all, plants need a certain spectrum of light especially ultraviolet radiation (260–380 nm) and the visible portion of the spectrum (380–740 nm) which includes PAR (400–700 nm), and far-red radiation (700–850 nm).
![Grow Light Spectrum Explained: Ideal LED Spectrum for Plants](https://bioslighting.com/wp-content/uploads/2020/04/BIOS_PAR-Range-Cropped-1024x580.png)
So knowing this we can use a certain type of led like the WL-SMDC Horticulture LEDs from Würth Elektronik :
![](https://maker.wiznet.io/upload/ckeditor5/583358393_1667114311.png)
there are perfect because of their spectrum light.
/////////////////////////////Hardware////////////////////////////
List of components :
- WizFi360-EVB-Pico is based on Raspberry Pi RP2040 and adds Wi-Fi connectivity using WizFi360. It is pin compatible with the Raspberry Pi Pico board and can be used for IoT Solution development. Features, hardware specifications and documents can be find here: https://docs.wiznet.io/Product/Open-Source-Hardware/wizfi360-evb-pico
![Getting Started with WizFi360-EVB-Pico – RP2040 and Wi-Fi Development Board from WIZnet - CIRCUITSTATE Electronics](https://circuitstate.com/wp-content/uploads/2022/08/WIZnet-WizFi360-EVB-Pico-RP2040-Top-CIRCUITSTATE-Electronics-01.jpg)
Here are the pinouts of the WizFi360-EVB-Pico :
![WizFi360-EVB-Pico | WIZnet Document System](https://docs.wiznet.io/assets/images/WizFi360-EVB-Pico_Pinout_220405-97312e88e09911a428ae152a94ab940b.png)
- Photo resistor/PhotoTransistor (The KY-018 Photoresistor LDR module) for the light detection
![Photoresistor Characterization - Arduino Project Hub](https://hackster.imgix.net/uploads/attachments/527636/20180622_133548_YXDnbDMITj.jpg?auto=compress%2Cformat&w=900&h=675&fit=min)
Specifications
- Operating voltage range: from 3.3V to 5V DC »
- Operating temperature: -25°C to 80°C [-13°F to 176°F]
- Dimensions: 19 x 15mm [0.73 x 0.6in]
![](https://maker.wiznet.io/upload/ckeditor5/797178594_1667166484.png)
- Relay for activates the irrigation system or the Peltier module
![Nouveau 5V/12V 2 channel relay board module pour Arduino Raspberry Pi ARM AVR DSP Pic | eBay](https://i.ebayimg.com/images/g/58gAAOSwx5hbn94O/s-l500.jpg)
Specifications:
- Maximum AC: 5A 50V
- Maximum DC: 5A 30V
- Contact Type: Both: Normally Closed – NC, Normally Opened - NO
- Dimensions: 49 x 51mm [1.9 x 2in]
- Capacitive soil moisture measures soil moisture levels by capacitive sensing rather than resistive sensing like other sensors on the market. We will be using this for the hygrometric system's detection.
![Capacitive soil moisture sensor V1.2 - Boutique Semageek](https://boutique.semageek.com/6110-thickbox_default/capacitive-soil-moisture-sensor-v12.jpg)
Specifications:
- Power supply voltage: 5V
- Output voltage: Analog
- Dimensions: 22 x 97 x 9mm
- 5V
![](https://maker.wiznet.io/upload/ckeditor5/797178594_1667166789.png)
- AHT10 is a high precision, fully calibrated, temperature and humidity sensor chip package, the MEMS production process, to ensure that products with high reliability and excellent long-term stability. The sensor includes a capacitive humidity sensing element and a high-performance microprocessor CMOS is connected. We will be using this for the temperature sensor and humidity
![AHT10 RH/TEMP Sensor - Espruino](https://www.espruino.com/refimages/AHT10.jpg)
Specifications:
- Size 15 mm * 10 mm
- power DC 3.3V - 5 V
- I2C interface
- Temperature -40 to +85 ° C, accuracy + -1 ° C
- humidity 0-100%, precision + -3%.
- L2C address 0x76 (SDO LOW), 0x77 (SDO HIGH)
- RGB LED for the boot of the System
![](https://maker.wiznet.io/upload/ckeditor5/797178594_1667167159.png)
Specifications:
- Voltage limitations per color are:
- Red 1.8V ~ 2.4V
- Green 2.8V ~ 3.6V
- Blue 2.8V ~ 3.6V
![](https://maker.wiznet.io/upload/ckeditor5/797178594_1667167195.png)
Specifications:
- Voltage: 3.2 to 3.6 V
- Current: 700 mA
- RGB LED for the plants (WL-SMDC SMT Mono-color Ceramic LED Waterclear)
![](https://maker.wiznet.io/upload/ckeditor5/583358393_1667114311.png)
Specifications:
- Voltage: 3.2 to 3.6 V
- Current: 700 mA
- The Peltier module is a ceramic electronic component that uses the thermoelectric effect to convert current into heat. This is for water production.
![Peltier Element Tests (TEC1-12706) - YouTube](https://i.ytimg.com/vi/qetAAeVQdDs/maxresdefault.jpg)
Specifications:
- Operating voltage 12V
- Max. operating voltage 15V
- Operating current range 3-6A
- Power consumption range 30 - 60W
- Module resistance range 1.98 - 2.3Ohms
- Max. temperature difference 75°C (Th=50°C), 68°C (Th=27°C)
- Max. operating temperature 55 - 85°C
- Dimensions 40x40x4mm (1.6x1.6x0.16in)
![](https://maker.wiznet.io/upload/ckeditor5/797178594_1667167059.png)
- Heatsink for the Peltier module, you can use any type of heatsink.
![DIY Kit Tec1-12706 Thermoelectric Peltier Module Water Cooler Cooling - China Peltier Cooler and Heatsink](https://image.made-in-china.com/2f0j00UzqYOkNhCrbo/DIY-Kit-Tec1-12706-Thermoelectric-Peltier-Module-Water-Cooler-Cooling.jpg)
- Fan for the Peltier module, you can use any type of fan.
![Buy Heatsink with a 92mm fan for the Peltier 40mm Botland - Robotic Shop](https://cdn3.botland.store/61197/heatsink-with-a-92mm-fan-for-the-peltier-40mm-cell.jpg)
- Battery
![Buy 18650 Li-ion Rechargeable Battery Cell Online – QuartzComponents](http://cdn.shopify.com/s/files/1/0300/6424/6919/products/18650-li-ion-battery-1200mah_1200x1200.jpg?v=1646026547)
- Nominal Voltage: 3.6V
- Nominal Capacity: 2,850 mAh
- Minimum Discharge Voltage: 3V
- Maximum Discharge current: 1C
- Charging Voltage: 4.2V (maximum)
- Charging current: 0.5C
- Charging Time: 3 hours (approx)
- Charging Method: CC and CV
- Cell Weight: 48g (approx)
- Cell Dimension: 18.4mm (dia) and 65mm (height)
- Buck-boost converter (MP1584EN) is a type of DC-to-DC converter that has an output voltage magnitude that is either greater than or less than the input voltage magnitude. It is equivalent to a flyback converter using a single inductor instead of a transformer.[1] Two different topologies are called buck–boost converter. Both of them can produce a range of output voltages, ranging from much larger (in absolute magnitude) than the input voltage, down to almost zero.
![MP1584EN Mini convertisseur abaisseur module 4,5V - 28V](https://cdn.bodanius.com/media/1/GGG137007_mp1584en-mini-buck-converter-4.5v-28v-module_x.jpg)
Specifications:
- Tension d'entrée: 4.5V-28V
- Tension de sortie: 0.8V-20V
- Courant de sortie: 3A (maximum)
- Efficacité de Conversion: 96% (maximum)
- Ondulation de sortie: <30mV
- Fréquence de commutation: 1.4MHz (la plus élevée), 1MHz typique
- Température de fonctionnement: -45 à + 85 degrés Celsius
- Dimensions: 22mm * 17mm * 4mm
SD Card Module is a breakout board used for SD card processes such as reading and writing with a microcontroller, this will be for the storage.
![VS-ELEC Micro SD Card Module SPI Interface Mini TF Card pour Arduino - Cdiscount Bricolage](https://www.cdiscount.com/pdt2/4/7/2/1/700x700/auc3665662005472/rw/vs-elec-micro-sd-card-module-spi-interface-mini-tf.jpg)
Specifications:
- Operating Voltage: 4.5V - 5.5V DC.
- Current Requirement: 0.2-200 mA.
- 3.3 V on-board Voltage Regulator.
- Supports FAT file system.
- Supports micro SD up to 2GB.
- Supports Micro SDHC up to 32GB.
- NFC Module (MFRC522) is capable of reading and writing NFC tags (RFID cards, NFC enabled devices like phones), this will be for the android apps.
![Lecteur RFID NFC RC522, 10 pièces/lot, Module de capteur inductif de carte IC RF pour Module Arduino + carte S50 + porte clés | AliExpress](https://ae01.alicdn.com/kf/HTB1JiQSPFXXXXXzXVXXq6xXFXXXd/Lecteur-RFID-NFC-RC522-10-pi-ces-lot-Module-de-capteur-inductif-de-carte-IC-RF.jpg)
Specifications:
- Chip: MFRC522
- Operating frequency: 13.56MHz
- Power supply voltage: 3.3V
- Current: 13 - 26mA
- Read Range: Approx 30mm
- Communication: SPI interface
- Max Data Transfer Rate: 10Mbit/s
- Dimensions: 40 x 60mm [1.6 x 2.4in]
/////////////////////////////Preparation:////////////////////////////
To use the WizFi360 Arduino library, the development environment must be configured to use the Arduino platform.
Please note that in this guide examples were configured and tested using Arduino IDE in a Windows environment.
Before starting, download and install the Arduino IDE from the link below.
Additionally, if you are using WizFi360-EVB-Pico, minor settings are required in the Arduino IDE.
WizFi360-EVB-Pico is a development board based on RP2040, and you need to add a package to use the development board based on RP2040.
① Run the Arduino IDE
② Open Preferences
You can open it through 'File → Preferences' in the menu bar of Arduino IDE.
③ Add next link to Additional Boards Manager URL
https://github.com/earlephilhower/arduino-pico/releases/download/global/package_rp2040_index.json
/////////////////////////////Code :////////////////////////////
③ Then Navigate to My Github: https://github.com/Nacros115/Ivypots
④ Click "Code"
⑤ Click "Download ZIP"
![](https://www.electronicwings.com/storage/ProjectSection/Projects/24853/ivypots-an-autonomous-pole-garden/detailed-description/image(0).png)
⑥ Once that is done, open the zip files, search for Ivypots.ino and open it.
![](https://www.electronicwings.com/storage/ProjectSection/Projects/24853/ivypots-an-autonomous-pole-garden/detailed-description/image(1).png)
⑦ Connect your device and select the correct port or press the BOOTSELL Button while plugging your cable.
![](https://microhobby.com.br/img/bootFlashUF2PiPico.gif)
⑧ Finally, transfer the program to the Wizfi360-EVB-Pico.
⑨ If the program works you should see this :
![](https://maker.wiznet.io/upload/ckeditor5/583358393_1667103982.jpg)
![](https://maker.wiznet.io/upload/ckeditor5/583358393_1667104287.jpg)
![](https://maker.wiznet.io/upload/ckeditor5/583358393_1667104594.jpg)
Here is an example of what you can do with this device :
![](https://maker.wiznet.io/upload/ckeditor5/797178594_1667175188.png)