سنسور آبیاری گیاهان
1.Size:140*15mm
2.Work voltage:3V
W29
1.Size:140*15mm
2.Work voltage:3V
W29
اضافه به سبد خرید
CHIRP PLANT WATERING ALART V2.4
سنسور آبیاری گیاهان
How to use it?
Chirp was designed to be powered on the smell of a bee’s dick, but alas, bees are hard to catch and contain, so we made it run on a 3V CR2032 lithium coin cell battery. The battery should last up to one year, depending on how good you are on remembering to water your plants. The most energy is consumed when emitting a sound and measuring the light level - this happens when the plant is too dry.
When you insert the battery, Chirp will emit one short chirp, briefly flash the LED and another short chirp after measurement is complete. This means that the device is working properly. It will instantly measure the moisture level on the sensor pad and save it as the “dry point” - the alarm level of moisture.
The button on the top side of the device resets the “dry point”. After you press it, the device will emit a short chirp and flash the LED. You can play with it by covering the sensor pad with a wet finger, pushing the button and removing the finger after you hear the second sound. Chirp will think that it is inserted into dry soil and acts as if the plant is too dry.
Installation
To start using Chirp: * Wait until your plant needs to be watered, so you can tell Chirp how much moisture is too little. * Install the battery (watch the polarity!) * Carefully insert the device into the soil up to the line shown on the device. Gently pack the soil around Chirp, so that there are no gaps between the sensor and the soil. * Push the button. Try not to wiggle the device too much while doing that. Do not touch the device, plant or pot for 5 seconds after pushing a button - Chirp needs some time to measure the moisture level undisturbed. * Water the plant. Try not to get too much water on the Chirp.
When the moisture level in the soil drops, Chirp will inform you about that.
If a plant is already too dry and the Chirp is silent, carefully press the button without wiggling the device, wait 5 sec. and water the plant. This way Chirp is set to a new “too dry” level.
If Chirp starts to sound when the plant is still too wet, pull the device out from the soil a little bit - 1cm (1/2 inch), press the button and put Chirp back. Compact the soil around the device.
Totally hackable
I’ve made this device to be hackable and open. It’s based on ATTINY44A microcontroller, the code is available on Github (see below). A standart AVR 6 pin ISP programming header is available on the board for programming and for serial communication.
The device acts as a I2C slave, the header can be used to read the moisture and light levels. Another microcontroller or a board such as Arduino can be used as I2C master to read those levels.
- pin 1 - MISO
- pin 2 - VCC
- pin 3 - SCK / SCL – I2C clock
- pin 4 - MOSI / SDA – I2C data
- pin 5 - RESET
- pin 6 - GND
After reset Chirp reads capacitance and light levels. That can take from 1 up to 9 seconds if dark. If any I2C communication is received during that time, Chirp will switch into sensor mode - it will not chirp, just respond to I2C requests. The default address of the Chirp is 0x20.
Chirp uses capacitive sensing to measure the moisture. 1MHz square wave (system clock is used for that) is output from the chip through a resistor into a big pad that together with the surrounding ground plane forms a parasitic capacitor. Resistor and the capacitor form a low pass filter whose cutoff frequency changes with changing capacitance. Soil around the sensor acts as an electrolyte whose dialectric constant changes depending on the amount of moisture in it, so the capacitance of our makeshift capacitor changes too. The filtered square wave is fed into a peak detector formed of out a diode and a capacitor - the diode lets through positive peaks and the capacitor stores the maximum voltage of those peaks. This voltage is measured by an ADC in the microcontroller. I wrote a long writeup on this technique some time ago.
Light sensing
A simple LED is used as a light sensor. Capacitive properties of diodes are used. LED is driven forward-biased for some time, then it’s driven reverse-biased to charge the internal capacitance. The time it takes for this internal diode capacitance to discharge depends on the amount of light that falls into the diode. Microcontroller timer is used to measure this time and estimate how much ambient light is out there.
سنسور آبیاری گیاهان CHIRP PLANT WATERING ALART V2.4
این سنسور یک زنگ آبیاری گیاه است - به همان اندازه ساده است. شما آن را در خاک در نزدیکی یک گیاه قرار داده و هنگامی که خاک خشک است، به شما یادآوری می کنیم که به گیاه آب بدهید، همچنین صدای کمی را منتشر می کند. از حسگر رطوبت خازنی در مقایسه با حسگر رطوبت مقاومتی استفاده می کند، به این معنی که تماس الکتریکی با خاک، اجتناب از خوردگی الکترود و الکترولیز خاک، باعث دقت بهتر و عمر باتری طولانی تر می شود.
این سیستم ایجاد مزاحمت نمی کند. زمانی که تاریک است خاموش است و ایجاد سر و صدای نمی کند.
سطح هشدار می تواند برای هر گیاه به صورت جداگانه تنظیم شود. همانطور که آب توسط گیاه مصرف می شود، این سنسور میزان رطوبت کم را تشخیص می دهد و از صدای پایین شروع به هشدار دادن می کند. همانطور که آب بیشتر تبخیر می شود، این سنسور میزان زنگ هشدار را افزایش می دهد. این سنسور می تواند روز و شب را با اندازه گیری میزان نور محیط تشخیص دهد و زمانی که تاریک می شود، نویز ایجاد نمی کند.
[link:1]کد 1 : کلیک کنید[/link:1]
[link:2]کد 2 : کلیک کنید[/link:2]