Fytó is a smart planter that can easily turn your plant into a pet. It comes with built-in sensors that measure everything from light exposure to soil moisture which can trigger six different emotions that will communicate how your plant is doing. The emotions are displayed on the front screen.

Are you a phytophile? Just add your plant to Fytó, it will start communicating with you.

Our Pet and It's Emotion

Our pet comes with 3 basic senses.

Fytó displays 6 expressions which are directly related to our plant's health.

IMG_1364.jpg
IMG_1365.jpg
IMG_1368.jpg
IMG_1371.jpg
IMG_1372.jpg
IMG_1374.jpg

PI ZERO 2W(BRAIN)

We will use Raspberry Pi Zero 2W, as the controller for this flower pot. We have different generations of Raspberry pi includes PI3, 4 and zero and zero2w. The reason why we used is due to its smaller size and higher performance.

pi zero.jpg
rpiZ-08.png

At the heart of the Raspberry Pi Zero 2W is a 1GHz BCM2710A1 with 64-bit ARM Cortex-A53 CPU with 512MB RAM. Quite frankly, this Pi is about four times faster than the original Raspberry Pi and is only a fraction of the cost of the current RPi3. So they can easily handle the GIF playing on the screen.

For setting up the Raspberry pi, please refer this documentation.

SENSORS WITH ADC

The sensors used in this projects are

IMG_1169.jpg

The main problem is that the Raspberry Pi cannot sample data from these analog sensors. In this case, analog sensors can be interfaced with Raspberry Pi using two ways. One is to use an external analog-to-digital converter; the second is to sample data from analog sensors using a microcontroller and transfer all captured data to Raspberry Pi via a serial interface.

Here we are going with the first case, to use an analog-to-digital converter named ADS115 ADC. It's a 16 bit ADC with high accuracy.

IMG_1176.jpg

240×320, General 2inch IPS LCD Display Module

In our plan, first we proceeded with playing normal black and white emojis. So for that purpose the normal OLED display would be enough. This display with this particular emojis failed to accentuates the whole project. Then we changed to the coloured emojis, to display that we used this 2inch IPS LCD display module. IPS displays have superior high contrast, wide viewing angle, color reproduction, image quality etc. It only costs 13$, super cheap.

waveshare.jpg

In the next setup, we will calibrate the sensors.

Calibration

Calibration is important because it helps ensure accurate measurements, So we hooked up all sensors and the LCD module by means of jumpers and breadboard to the raspberry pi 4 to make testing and calibration much easier because Pi zero 2w has no headers.

IMG_1143.jpg

We wrote down a piece of python code in raspberry pi and figured out the max and minimum analog values of moisture and LDR modules (Please ensure the connected channel is correct in the code).

calibration_rpi.jpg

The code is updated and can play emojis on display according to the sensor values. Here we used 6 emojis.

calibration.jpg

3D PRINT

It's the time to design the flower pot, we used the Auto desk fusion 360 to get the job done.

3d model.jpg
outer_cover2.jpg
base.jpg
3d_Model2.jpg

The Pot consists of mainly 3 parts, the Outer cover, base and a container, the container is the place where the plant is to be set. If your plant needs more space consider increase the size of the container.

One of the interesting facts in the 3d design is that we didn't add up any screws for attaching the components because lower diameters screws are not easily available in the markets. If you have to do so, kindly look over the attached step file. We used PLA material for printing these parts with an infill of 10%.

WIRING

We started soldering the components according to the schematics. The First diagram shows the connections between sensors and Raspberry Pi and the second diagram shows the connection between display and Raspberry pi.

2-rpi.jpg
Sensors.png

First we soldered the lm35 to a small perf board, so we can easily attach it to the outer cover. Then we shorten the length of the LDR in that module. After that we we took out of wire from every components by using a 30 AWG silicone wire.

For powering up the module we used a tiny usb module and a power supply of 5V 2A adapter. If you have mobile charger with the same specs, you can use it also, not necessary to buy a new one.

Tip : For soldering the components use a temperature between 300-350 degree celsius

Assembly

Then we started assembling the components one by one. First we attached the LCD module to the front end. Then we laser cut a 2mm transparent acrylic sheet to place in front of the display, its intention is to hide the depth between the LCD module and he outer cover.

assembly5 (4).jpg

Then we secured the LDR module and the tempertaure sensor at the opposite sides. The both sensors are visible to the outside. Finally we attached the ADC and Pi zero 2W by means of the strong double sided tape.

assembly5 (2).jpg
assembly5 (3).jpg
assembly5 (5).jpg
assembly7.jpg

After we connected the USB module with the raspberry pi and glued the base and the outer cover. Then we inserted the moisture sensor into the container where the plant is already set and made remaining connections. Finally we placed the container inside the outer cover.

FINAL RESULTS

Just power up the Fytó, it will start communicating with you.

IMG_1424.jpg
IMG_1440.jpg
IMG_1429.jpg