Professional Documents
Culture Documents
Iot Based Garbage and Street Light Monitoring System
Iot Based Garbage and Street Light Monitoring System
V. IMPLEMENTATION
a) Device initialization ALCD_Init( ); R_SAU0_Create( );
R_UART1_Start( ); R_ADC_Create( ); GSM_Init( ); Initialize
the alpha numeric LCD display and the GSM module. Create
the Signalling Access Unit, Analog to Digital Converter and
start the Universal Asynchronous Receiver Transmitter.
b) Ultrasonic Sensor if((Ultrasonic_Sensor ==
1)&&(Vol_Flag == 1)) 56 If the sensor has sensed any
obstacle, the volume flag is set to 1 and corresponding
GPS_send_flag is set to send the location of the bin.
c) GSM Transmit Array
GSM_Tx_Arr[31]="LA000000000LG000000000 #V0W0@";
The GSM_Tx_Arr[31] is an unsigned character array that is
declared globally. This GSM transmit array stores the latitude
longitude values which are pre initialized to 0.
GSM_Tx_Arr[24] = '1'; When the sensor has sensed the object
in the garbage bin, the corresponding array position is VII. CONCLUSION AND FUTURE WORK:
updated. „V1‟ in the array indicates volume is 1. The objective of the project was to develop an automated
d) GPS Receive Function GPS_Rx( ); This is the GPS receive system using a micro-controller based embedded system
function that will receive the bin‟s position. integrated with GSM technology. An embedded based
GSM_Tx_Arr[i+2] = Latitude_Arr[i]; GSM_Tx_Arr[i+13] = intelligent alert system is devised for the proper monitoring
Longitude_Arr[i]; The receive function receives the position and maintenance of the garbage. This system averts the
in terms of latitude and longitude format. This value has to be irregular cleaning of the dustbins by sending alerts to the
copied to the GSM transmit array. concerned individual at regular intervals. A proposal of an
e) GSM module GSM_Send_SMS(Mb_Num1,GSM_Tx_Arr); automatic street lighting system is described that integrates
Send the GSM transmit array which contains the position of new technologies, offering ease of maintenance and energy
the bin as a message to the registered mobile number. savings. Thus, the garbage collection is made more efficient
f) Location Detection Intent sendLocationToMap = new Intent and street lights automatic monitoring is achieved. The waste
(Intent.ACTION_VIEW,Uri.parse (geoCode)); The location management system can be further enhanced by making
received in the android application is then sent to the Google optimal route for the truck which collects garbage. Each
maps for real time tracking of the dustbin. dustbin in a particular area can be attached with sensors, the
truck acts as a host. When a truck arrives, , the driver may
VI. EXPERIMENTAL RESULTS receive status of all the bins in that area. Thereby he collects
waste only from the bins that are full. In the street lighting
The following are the snapshots obtained after the system, the automatic dimming of the lights during midnight
implementation of the proposed system can be implemented. The light poles can be equipped with
sensors, so that the light will be ON only when it detects any
obstacle during night. This makes the streetlight management
avoids human intervention
REFERENCES