An extremely creative technology that will assist to keep cities clean is the IOT Garbage Monitoring system. This system keeps an eye on the trash cans and provides information through a web page on the amount of trash being gathered in the cans. The device does this by detecting the rubbish level and comparing it to the depth of the garbage containers using ultrasonic sensors positioned above the bins. The system uses a microcontroller from the AVR family, an LCD display, a WiFi modem to relay data, and a buzzer. A transformer with a 12V output powers the device. The status of the amount of waste collected in the bins is shown on the LCD panel. A web page, however, is created so that the person who is watching it may see the status. The website displays a visual of the trash cans and emphasises the waste that has been collected in colour to demonstrate how much garbage has been gathered. The waste level status is shown on the LCD panel. When the amount of rubbish being collected exceeds the predetermined limit, the system activates the buzzer. Thus, by presenting a graphical depiction of the bins through the IOT Gecko web development platform, this system aids in keeping the city clean by notifying about the waste levels of the bins.
Popular Posts
-
RESEQUENCING ANALYSIS OF STOP-AND-WAIT ARQ FOR PARALLEL MULTICHANNEL COMMUNICATIONS:--DOTNET--2009 RESEQUENCING ANALYSIS OF STOP-AND-WAIT AR...
-
Introduction This amplifier does not claim to be "state of the art", and in fact the base design is now over 20 years old. It is ...
-
Signals, including those used for communication between occupants of a car or train.Indicators, recorders, telegraphic, telephonic, or oth...
Saturday, 25 June 2022
Friday, 26 April 2013
Controlling of AC Lamp Dimmer through Mobile phone
The process of home automation works by making everything in the house automatically controlled using technology to control and do the jobs that we would normally do manually. It is much easier to install home automation in a house while it is still being built, since you have the ability to put things inside the walls to save space. Though, people who have houses already built can still have home automation done in a less intrusive ways.
Sunday, 6 May 2012
Gas Leak Detection
Abstract
The aim of the project is to develop a gas leak detection and location system for the production safety in Petrochemical Industry.
PURPOSE:
The purpose of the project is to monitor gas leakage parameter. When they exceeds threshold, intimation is given to the nearby control section including readings of parameter and location of the gas leakage.
Description:
The system is based on Wireless Sensor Networks (WSN) it can collect the data of monitoring sites wirelessly and sent to the computer to update values and the location also. Consequently, it can give a real time detective of the potential risk area, collect the data of a leak accident and locate the leakage point. However the former systems cannot react in time even cannot obtain data from an accident and locate accurately.
The paper has three parts, first, gives the overall system design, and then provides the approaches on both hardware and software to achieve it. The gas leak detection and location system consists of three parts: control center and terminal nodes.
Here the supervising control center is based on arm controller, it displays the location and the status messages of parameters of all the monitoring sites, and it is a graphical description of the geographical information of the entire potential risk area. Status, sensor data and location data, and then sent them to the control center to update value in the location software
TECHNOLOGY:
Zigbee is new wireless technology guided by IEEE 802.15.4 Personal Area Network standard. It is primarily designed for the wide range controlling applications and to replace the existing non-standard technologies. It currently operates in 868 MHz band at a data rate of 20Kbps in Europe, 914MHz band at 40kbps in USA, and the 2.4GHz ISM bands Worldwide at a maximum data-rate of 250kbps. It is used to verify whether user's truncation is possible or not. One of the main advantages of this ZIGBEE communication is that it provides a noise free communication, the amount of noise added in this type of communication is very less compared to the other wireless communications
RESULT:
Hence a gas leak detection and location system for the production safety in Petrochemical Industry was designedAttendance Management Using Face Recognition System
The aim of this project is to deal with the problem of face detection in color images. Unlike in face recognition, where the classes to be discriminated are different faces in face detection, the two respective classes are the “Face area” and the “Non face area”. The novel approach to face detection is presented, binarisation rules especially designed for a skin area detection within a image frame.
The process involves Binarisation, localization, training and identification of Human Face.
This project easily extract the human face from any other images. Image segmentation algorithm is used to identify the face from other images.
After recognizing the face, the PC puts the attendance for the particular user. Also it sends signal to the microcontroller through serial port. The microcontroller analyses the signal and operates the door motor through driver section. The microcontroller program is written in assembly language. The microcontroller used is PIC 16F73
In this project, the camera is replaced by CD drive. The face is stored in the CD. As soon as the particular CD is inserted, the software in the PC recognizes the face and sends signal to the microcontroller through serial port. The PC recognizes the face and checks the data with the existing data. If it matches with any data, it puts attendance for the particular user. Also it sends signal to the microcontroller
The microcontroller used in this circuit is PIC16F73. It is a 28 pin IC with three I/O ports. It has inbuilt ADC. According to the signal received from the camera, the values are stored in the RAM of the microcontroller. Accordingly the microcontroller controls the door motor through driver section and relay. The microcontroller program is written in assembly language. The assembly language program is compiled to form “hex” code. The “hex” code is written in the microcontroller using PIC write software with the help of PIC writer.
Bluetooth Energy Meter
Abstract
The word automation brings to mind devices that operate with minimal human intervention. In other words, acting or operating in a manner essentially independent of external influence or control. It finds application in controlling industrial equipments, home appliances, computer peripherals and robots. Bluetooth is a promising new wireless technology, which enables portable devices to form short-range wireless ad hoc networks and is based on a frequency hopping physical layer. Bluetooth is a frequency hopping system, which defines multiple channels for communication (each channel defined by a different frequency hopping sequence). A group of devices sharing a common channel is called a piconet. Each piconet has a master unit, which selects a frequency hopping sequence for the piconet and controls the access to the channel. Other participants of the group known as slave units are synchronized to the hopping sequence of the piconet master
Home and office automation using Bluetooth enabled devices have generated sufficient interest in the networking community. Bluetooth based automation offers flexibility, even when the devices actually present far from the master unit. The commands for the automation unit are given through the software module in PC. From PC the command is given to Bluetooth USB adapter. The Bluetooth USB adapter enables the Bluetooth communication and converts the data into airborne signals. The Bluetooth transceiver has a built-in antenna receives the air borne signals and transfer the data to the embedded controller through serial port. The Bluetooth transceivers can be operated in point-to-point, point-to-multipoint and multipoint-to-multipoint architectures.

The embedded microcontroller is programmed to read the data. The embedded controller is the CPU that decides the operation of the automation unit. The embedded controller used here is 89C51 microcontroller. It is a derivative of 8051 microcontroller whose architecture and instruction set are same as 8051 microcontroller with some additional functionality. Since the controller has the inbuilt peripherals it is called as embedded controller. The embedded controller controls the automation unit as per the commands. Bluetooth based systems are developed to manage proper safeguards to prevent unauthorized leakage of information. Synchronizing data between cell phones, laptops, and PDAs; using cell phones as cordless phones when at home; and connecting PDAs to the office LAN are some of the cumbersome things that are possible with Bluetooth
Design of a Wireless Medical Monitoring System
Abstract
The main aim of this project is used Monitoring Terminal and it can detect the patient's real-time body temperature, heart rate and other physiological informations, and transmit them to the control center.
PURPOSE :
DESCRIPTION:
Now a day with the increase of biomedical sensor we are going into this process of detecting the patient's real-time body temperature, heart rate and other physiological information's .Coming to the main core of wireless medical monitoring system is the design of wireless monitoring terminal, and the development of system software. The monitoring terminal generally consists of three modules: the sensor module, the control module, and the wireless communication module. The sensor module is used for acquiring medical information from the outside, and then converts them to digital signals. The control module is often compared to the brain of monitoring terminal, which is in charge of coordinating the task of different modules, controlling the sensors, processing data, and executing communication protocols.
The wireless communication module mainly deals with the wireless transmission of information. Nowadays, there are various kinds of wireless communication protocols. But since the main task of a monitoring terminal is to realize the transmission of signals such as heart rate, body temperature, and calling signals the data traffic is not heavy. Moreover, because the monitoring terminal is worn on patients, which needs to be supplied by battery, it puts a high demand on the reducing of power dissipation of wireless transmission module. Having taken these comprehensive factors into consideration, this paper chooses the ZigBee technology as the wireless communication protocol. ZigBee technology is a shortrange, low-rate, low-power wireless communication technology
TECHNOLOGY:
Zigbee is new wireless technology guided by IEEE 802.15.4 Personal Area Network standard. It is primarily designed for the wide range controlling applications and to replace the existing non-standard technologies. It currently operates in 868 MHz band at a data rate of 20Kbps in Europe, 914MHz band at 40kbps in USA, and the 2.4GHz ISM bands Worldwide at a maximum data-rate of 250kbps. It is used to verify whether user's truncation is possible or not. One of the main advantages of this ZIGBEE communication is that it provides a noise free communication, the amount of noise added in this type of communication is very less compared to the other wireless communications
Hence, by implementing this project the monitoring terminal can precisely check the heart rate and body temperature of patients, and send them to coordinator and then surveillance center through wireless network.
Solar Based Electromagnetic Braking System
The objective of this project is to design the solar based Electromagnetic breaking system using Object sensor for Automobiles. This project is mainly used in Vehicles either two or four wheelers. In this project is used in real time we can avoid so many accidents.
Brief Methodology:
This project is designed by following blocks
• Microcontroller
• Solar panel with battery.
• Object sensor
• Driver circuit
• Relay
• Electromagnetic core
• Breaking system
The object sensor senses the object and gives corresponding signals. These electrical signals are very small mill voltage signal, so it is given to amplifier circuit. The amplifier circuit is constructed with operational amplifier which acts as power amplifier. Then the amplifier signal is given to signal conditioning unit which also constructed with operational amplifier. In this circuit operational amplifier act as comparator and generate the square pulse given to microcontroller. The microcontroller may be ATMEL/PIC/RENESAS/ARM microcontroller. It will work according to our object already we have programmed.
According to the object sensor value, the microcontroller activates the driver circuit as per mentioned in the program. The driver circuit is constructed with transistor which acts as switch to control the relay. The relay output is directly connected to the electromagnetic core which is attached in the breaking system.
Whenever we control the brake, at the time what happens in the system means one of the coil winding is placed around it. It generates the electromotive force and it's fitted with the suitable mechanical set. Likewise when we release the break the force generation will be stopped and the coil winding releases from the mechanical set.
Advantage:
- Can use all type of vehicles
- Low cost
- Low power consumption
Body Motion Information Collection
Abstract
This project is utilizes multiple- Knot network technology to gather multiple –point accelerations information's.
PURPOSE:
This paper deals with the Numerous experiment data indicate it gather accurate information about human body which reflect the truthfully human body motions and this paper is process or transmit it to advanced comprehensively analyzed and this is widely used in such fields are health recovery training, physical exercises, computer games controlling. And here some mathematical calculations about the acceleration component information such as motional track and dynamic process will be gotten for this platform
Description:
Any human body motion, from its beginning to the end, the acceleration of every part of the mobile limbs or other parts of human body is keeping changing. If certain motion is repeated, then its acceleration changing regularity is also very also very close. Therefore if a three-axis acceleration sensor is put on some typical point of measured limbs or other body parts, then the three acceleration components X_Y_Z of that typical point in the motion process can be collected accurately.
Then by mathematical calculation about the acceleration components information such as the motional track and dynamic process about that point will be gotten.
From comprehensive analysis of the data gathered about several typical points detailed information about the measured human body motions is obtained so that motion information is digitalized.
This motion information collection platform uses multi-knot internet technology to
TECHNOLOGY:
Micro-Electro-Mechanical Systems (MEMS) is the integration of mechanical elements, sensors, actuators, and electronics on a common silicon substrate through microfabrication technology. While the electronics are fabricated using integrated circuit (IC) process sequences (e.g., CMOS, Bipolar, or BICMOS processes), the micromechanical components are fabricated using compatible "micromachining" processes that selectively etch away parts of the silicon wafer or add new structural layers to form the mechanical and electromechanical devices.
RESULT:
By this controller we get the information according to motion of the body.
SMS Controlled Industrial Controller
In a process control industry, it is very difficult for a person to be present or to monitors the system continuously. If not, there occurs damage in the whole process industry. In order to view the process continuously and to check the status of the process we are going to use our project “SMS CONTROLLED INDUSTRIAL CONTROLLER”. This project has been implemented in various platforms, now we are going to do this project using LABVIEW Here we can monitor any number of process parameters. The hardware unit consists of all the hardware requirements needed for the process.
This project is implemented by using LABVIEW software to send the message when there prevails any deviation in the process station. Suppose to say, if we are monitoring eight parameters we have to set the limits for all the parameters so that if any parameter value goes out of range then the corresponding message will be sent to the operator indicating there is a deviation in the process.
The parameters like temperature, voltage, speed, current, level, pressure etc. can be measured by using the LABVIEW software. The hardware unit is interfaced with the system using LPT terminal to PC. In our program we have to enable the parallel port mode by setting the appropriate register values to the port. By using ADC configuration using the program, data acquisitions from different channels are performed. Plotting the graphs for these values with respect to time.
If the parameter value goes out of range, then the message is sent to the operator. One mobile is connected to the PC that is having the hardware interface unit and the other one will be with the operator. To send the message to the other user, we have to do the following settings. First of all we have to establish serial communication using VISA card. After setting the serial communication mode, enter the phone number and the message that has to be sent. This will indicate only if there is any deviation in the parameter value. We can also use buzzer to get ON whenever the data's acquired goes out of range by using DIGITAL OUTPUT configuration using the LABVIEW program.
For this we have to out the data as 1 or 0 to ON and OFF the buzzer unit for indication purpose. The hardware unit is interfaced with the PC by accessing the parallel port and the mobile phone is connected with the PC by accessing the serial port. The Speed parameter can be measured and controlled by using DAC configuration in lab view. Initially set the motor speed at a particular rpm by using the above said mode by counting the data from 00 to FF. By using DIGITAL INPUT configuration, count the number of pulses for every five seconds and convert it into rpm. Compare the current speed with the set speed and out the data using DAC configuration and monitor the speed value in the PC through LPT terminal. If the parameter value goes out of range, then the message is sent to the operator
APPLICATION:-
• This project is very useful in the industrial application
Sunday, 29 April 2012
Railway Switches And Signals
Signals, including those used for communication between occupants of a car or train.Indicators, recorders, telegraphic, telephonic, or other similar apparatus when especially designed for use in connection with car or train movements, except manually-set devices, such as train and engine signs and markers capable of general use.
Devices on the roadway, such as signals, switches, circuit closures, gates, etc., actuated or controlled from or by the moving vehicles, except circuit-controllers actuated by the vehicle for the purpose of energizing sectionalized conductors used for supplying propulsion-current thereto.
Automatic train stop and speed control means, the actuation of which is initiated by agencies not on the train or by wheel derailment or defects in train structure and mechanism, the automatic stop, for classification purposes, being considered an equivalent of and substitute for a railway signal; but train stopping and control mechanism cooperating with obstacles fixed in position upon the track which have no moving parts are excluded from this class except when they cooperate with speed-responsive devices on the train.
Safety devices, including derailing switches and blocks, used for preventing accidents caused by the misplacement of switches, disregard of signals etc.The structure of signals, switches, frogs, and crossings and their appurtenances.Mechanism for the manual or other actuation of any of the devices of the class.
Remote Vehicle With Unlimited Range
In this project, the robot is controlled by the mobile phone that makes a call to the mobile phone attached to the robot .In the course of a call, if any button is pressed; a tone corresponding to the button pressed is heared at the other end of the call. This tone is called ‘dual tone-multiple-frequency' (DTMF) tone .The robot perceives the DTMF tone with the help of the phone stacked in the robot.
The received tone is processed by the ATmega16 microcontroller with the help of DTMF decoder MT8870.The decoder decodes the DTMF tone into its equivalent binary digit and this binary number is sent to the microcontroller. The microcontroller is programmed to take a decision for any given input and outputs its decision to motor drivers in order to drive the motor for forward or backward motion or a turn.
The mobile that makes a call to the mobile stacked in the robot as a remote. So this simple robotic project does not require the construction of receiver and transmitter units. DTMF signaling is used for telephone signaling over the line in voice-frequency band to the call switching center. The version of DTMF used for telephone tone dialing is known as ‘Touch Tone'. DTMF assigns a specific frequency (consisting of two separate tones) to each key so that it can easily be identified by the electronics circuit. The signal generated by the DTMF encoder is a direct algebraic summation, in real time, of the amplitude of two sine (cosine) waves of different frequency, i.e., pressing ‘5' will send a tone made by adding 1336Hz and 770Hz to the other end of end of the line .The tones and assignment in a DTMF system are shown in table I.
CIRCUIT DESCRIPTION:
The important components of this rover are a DTMF decoder, microcontroller and motor driver. An MT8870 series DTMF decoder is used here. All types of the MT8870 series use digital counting techniques to detect and decode all the 16DTMF tone pairs into 4-bit code output. The built in dial tone rejection circuit eliminates the need for pre-filtering. When the input signal given at pin 2(IN-) in single-ended input configuration is recognised to be effective, the correct 4-bit decode signal of the DTMF tone is transferred to Q1 (PIN11) through Q4 (PIN14) outputs.
The ATmega16 is a low power ,8-bit ,CMOS microcontroller based on AVR enhanced RISC architecture .It provides the following features:16kb of in-system programmable flash program memory with read-while-write capabilities ,512 bytes of EEPROM ,1kb SRAM,32 general purpose I/O lines and 32 general purpose working registers. All the 32 registers are directly connected to arithmetic logic unit ,allowing two independent register to be accessed in one single instruction executed in one clock cycle .The resulting architecture is more code-efficient.
Output from port pins PD0 through PD3 and PD7 of the microcontroller are fed to inputs IN1 through UN4 and enable pins (EN1 and EN2) of motor driver L293D, respectively, to drive two geared dc motor. Switch S1 is used for manual reset. The microcontroller output is not sufficient to drive the DC motors, so current driver are required for motor rotation.
The land rover can be further improved to serve specific purpose .It require four controls to roam around .The remaining eight controls can be configured to serve other purposes, with some modification in the source program of the microcontroller.
Automated Step Climber
Human body is perfect combination of motion, balance, co-ordination and reflex. It because human brain is so much developed that all these activities can take place in such perfect co-ordination. With advancement in science we humans have created many beautiful creations and robot happens to be one of them. Humans have developed robots that can mimic humans. In the same context it is our humble effort to develop an electro-mechanical autonomous robotic vehicle that can have multiple degree of freedom, which enable it to move through various terrains.
Taking inspiration from NASA’s path finder robot we have tried to make a tone down prototype which control its movement with help of microcontroller which properly co-ordinate its motion. In our project we have tried to built an electro-mechanical autonomous robotic vehicle, which moves over the hurdles in front of it by sensing obstacle with help of sensing circuit and taking controlled action with microcontroller ,which drives the motors to make robot climb over the obstruction.
We have used many other chips to achieve this motion which we have described in the component section. This robotic vehicle could become a prototype for surveillance vehicle and other military vehicles used for detection and detonation of mines .Since cost of this prototype is very less thus it could be inducted in army easily and be made indigenously.Mainly ou project is based on working of microcontroller for the automatic management and motors for hardware management.

At initial position all the wheels are on the ground and microcontroller is programmed in such a way that the robo moves forward till the sensor circuit detect any obstruction. The sensor circuit consist of IR LED and phototransistor .The IR LED emits the IR radiations ,when there no obstruction the phototransistor does not detect any reflected radiation and the vehicle moves forward without any vertical motion.
When any obstruction comes in front of sensor mounted in front of wheel one the IR radiation are reflected back from the obstruction which is picked up by phototransistor .This phototransistor supplies a trigger signal to the comparator which conditions the signal and supplies the signal to microcontroller. The forward motion of the robo stops and microcontroller then detect the signal on a programmed pin. According to programming controller send the signal to the motor driver .
The motor driver drives the rack and pinion which lifts the wheel set one from the ground. The phototransistor detect the radiated IR radiations till the IR LED moves above the obstacle. As the wheels thus IR LED moves above the obstruction no sensor detect any signal thus forward motion of robo is initiated by the controller. Now the second detector detect the obstruction and same action is repeated as in case of first sensor. Once the second wheel moves over the obstruction the center of gravity moves in such a position that robo cannot topple. Thus in similar way third and last wheel climb over the obstruction and the robo moves above the obstruction.
Monday, 9 April 2012
Heat Control System
Introduction
This project was the first stage of developing a controller for a radiant floor heat system. The microcontroller will use inputs from thermostats, thermocouples, a flow meter, and pressure switches to control the operation of the pumps and valves to achieve improved efficiency of the system as a whole.
This project idea came from a friend who recently built a house which utilizes an outdoor wood boiler for heating. He expressed that he was disappointed in the efficiency of the current system and wished he had more control over the system operation. This seemed like a good application of what I�ve learned in this course. The main goal is to improve the efficiency of the system by shortening the amount of time that the Pumps need to run while still properly heating the home. By doing this, consumption of both electricity and wood will be reduced.
Implementation of this project involves a large amount of work outside of the microprocessor. Because of this, I bound the scope of this academic project to the control logic only. In order to implement this in the house, I will have to build the circuitry to translate the control logic over to the voltages necessary for operation of the valves, pumps and sensors. In order to verify and validate the controller logic worked as desired I built a demonstration board that models the inputs and outputs of the system. This board was used to debug the controls during development and it was also a convenient way of demonstrating this project at the end of the semester. Toggle switches were used to model the 5 thermostats, adjustable voltage dividers were used for thermocouples, a 555 Timer circuit was used for the flow meter and LEDs were used for all outputs.
Friday, 2 December 2011
LED-Following Car
In our project, the phototransistors sent their outputs to the ATMEL Mega644 microcontroller. The MCU then calculates which motors should move based on the phototransistors and sends a signal to the optoisolators telling which motors to turn on. Depending on which optoisolator is turned on, the motor control will tell which motor to move. We used optoisolators to separate the MCU from the motor circuitry. Optoisolators isolate the LED side of the circuit from the phototransistor side of the circuit, ideally protecting the MCU from any unknown outputs from the motor controller.
Thursday, 27 January 2011
Zigbee Wireless Relay Control and Power Monitoring
What this group is working on is an energy-monitoring system for a home using alternative energy sources. A very high-level block diagram of this system is shown below:

Figure 1. High-level diagram of the "Smart Home Energy Monitoring System."
In the above diagram, the “Magic Box” essentially exists to route energy between the house, the various energy sources (for example, a solar cell or the electric grid), and an energy storage unit (such as a rechargeable battery). In this project, we will “black box” this Magic-Box system, and instead focus on another portion of this energy monitoring system, which involves sending data regarding energy usage and various energy loads (by wirelessly controlled relays) to a PC in order to display and monitor energy usage within the home.
· Our project focuses on the House to In-Home Display (IHD) part of this system. What our project does is the following:
· Simulates a home by using resistors to model various appliances or groups of appliances
· Allows a user to wirelessly turn on and off various sets of appliances by controlling relays
· Monitors total power consumption and current in this home
· Wirelessly transmits the above data to a PC, displaying the data on a graph that shows real-time power consumption in the home (or simulated home)
Our simulated “home” consists of 7 appliances, each modeled by a resistance (a load). These 7 loads are all in parallel, and are fed voltage from a 5 V DC source (the microcontroller). In a real house, the source voltage would be 120 V AC (in the United States at least). We considered attempting to implement this, but considering the practical dangers of “playing around” with 120 V AC circuits as well as the fact that a relay control system shouldn’t depend on the voltages being fed through the relays led us to decide to stick with 5 V DC circuits for testing and simulation.
Background Theory
What we have built is a simple transmission system based on the Zigbee routing and networking protocol. This protocol and its details are discussed in greater detail in the Standards section (below); in this section, we focus on underlying network theory and the role this theory played in our project.
Data networks (and transmission systems) are typically divided into various layers based on functionality. This is sometimes called a “protocol stack” (in our case, we are using a “Zigbee stack”). Essentially, the lower the layer, the closer we are to worrying about actual physical electrons flying around. Conversely, the higher the layer, the less we are worrying about physical constraints and the more abstract the data structures are that we are dealing with and manipulating.
The most famous of these layering models is the Open System Interconnection (OSI) Reference Model, which is shown below:
Figure 2. The OSI Reference Model (Source: http://en.wikipedia.org/wiki/OSI_model)
The functionality of each layer (or group of layers) is described in a bit more detail below.
Physical Layer
The physical layer's job is to move individual digital bits from one place to another. The protocols in this layer depend on the actual physical medium. For example, in a wireless system, the actual physical medium is simply the atmosphere.
Link Layer
A network's link layer routes a series of bits (sometimes called a datagram) from one node in a network to another. This can happen through a series of intermediate switches (or routers). Protocols at this layer provide more robust and full-featured services than protocols at the physical layer. WiFi is one example of a link-layer protocol.
Network and Transport Layers
Again, since these layers are higher in the model, protocols at this layer typically are more full-featured than protocols at the link or physical layers. Protocols at these layers use the link layer's routing capabilities to move the aforementioned datagrams between nodes in a network. The Internet Protocol (IP) is probably the most famous network layer protocol, while the Transmission Control Protocol (TCP) and the User Datagram Protocol (UDP) are two examples of well-known and widely-used transport-layer protocols. Certain higher-level functionality is more prevalent in these two layers than in lower levels. For example, flow control – controlling the transmission rate between nodes in order to lower congestion on the network (realizing that even just a two-node transmission system can be considered a “network”) – and reliable transmission (ensuring that a packet is actually received) are two features commonly implemented in the network and transport layers.
Session, Presentation, and Application Layers
These layers are essentially the end-result of a networking protocol stack. For example, a web browser resides in the application layer. These layers make use of all of the lower layers to send data between nodes on a network, and then use their own protocols for manipulating that data. A web browser renders HTML but uses lower-level protocols to send HTML between nodes in a network.
Our Project
The part of our project that we implemented basically deals with the network layer and above. The XBee chips (which are discussed in much greater detail later in the report) and firmware allow us to “black box” the Data Link and Physical layers, and the open source Xbee-API and Xbee-Arduino software packages greatly simplified our work in the network layer. Thus, it was not strictly necessary for us to have a deep understanding of the underlying physical, link, and network layer protocols used, but a brief discussion of this is warranted nonetheless.
The physical layer protocol/standard used in Zigbee systems is IEEE 802.15.4 (http://www.ieee802.org/15/pub/TG4.html). This is a wireless standard that operates, in North America, in the range of 2400-2483.5 MHz or 902-928 MHz. Zigbee, and most importantly our chips, operate in the higher 2.4 GHz range, so that is the range we will briefly discuss here. The data transmission rate is up to 250 kilobits per second.
Logical Structure
A block diagram of our system is shown below. As you can see there are seven relays which are controlled by the MCU. The MCU gets its command from the Xbee Chip which is wirelessly transmitted from another Xbee chip that is connected to the PC. The user can specify from the PC which relays they want to turn on and off. Also all seven of the relays load goes through a .2 ohm power resistor which goes through an optoisolator to keep it safe from the MCU and finally to the Xbee chip. This gets transmitted back to the PC to be displayed on a graph in a GUI.

Saturday, 13 November 2010
Audio based Navigtor
Navigation in the past has primarily relied on the use of a map, compass or other devices that must be interpreted visually. This project demonstrates the ability to navigate a user based on synthesized directional audio which allows the user to move to a known location without the use of a visual aid. The module uses a GPS, a digital compass, and an ATmega32 to generate sound based on the direction that the user must turn in order to face the correct direction.
Sound Byte
The goal of this project was to create a device that allows a user to navigate to a predefined location though the use of auditory guidance.
The module uses GPS and a digital compass to determine at what angle the user hears the sound pulses. On initial startup the user selects from a number of predefined locations through the use of an LCD screen. Once the GPS has a lock, the module determines the bearing (angle from true North) that the user must travel to get to the destination. This angle is compared with the compass output and a sound is made based on which direction the user must turn to face the final location. The sound consists of short pulses that are delayed between the right and left side and modulated in amplitude to give the effect of direction.
One example implementation of this is self guided tours. A user could be guided though a predetermined course by following the sound of a recorded person's voice. In such a setting, if the user were to veer off course, the system would guide then guide the user back on course. Also, the direction of the guide's voice could be used to highlight the object of interest along the tour.
The project idea came after Dr. Land mentioned that you could create the effect of a sound coming from a location by properly spacing the left and right channel by a certain distance. It seemed like a good idea to use this for navigation. This principle is based in the way that humans naturally hear perceive direction. Sound will reach each ear at a slightly different time and volume. Based on those differences, humans are able to determine the direction of sound in the horizontal plane.
Figure 1 shows the high level design of system.
Figure 1: High level system design
The GPS communication uses a standard format (NMEA0283 V 2.2). These standards include GGA, GSV, GSA, and RMC. Of these, RMC (Recommended Minimum Navigation Information) is used in the final product for simplicity. Useful information from this protocol includes time, status, latitude, longitude, speed, and date. The other standards were used for development and debugging.
At this time there is no knowledge of existing patents, copyrights, and or trademarks that are relevant to this project. There are many devices that utilize GPS or a compass, but not together with this synthesized audio.
Having three group members made it nice as there were three distinct portions to the project, GPS, compass, and the synthesized audio. Each portion was developed on its own while keeping the others in mind and brought together at the end. For example, planning for the project included allocating resources between the sub functions including timers, registers, and ports.
Bringing together the three separate parts was tricky because of the timing budget. It was known that the GPS could only refresh at 1 Hz, but the sound and compass must be run much faster. We wanted the sound direction to change smoothly during the course of turning your head (faster than 1 Hz). Therefore, the GPS was allowed to run as fast as it could, depending on how many satellites were locked, and how many sound and compass functions were packed in between. This became tricky when multiple satellites were locked and the data stream from the GPS is continuous. The main structure of the program can be seen in Figure 2.
Figure 2: Software flow chart
The digital compass module used was a Hitachi HM55B from Parallax, mainly because we already had it before the project. The communication between this device was done with three wires (clock, data, and enable) in an SPI like fashion. The communication is based on the Basic Stamp function SHIFTIN/SHIFTOUT which is a two wire communication. The challenge was to implement this in C for the ATmega32. Timer1 was used to control the timing of the function and three GPIOs were used for the three controls. The compare interrupt was used to generate the clock and data as this allowed for the clock time to be set at fine resolution resulting in the fastest possible operation of the compass. The clock signal was generated at twice the data rate so that data could be clocked on both the rising and falling edge of the clock in attempt to keep this function as general as possible in case of future use for other projects. To get data, the ATmega32 pulses the enable bit high for two clock cycles, then sends 0b0000 on the shared data_in and data_out line. After another enable toggle, 0b1000 gets sent to the compass signifying a start measurement command. The ATmega32 then sends 0b1100 and reads in four bits waiting for the data conversion to be done. When the compass sends back 0b1100, the data is ready. The ATmega32 then clocks in 22 bits (11 for x value, and 11 for y value) of 2s complement data MSB first. After properly formatting the data to get the proper sign an atan(x/-y) is called to result in an angle. This is then converted from radian to degrees and compensated for the difference between true and magnetic North (subtracting 12 degrees here in Ithaca). The whole function takes 60mS to run, which was determined to be fast enough.
The PWMs from timers 0 and 2 are used to generate sound pulses. Each timer is set to operate in fast PWM mode with a prescaler of one, giving the PWMs a sample rate of 62500 sample/second. The overflow interrupts of each timer are used to update the OCR.
Initially, timer1 of the Atmega644 was used to generate two PWM waveforms. The idea was that since timer1 has two output compare registers, it should be able to generate two PWMs. Timer1 was able to generate two PWMs, but since OCR1A was used as the top value and the PWM waveforms were not unique, the outputs of OCR1A and OCR1B toggled whenever the overflow interrupt was triggered. Using two timers prevented the overflow interrupt from toggling both pulses and also allowed for one timer to be used as a time based when an interrupt was triggered.
The code used for direct digital synthesis was adopted from lab2 written by Dr. Land4. The DDS process consists of a sin function quantized into a 256 entry table and a ramp table to linearly increase or decrease wave amplitude. For this project, two more tables were used to represent the phase offset and amplitude of the wave at a given source degree. These tables are precomputed to prevent extra computation during execution.
The premise of delaying sounds arriving at each ear to simulate sound localization is based upon interaural time difference. By delaying the sound arriving at one ear by up to 660 microseconds, the sound will have the appearance of coming from the side of the leading sound pulse.5 For example, if the channel going to the left ear is delayed, then the listener will interpret the delay as a sound source that is closer to the person's right ear.
The phase offset table is used to represent the delay that is present at each degree. It was constructed to achieve no offset at a zero degree heading (the source is directly in front of the user) and maximum offset at 90 or 270 degrees. If the sound source is behind the user, then the channel of the ear furthest from the source will be fully delayed, encouraging the user to turn his or her head to better discriminate the location of the sound.
To make the sound direction more apparent, the amplitude of the delayed channel is also reduced. The sound is scaled according to a normal distribution so that full intensity is delivered when the user faces the source with a zero degree difference. As the user rotates away from the source direction, the amplitude of the PWM wave channel furthest from the source is reduced while the closer channel maintains full intensity.
We used interrupt driven serial communication over the USART to receive data from the GPS. The GPS outputs NMEA sentences approximately once a second at 4800 baud. An example of one packet of NMEA sentences is shown below.
$GPGGA,144739,4251.9960,N,07806.0827,W,1,04,5.6,1898.0,M,34.5,M,,*61
$GPRMC,144739,A,4251.9960,N,07806.0827,W,1908.5,270.0,050510,5,E,A*2F
$GPGSV,8,1,32,01,12,205,-18,02,43,251,14,03,08,022,-22,04,05,271,00*75
$GPGSV,8,2,32,05,78,032,45,06,83,236,48,07,81,084,47,08,64,206,33*71
$GPGSV,8,3,32,09,90,086,52,10,42,202,13,11,26,284,-4,12,88,117,51*6C
$GPGSV,8,4,32,13,90,027,52,14,68,030,37,15,78,143,44,16,60,220,30*7E
There are several cases of redundant data between NMEA sentences and, for the purposes of this project; we only need one set of longitude and latitude. We decided to only read in the RMC (Recommended Minimum Content) sentence as a string and then extract the longitude and latitude from that string.
We use the USART character-ready interrupt which triggers as soon as a full character is received by the USART buffer. Once a character is ready in the USART buffer, the ISR writes the character to a string buffer and enters the state machine. The state machine successively checks for the characters that are expected to be seen at the beginning of the RMC sentence. If the program does not receive the expected header characters, it returns to the beginning of the state machine. If the input characters are ‘$’,’G’,’P’,’R’,’M’, and ’C’ in succession, program records the rest of the sentence as data. The sentence is terminated with the ‘\n’ character.
The data from the RMC sentence is written to a string buffer. Knowing the format of the RMC sentence, we use sscanf to extract the longitude and latitude. The longitude and latitude are sent in the format DDMM.MMMM where DD is in degrees and MM.MMMM is in seconds. We parse the data and recalculate the values in terms of degrees. It should also be noted that when writing to the string buffer, we ignored decimal points due to difficulties with sscanf reading in floating point numbers on the microcontroller. In order to compensate for this, we scaled the longitude and latitudes appropriately during the conversion into degrees and then radians.
We use the following equation to calculate the direction from the user’s current location to the final destination:
atan2(sin(dlon)*cos(lat2), (cos(lat1)*sin(lat2))-(sin(lat1)*cos(lat2)*cos(dlon)));6
where lat1=current latitude, lat2=target latitude, and dlon=difference in current and target longitude.
System Integration/Timing
In order for the interrupts to run at their desired speeds, we found that it was necessary that they not run at the same time. For this reason, we timed our system to first receive data from the GPS, and then run the compass data retrieval function and sound output as many times as possible before the next packet from the GPS.
We start the timing on the first packet received from the GPS and let the USART interrupt run until the entire RMC sentence is received. Once the RMC sentence is received, we turn off the USART interrupt in order to not interrupt on all of the characters of the other NMEA sentences. We then enable the interrupts for the compass function which takes approximately 60ms. As soon as the compass function ends, the sound function and its interrupts are run. The sound function will vary in length
based on its output, but it should never take more the 150ms. We then repeat the compass and sound functions again before turning the USART interrupt on, which will wait for the next RMC sentence. Running the compass and sound functions twice leaves enough time for the USART to be enabled before the next RMC sentence arrives.
The supporting hardware consisted of two active low pass filters used to buffer the audio. The wire routing was kept as compact as possible meaning that data lines ran close to the audio introducing a lot of noise. Using a custom PCB could remedy the problem, but was out of the scope of this project. A potentiometer was used on each channel to adjust the volume allowing ensuring equal volumes when pointing at the destination. Also, an LCD screen was used to select the initial destination. This was done with three buttons, screen up, screen down, and select. These were implemented active low with a 10k ohm pull up resistor and a 330 ohm resistor current protection.
It was found that overall the device worked as expected as multiple users were able to direct themselves to a location that they were unaware of. The rate at which the GPS acquires data is at best once a second and depends on the number of satellites locked. The sound and compass update twice a second. This is a little slower than desired, but is limited by the speed of the GPS and the computations of the bearing value. Three sound pulses might be possible if the math for the GPS (shown above) is changed from floating point to fixed point. A picture of the final device can be seen in Figure 3. LCD screen is located on the top of the device. This means that the user must take the device off to change location. This is acceptable as a compact unit was part of the project description.
Figure 3: Final Device
The accuracy of the device was found to be subjective to the user and their ability to recognize small differences in the sound pulses. However, it was found that in general the average user was able to resolve a direction to within +/- 10 degrees. The locations for the different data points were initially found with the use of a Motorola Droid and its internal GPS. This was found to be very accurate and provided a location to within a 3 meter radius.
Safety was not a big concern throughout the project, other than being alert and keeping your eyes open when navigating to the final destination. The project did not interface with other projects in a negative way, other than the occasional noise made while testing. The final project is a self contained unit that does not interfere with anything else.
This device could be used to solve a number of issues. As mentioned before, one could be used for self guided tours. Also, a boat operator might find it useful when navigating a boat at night time for far distance navigation. It can be understood that this would be useful for anyone needing navigation while not being able to look at a map. This could be useful for orienteering as you would not need to look at a map but could focus on the environment around you
Our initial goal was to guide a person by sound using data gathered from a GPS module. Before we started our project we acknowledged that the GPS module would have some uncertainty and there would be difficulty determining if the person was directly over the target location. Given the budget of this project we decided to sacrifice GPS accuracy in favor of staying within budget.
Our final prototype not only stayed within budget, but the GPS module performed to our expectations and the directional sound was sufficiently accurate. During the demo for this project, the professor, Dr. Land, was able to follow the sound pulses to a location about 5 minutes walking distance away. Dr. Land had no previous training with this device, but he was able to final the target location within 3 meters. Other curious bystanders were also able to identify the direction of target with very little direction.
If this project were to be improved, then a different GPS module capable of updating at 5Hz could be used instead of the 1Hz GPS used in the current prototype. This would increase the budget by about $25, but the code would also have to be altered to accommodate the more frequent updates. However more updates would require a faster clock speed, less frequent PWM pulses, or both. A different compass with a higher resolution than 6bits could also be used, but this would also increase the price of the project.
As mentioned in the introduction the GPS communication uses a standard format (NMEA0283 V 2.2). These standards include GGA, GSV, GSA, and RMC. Of these, RMC (Recommended Minimum Navigation Information) is used in the final product for simplicity. The other standards were used for development and debugging.
The code that was adapted from the 4760 website was from lab 2. This code consisted of using the PWM for DDS.
Intellectual property considerations:
This project was designed to aid a person in guiding them towards a destination. It is not intended to be used to assist a person purely based upon sound. The navigation data used by this device is based upon GPS data, therefore obstacles are not taken into consideration and this device will not guide a person around any potential hazards.
The device does not produce an electrical shock or any other hazard that may cause harm to the person wearing it. The device is powered by a household 9V battery, therefore all safety considerations that apply to the proper handling of 9V batteries also apply to this device. The bread board is insulated from the user by the headphones. The only safety consideration that may affect the individual wearing this device is if the person wears it in the rain. Although the device is insulated from the user's head, the device does not have a cover to prevent moisture damage. Therefore this device should not be worn in any circumstance where it could be contaminated by moisture.
The data gathered by the GPS is only stored long enough to determine the direction that the user must travel. The data is not stored or tracked by any other means. Therefore, the privacy of the user is not violated by tracking the location of user.
Task List
Nick - GPS, Audio buffering/Filtering, general debug
Matt - Sound (PWM), LCD/Buttons, general debug
Garret -Compass, Combined three main programs together
Compass Module - http://www.parallax.com/Store/Microcontrollers/BASICStampModules/tabid/134/ProductID/98/List/1/Default.aspx?SortField=UnitCost,ProductName
GPS Module - http://www.parallax.com/StoreSearchResults/tabid/768/txtSearch/GPS/List/0/SortField/4/ProductID/560/Default.aspx
ATmega 32 - http://www.parallax.com/StoreSearchResults/tabid/768/txtSearch/GPS/List/0/SortField/4/ProductID/560/Default.aspx
ECE4760 - http://instruct1.cit.cornell.edu/courses/ee476/
Interaul Time Difference- http://en.wikipedia.org/wiki/Interaural_time_difference
http://www.movable-type.co.uk/scripts/latlong.html
In order to make the sound more pleasing to the ear and not nauseating, we had to keep the pulses consistently spaced in a consistent pattern. We did this by timing how long each function took and then spacing them out based on this. We initially tried to run the compass and sound one by one while the USART was running in the background the entire time. The overlapping interrupts caused unpredictable delays which were not only nauseating, but caused the data updates to be too slow for reasonable use.
Friday, 17 September 2010
ULTRASONIC RANGE DETECTOR project
Tuesday, 20 July 2010
Blood Pressure Monitor Block Diagram and Design Considerations
Design Considerations:
Blood pressure monitors can use Korotkoff, Oscillometry, or Pulse Transit Time methods to measure blood pressure. They employ a pressure cuff, pump, and transducer to measure the blood pressure and heart rate in three phases: Inflation, Measurement, and Deflation. They include an LCD, memory recall, selection buttons, power management, and USB interface.
The pressure transducer produces the output voltage proportional to the applied differential input pressure. The output voltages of the pressure transducer range from 0 to 40 mV, which needs to be amplified so that the output voltage of the DC amplifier has a range from 0 to 5V. This is why, we need a high-gain amplifier. Then the signal from the DC amplifier will be passed on to the band-pass filter. The DC amplifier amplifies both DC and AC component of the signal. The filter is designed to have large gain at around 1-4 Hz and attenuate any signal that is out of the pass band. The AC component from filter is important for determining when to capture the systolic/diastolic pressures and heart rate of the patient. The final stage of the front end is an AC coupling stage, after which the signal is sent to analog to digital converters, and digitized.
The digital measurements of pressure and heart rate are performed by the microprocessor. Measurements results are stored in EEPROM or FLASH memory as a data log that can be uploaded to a PC via USB. The analog circuit is used to amplify both the DC and AC components of the output signal of pressure transducer so that we can use the MCU to process the signal and obtain useful information about the patient’s health.
Block Diagram:

Download Useful Technical Documents:
EEPROM Emulation With the TMS320F28xxx DSCs
A Single-Chip Pulsoximeter Design Using the MSP430
Source: Texas Instruments
A Parking Management System using Service Science, Management and EngineeringA Parking Management System using Service Science, Management and Enginee
Parking facilities are vital for most organization that encourages business grown. Though this industry is undergoing a revolution, applying new technologies such as Service Science Management and Engineering (SSME) to achieving better performance and customer satisfaction, is still lagging especially in Malaysia. Based on this concern, this study was undertaken with the purpose to unfold and understand the need for a better and efficient system for parking management.
The focus of this research is incorporating the SSME concept by integrating important components of business, management and technologies, in order to provide quality parking services for customers and thereby improve the management of parking systems.
In a nutshell, the primary goal of this study is to improve the current car parking service system and this is carried out through service innovation which is inherently multidisciplinary. This study used a various data collection such as questionnaire and survey to find out the problems faced by parking patrons. Open-ended questions in the last part of the survey are used to find out the extent of user knowledge on SSME concepts and to capture user requirements to be used in the development of an efficient Parking System (IPS). IPS not only has elements from advanced parking information systems but it incorporates essential elements of SSME approach.
The use of in-surface sensors, CCTVs and interactive signboards at the parking entrance help to alleviate the problems faced by parking users. The evaluation findings derived through a second survey showed beyond doubt that the proposed system has excellent advantages over the existing manual system. Future research should consider allowing the system to be web based where parking bay bookings could be made from handheld devices, home PCs and notebooks.
Self Phasing Antenna Array
Download


