Sustain The World Blog Post:

 

1. Measure Climate Change with Hydroponic System Blog #1 | Concept Design and Plans

2. Measure Climate Change with Hydroponic System Blog #2 | XMC4200 Bring-up and Hydroponic System

3. Measure Climate Change with Hydroponic System Blog #3 | XMC4700 + DC Motor Shield with Hydroponic System

4. Measure Climate Change with Hydroponic System Blog #4 | Sunlight Sensor and Water Purity

5. Measure Climate Change with Hydroponic System Blog #5 | Air Flow and CO2 Measurement

6. Measure Climate Change with Hydroponic System Blog #6 | Tomato Hydroponic Systems and Environmental Change Alert

7. Measure Climate Change with Hydroponic System Blog #7 | Hydroponic Nutrient and Water Measurements

 

Highlights:

In the last blog, I set up the hydroponic system so I can observe the setup remotely. I was a bit tired of staying home due to COVID-19 and we decided to take vacation. But I wanted to check if the hydroponic system is still in good shape without any care on site. For this work, I implemented the following items.

 

1. Remote light switch control by an off-the-shelf IOT outlet (SmartOutlets) and smart phone app

2. Implemented RTC (Real Time Clock) and taking logs every 5 seconds

3. Using VNC server and client apps on smart device (ex: iPhone and iPad), monitor the plants remotely and Compare the before and after vacation pictures.

 

Details:

1. Remote Control Setup (vacation ready )

 

2. RTC and data log implementations

By making good use of Infineon example codes of RTC, I used RTC.h header file and RTCClass for XMC4700 relax kit.

 

The one thing to keep in mind is we need to set the current initial data. Here is how the RTC codes are implemented.

 

Initializations

setup() funciton

loop() function

Using virtual UART console, we print out logs of data with timestamp from RTC codes. Here is an example.

 

The first line is the printout of the RTC timestamp.

 

3. Remote Sensing and observation of the smart hydroponic system

 

Here is a snapshot of the VNC client app on iPad. With a real sense camera, we can monitor the growth of the plans and check the log on UART console.

 

 

As depicted in the picture below in blue, only after 9 days, the water level went down by about 10 cm. It is too bad that the water level sensor is damaged but this water level sensor will alert users when the water level is too low by a buzzer and UART console log

 

Time to pour more water and nutrient

 

Next Steps

I would like to summarize this project.