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 ...
The software can be used in the project can be ARDUINO or DAVE IDE.   Current version of DAVE IDE can be downloaded from the URL https://infineoncommunity.com/dave-download_ID645 and step by step installation was explained in below video you may install the latest version.   The Arduino IDE latest software can be downloaded from the URL https://www.arduino.cc/en/Main/Software . Step by Step installation are documented in the following URL https://www.arduino.cc/en/Guide/Windows. ...
In the Present Projects the Infineon Hardware are used to design the "Smart Garden Plants watering IoT System".   The below figure are the challenge kit awarded to design the project.   MCU Platform2GO XMC4200 has salient features like Arm Cortex M4, 256 kB Flash Memory, 2x Shield2Go Connectors, 1x micro bus connector, Arduino Compatible Connectors, CAN connectivity it is used as a main MCU to control the 6/12V DC motors in Unidirectional and Bidirectional via TLE94112 DC Motor Con ...
1. Slow Progress 2. The Failure 3. Thing to learn and way to go 1. Slow Progress It has been several weeks with little progress. Study the datasheet of XMC4400 and XMC4200 , even XMC4700. To find out that hidden features of  XMC series. XMC4 series MCU are especially good for motor control and industrial application. The advanced CCU4 and CCU8 blocks can not be found in other MCUs. While PWM function is still available for simple tasks, as of LRPWM. The embedded CCU4/CCU8 b ...
In this blog I will summaries all my works   Blog List: Garbage Collector #1 IntroductionGarbage Collector #2 Clamp testingGarbage Collector #3 Seeking help from Infineon's Technical SupportsGarbage Collector #4 Some basic interactions with the shieldsGarbage Collector #5 Base testingGarbage Collector #6 Wireless ControllerGarbage Collector #7 Clamp and BaseGarbage Collector #8 Clamp ImprovementGarbage Collector #9 Doubling the maximum currentGarbage Collector #10 Summary  Bill of Ma ...
Introduction This will be the final blog post of Sustain the World Design Challenge. I really enjoy this challenge and also the conversations that I had with a few folks about this project. Hope to continue some technical and science discussions about this sustainable system. As a summary of this project, I tried to highlight the features of this smart hydroponic system and other alternatives like commercial hydroponic system and Kratky method. I always wanted to build my own hydroponic system, ...
While I’m still repairing the platform, it has come to my attention that my project won’t make it in time for the completion for the contest. Nevertheless, I’ll improve the coastal platform from time to time.   Future improvements will be:   *Closed shell to protect electronics           I’m still thinking of a new design. A buoy shaped platform is not a bad design but will be considered   *Improved floater ...
One of the most difficult aspect of this project is deploying the device at sea. The water is not very kind to the device and it will swallow the platform into the depths of the sea.     I planned to go to the beach to test the device, but as most plan go, there are complications. Every time I want to go to the beach it always rains and when it rains, the waves are raging. Its rainy season in my place in this time of the year.       Not to mention the logistical ch ...
With the solar power installed, we can now assemble and test the rest of the peripherals.         I run some test on the platform and some issues came to light. I suspect the source of this problem is the power distribution or the solar charger controller itself. First is the raspberry pi not booting but LEDs are on. The second issue is that the DPS368 is on but not transmitting data.   Should reconfigure my setup? Should I add more solar panels or battery? How ...
Installing the solar panel is an important part of the platform since it will supply power needed to operate long term out at sea.     There are many options on how to set-up solar panel circuitry with this. I’m not even sure which one is the best setup.             Anyway, I have a distrust for the solar charge controllers that I bought because somehow the solar charge controllers are not functioning properly. It’s charging more ...
In my previous blog post, I have faced an issue where my Garbage Collector is too heavy after I have added in some stuff. I have tried rising the voltage by using a Boost Module but the system fails to work. While I'm searching for the reason, I found out that the DC Motor Shield with TLE94112EL can only support 0.9A per output before triggering its overcurrent protection.   Knowing this, the reason for the system to fail is most likely because the motors draw too much of the current un ...
Considering the ease and great support that Arduino has. I preferred to use (for the time being) the XMC4700 Relax Kit which features a powerful ARM Cortex M4 microcontroller. We add the pin headers to the XMC4700 board and we also solder the terminal blocks to the Prophet + 12V board. In order to program our XMC4700 Relax Kit in Arduino we must do the following: Follow the instructions in the following link:   https://github.com/Infineon/XMC-for-Arduino   Where we will install t ...
Introduction: Hi everyone, this is my final project demonstration of "Smart Farming Hoe". Checkout my earlier blogs [Blog1 , Blog2 , Blog3, Blog4, Blog5, Blog6, Blog7, Blog8, Blog9 ] from unboxing to product prototype design. This blog explains about the overall design concepts and how it works.   Smart farming Hoe: The problem what i see in today's world is "Farmers" count is decrementing day by day. Since I'm from the background of agriculture family i had seen what are the problems ...
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 Me ...
Wow, where did all the time go.  It seemed to evaporate.  I tried to stay disciplined with my time management but sometimes life gets in the way.   I woke up on Saturday morning with the realization that a whole lot of work still needed to be done.   After my coffee I crouched over my kitchen table to solder the remaining components on the carrier board.       The first module installed on the carrier was the PROFET 2+ Shield.     Then I inst ...
I used the XMC4200 Platform2Go board as the initial development platform for my project,   But now in order to satisfy the rules of the contest I must port over to the other development board - the XMC4700 Relax Kit.   First Challenge  My smart sprinkler project requires a real time clock for data logging and scheduling tasks.  Unfortunately the lite version of the XMC 4700 Relax Kit does not include the 32.768kHz crystal required for the RTC.   Luckily there is a mic ...
Hi All, In the previous blog8 i have integrate the Eink display with XMC4200 and in this blog I'm going to do final integration for "Smart Hoe" Integrating Eink Display: Eink display project changes are brought into our main code. I want to display the light or motor status on the EPD screen.I m able to write the text string using below code eink154_setFont( &guiFont_Tahoma_14_Regular[0], _EINK154_SCREEN_COLOR_WHITE, _EINK154_FO_HORIZONTAL); eink154_text("Light ON", 8,40,80) But unfortu ...
As I mentioned in Blog #9  that I need to change bigger motor and do the cover for the grinder. Here is the picture of my handmade cover. I bought the new bigger motor and yes it consumes more current.   My current motor driver did not work anymore. I had changed from full bridge to half-bridge with HB1, HB2, HB3, HB4 connect to low side. I do need to change my Arduino program too. The update source code is available at GitHub https://github.com/wtos03/WasteFoodMgmt.   ...
Hi All, In the previous blog7  i have finalized the setup and in this blog I'm going to add Eink display to the XMC4200. The Eink display ( eINK Click board ) i have got from the Mikroe and i'm using the 1.5Inch EPD display.   SPI Interface: The EPD is interfaced to our XMC4200 with SPI interface. The board has an Mikroe slots we need to insert the module.   Pin Details: #define EPD_RST      P2_7 #define CS        ...
It has been a long time, in these complicated times of Covid-19.   Since my initial project I have changed a few things. The main one was instead of using the Platform2GO XMC4200 I preferred to use the XMC4700 RELAX LITE KIT that has greater support in Arduino and therefore faster to carry out prototypes.   In the development I will test the necessary parts separately and then integrate the project.   My project is divided into 2 parts. 1.- inside the house where I will monitor da ...
A couple of weeks ago I decided to design a PCB to act as a carrier for the XMC4700 Relax kit and the DPS368 Pressure Shield2Go module.   The carrier board arrived and I have begun assembling its components.     To control the sprinkler I purchased the ROB-10456 which is a solenoid valve manufactured by Spark Fun.     The solenoid valve requires 12V to essentially turn on the water.   On the underside of the carrier board I've included a switching regulator ...
This week I developed the software for the alarm.  In my project the alarm is used to activate the sprinkler.   To demonstrate the alarm I constructed a test circuit using Snap Circuits.   Snap Circuits is a series of kits manufactured by Elenco that help children explore electronics.   The kit we have in our household is Snap Circuits Arcade.     While technically a toy I find Snap Circuits is an easy and fun way to put together a test circuit.   The te ...
Alternatively, we can modify the coastal platform to watch over corals underwater instead of looking for boats in the surrounding area. The microcontroller we will be using should be able to do computer vision and as usual we’re going to use the raspi for this.     We could train our ML model like YOLO with Keras and Tensorflow, but we could do it in another way using EdgeImpulse. EdgeImpulse enables the use of tiny machine learning model to be deployed inside an IOT device. & ...
Blog List: Garbage Collector #1 IntroductionGarbage Collector #2 Clamp testingGarbage Collector #3 Seeking help from Infineon's Technical SupportsGarbage Collector #4 Some basic interactions with the shieldsGarbage Collector #5 Base testingGarbage Collector #6 Wireless ControllerGarbage Collector #7 Clamp and BaseGarbage Collector #8 Clamp ImprovementGarbage Collector #9 Doubling the maximum currentGarbage Collector #10 Summary  In my previous post, I have faced some problems where my clam ...
Hi All, In the previous blog6 mesh kits are interfaced with XMC4200 and tested. And here we are going to do some improvements accounting to the final application "smart hue". Earlier the DC motor was run by H-Bridge shield board and now i have used High Side switch to turn ON.OFF for simplicity and to achieve higher power.   Smart Hoe Setup: The final setup will look like below, DC pump and LED lights are driven by the PROFIT +2 12V switch, Mesh kit is interfaced with XMC4200 Platf ...
I added A soil moisture sensord a new analog sensor. the analog sensors are configured as follows where we place the trigger thresholds for the water pump at a minimum of 1200 and a maximum of 2800   ...