Monday, February 29, 2016

ULTRASONIC DISTANCE MEASUREMENT FOR VEHICLE SAFETY

RIO JOY C. CABALDA
CORNELL G. BURGOS
DANN EMERALD A. MANGUBAT

EXECUTIVE SUMMARY
            Crushing vehicles is natural, it is impossible to be avoided. Crushing vehicles can happen because of slippery road, sleepy and drunk. This phenomenon causes harm and leaves damages for the other vehicles, innocent’s citizens, structure and to the people who live around the streets area. Preventive measures are necessary to minimize the casualties of such phenomenon, hence, technology is best known in providing help and assistance for mankind. This system detects danger when the vehicle is near to danger like wall, object or structures and then the system will pull over or break to avoid the crush or bump in the other structures. A micro-controller is utilized to control the functions of the device. A warning will be given once the vehicle reaches the certain measured or distance. The device transmits information about the measured or distance status and data will be transmits to the LCD to know what is distance of the vehicle in front of you. The ability to receive information on the distance measures to react imminent danger in an effective manner. Once the alert is received in the monitoring center, the vehicle must respond to it immediately. Being prepared for crushing incidents does not only keep the citizens safe, it can also help minimize the incidents and reduce the impact of the crush

INTRODUCTION
Project Context
            One of the problems that often occur worldwide is incidents in vehicles. Incidents in vehicles can happen because slippery road, sleepy and drunk. This phenomenon causes harm and leaves damages for the other vehicles, innocents, structure and to the people who live around the streets area. These disasters cannot be avoided but can reduce by using this system that can minimize its impact or be avoided. One way is to monitor the rise of distance measure and to provide advance warning during the occurrence action. The driver of the vehicle will have time to prepare and to avoid incidents.
            Philippines are known to be very prone to vehicle incidents, that are why the proponents decided to design and develop a ultrasonic distance system. This project utilizes a device using a ultrasonic sensor, Arduino and a LCD. The device will be the one that detects and monitor the distance of a certain area. While the LCD will be used to know what is the distance of the other object.
            There is also an alarm system that is divided into 4 colors; orange, green, yellow and the critical color red. When the device detects that the vehicle is far from the object or wall, it will deliver or send to the LCD about the status. If the vehicle is near from the object or wall another data will send to the LCD. When the vehicle is in the nearest point it will trigger the sound alarm and the vehicle will stop.

Purpose and Description
            The study aimed to reduce the accidents in the Philippines especially in the driver that are in drunk, sleepy and other circumstances.
Objective of the Study
            To achieve the goal of the study, the project design is to develop a device that can minimize the accidents:
                                 ·            To minimize the accidents
                                 ·            To avoid destroying other structures
                                 ·            To ensure the safety of the driver
                                 ·            To identify the distance measure in front of your vehicle

Significance of the Study
            The completion of this project is seen to be benefit to the following:
Drivers
                                 ·            This would help the drivers to avoid accidents. If they are drunk, sleepy and the road is slippery the device can help them to avoid the incidents and accidents.
Citizens
                                 ·            This would serve as their safety device, as you can see this device is for the vehicle to avoid crushing on other citizens walking along the street.
TECHNICAL BACKGROUND
        This figure shown below shows the graphical representation of the whole process of the proposed project. First the ultrasonic sensor senses the distance, and then it will be processed to the Arduino and LCD. Arduino is the microcontroller that will be the responsible of sending the message to the LCD to have the display. There is a warning system assign to give an alarm whenever the distance is near to other structures.



RESULT AND DISCUSSION

Data Gathered
            After developing of our device, the device can stop immediately if the vehicle is in danger like crushing or bumping on other vehicle. This also LCD to know what is the distance in front of your vehicle. Lastly, it also has an alarm system to know that other vehicle or structures are so near.

Testing and Validation
            The project ULTRASONIC DISTANCE SAFETY MEASURE is successfully finished using Arduino. The objectives of the project are reached as projected and develop the safety of a vehicle and the driver. The project also improves the incidents and accidents in our country. The project would benefit the vehicle owner and to the citizens. With the aid of this device, this can minimize the accidents and incidents.

Conclusion
            It has been concluded that all objectives that have been listed were successfully reached, particularly the following:
1.      Design a software program that can solve the proper distance of the vehicle and the structures.
2.      Design a software program that can minimize accidents and incidents.
3.      Make a miniature to know what is important of the device to a vehicle.
4.      Established a system where you can try your device.

RELEVANT SOURCE CODE

#include <LiquidCrystal.h>

#define echoPin 12
#define trigPin 13

LiquidCrystallcd(7,6,5,4,3,2);

int duration, distance;

void setup(){
lcd.begin(16,2);
lcd.clear();

Serial.begin (9600);
pinMode(trigPin, OUTPUT);
pinMode(echoPin, INPUT);

pinMode(A0,OUTPUT);
pinMode(A1,OUTPUT);
pinMode(A2,OUTPUT);
pinMode(A3,OUTPUT);
pinMode(A4,OUTPUT);
pinMode(A5,OUTPUT);
pinMode(8,OUTPUT);
pinMode(9,OUTPUT);
pinMode(11,OUTPUT);
pinMode(10,OUTPUT);

digitalWrite(11,HIGH);
delay(700);
digitalWrite(11,LOW);

lcd.createChar(1,customchar);
delay(2000);
lcd.print("Arduino Started");
delay(2000);
lcd.clear();
lcd.print("Hello");
lcd.write(1);
delay(2000);
lcd.clear();

lcd.print("The Motor start");
delay(2000);
lcd.setCursor(0,1);
lcd.print("5");
delay(1000);

lcd.print("4");
delay(1000);

lcd.print("3");
delay(1000);

lcd.print("2");
delay(1000);

lcd.print("1");
delay(1000);
lcd.clear();

lcd.print("Motor Started");
delay(1000);
lcd.clear();}

void loop(){

digitalWrite(trigPin,LOW);
delayMicroseconds(2);

digitalWrite(trigPin,HIGH);
delayMicroseconds(10);

duration = pulseIn(echoPin,HIGH);
distance = (((duration/58.2)/2.54)/12);

Serial.print(distance);
lcd.noDisplay();
delay(500);
lcd.display();

lcd.print(distance);
lcd.print(" Feet");
delay(100);
lcd.clear();

if (distance>=14) {digitalWrite(A0,HIGH);} else{
digitalWrite(A0,LOW);
digitalWrite(10,HIGH);};
if (distance<=12 ) {digitalWrite(A1,HIGH);}
else{
digitalWrite(A1,LOW);
digitalWrite(10,HIGH);};
if (distance<=10 ) {digitalWrite(A2,HIGH);}
else{
digitalWrite(A2,LOW);
digitalWrite(10,HIGH);};
if (distance<=8 ) {digitalWrite(A3,HIGH);}
else{
digitalWrite(A3,LOW);
digitalWrite(10,HIGH);};
if (distance<=6  ) {digitalWrite(A4,HIGH);}
else{
digitalWrite(A4,LOW);
digitalWrite(10,HIGH);};
if (distance<=4 ) {digitalWrite(A5,HIGH);}
else{
digitalWrite(A5,LOW);
digitalWrite(10,HIGH);};
if (distance<=2 ) {digitalWrite(8,HIGH);}
else{
digitalWrite(8,LOW);
digitalWrite(10,HIGH);};
if (distance==0) {digitalWrite(9,HIGH); digitalWrite(11,HIGH); digitalWrite(10,LOW);}
else{
digitalWrite(9,LOW); digitalWrite(11,LOW);
digitalWrite(10,HIGH); };
}







Wednesday, February 24, 2016


SOIL MOISTURE BASE GARDEN IRRIGATION SYSTEM
                                                   PHILIP IAN N. YMBONG
                                                      EDZSON PORLARES
                                              VINCENT THOMAS SEÑEREZ

 ACKNOWLEDGEMENT  A major research project like this would never be the work of anyone alone. The contributions of different people have made this paper possible. We would like to extend our appreciation to the following:
    To  Engr. Jamie Eduardo A. Rosal, college instructor and Software Project adviser, for his continuous support, patience, motivation, enthusiasm, and immense knowledge, for his endeavors in giving idea, for his advices in constructing of our system, for providing corrections on the content and organization of my thesis paper;
   To My classmates and friends who had given their supports, encouragement, pieces of advice and inspiration;
   To My parents and family, for their outmost care, patience, understanding, unconditional love and sending me to college. I am always grateful for their never-ending supports: emotionally, spirituality and financially; and
    Above all, we give thanks to Almighty God, for bestowing upon us his wisdom and perseverance during the making of this research project, for the gift of knowledge enabling us to do what he wishes us to be. Because without him, this paper would seem to be nothing.
    
EXECUTIVE SUMMARY


SOIL MOISTURE BASE GARDEN IRRIGATION SYSTEM


Philip Ian N. Ymbong
Edzson Porlares
Vincent Thomas Señerez

        
          Soil Moisture Base Garden Irrigation System is a system created for those who are having problem with the proper moisture of the soil in their garden.
       
          The study aims to provide an efficient and easy way to know whether the soil is properly moisture or not. With the use of this system, the user can be provided the things he/she needed on what is the condition of his/her soil. Its main purpose is to manage your garden  efficiently. By using this system, the operation of managing the moisture result of your soil is paperless. This irrigation system also created to ensure that your garden store your soil properly in order to obtain good result.

 INTRODUCTION

PROJECT CONTEXT:

        Electricity is one of the basic necessities nowadays. Electricity powers the world. It is needed to power every single applicance in the offices, schools, homes and any other establishments where people occupy and stay. These appliances help the people life easy. Televesions, radios, computers and Water Systems are some of the appliances that provides the crave of the people to experience a comfortable living.
        Water Systems like water pump power control is commonly used to provide a healthy environment. This regulates the water within the ground, thus reduce the amount of water to flow to the ground. Convenience is one of the benefits that could get if this person is in a well-organized environment.
        One way of managing water consumption is to minimize the usage of water. By minimizing the usage of water, this could result to a decrease of the water bill paid by the user.
         The researcher introduced the soil moisture base garden irrigation system to address this problem.
         A moisture sensor is a device that detects the moisture of the ground.
        
         This study is design to control the operation of water pump by the aid of moisture sensor which gives signal whether to turn it on and off depending on the sensor setting configuration thus eliminating wasted time and water.




PURPOSE AND DESCRIPTION:
     
          As the project controls when to operate a soil moisture system, the project aims to:
             
                      Consumers. This study would benefit those consumers who are willing to install this system in their respectives houses/garden to reduce their monthly payment to water distributor.

OBJECTIVES:
          The main goal of this project is to control the improper usage of moisture irrigation system, to minimize the water consumption of the particular place. Specific objectives of the project are defined as:
·         Save water consumption
·         Less man power
·         Build a system that will automatically turn on the water once motion is detected underground. The water motor will automatically turn off when motion is not detected and the ground is already wet.


SCOPE AND LIMITATION:
             The project covers the operation of soil moisture irrigation system by triggering its operation mode when the ground is dry.  The sensors to be used are a soil moisture sensor. The sensors also turns off the motor when the ground is already wet.
             The project does not control the speed of water. It has only two states which are the ON and OFF state. The motor is to be in its standard speed when operating or if it is in its ON state, and in OFF state when it’s not operating. The project uses only a motor. Moisture sensors might not cover the whole ground but not need to touch anything. Ground or water is needed to detect.  
TECHNICAL BACKGROUND

              This chapter provides the technical background for the development of the methodologies described in Soil Moisture Base Garden Irrigation System. Tools and technology used and applied are also included.

DESCRIPTION:
      Soil Moisture Base Garden Irrigation System is intended for all consumers who have problems in soil moisturing.
      The system will automatically turn on the motor once it the moisture sensor detects that the ground is dry. The motor will turn off when  the moisture sensor detects that the ground is already wet.


TECHNOLOGY USED AND APPLIED:
      To accomplish all of planned features of the proposed project, the researchers used the following tools to implement and make it possible.

1.      The ARDUINO, is a tool for making computers that can sense and control more of the physical world than your desktop computer. It’s an open-source physical computing platform based on a simple microcontroller board, and a development environment for writing software for the board. Arduino can be used to develop interactive obejcts, taking inputs from a variety of sensors, and controlling a variety of lights, motors and other physical outputs. Arduino projects can be stand-alone, or they can communicate with software running on your computer.

2.      LM-393, is a driver connected to moisture sensor that can be used to know the moisture of the ground.

TECHNICAL FRAMEWORK:




   
             

  This chapter presents the requirements specification, non-functional requirements, security requirements, software requirements and usability requirements.

REQUIREMENTS SPECIFICATION:
          A.    External Interface Requirements
1.      User Interface
The system has only one interfaces which are the mains’ interface.
2.      Hardware Interfaces
The system must be connected to a printer with a parallel or serial USB port in order to utilize its functionalities.
3.      Software Interfaces
Soil Moisture Base Garden Irrigation System enabled the motor to shower the soil if it is dry. The system was created by using Arduino.

B.     Non Functional Requirements

Administrator’s and User’s end: JAVA PLATFORM IDE
           System Type     : Personal Computer
           Processor Type : Celeron 1.79 GHz or higher
           RAM                 : 1 GB or higher
           HDD                  : at least 1 GB or higher
           SVGA Modes   : 256 color or higher and 1024*768/standard resolution.
           Software Infrastructure Required:
                      Operating System : Windows 8.1, 8, 7, Vista
                      Developed on       :  Arduino 1.6.2

SYSTEM DESIGN

           
           
 CONCLUSIONS
                                                                                
Ø   After completion of the term paper, we expect that the problems in the existings system would overcome. The “SOIL MOISTURE BASE GARDEN IRRIGATION SYSTEM” process made computerized to reduce human errors and to increase the efficiency. The main focus of this project is to lessen human efforts. The maintenance of the soil is made efficient, as all the soil are being maintained.
   Our main aim of the project is to get the correct information about the needs of a soil. From a paper analysis of positive points and constraints on the component, it can be safely concluded that the whole irrigation system has been made through our level best analysis. We wish our system will go a long way by satisfying users requirements. The automation of Soil Moisture Base Garden Irrigation System will not only improve the efficiency but will also reduce human stress thereby indirectly improving human recourses.







                            SOLAR TRACKER

                                       RONA VIA G. PISAN 
                                RICHIE BOY D. RESTAURO

ABSTRACT 
Renewable energy solutions are becoming increasingly popular since fossil fuel is a relatively short-termed energy source. One of the most popular renewable energy sources is solar energy. At the educational level, it is therefore critical for engineering and technology students to have an understanding and appreciation of the technologies associated with this area. Presented in this project is a prototype of a solar tracking device using Light Dependent Resistor (LDR). To make solar energy more viable, the efficiency of solar array systems must be maximized. A feasible approach to maximize the efficiency of solar array systems is solar tracking. Solar tracking allows more energy to be produced because the solar panel is able to maintain a perpendicular profile to the sun’s rays. This project covers the design and construction of the solar tracker mechanical structure together with the associated electronic circuits. The technical background and theories essential to the system will also be discussed. One pair of LDRs was installed for detecting the light source position. The solar tracking system is controlled by a pair of operational amplifiers (Op-Amp) that compares the input signals from the LDRs. A DC (Direct Current) motor is mounted to control the elevation angle. A working system will ultimately be demonstrated to validate the design. Possible improvements will be presented.

INTRODUCTION
From the previous year, the Innovators’ Club of Cor Jesu College had developed a project on renewable energy. A solar charger was assembled and made accessible to the school. Although it provided useful source of energy to its patrons, it further needs to be improved. This study was conducted in order to develop and to enhance the aforementioned project. In renewable generation, solar energy is the most popular and has been harnessed by humans since ancient times, using range of evolving technologies. Photovoltaic (PV) systems are, but one example. Solar panels are usually set up to be in full direct sunshine, at the middle of the day, in order to obtain solar energy as much as possible. During the day the sun appears to move across the sky from left to right and up and down above the horizon from sunrise to noon to sunset. Therefore, morning sunlight hits the panels at an acute angle reducing the total amount of electricity which can be generated each day. It takes a whole lot of cells to generate any significant amount of electricity (Layton, 2008).
 This setup is inherently expensive because, first, semiconductors which are the main component of PV cells are costly; second, it's not terribly efficient. Some of the sun's energy is lost to heat, and a lot of it doesn't hit the solar cells because the sun isn't stationary. Researches had been conducted to develop methods of increasing the efficiency of PV systems.
 One method was the installation of a solar tracker. 2 A solar tracker is a device, where solar panels are fitted, which traces the sun across the sky, throwing more light onto the solar cells. This is far more cost effective solution than purchasing additional solar panels. Solar tracking generate more energy because the solar panel is always maintained at a perpendicular profile to the sun’s rays. Saxena and Dutta (as cited in Lane, 2008) estimated that the yield from solar panels can be increased by 30 to 60 percent by utilizing a tracking system instead of a stationary array.
The solar charger project of the Innovator’s Club has gained number of patrons and need to improve its charging capacity is identified. Bro. Rogelio Enico of the Brothers of the Sacred Heart expressed his interest in this project and offered his help in advertising it. Statement of the Problem In general, there are three methods to increase the efficiency of PV systems. The first method is tracking the path of the sun using fixed control algorithms that uses a controller device that determines the position of the sun with reference to the current day, month and year; the second one is dynamic tracking which is similar to the first method, however sensors are used in determining the current position of the sun; and the third approach is focusing the sun’s incident rays at a focal point also known as Concentrating Solar Power (CSP) technologies. However, the first one consists of complex mathematical models that require in depth analysis; the second involves commercial solar trackers which are extremely costly; and the third method has issues on its longevity. In 3 fact, Tim McGee (2008) found that the Luminescent Solar Concentrator (LSC) prototype only lasts about three months. Currently there are number of variations on each of these methods. The research undertaken in this thesis is directed towards the design of a dynamic tracking system. The dynamic tracking system was chosen because it proposed the most accurate method of maintaining maximum power collection possible. Significance of the Study The solar tracking system can be used in any application that currently uses solar energy. It is ideal on hot water systems and other domestic applications where long-term efficiency is preferred.
The device should provide benefits to the following: 1. CJC-BED, CJC College Department, faculty and staff: Through the maximized power output offered by the solar tracker through its solar panel can invite more patrons to plug their mobile phones to the solar charger. 2. Solar panel owners can maximize in investing on their solar panels without spending much money. Description of Research Study The objective of this thesis is to design a solar tracker. An op-amp-controlled solar panel that can actively track the sun and that can maximize the power received by 4 the panel at all times. This is achieved by using sensors to locate the sun's position at any instance and to align the array using the operational amplifiers.
Objectives of the Study 
The objective of this study is to design and construct a solar tracking device that is functional, efficient and economical. Specifically this study aims to:
1. Design and construct a single-axis solar tracking device as a moving base for solar panels;
2. Build a solar tracker that actively tracks the sun for maximum solar panel output;
3. Devise a circuit that drives the sensor to locate the sun’s position at any instance, and to align the array using a bridge circuit;
4. Offer a solar tracking device that is economical and practical.
Scope and Limitation of the Study 
The scope of this project involves design and hardware implementation. There has been no formal consideration of the affect of heat on the performance of the array. As for the hardware, design and construction of mechanical structures are needed. The scope of this project is to design a control system that track the sun’s path to maximize solar panel output by using operational amplifiers, LDR (Light Dependent Resistor) as light sensor, and DC (Direct Current) motor as output mechanical device.

DESIGN AND METHODOLOGY This chapter comprises of the conceptual design, system architecture and research procedures that are essential in the development of the solar tracking device. Conceptual Design Commercial solar trackers are one of the ways of boosting solar panel power output. Unfortunately, they are expensive to afford. The proponents came up with a modified version of a commercial solar tracker to see if the cost of present commercial market value of a solar tracker can be reduced without significantly undermining its efficiency. Research which involves the summary, collation and/or synthesis of existing research, and exploratory research was conducted in order to be familiar with the concepts involved upon undertaking this project.
System Requirements
1. During daytime, the system must align itself relative to the sun’s current position.
 2. This must be done with active control. It should be automatic and simple to operate. The operator interference should be minimal and 16 restricted when it is actually required. The major components of this system are as follows.  Input Light Sensors  Control Circuit  Output mechanical device (DC motor)

  Sensor Design To design the sensor circuit, a suitable method in determining the position of the sun was needed. This involves a process of designing and testing to establish a most efficient and accurate method. The sensors are arranged so that the voltage across each sensor is the same when the sensor points at the sun. The shadow block is used so that the change of sun position will immediately be determined by the sensor. When the sun moves to the sensor 1, the shadow made by the block will cover the opposing sensor (sensor 2). Figure 1. Sensor design 17 Due to the fact that the controller reads the voltage output from the sensors, it is necessary to set the operating range of the sensors to an appropriate voltage range. To accomplish this, the output of the sensors must be sent to an amplifier circuit that will deliver the required voltage range to the controller. Tracking Controller 1. Amplifier Circuit When designing a control circuit for the tracking system, it is important to consider the functions it would need to perform. The functions include comparing and amplifying the analog voltages from the sensor circuit in order to drive the DC motor to the appropriate direction. To handle the comparisons, the amplifier must accept two voltage levels simultaneously and continuously. The LM741 Operational Amplifier was found to be the preferred choice for it can perform all required functions. The Op-amp is a linear device that has all the properties required for nearly ideal DC amplification and is therefore used extensively in signal conditioning, filtering or performing mathematical operations such as add, subtract, integration and differentiation (Mitchell, n.d.). It is a two-input, three-terminal device with a bipolar supply voltage necessary for the forward and reverse action of the DC motor. 2. Controlling Motors The amplifier circuit controls the DC motor by connecting its output to the transistor H-bridge circuit prior to the motor. Four transistors work in diagonal 18 pairs to trigger the motor forward or reverse. Refer to the schematic diagram for the motor drive circuit. System Architecture Figure 2 (a) below shows the mechanical design for solar tracking. It consists of the solar panel, sensor and motor. Figure 2 (b) shows the elevations of the solar tracker and its degree inclinations.

System Architecture 

Figure 2 (a) below shows the mechanical design for solar tracking. It consists of the solar panel, sensor and motor. Figure 2 (b) shows the elevations of the solar tracker and its degree inclinations.

Block Diagram 
This design monitors the position of the sun using two Light Dependent Resistors (LDRs), and directs the movement of the solar panel to correctly orient to the sun. The output configuration is called an H-bridge which drives a small DC motor at the input voltage (5 –12V), both forward and reverse. Figure 3. Block diagram The input stage consists of two LDRs. The op-amps in the control circuit are fed by the junction of these LDRs. The control stage uses two operational amplifiers to decide on the direction of light. If both LDRs see the same amount of light, their resistance is equal. The junction of the LDRs’ would be at input voltage divided by two i.e. 12V input – junction of LDR and LDR’ is at 6V. If the light on one LDR is greater than the other, then the voltage will move, higher or lower depending on which LDR has more light. The voltage output from the control circuit will drive the DC motor forward or reverse directing the position of the solar panel mounted on the tracker. The output of the solar panel can be used for user’s desired purposes and can also be used to power the DC motor

RESULTS AND DISCUSSION This chapter discusses on the results upon the completion of the Solar Tracker. After the development and completion of the mechanical and electronic components, it was then evaluated in order to measure the effectiveness and to ensure whether it had met the outlined objectives successfully. Achievements When this project was brought into testing and evaluation, it can be observed that it is a success and have met the objectives flawlessly. Below are the lists of achievements that can be highlighted:  The Solar Tracker uses the “light tracking” method to align the solar panel normal to the incident ray, using two LDRs as the sensor to find the light source.  The motor worked effectively though the process of positioning the solar panel perpendicular to the incident ray.  The Solar Tracker has achieved its objective as single-axis solar tracking system for moving base. The Solar Tracker can be used as a power supply, especially for the Solar Charger.