Saturday, October 4, 2014

turtle graphics and application using sensor

Turtle graphics 

A method for creating graphic images in the Logo programming language. The "turtle" is an imaginary pen that is given drawing commands, such as go forward and turn right. On screen, the turtle is shaped like a triangle.




It can be directed by typing commands at the computer. The command forward 100 causes the turtle to move forward in a straight line 100 "turtle steps". Right 45 rotates the turtle 45 degrees clockwise while leaving it in the same place on the floor. Then forward 50 causes it to go forward 50 steps in the new direction.




application using sensor
A sensor is a device that detects and responds to some type of input from the physical environment. The specific input could be light, heat, motion, moisture, pressure, or any one of a great number of other environmental phenomena. 

there are 2 type 

monitoring
in monitoring it will only review  the data from the sensor,it will only gives warning but no changes are made to the process of monitoring

control application
in control application the computer  again review the data from the sensor and takes action to try and get the value within acceptable range

example of monitoring and control application 

monitoring 
monitoring patient vital signs in a hospital
a bugler alarm system
monitoring scientific experiment in a laboratory
environmental monitoring

control application 
controlling -a chemical process
                    -nuclear reactor 
                     -set of traffic lights 
                    - central heating system

the advantages of using and trusting computer and sensor for monitoring 
-unlike humans they will never forget unless you erase the data
-they will never sleep and can stand for more than 24 hours
-the reading will tend to be more accurate 
-it response much faster

link


No comments:

Post a Comment