Automatic Garden Watering System

Nikodem Bartnik
13 Jul 202215:28

Summary

TLDREste video muestra cómo construir un sistema de riego automatizado y alimentado por energía solar para un jardín. El creador describe dos sistemas diferentes que desarrolló, incluyendo detalles sobre los componentes utilizados y las mejoras realizadas en el diseño desde su primera versión. A través de pruebas y ajustes, se explica cómo se logra un sistema sencillo y eficiente que puede adaptarse a diferentes necesidades de riego. Además, se abordan temas como la selección de sensores, la programación en Python y la importancia de la eficiencia energética para garantizar el buen funcionamiento del sistema.

Takeaways

  • 🌱 La automatización del riego diario puede ahorrar tiempo y esfuerzo a largo plazo.
  • 🔧 Construir un sistema de riego automatizado es posible con microcontroladores como Arduino, ESP, Raspberry Pi Pico, entre otros.
  • 💧 La elección entre utilizar una bomba o una válvula electromagnética depende de las necesidades específicas del sistema de riego.
  • 🔌 Para sistemas off-grid, se requiere una batería, panel solar y un cargador, aunque no es necesaria una solución óptima como un cargador con MPPT.
  • 💦 Un sensor de nivel de agua es esencial para asegurar que el sistema de riego tenga agua disponible y proteger la bomba.
  • 🌿 La adición de sensores como los de humedad del suelo, temperatura del aire, humedad del aire y otros, puede mejorar la eficiencia del sistema de riego.
  • 🔍 Realizar pruebas y ajustes en el sistema es crucial para garantizar su funcionamiento adecuado y fiabilidad.
  • 🛠 La creación de un diseño en papel o una CAD ayuda a visualizar y planificar el proyecto antes de comenzar.
  • 🔋 La gestión de la energía es importante; se debe asegurar que el consumo de energía no supere la capacidad de carga del sistema solar.
  • 🔄 La inclusión de características como la capacidad de expansiones y la posibilidad de controlar diferentes partes del jardín agregan flexibilidad al sistema.
  • 🎥 Documentar y compartir el proceso de creación y las pruebas en plataformas como YouTube puede ser una forma efectiva de difusión y aprendizaje.

Q & A

  • ¿Por qué es importante automatizar el riego de un jardín en el siglo 21?

    -La automatización del riego es importante en el siglo 21 porque puede ahorrar tiempo y esfuerzo, permitiendo un manejo más eficiente del agua y la vegetación. Además, con la tecnología actual, es posible crear sistemas sostenibles y ecológicos que aprovechan energía solar y controles inteligentes para optimizar el riego y contribuir a la preservación del medio ambiente.

  • ¿Qué tipos de microcontroladores se pueden utilizar para construir un sistema de riego automatizado?

    -Se pueden utilizar varios tipos de microcontroladores para construir un sistema de riego automatizado, como Arduino, ESP, Raspberry Pi Pico y otros similares. Estos dispositivos tienen pines de entrada y salida que se pueden programar para controlar diferentes aspectos del sistema de riego.

  • ¿Cuál es la diferencia entre utilizar una bomba y un válvula electromagnética en el sistema de riego?

    -La bomba y el válvula electromagnética son dos opciones para la parte de riego del sistema. La bomba consume un poco más de corriente y se puede instalar en cualquier lugar con solo un pequeño depósito de agua, mientras que el válvula electromagnética es más fácil de conectar y más pequeña, aunque un relé puede encender una potencia más alta si es necesario.

  • ¿Qué elementos son necesarios para construir un sistema de riego sencillo y básico?

    -Para construir un sistema de riego sencillo y básico, se necesita un microcontrolador, un sensor de nivel de agua para verificar si hay agua en el depósito, y un sistema de energía como una batería, panel solar y un cargador. Estos elementos permiten que el sistema funcione de manera autónoma y sin conexión a una fuente de energía externa.

  • ¿Qué tipos de sensores se pueden añadir al sistema de riego para mejorar su funcionamiento?

    -Se pueden añadir varios tipos de sensores al sistema de riego para mejorar su funcionamiento, como sensores de humedad del suelo, temperatura del aire, temperatura del suelo, luz solar, humedad del aire, lluvia y incluso composición del aire. Estos sensores permiten al sistema adaptarse y responder a las condiciones ambientales para un riego más eficiente y preciso.

  • ¿Qué problemas se encontraron al probar el sensor de humedad del suelo casero?

    -Al probar el sensor de humedad del suelo casero, se encontraron problemas para obtener lecturas estables y confiables. A veces funcionaba bien, pero a menudo los valores eran inconsistentes, lo que indicaba que el sensor no era completamente confiable en su funcionamiento.

  • ¿Cómo se diseñó y fabricó el PCB para el sistema de riego?

    -El PCB se diseñó en Fusion 360, utilizando sus herramientas de diseño de PCB incorporadas. Después, se maquinó en una máquina CNC modificada y se ensambló con los componentes necesarios. Esto permitió una gran práctica antes de maquinar un PCB más grande para la siguiente generación del sistema de riego.

  • ¿Qué se hizo para garantizar que el sistema de riego estuviera bien sellado y防水?

    -Para asegurarse de que el sistema de riego estuviera bien sellado y防水, se utilizó un contenedor de 2 litros que podía alojar fácilmente la batería y los componentes electrónicos. Se agregaron glands de cable para asegurar que todo estuviera sellado y防止 el agua entrar en el contenedor.

  • ¿Cómo se llevó a cabo la prueba del sistema de riego en el jardín?

    -El sistema de riego se probó en el jardín de la casa del padre del creador, quien es el principal cuidador del jardín. Se realizó una prueba durante 10 a 12 días, durante la cual se ajustó el programa y se supervisó el funcionamiento del sistema para asegurarse de que funcionara correctamente.

  • ¿Qué se aprendió del experimento de 48 horas y cómo se utilizaron los datos recolectados?

    -El experimento de 48 horas permitió recolectar datos sobre las lecturas de temperatura, humedad del suelo, luz solar y voltaje de la batería. Estos datos se utilizaron para crear gráficos y analizar el rendimiento del sistema de riego, revelando la alta consumo de corriente y la necesidad de optimizar el sistema para asegurar que pudiera recargarse incluso en días nublados.

  • ¿Qué se hizo para solucionar el problema de consumo de energía y mejorar el sistema de riego?

    -Para solucionar el problema de consumo de energía, se eliminó los LEDs innecesarios y se redujo el número de sensores. También se cambió al microcontrolador Raspberry Pi Pico y se programó en Python para mejorar la eficiencia del sistema. Además, se añadió un diseño de circuito impreso personalizado (DIY PCB) que resultó ser más confiable y fácil de ensamblar que el diseño anterior.

Outlines

00:00

🌱 Creación de un sistema de riego automatizado y alimentado por energía solar

En este primer párrafo, se discute la idea de construir un sistema de riego automatizado para un jardín, que se alimenta a través de energía solar. El narrador describe sus experiencias previas con un sistema similar, y cómo decidió crear un sistema más simplificado y eficiente. Se mencionan los componentes clave del sistema, como un microcontrolador, un sensor de nivel de agua, y la opción de utilizar un bombín o una válvula electromagnética para el riego. Además, se habla sobre la adición de elementos como un panel solar, un botón de enchufe y un sistema de energía almacenada, destacando la importancia de la eficiencia energética y la selección adecuada de sensores para monitorear el entorno.

05:01

🔧 Desafíos y pruebas en la implementación del sistema de riego

Este párrafo aborda los desafíos experimentados durante la implementación del sistema de riego. El narrador comparte sus dificultades con el sensor de humedad del suelo, que a menudo proporciona lecturas inestables. A pesar de los obstáculos, el narrador decide continuar con el proyecto, planeando ajustar y mejorar el sistema en el futuro. Se discuten las pruebas de diferentes tipos de sensores, como los sensores de temperatura y humedad, y la posibilidad de enviar datos a la nube o almacenarlos en una tarjeta SD. El narrador también describe el proceso de ensamblaje y prueba del sistema, incluyendo la creación de un esquema circuital y la preparación de un prototipo en una placa de circuito impreso (PCB).

10:02

🌤️ Resultados y ajustes del sistema de riego automatizado

En el tercer párrafo, el narrador presenta los resultados de una prueba del sistema de riego automatizado, incluyendo datos recolectados sobre la luz solar, temperatura y humedad del suelo. Aunque el sistema se muestra funcional, se identifica un consumo de energía elevado, lo que podría causar problemas si se presentan días nublados consecutivos. El narrador describe su enfoque para reducir el consumo de energía y mejorar la eficiencia del sistema, como la eliminación de LEDs innecesarios y la implementación de un circuito de riego más sencillo basado en el tiempo. Además, se menciona el uso de un Raspberry Pi Pico en lugar de un Arduino, permitiendo programar en Python, y el proceso de diseño y fabricación de una PCB personalizada.

15:03

🌼 Finalización y pruebas finales del sistema de riego solar

Este último párrafo cubre la finalización del sistema de riego y sus pruebas finales. El narrador relata su experiencia instalando el sistema en el jardín de su padre, detallando el proceso de ensamblaje y las mejoras hechas para asegurar que el sistema sea resistente al agua y funcione correctamente. Se describen los resultados de una prueba de 10 a 12 días, donde el sistema demostró ser confiable y eficiente, manteniendo un buen nivel de energía en la batería y proporcionando riego adecuado a las plantas. El narrador concluye expresando su satisfacción con el proyecto y animando a los espectadores a construir su propio sistema de riego automatizado.

Mindmap

Keywords

💡sistema de riego automatizado

El sistema de riego automatizado es un método de irrigación que no requiere intervención humana directa y se activa y controla automáticamente. En el video, el creador describe su proceso para construir un sistema de riego automatizado que utiliza energía solar, lo que lo hace sostenible y eficiente. Este sistema es un proyecto DIY que permite a los jardineros automatizar el riego de sus plantas, evitando la sobre irrigación y asegurando que las plantas reciban la cantidad adecuada de agua en el momento adecuado.

💡microcontrolador

Un microcontrolador es un dispositivo electronico que se utiliza para controlar y coordinar la funcionalidad de otros componentes en un sistema, como sensores, actuadores y otros módulos. En el contexto del video, el microcontrolador es esencial para programar y controlar el sistema de riego automatizado, permitiendo que se active y desactive según las condiciones establecidas por el usuario.

💡sensor de humedad del suelo

El sensor de humedad del suelo es un dispositivo que mide la cantidad de agua presente en el suelo, lo que es fundamental para un sistema de riego automatizado. Este sensor permite al sistema determinar cuándo es necesario regar las plantas y cuándo no lo es, asegurando así que las plantas reciban la cantidad adecuada de agua y evitando el desperdicio de agua. En el video, el creador experimenta con diferentes tipos de sensores de humedad del suelo, incluyendo uno resistivo que construyó él mismo.

💡energía solar

La energía solar es una fuente de energía renovable y sostenible que se obtiene a partir de la radiación solar. En el video, el creador utiliza energía solar para alimentar su sistema de riego automatizado, lo que permite que el sistema sea independiente de la red eléctrica y funcione en todo momento, siempre y cuando haya luz solar disponible. Esto contribuye a la sostenibilidad y eficiencia ambiental del proyecto.

💡bateria

Una batería es un dispositivo que almacena energía eléctrica y la libera cuando es necesario. En el sistema de riego automatizado descrito en el video, la batería es crucial para almacenar la energía generada por el panel solar y permitir que el sistema funcione continuamente, incluso durante las noches o días nublados.

💡pump

Una bomba, o pump en inglés, es un dispositivo que transfiere fluidos, como el agua, de un lugar a otro. En el contexto del sistema de riego automatizado, la bomba es usada para mover el agua desde un reservorio al sistema de riego cuando se detecta que el suelo necesita regar. La elección de utilizar una bomba en lugar de un válvula magnética depende de las necesidades específicas del sistema y la cantidad de agua que necesita ser movida.

💡PCB

Un PCB, o placa de circuito impreso, es una placa de material aislado que soporta y conecta electrónicamente los componentes de un circuito. En el video, el creador diseña y fabrica su propia PCB para el sistema de riego automatizado, lo que le permite integrar todos los componentes necesarios y tener un sistema más eficiente y compacto.

💡programación

La programación es el proceso de crear un conjunto de instrucciones que un ordenador o un microcontrolador puede entender y ejecutar. En el video, el creador programa el microcontrolador para que controle el sistema de riego automatizado, estableciendo las condiciones y el tiempo de riego, y para que recopile datos de los sensores y otros módulos del sistema.

💡sensores adicionales

Los sensores adicionales son componentes que se pueden añadir a un sistema de riego automatizado para recopilar información adicional del entorno, como la temperatura del aire, la temperatura del suelo, la humedad del aire, la lluvia y otros datos ambientales. Estos sensores permiten al sistema ser más inteligente y eficiente, adaptándose a las condiciones ambientales cambiantes.

💡sistema off-grid

Un sistema off-grid es aquel que opera de manera independiente de las redes de energía y servicios públicos. En el contexto del video, el sistema de riego automatizado se diseña para funcionar off-grid, utilizando energía solar y una batería para su funcionamiento, lo que lo hace autosuficiente y no dependiente de la electricidad de la red.

💡diseño y fabricación DIY

El diseño y fabricación DIY (Do It Yourself) se refiere al proceso de crear y construir un dispositivo o sistema por uno mismo, en lugar de comprar uno prefabricado. En el video, el creador lleva a cabo un proyecto DIY para construir un sistema de riego automatizado, diseñando y fabricando él mismo la PCB, el encase de la batería y otros componentes del sistema.

Highlights

The speaker discusses the idea of building an automated, solar-powered watering system for a garden.

Two completely different systems for watering the garden were built during the making of the video.

A microcontroller, such as Arduino, ESP, Raspberry Pi Pico, or similar, is used as the backbone of the system.

The watering part can be realized with either a pump or an electromagnetic valve.

A relay or a MOSFET is necessary to control powerful elements like a pump or a valve.

An off-grid system requires the addition of a battery, solar panel, and charger.

A water level sensor is used to check the water reservoir's level and protect the pump.

Sensors can be added to detect various environmental factors like air temperature, ground temperature, and sunlight.

The speaker built their own resistive soil moisture sensor but found it challenging and unreliable.

The speaker's GitHub repository contains all the creations made during the project.

Designing on paper and using Fusion 360 for the enclosure and PCB design were integral parts of the design process.

The speaker experimented with a CNC machine to machine a small PCB and aluminum rods.

After facing issues with a prep board and soldering, the speaker moved to a Raspberry Pi Pico and Python for programming.

The final system is simple, reliable, and executes watering based on time with visual feedback through LEDs.

The system was tested for 10-12 days and found to be working fine with the battery maintaining a near full charge even on cloudy days.

The speaker plans to expand the system for a larger garden and test its performance further.

Transcripts

play00:00

watering the garden takes just a few

play00:01

minutes every day but if you had all the

play00:03

dab you will spend about two days per

play00:05

year just on watering but it's 21st

play00:08

century so why not to build an automated

play00:10

solar powered watering system for this

play00:12

garden and here is my system actually

play00:14

while making this video i built two

play00:16

completely different systems for

play00:18

watering the garden i wasn't quite happy

play00:20

with the first one but i use it to make

play00:22

really cool graphs so i built this

play00:24

simplified one that works really well in

play00:27

this video i will show you how i build

play00:29

both systems and how you can build them

play00:31

too

play00:39

i built a similar but much smaller

play00:41

system four years ago let's just say

play00:43

that it wasn't the best project ever

play00:45

compared to the new one but it's nice to

play00:47

look back reflect and see progress in my

play00:50

making and designing skills

play00:53

let's start with an overview of parts

play00:55

and options you have when building such

play00:57

a system a microcontroller a board with

play00:59

input and output pins that we can

play01:00

program that can be any kind of arduino

play01:03

esp raspberry pi pico or something

play01:05

similar there are two ways to realize

play01:07

the watering part you can use a pump or

play01:09

an electromagnetic valve controlling

play01:12

both is very similar pump is consuming a

play01:14

bit more current but you can install it

play01:16

wherever you want with just a small

play01:18

reservoir you don't need running water i

play01:20

decided to go with a pump it's powered

play01:22

with 12 volts and can pump 700 liters of

play01:25

water per hour anything similar should

play01:28

work fine with microcontrollers we can

play01:30

only control small elements to control

play01:31

something more powerful like a pump or a

play01:34

valve we need a relay or a mosfet i use

play01:36

both while working on this project

play01:37

mosfet is easier to connect and

play01:39

significantly smaller but the relay can

play01:41

switch higher power if you want to have

play01:43

an off-grid system you will have to add

play01:45

a battery solar panel and a charger this

play01:47

charger doesn't have mppt so it is not

play01:49

the most optimal choice but should work

play01:51

fine if you don't need an upgrade

play01:53

solution you can use a normal 12-volt

play01:54

power supply the water level sensor will

play01:57

check if there is still water in the

play01:58

reservoir and protect the pump and

play02:00

honestly that's it for a very simple

play02:02

system a system that is dumb because it

play02:04

cannot detect its environment but you

play02:06

can easily change that with sensors the

play02:08

most obvious sensor you can add is a

play02:09

soil moisture sensor there are two types

play02:11

a resistive sensor with exposed pads

play02:13

that corrode after some time and a

play02:15

capacitive sensor that based on my

play02:17

research should last longer i thought it

play02:19

would be fun to build my own resistive

play02:21

sensor let me tell you that it wasn't

play02:24

fun but more about that later of course

play02:26

you can measure anything else you want

play02:28

with appropriate sensors like air

play02:29

temperature ground temperature sunlight

play02:31

air humidity rain and even air

play02:33

composition to lock everything you might

play02:35

want to use an sd card or you can send

play02:38

it to the cloud via wi-fi does it make

play02:40

any sense to add all these sensors and

play02:42

lock the data on the sd card probably

play02:44

not but after watching a video from

play02:46

practical engineering about arduino

play02:47

garden controller i realized i just want

play02:49

to make cool graphs too

play02:52

everything i created while making this

play02:53

project you can find on my github and

play02:55

there is a link to my github in the

play02:57

description i also wanted to say huge

play02:59

thanks to all of my patreon supporters

play03:01

because thanks to their support i was

play03:02

able to buy all the parts for this

play03:04

project and experiment with different

play03:05

components if you would like to support

play03:07

my work you can find the link to my

play03:08

patreon in the description

play03:12

as always i started with designing it on

play03:14

a paper and that's the easiest way for

play03:16

me to find the shape and look that i

play03:18

like then i moved to fusion 360 to

play03:20

design both the enclosure and a tiny pcb

play03:23

i wanted to try out fusion's built in

play03:24

pcb design tools it works basically like

play03:27

eagle and is easy to use but i still

play03:29

prefer kitkat huge advantage was that

play03:31

it's super easy to get a free model of

play03:33

the pcb and design an enclosure

play03:36

i wanted to machine the pcb on my own

play03:38

with a slightly modded 200 cnc machine

play03:41

machining a small pcb like this was a

play03:43

great practice before machining a much

play03:45

larger pcb for my next generation of the

play03:48

watering system

play03:50

rods were made out of aluminum which

play03:52

would help with the corrosion but it can

play03:54

still oxidize so still a capacitive

play03:56

sensor is a better choice

play04:11

my dad probably watered all the tomatoes

play04:13

on the balcony in the morning so they're

play04:15

all wet and i cannot detect any

play04:17

difference after watering them

play04:18

fortunately i am an expert at drying the

play04:20

plants and i should have some dry plants

play04:23

in my room

play04:29

and now

play04:31

watering

play04:40

during tests i found that it seems to

play04:42

work better when the top part of the

play04:44

sensor is isolated so that it only

play04:46

detects the moisture on the bottom i use

play04:48

tape for that on one sensor and

play04:50

shrinkable sleeves on the other

play04:54

i conducted many many tests to check if

play04:56

this sensor works and to eventually

play04:58

improve it i tried halting the values

play05:00

logging them on the serial port and

play05:02

watering different flowers around my

play05:04

house the sensor sometimes worked fine

play05:07

but very often the readings were

play05:08

unreliable and it was really really hard

play05:11

to get a stable reading

play05:15

the plan at this point was just to move

play05:16

on with this project and figure out

play05:18

later if it really works

play05:20

it's a good idea to test your solar

play05:22

setup too measure the current that is

play05:23

charging the battery and check the

play05:25

voltages

play05:26

combining different modules and sensors

play05:28

in a nice clean way is never an easy

play05:30

task helping yourself with a simple cad

play05:32

design is a smart workaround and after

play05:35

testing the temperature sensors on a

play05:37

breadboard with just one resistor it's

play05:39

time to move this thing

play05:41

on a prep board i've never used a prep

play05:43

board before

play05:45

but i hope it will be easy it really

play05:47

wasn't easy it was even hard soldering a

play05:49

pcb is completely different compared to

play05:51

soldering a prep board it's cool that

play05:53

you can do it really quickly without

play05:55

designing anything on a computer but i

play05:57

think i still prefer to design my own

play05:59

pcbs

play06:01

i printed the labels and taped them to

play06:03

the top of the board to know how to

play06:04

connect everything later

play06:24

here is a simplified schematic you can

play06:26

also find all the pin definitions in the

play06:28

top of the code if you are going to

play06:30

build something similar you will most

play06:31

likely have to modify something anyway

play06:45

here is a great example by using a power

play06:47

supply with current limit is a good idea

play06:49

i connected this circuit to the battery

play06:51

and soon saw a lot of smoke fortunately

play06:54

it turned out that it was just cables

play06:56

and all the components are fine i wanted

play06:58

to measure the battery and solar panel

play07:00

voltages but it looks like connecting

play07:01

the minus from the solar panel to the

play07:03

gnd of the circuit creates a short after

play07:06

getting rid of this connection

play07:07

everything was fine

play07:18

i wanted to do an overnight test and

play07:20

eventually the test lasted 48 hours i

play07:23

was able to make some plots out of the

play07:25

collected data and here you can see my

play07:27

temperature pod versus the temperature

play07:29

pot from the vault from alpha for my

play07:31

city with the pump turned off the

play07:33

current consumption was pretty high at

play07:34

over 80 milliamperes that was caused by

play07:37

multiple leds that are honestly not

play07:39

really needed when building a system

play07:40

like this you have to keep in mind how

play07:42

much power is it going to consume and if

play07:44

it will be able to recharge even on a

play07:46

cloudy day instead of 3d printing a box

play07:48

that would be hard to waterproof i

play07:50

bought a 2 liter food container that

play07:51

could easily accommodate both the

play07:53

battery and electronics adding cable

play07:55

glands was a nice touch to make sure

play07:57

that everything is waterproof does

play07:59

balcony test before installing it in my

play08:00

small garden it's actually my dad's

play08:02

garden as he mostly takes care of that i

play08:04

am just helping here and the best way i

play08:06

could help was to automate the watering

play08:09

let's just check the current one more

play08:12

time and it's fine 84 milliamperes

play08:24

as a reservoir i use this plastic barrel

play08:26

this kind of barrels are usually used to

play08:28

store chemicals inside but this one is

play08:30

clean and was never used i got it for

play08:32

free so why not use it for this project

play08:34

i drill a few holes for the cables and

play08:36

the plastic tube and it was basically

play08:38

ready it's 150 liters so should be

play08:40

enough for a small garden

play08:43

my soil moisture sensors weren't working

play08:45

reliably so i added one more

play08:46

conditioning decode to water the garden

play08:48

for a short period of time every 24

play08:51

hours

play08:52

i bought online a very cheap irrigation

play08:54

set and that was just a great way to

play08:56

distribute the water under each plant

play09:01

preparing everything beforehand sped up

play09:03

the installation process but still i had

play09:05

to improvise a few times like here i

play09:07

used a rock and a wire to keep the water

play09:09

level sensor on the bottom of the tank

play09:20

it it took me like half a day to set

play09:23

everything up to change the program to

play09:25

make sure that it will work at least

play09:27

somehow properly

play09:28

and now i have to wait wait few days i

play09:31

think like four or five maybe a week

play09:48

and there you have the graphs the

play09:50

vertical lines are labeled every 86

play09:52

million milliseconds which is equal to

play09:54

24 hours here you can see that the

play09:56

moisture sensor doesn't work at all

play09:58

those drops every 24 hours are caused by

play10:01

the voltage drop on the battery when the

play10:03

pump was turned on here we can see the

play10:05

sunlight data and based on that

play10:06

determine how cloudy each day was at the

play10:09

end of the experiment we can see some

play10:10

cloudy days and it is also visible in

play10:12

the battery voltage data and lastly the

play10:15

temperature plots the air temperature

play10:17

actually wasn't the real air temperature

play10:19

as i think the sun sometimes was able to

play10:21

hit the sensor directly my

play10:23

over-engineered system with a lot of

play10:25

sensors was working great but with this

play10:27

power consumption it would only take a

play10:29

few more cloudy days before it runs out

play10:31

of battery the soldering tli this could

play10:33

easily solve the problem but honestly

play10:35

right now i don't need all of these

play10:37

sensors once the plots are ready and one

play10:40

last thing i can just simply do better

play10:41

than that this is not only a project for

play10:44

me for my dad or for this garden this is

play10:46

also a youtube video and i want it to be

play10:48

a decent example of how to create such a

play10:50

system and this mess of cables is just

play10:53

not working in this case

play10:55

this time i started with kicad schematic

play10:57

while primarily working on a breadboard

play10:58

prototype instead of arduino i chose

play11:00

raspberry pi pico so that i can program

play11:02

it in python the capacitive sensor that

play11:04

i found unfortunately is not properly

play11:07

designed and doesn't work with 3.3 volts

play11:09

the pcb was once again machined on this

play11:11

chip cnc machine the result was great

play11:13

but i intentionally used speaker traces

play11:15

to maximize my chances of success

play11:18

i probed the wool pcb with chili pepper

play11:20

that's why the result is perfect and

play11:22

here i am draining the holes which is

play11:23

the easiest part of the process i wanted

play11:25

to experiment with this pcb and using a

play11:28

toner transfer method i added a legend

play11:30

on top of the board the result was okay

play11:32

some small pieces of paper stick to the

play11:34

board and it was hard to remove them but

play11:36

we have a really nice readable legend on

play11:39

top it took me quite a few minutes to

play11:41

place everything as perfect as it is

play11:43

here so let's appreciate this shot for

play11:45

at least a few more seconds

play11:48

even this diy pcb without the solder

play11:50

mask is much much easier to solder than

play11:52

the private board

play11:58

soldering was an easy part and so was

play12:00

programming since i already had

play12:01

everything planned in my head also pico

play12:04

is programmed in python and python well

play12:06

it's just the best programming language

play12:08

ever everything worked so well that i

play12:10

was able to go from the idea to a

play12:12

working programmed pcb in less than 24

play12:15

hours in total of course there was still

play12:17

the cut design to do and i had to fit it

play12:18

in the box and the testing but i have to

play12:20

admit that the testing procedure was

play12:23

very limited it was just a fraction of

play12:24

what i did with the previous system

play12:26

because i felt that this one without the

play12:28

unnecessary sensors and breadboard

play12:30

cables is just a lot more reliable

play12:32

watering will be executed based on time

play12:34

to do set with buttons and it will be

play12:35

displayed with the leds there is two of

play12:38

everything on the pcb so you can run two

play12:40

completely separate systems for

play12:41

different parts of your garden the

play12:43

system was ready i packed everything and

play12:45

i was ready to head to the garden and

play12:47

then a terrible rain hit

play12:52

it wasn't a big deal for me i decided to

play12:53

go anyway and finally finish the project

play12:56

checking on my system after

play12:58

10 days 12 days already

play13:01

it is still working we have the light

play13:03

on the sensor

play13:05

here is the other sensor

play13:08

and it's also working fine

play13:10

and here is the

play13:12

box with the solar panel

play13:14

and here we should have water

play13:19

yeah

play13:20

the water tank is almost empty

play13:23

[Applause]

play13:29

waiting just one day was definitely

play13:30

worth it because today we have a perfect

play13:32

weather i want to connect this solar

play13:34

panel to the piece of wood and then put

play13:36

this piece of wood in the ground

play13:38

and then the box will be here in the

play13:39

bottom just to make it look nice and

play13:42

clean and then in the next few days i

play13:44

will test how the system performs on a

play13:46

bit bigger garden

play14:58

it's been a week since i turned on the

play15:00

system and it is working fine without

play15:02

any problems so far the battery voltage

play15:05

is 14 volts so even on cloud today the

play15:07

battery is almost fully charged all the

play15:09

plants are fine and now i just need to

play15:11

expand this system for dual garden if

play15:13

you have any questions leave them in the

play15:15

comments and you can find all the useful

play15:17

links in the description i hope you will

play15:18

build such a system and enjoy it as much

play15:21

as i did thank you very much for

play15:22

watching happy making bye

play15:27

you

Rate This

5.0 / 5 (0 votes)

Related Tags
Riego AutomatizadoEnergía SolarDIY JardineríaTecnología AgroecológicaSostenibilidadArduinoRaspberry PiSensores del SueloProgramación PythonProyectos de Verano
Do you need a summary in English?