Skip navigation
karthickiot

Blog10# Conclusion

Posted by karthickiot Oct 28, 2020
In summer watering plants is must also it is the most difficult time for container plant watering, the amount of water may vary from species to species. Container plants outdoors need more water than those indoors. This is because higher temperatures, direct sunlight and wind, dry the soil quickly. So in early morning or early evening is the optimal time to water the containers, as this will give the plant some time to take up the water. It takes much to water and it is tough time to protect the ...
The hardware is setup to water the plants in different areas to water the plants in different quantities.   The video shows the working of the watering System. ...
The software program is important to control the watering system to water the plants in different pots with different water quantity.   #include <SPI.h> const int EN = 8;                       // Set pin 8 to control Enable pin of TLE94112 const int CSN = 10;                     ...
Installing the setup to different pots is important and in home the pots will be located at different places like in garden, balcony, hanging, etc. In the present blog I would like to give on idea to set the watering time for different sized pots. In the below figure the two pots can water upto ONE minutes based on Flow Rate 80 L/H. In the below figure Two tray are used for Marie-gold, Zinnia flower plants, roselle plants to grow it require half liter of water that can be distributed with th ...
Although we are already at Zero hour. I still have to add the application of "extracting toxic gases from the environment". I already have the idea of how it goes. And it will be with the MQ135 sensor where I got better results in practice. (detects insecticides, strong disinfectants, apart from carbon dioxide and ammonia gases). At the code level, it will be like the one executed in the sole humidity sensor since I require some hysteresis with the use of the fans.   Also the ambient lig ...
The MQ7 and MQ135 sensors operate with voltages of 5 Volts. and they must be hot to get best measurements. With the MQ135 sensor it was really easy to work. It is highly sensitive to different types of gases that are harmful to our health. I got pretty consistent results. Contrary to the MQ7 sensor, which requires two operating voltages, the first of 5 volts for 60 seconds and the other of 1.8 V for 90 seconds. I did different tests applying voltage to it by PWM but the results did not really ...
Be careful when using the DHT11 sensor when reversing the polarity (it is very easy to get the wrong polarity causing irreversible damage to the module) At the time of prototyping use good cables or better as in my case to assemble a welded Protoshield. I mention all this because it is susceptible to generating errors. Also, do not forget in the code to place the reading check line   if (isnan (h) || isnan (t) || isnan (f))    {      Serial.println (F ("Fa ...
lesmalave

LCD 2004 I2C Blog #7

Posted by lesmalave Oct 26, 2020
This post I should have written before. I used this screen because it is easy to work with and I kept it in one of my unused drawers. It allows me to write 4 lines in 20 characters. Since there are several sensors that I have in the project, I created functions so that they would move every 3 seconds.     In the first screen I have the data of the DHT11 sensor from which I obtain 3 data: Temperature, humidity and Heat Index. In the fourth line locate the Light sensor with the data ...
It is a simple sensor that measures soil moisture by the variation of its conductivity. It is not accurate enough to make an absolute measurement of soil moisture, but it is not necessary to control an irrigation system either.   In my case the values obtained go from 0 submerged in water, to 4095 in the air (or in a very dry soil). A slightly moist soil would give typical values of 2400-2800. A dry soil will have values of 3200-4095.   With some Boolean logic, taking as reference th ...
Add the libraries and paths We made sure to read the library documentation carefully (that's why I prefer to use VSC) And we configure our motors on outputs 7/8 and 11/12, which are the ones we are going to use for the water pump and the gas extractor.       ...
The power supply for the motor is driven by the TLE94112 Motor driver shield and the regulated power from the source is connected for the GND and Vcc pins in the shield as shown in the below figures.     Water Motors are connected to the half-bridge OUT put on the TLE94112 shield as shown in below figure. In the present project four DC water motors are connected. The final interfacing of the hardware are shown in the below figure once the Relax Lite kit is programmed as the appli ...
We will continue setting the hardware, we will talk about the environmental sensors and the display. We had available the DHT11 sensors, the popular temperature and humidity sensor, the MQ135 Air Quality Meter, the MQ7 CO sensor and the sensor supplied by Infineon DPS368 Pressure Shield2go that allows us to measure Barometric Pressure and also allows us to read temperature, and finally we add an LDR to obtain the luminosity data in the environment.   The MQ7, MQ135 and LDR sensors are anal ...
The below images shows step-by-step to configure and program in DAVE IDE.       Program: #include <xmc_gpio.h> #define TICKS_PER_SECOND 1000 #define TICKS_WAIT 100 #define LED1 P0_1 void SysTick_Handler(void) {   static uint32_t ticks = 0;   ticks++;   if (ticks == TICKS_WAIT)   {     XMC_GPIO_ToggleOutput(LED1);     ticks = 0;   } } int main(void) {   XMC_GPIO_CONFIG_t config;   confi ...
The arduino Sketch to program to Toggle on-board LEDs on XMC 4700 Relax kit. C program toggle leds in every one second /*  Simple LED library flashes on board LED Every second    Simple RTC for Infineon XMC boards with RTC    Demonstrates the use of the LED library    Works with any XMC board that has TWO LEDs on board */ /* For on board LEDs */ #include <LED.h> /* Create an LED object */ LED Led; void setup( ) { Led.Add( LED1 );   & ...
Managing the XMC Infineon boards in the Arduino IDE are shown in step by step and examples codes are available in the following URL https://github.com/Infineon/XMC-for-Arduino   DC-Motor-Control-TLE94112EL library from the Github URL https://github.com/Infineon/DC-Motor-Control-TLE94112EL   DPS368 Barometric Pressure Sensor library from the Github URL https://github.com/Infineon/DPS368-Library-Arduino   PROFET-2-12V-Arduino-Shield library from the Github URL https://github.com ...