Browsed by
Etiqueta: ethernet plc

Control of soil humidity in an irrigation installation

Control of soil humidity in an irrigation installation

This newsletter is really interesting because control soil humidity in irrigation installations makes saving water, time and money.  Continue reading… sch0   Hardware

Hardware selection is very important when you try to develop projects where sensors, actuators and PLC´s must talk each other. For this project, with chosen the following equipment:

  • PLC: Any PLC from IndustrialShields is a good option. We have chosen the M-Duino PLC Arduino 21 I/Os Analog/Digital because we think it has different communication options to be communicated with other systems (Ethernet, RS232, I2C…).
  • Panel PC: For this project, we are going to visualize and control our installation with the HummTouch 10.1” Linux panel pc.
  • Humidity sensor: Probably, when you try to develop an application like we are trying to, the most important selection is the sensor itself. There are a lot of humidity sensors available around the market completely compatible with Arduino based hardware. We´ve chosen the SHT10 sensor from Adafruit because it includes a temperature sensor as well, it comes with an intermetal mesh encasing, which is weatherproof and because it is designed to be submersible in water.
  •  Others: A relay to activate the irrigation system, a 24Vdc power supply, a good enclosure to protect the equipment and cables are important things to keep in mind too.

Software

To develop the project, the first thing to do is to ensure that we have the proper software and libraries. As we are going to use the SHT10 sensor, we will use the SHT1x library that you can download in the following link: https://github.com/practicalarduino/SHT1x. SHT10 uses a two wire communication interface similar to I2C. As usual, we will use the Arduino IDE to develop the software. You can download it here: http://www.arduino.cc/en/Main/Software. You can see the code in the following file: 2014111_arduino_code   Key benefits   There are a lot of benefits to implement a humidity control in an irrigation system. Let´s see the most important:

  • Saves Time: Automation does the job for you, so you can go on holidays knowing that your flowers will be maintained when you come back.
  •  Saves Money: No more water wasted, automation guarantees efficiency: water is used when is needed.
  •  Improves Growth: An irrigiation system guarantees flowers waterd with proper amount of water. In a reasonable time, you will have a greener garden.

  Contact us!

Do you have a process to be automated? Contact Industrialshields to buy the proper hardware and Opiron to implement the entire solution.

Controller for your installation based on Open Source hardware

Controller for your installation based on Open Source hardware

Leaders from different companies usually agree in Water will be the oil of this century. Today, as populations increase and water supplies are stretched, we are developing more and more systems to make water at a low cost. We are going to develop a basic water treatment system based on Arduino. The water contained in the tank will be used for an irrigation system.

Equipment to be used Water treatment system consists basically of the following elements:

  • An M-Duino PLC: This controller is the heart of the system. It controls the display, generates interrupts, and controls the communication.

·        A Panel PC: Used to read and display the status of the system over the Panel Pc.

  • Turbidimeter: Water clarity is measured in nephelometric turbidity units (NTU). This measurement indicates the level of dirt particles within the water.
  • Ph Analyzer: pH is an indicator of the acid or alkaline condition ofwater. The pH scale ranges from 0-14; 7 indicates the neutral point
  • Level Sensor: The level sensor will indicate us the remaining level of water in the reservoir.

sch   Software and code In this example we will define some threshold alarms:

  • If the level in the water reservoir is less than 120 l, we will send an alarm.
  • If the turbiditmeter returns a value higher than 0.8 NTU, we will send an alarm.
  • Since the normal pH range for irrigationwater is from 6.5 to 8.4, we will send alarms whenever the value is out of the indicated range.

The PLC monitors all the time if an alarm occurs, and in that case, sends the boolean alarm of  each monitored variable: Level / Turbidity / PH to the Panel PC, where we will send print it in the screen. As in other newsletters, we use the Panel PC to read the status of the system efficiently. You can find the code to be uploaded here: 2014111_arduino_code   Key Benefits The main benefits of the Opiron purposed solution are:

  • Flexibility: This application note describes how the IndustrialShields hardware can be used to make an efficient water treatment system.
  • Freedom to modify your software: You aren’t limited to what one company believes you need.
  • East to be integrated: No matter if you already have an automation system. The Arduino hardware is easy to integrate into your system.
Contact us!

Do you have a process to be automated? Contact Opiron to implement the entire solution.and Industrialshields to buy the proper hardware.

Labeling machine automation with M-Duino PLC

Labeling machine automation with M-Duino PLC

We will make the automation of a labeling machine based on the M-Duino PLC from Industrialshields. The labeling machine will label bottles of a plant.

 

Hardware I: Equipment to be used Basically, the labeling machine system consists of:

  • An M-Duino PLC: This controller is the heart of the system. It controls the display, generates interrupts, and controls the communication.
  • A Panel PC: Used to read and display the status of the system over the Panel Pc.
  • A detection Sensor:  We will make use of optical fork sensors based on infrared (non visible) light sources because they are easy to be programmed and they allow us a manual adjustment to the sensitivity via potentiometer.     
  • A motor: The motor is used to fix a constant speed in the conveyor belt. –
  • A relay: Used to activate the labeling piston.

sch Hardware II:  System   Regarding the system, in this section we will explain the interface between the M-Duino PLC and the other elements:

  • We have one detection sensor that we will program it as a Digital Input. Each time a bottle is placed in fornt of the detector, the conveyor belt will stop and wait for label the bottle.
  • The PLC will control the motion of the conveyor belt activating a motor through a relay. This will be programmed as a Digital Output.
  • The PLC will control too the labeling piston. This system will be activated through a relay too, and therefore, programmed as a Digital Output too.
  • As we made in other newsletters, the communication between Panel PC and the M-Duino will be made with I2C.

Furthermore, the system will be able to be stopped through the Panel PC. Let´s see a picture of the system to be automated:   foto       Software and code As we explained before, the system has a Panel PC which will allow us to visualize the system status (not implemented in this code) and stop the system whenever we need. The communication between the PLC and the Panel PC will be with I2C, so we will use the Wire library (you can get more information about the library here). The system will have 3 states:

  1. STOP: When the command is received from the Panel PC. This state will enable us to make maintenance activities on the system and other related tasks.
  2. Running and Bottle detected: When a bottle is detected, the system will stop the motor and activate the labeling piston.
  3. Running: This state activates the motor.

As in other newsletters, we recommend using Tesla Scada, which is able to work on Android systems. You can download the code here: 2014111_arduino_code     Key Benefits The main benefits of the Opiron purposed solution are:

  • Open Hardware: Which reliable, cheap and expandable
  • Real time measurement: Panel PC enable users to visualize the system status and stop it easy.
  • Easy to be integrated: If you plant has already installed an automation system, M-Duino can be integrated using Ethernet.
Contact us!
Do you have a process to be automated? Contact Opiron to implement the entire solution and Industrialshields to buy the proper hardware.