Docsity

MECHATRONICS PROJECT, Essays (university) of Mechatronics

Partial preview of the text

Download MECHATRONICS PROJECT and more Essays (university) Mechatronics in PDF only on Docsity!

BMS COLLEGE OF ENGINEERING

Self-study report on Smart Dustbin

SUBMITTED BY - REVANTH MK 1BM18ME SUBMITTED TO E SURESH ( Assistant Professor Department of Mechanical Engineering BMS College of Engineering) Contents

Abstract

modem. A GSM modem is a specialized type wireless modem that works with a GSM wireless network. It accepts a SIM card, and operates over a subscription to a mobile operator, just like a mobile phone. A GSM modem can be an external device or a PC Card / PCMCIA Card. An external GSM modem is connected to a computer through a serial cable or a USB cable. When a GSM modem is connected to a computer, this allows the computer to communicate over the mobile network. While these GSM modems are most frequently used to provide mobile internet connectivity, many of them can also be used for sending and receiving SMS and MMS message. GSM Modem sends and receives data through radio waves. In this project GSM 900 modem is used to send the messages which is shown in figure 2.[2] It consists of a GSM/GPRS modem with standard communication interfaces like RS-232 (Serial Port), USB, so that it can be easily connected to the other devices. The power supply circuit is also built in the module that can be turn ON by using a suitable adaptor. Fig 1: GSM

The block diagram of transmitter section. Level detector consists of IR sensors which is used to detect the level of the garbage in the dustbin. The output of level detector is given to microcontroller. Four IR sensors are used to indicate the different levels of the amount of the garbage collected in the dustbin which is placed in public area. When the dustbin is filled up to the highest level, the output of fourth IR receiver becomes active low. This output is given to microcontroller to send the message to the Control room via GSM module as shown in below Fig-2 Transmitter Part from Dustbin The figure 4 shows the block diagram of receiver section. At receiver, control room is present where all the activities are managing. The number of the control room is depending on the dustbins present in the area. The person sitting in the control room monitors the entire system. A GSM Module is connected to the computer of the control room through microcontroller. The entire system is monitor by the person sitting in the control room. The same GSM Module is used to send the message to the contractor for cleaning the dustbin. GUI is developed using MATLAB software. This GUI will be displayed on the computer screen in the control room to display the status of the garbage level in the dust bin as shown in below.

Fig 4: Flowchart The PIR sensor will observe a person nearby dustbin. If motion is detected the lid of dustbin is opened, the servo motor activates and as GSM connected it will send an alert message to user if dustbin is filled. Dustbin placed in public place, people throw garbage in dustbin, place the ultrasonic sensor in top of the garbage bin. If dustbin reach in 75% then Arduino send message through GSM module. When dustbin level is reach threshold level buzzer will give alert sound for don’t again put waste in dustbin. This all process updated in IOT GECKO platform for monitoring garbage bin. 3.) Requirement Specification Smart bin is built on Arduino board platform. It is interfaced with a GSM modem (SIM 900A) and the bin is equipped with Ultrasonic sensor (HC-SR04) and PIR sensor. 3.1) Components Used 1.) Arduino 2.) GSM 3.) PIR Sensor 4.) Ultrasonic Sensor 5.) Servo Motor 9 6.) Breadboard 7.) Connecting wires 1.) Arduino Arduino is an open source, computer hardware and software company, project, and user community that designs and manufactures microcontroller kits for building digital devices and interactive objects that can sense and control objects in the physical world. The project's products are distributed as open-source hardware and software, which are licensed under the GNU Lesser General Public License (LGPL) or the GNU General Public License (GPL), permitting the manufacture of Arduino boards and software distribution by anyone. Arduino boards are available commercially in preassembled form, or as do-it-yourself kits. Arduino board designs use a variety of microprocessors and controllers. The boards are equipped with sets of digital and analog input/output (I/O) pins that may be interfaced to various expansion boards (shields) and other circuits. The boards feature

serial communications interfaces, including Universal Serial Bus (USB) on some models, which are also used for loading programs from personal computers.[3] Arduino/Genuino Uno is a microcontroller board based on the ATmega328P (datasheet). It has 14 digital input/output pins (of which 6 can be used as PWM outputs), 6 analog inputs, a 16 MHz quartz crystal, a USB connection, a power jack, an ICSP header and a reset button. It contains everything needed to support the microcontroller; simply connect it to a computer with a USB cable or power it with a AC-to-DC adapter or battery to get started. You can tinker with your UNO without worrying too much about doing something wrong, worst case scenario you can replace the chip for a few dollars and start over again. "Uno" means one in Italian and was chosen to mark the release of Arduino Software (IDE) 1.0. The Uno board and version 1.0 of Arduino Software (IDE) were the reference versions of Arduino, now evolved to newer releases. The Uno board is the first in a series of USB Arduino boards, and the reference model for the Arduino platform; for an extensive list of current, past or outdated boards see the Arduino index of boards.

(xi) Main microcontroller - Each Arduino board has its own microcontroller. You can assume it as the brain of your board. The main IC (integrated circuit) on the Arduino is slightly different from board to board. The microcontrollers are usually of the ATMEL Company. You must know what IC your board has before loading up a new program from the Arduino IDE. This information is available on the top of the IC. For more details about the IC construction and functions, you can refer to the data sheet. (xii) ICSP pin - Mostly, ICSP (12) is an AVR, a tiny programming header for the Arduino consisting of MOSI, MISO, SCK, RESET, VCC, and GND. It is often referred to as an SPI (Serial Peripheral Interface), which could be considered as an "expansion" of the output. Actually, you are slaving the output device to the master of the SPI bus. ( xiii) Power LED indicator- This LED should light up when you plug your Arduino into a power source to indicate that your board is powered up correctly. If this light does not turn on, then there is something wrong with the connection. (xiv) TX and RX LEDs- On your board, you will find two labels: TX (transmit) and RX (receive). They appear in two places on the Arduino UNO board. First, at the digital pins 0 and 1, to indicate the pins responsible for serial communication. Second, the TX and RX led (13). The TX led flashes with different speed while sending the serial data. The speed of flashing depends on the baud rate used by the board. RX flashes during the receiving process. xv) Digital I/O - The Arduino UNO board has 14 digital I/O pins (15) (of which 6 provide PWM (Pulse Width Modulation) output. These pins can be configured to work as input digital pins to read logic values (0 or 1) or as digital output pins to drive different modules like LEDs, relays, etc. The pins labelled can be used to generate PWM. (xvi) AREF- AREF stands for Analog Reference. It is sometimes, used to set an external reference voltage (between 0 and 5 Volts) as the upper limit for the analog input pins. Microcontroller- ATmega2560 Operating Voltage -5V Input Voltage (recommended)- 7-12V Input Voltage (limit)- 6-20V Digital I/O Pins 54 (of which 15 provide PWM output) Analog Input 2.) Gsm (Global System for Mobile Communication)-

GSM Modem can accept any GSM network operator SIM card and act just like a mobile phone with its own unique phone number. Advantage of using this modem will be that you can use its RS232 port to communicate and develop embedded applications. Applications like SMS Control, data transfer, remote control and logging can be developed easily using gsm. The modem can either be connected to PC serial port 13 directly or to any microcontroller through MAX232. It can be used to send and receive SMS or make/receive voice calls. It can also be used in GPRS mode to connect to internet and do many applications for data logging and control. In GPRS mode you can also connect to any remote FTP server and upload files for data logging. This GSM modem is a highly flexible plug and play quad band SIM900A GSM modem for direct and easy integration to RS232 applications. Supports features like Voice, SMS, Data/Fax, GPRS and integrated TCP/IP stack. A GSM network comprises of many functional units. These functions and interfaces are explained in this chapter. The GSM network can be broadly divided into:  The Mobile Station (MS)  The Base Station Subsystem (BSS)  The Network Switching Subsystem (NSS)  The Operation Support Subsystem (OSS) Given below is a simple pictorial view of the GSM architecture. GSM network areas In a GSM network, the following areas are defined:  Cell : Cell is the basic service area; one BTS covers one cell. Each cell is given a Cell Global Identity (CGI), a number that uniquely identifies the cell.  Location Area : A group of cells form a Location Area (LA). This is the area that is paged when a subscriber gets an incoming call. Each LA is assigned a Location Area Identity (LAI). Each LA is served by one or more BSCs.  MSC/VLR Service Area : The area covered by one MSC is called the MSC/ VLR service area.

detect motion (change) and not average IR levels. The two halves are connected so that they cancel out each other. If one-half sees more or less IR radiation than the other, the output will swing high or low 4.) ULTRASONIC SENSOR HC-SR04 ultrasonic sensor uses SONAR to determine the distance of an object just like the bats do. It offers excellent non-contact range detection with high accuracy and stable readings in an easy-to-use package from 2 cm to 400 cm or 1” to 13 feet. The operation is not affected by sunlight or black material, although acoustically, soft materials like cloth can be difficult to detect. It comes complete with ultrasonic transmitter and receiver module. Fig 10: Ultra sonic sensor Technical Specifications  Power Supply − +5V DC  Quiescent Current − 5.) Servo Motor A Servo Motor is a small device that has an output shaft. This shaft can be positioned to specific angular positions by sending the servo a coded signal. As

long as the coded signal exists on the input line, the servo will maintain the angular position of the shaft. If the coded signal changes, the angular position of the shaft changes. [8] In practice, servos are used in radio-controlled airplanes to position control surfaces like the elevators and rudders. They are also used in radio-controlled cars, puppets, and of course, robots. Fig 11: Servo Motor Servos are extremely useful in robotics. The motors are small, have built-in control circuitry, and are extremely powerful for their size. A standard servo such as the Futaba S-148 has 42 oz/inches of torque, which is strong for its size. It also draws power proportional to the mechanical load. A lightly loaded servo, therefore, does not consume much energy. The guts of a servo motor is shown in the following picture. You can see the control circuitry, the motor, a set of gears, and the case. You can also see the 3 wires that connect to the outside world. One is for power (+5volts), ground, and the white wire is the control wire Working of a Servo Motor The servo motor has some control circuits and a potentiometer (a variable resistor, aka pot) connected to the output shaft. In the picture above, the pot can be seen on the right side of the circuit board. This pot allows the control circuitry to monitor the current angle of the servo motor. If the shaft is at the correct angle, then the motor shuts off. If the circuit finds that the angle is not correct, it will turn the motor until it is at a desired angle. The output shaft of the servo is capable of traveling somewhere around 180 degrees. Usually, it is somewhere in the 210-degree range, however, it varies depending on the manufacturer. A normal servo is used to control an angular motion of 0 to 180 degrees. It is mechanically not capable of turning any farther due to a

maximum. It will take power supply with the help of Piezoelectric Device .If the dustbin is not cleaned in specific time, 37 then the record is sent to the Sweeper or higher authority who can take appropriate action against the concerned contractor. This system also helps to monitor the fake reports and hence can reduce the corruption in the overall management system. This reduces the total number of trips of garbage collection vehicle and hence reduces the overall expenditure associated with the garbage collection. It ultimately helps to keep cleanliness in the society. Therefore, the Automatic Garbage Fill Alerting system makes the garbage collection more efficient. 7.) Future Enhancement: Automatic Garbage Fill Alerting system helps us to reduce the pollution. Many times garbage dustbin is overflow and many animals like dog or cow enters inside or near the dustbin. Also some birds are also trying to take out garbage from dustbin. This project can avoid such situations. And the message can be sent directly to the cleaning vehicle instead of the contractor’s office. Apart from this, differentiation can be made between dry trash 39 bin and wet trash bin collecting plastic dry waste and biodegradable waste respectively. To implement this methane and smell sensors can be used. This helps in distinguishing the waste at the source and hence reducing the requirement of manpower. To enhance it further, an automated system can be developed which is able to pick up waste in and around the bin, segregate them and put them in respective bins.

References [1] S.S. Navghane, M.S. Killedar, Dr.V.M. Rohokale,‖ IoT Based Garbage and Waste Collection Bin‖, May 2016. [2]. Ghose, M.K., Dikshit, A.K., Sharma, S.K. A GIS based transportation model for solid waste disposal – A case study on Asansol municipality. Journal of Waste Management‖. [3]. Guerrero, L.A., Maas, G., Hogland, W.: Solid waste management challenges for cities in developing countries. Journal of Waste Management. [4]. Alexey Medvedev, Petr Fedchenkov, ArkadyZaslavsky, Theodoros, Anagnostopoulos Sergey Khoruzhnikov,‖Waste Management as an IoT-Enabled Service in Smart Cities‖. [5]. Meghana K C, Dr. K R Nataraj,‖ IOT Based Intelligent Bin for Smart Cities‖. [6]. KasliwalManasi H., SuryawanshiSmitkumar B, A Novel Approach to Garbage Management Using Internet of Things for Smart Cities‖. [7]. Vishesh Kumar Kurrel,‖ Smart Garbage Collection Bin Overflows Indicator using Internet of Things [8]. Monika K A, Nikitha Rao, Prapulla S B, Shobha G, Smart Dustbin-An Efficient Garbage Monitoring System.