The document is a report submitted by Priya Hada to Ms. Pushpa Gotwal on PLC and SCADA. It includes a certificate signed by Mr. Sudhir Kumar Mishra confirming Priya completed the work. The report contains an introduction to automation, PLCs, and SCADA. It discusses the history and features of PLCs, and provides examples of ladder logic programming. It also covers the architecture, communications, interfacing and applications of SCADA systems.
This document is a training report on programmable logic controllers (PLCs) and supervisory control and data acquisition (SCADA) systems submitted by Priya Hada to her faculty advisor Ms. Pushpa Gothwal. The report includes an introduction to automation and PLCs, describing their history, components, operation, and ladder logic programming. It also covers SCADA systems, their features and uses. The report details two student projects, one using a PLC to automate a pharmaceutical plant and another using SCADA software to simulate a bottle filling and capping station.
Microcontroller based automatic engine locking system for drunken driversVinny Chweety
This document describes a mini project report on a microcontroller-based automatic engine locking system for drunken drivers. The system uses an AT89S52 microcontroller and various hardware components like an alcohol detection sensor, buzzer, LCD display, motors/engine, and other supporting circuitry. If the alcohol detection sensor detects alcohol levels above a set limit from the driver's breath, the microcontroller will lock the engine by activating a relay to prevent drunken driving and accidents. The project aims to increase road safety by preventing intoxicated individuals from operating vehicles.
Recently more & more hearing impaired people started using sign language. There are about 70 million people in the whole World that are not able to speak (dumb). A dumb person makes communication with other people using their motion of the hand or expressions. . Sign language helps the dumb people to make communication like normal people. The sign language translator which has been already developed uses a glove fitted with sensors that can interpret the 16 English letters in American Sign Language (ASL). Accelerometers and flex sensors are used in this system which increases its overall cost. We proposed a solution as a prototype called as “smart glove-for speech impaired people” which will translate sign language into text. It will help dump and deaf people to express their thoughts in more convenient way. As a sign language we have used traditional finger movements with contact switch wrapped around the user’s fingers. An IR transmitter receiver pair, HT12E and HT12D IC and, Arduino (Micro Controller) board helps transmitting data to PC. Moreover, use of contact switches reduces the system’s overall cost.
Keywords: - Arduino, HT12E IC & HT12D IC, IR transmitter receiver, contact switch.
This document contains multiple project reports for a wireless electronic notice board developed by students at the Government Polytechnic College in Neyyattinkara, India. The notice board allows text messages to be sent via GSM from any location and displayed on the board. It uses an ATmega32 microcontroller interfaced with a GSM module, LCD display, power supply and other components. The system validates incoming SMS messages and displays them. The reports describe the design, circuit diagrams, programming, and working of the notice board system.
Programmable Load Shedding for the utility departmentMukund Hundekar
This document describes a programmable load shedding time management system that uses a microcontroller and real-time clock to automatically switch electrical devices on and off according to a pre-programmed schedule. The system allows multiple on/off times to be entered using a matrix keypad and displays the time on a 7-segment display. It takes over the manual task of switching loads with relays according to the programmed time settings. The document outlines the hardware components, software requirements, advantages including precise time control, and potential future enhancements such as remote control via GSM.
Project report on bidirectional visitor counter & home automationRoshan Mani
This document is a project report on a bi-directional visitor counter and home automation system built using a microcontroller. The system uses infrared sensors to detect visitors entering and leaving a room and counts the number of visitors accordingly. It also controls the room lights by turning them on when visitors enter and off when the last visitor leaves. The number of current visitors is displayed on 7-segment displays. The report describes the various circuit components used, including resistors, capacitors, an AT89S52 microcontroller, infrared LEDs and phototransistors, relays, displays and more. It provides schematics of the circuit design and explains how the microcontroller software operates the system to count visitors and control lights bi-direction
The document describes a zero-voltage switching and zero-current switching full-bridge converter that utilizes the leakage inductance of a transformer. It presents the concept and methodology of the converter, which uses series resonance to achieve lossless switching. Simulation results are shown that demonstrate the switching currents achieving zero-voltage switching turn-on and zero-current switching turn-off, as intended with the design. The document also proposes a modification to the converter by incorporating a bridge rectifier at the transformer secondary.
The document is a report submitted by Priya Hada to Ms. Pushpa Gotwal on PLC and SCADA. It includes a certificate signed by Mr. Sudhir Kumar Mishra confirming Priya completed the work. The report contains an introduction to automation, PLCs, and SCADA. It discusses the history and features of PLCs, and provides examples of ladder logic programming. It also covers the architecture, communications, interfacing and applications of SCADA systems.
This document is a training report on programmable logic controllers (PLCs) and supervisory control and data acquisition (SCADA) systems submitted by Priya Hada to her faculty advisor Ms. Pushpa Gothwal. The report includes an introduction to automation and PLCs, describing their history, components, operation, and ladder logic programming. It also covers SCADA systems, their features and uses. The report details two student projects, one using a PLC to automate a pharmaceutical plant and another using SCADA software to simulate a bottle filling and capping station.
Microcontroller based automatic engine locking system for drunken driversVinny Chweety
This document describes a mini project report on a microcontroller-based automatic engine locking system for drunken drivers. The system uses an AT89S52 microcontroller and various hardware components like an alcohol detection sensor, buzzer, LCD display, motors/engine, and other supporting circuitry. If the alcohol detection sensor detects alcohol levels above a set limit from the driver's breath, the microcontroller will lock the engine by activating a relay to prevent drunken driving and accidents. The project aims to increase road safety by preventing intoxicated individuals from operating vehicles.
Recently more & more hearing impaired people started using sign language. There are about 70 million people in the whole World that are not able to speak (dumb). A dumb person makes communication with other people using their motion of the hand or expressions. . Sign language helps the dumb people to make communication like normal people. The sign language translator which has been already developed uses a glove fitted with sensors that can interpret the 16 English letters in American Sign Language (ASL). Accelerometers and flex sensors are used in this system which increases its overall cost. We proposed a solution as a prototype called as “smart glove-for speech impaired people” which will translate sign language into text. It will help dump and deaf people to express their thoughts in more convenient way. As a sign language we have used traditional finger movements with contact switch wrapped around the user’s fingers. An IR transmitter receiver pair, HT12E and HT12D IC and, Arduino (Micro Controller) board helps transmitting data to PC. Moreover, use of contact switches reduces the system’s overall cost.
Keywords: - Arduino, HT12E IC & HT12D IC, IR transmitter receiver, contact switch.
This document contains multiple project reports for a wireless electronic notice board developed by students at the Government Polytechnic College in Neyyattinkara, India. The notice board allows text messages to be sent via GSM from any location and displayed on the board. It uses an ATmega32 microcontroller interfaced with a GSM module, LCD display, power supply and other components. The system validates incoming SMS messages and displays them. The reports describe the design, circuit diagrams, programming, and working of the notice board system.
Programmable Load Shedding for the utility departmentMukund Hundekar
This document describes a programmable load shedding time management system that uses a microcontroller and real-time clock to automatically switch electrical devices on and off according to a pre-programmed schedule. The system allows multiple on/off times to be entered using a matrix keypad and displays the time on a 7-segment display. It takes over the manual task of switching loads with relays according to the programmed time settings. The document outlines the hardware components, software requirements, advantages including precise time control, and potential future enhancements such as remote control via GSM.
Project report on bidirectional visitor counter & home automationRoshan Mani
This document is a project report on a bi-directional visitor counter and home automation system built using a microcontroller. The system uses infrared sensors to detect visitors entering and leaving a room and counts the number of visitors accordingly. It also controls the room lights by turning them on when visitors enter and off when the last visitor leaves. The number of current visitors is displayed on 7-segment displays. The report describes the various circuit components used, including resistors, capacitors, an AT89S52 microcontroller, infrared LEDs and phototransistors, relays, displays and more. It provides schematics of the circuit design and explains how the microcontroller software operates the system to count visitors and control lights bi-direction
The document describes a zero-voltage switching and zero-current switching full-bridge converter that utilizes the leakage inductance of a transformer. It presents the concept and methodology of the converter, which uses series resonance to achieve lossless switching. Simulation results are shown that demonstrate the switching currents achieving zero-voltage switching turn-on and zero-current switching turn-off, as intended with the design. The document also proposes a modification to the converter by incorporating a bridge rectifier at the transformer secondary.
vlsi projects using verilog code 2014-2015E2MATRIX
E2MATRIX Research Lab
Are you scratching your head to write your M Tech thesis?
Don’t know where to start and where to find the relevant matter on the topic?
We Provide Complete Thesis Help For M.Tech / Phd Studnets.
E2MATRIX deals with Thesis guidance and research work for M.Tech, PhD Students.
If you are looking for professional thesis guidance then of course you are at the right place. We have a best team of Technical Developers and professionals who specialize in developing and delivering best and authenticated work with an assurance of on time delivery.
Contact : +91 9041262727, 9779363902.
Email : support@e2matrix.com
Web : www.e2matrix.com
This document is a project report submitted in partial fulfillment of the requirements for a Bachelor of Technology degree in Electrical Engineering. The report details the simulation and implementation of a Fixed Capacitor Thyristor Controlled Reactor (FC-TCR) for improving power factor by compensating reactive power. It includes simulation of the FC-TCR circuit in Proteus software and MATLAB. The report provides background on power factor, describes the methodology used, and outlines the software and hardware components involved including Arduino, Proteus, and MATLAB. It also includes mathematical calculations, future applications, and conclusions.
The complete list of thyristor family members include diac (bidirectional diode thyristor), triac (bidirectional triode thyristor), SCR (silicon controlled rectifier), Shockley diode, SCS (silicon controlled switch), SBS (silicon bilateral switch), SUS (silicon unilateral switch) also known as complementary SCR or CSCR, LASCR (light activated SCR), LAS (light activated switch) and LASCS (light activated SCS).
PROJECT ON AUTOMATIC TRANSFER SWITCH (ELECTRICAL).pdfRomeo INKOOM
A project done towards the award of a degree at ACCRA INSTITUTE OF TECHNOLOGY.
It entails the design and construction work of an ATS system to solve the reliability or instability of power in our industries.
The document is a project report for an SMS based device control system using GSM technology. It was submitted by 5 students for their Bachelor of Technology degree. The project involved designing a printed circuit board to control devices remotely via SMS using a GSM modem and microcontroller. The report describes the equipment used, including the GSM modem, microcontroller, LCD display, relays, and driver IC. It also covers the PCB design and layout, programming code, working of the system, advantages and applications.
This document is a training report submitted by Indira Kundu to her faculty supervisor, Ms. Pushpa Gothwal, on PLC and SCADA systems. It includes an introduction to automation and PLCs, describing their components, operation, and uses of ladder logic programming. It also covers SCADA systems, their features and applications. The document details two student projects using PLC and SCADA to control LEDs and model a sewage treatment system respectively.
This document describes a project submitted by Ritwik Chinmaya Pandia to fulfill requirements for a Bachelor of Technology degree in Electronics and Telecommunication Engineering. The project is titled "BLACK BOX" and involves designing a system to record vehicle speed and location using GPS technology during an accident. The system would send an accident alert message with the vehicle's current position to a preprogrammed mobile number via GSM modem if a crash is detected. The document includes sections on hardware requirements, software requirements, hardware testing, results, and conclusion.
Microcontroller based transformer protectioAminu Bugaje
This document provides an introduction and background to a project on designing a microcontroller-based transformer protection system. It discusses how transformers are critical components in power systems that require protection against faults like short circuits, overcurrent and overvoltage. The document then reviews previous work on transformer protection and outlines the objectives of this project, which are to design current and voltage sensing circuits, develop a microcontroller algorithm for overload, overvoltage and undervoltage protection, and test the system's performance. The chapter concludes by outlining the scope and limitations of the project, which involves both hardware and software design to develop a protection system that can monitor transformer parameters and trip circuit breakers or relays during faults.
Bidirectional Visitor counter Project ProposalArsalan Ahmad
The document proposes a bidirectional visitor counter project that will count the number of people entering and exiting a room and display the number on an LCD screen. It will also automatically control the room lights, turning them off when the room is empty. The project aims to address issues like people being locked in rooms unintentionally or not knowing how many attendees there were for an event. It will use infrared sensors to detect movement and an AT89C51 microcontroller along with other basic electronic components like resistors, capacitors, and displays. The total cost is estimated to be Rs 2800 and the project is planned to be completed by July 4th for presentation.
Report on remote control home appliances.Sonal Bansal
This document describes a project to develop a remote control system for home appliances. It presents the circuit design for a remote control receiver that can control home appliances like lamps, fans, and radios using infrared signals from a TV or DVD remote control. The circuit includes an IR receiver module, decade counter IC, LED indicators, relay, and other components. Working of the individual components like the IR sensor, counter IC, diode, and relay are explained. The report also discusses implementing the circuit on a breadboard and PCB, and presents results showing the remote control system can successfully control connected appliances within a 10m range. It concludes the system provides a low-cost solution for remote home appliance control.
IRJET- Design and Development of Underground Cable Fault Detection and Locali...IRJET Journal
The document describes a system to detect and localize faults in underground cables using IoT. It can detect both open and short circuit faults. For open circuits, it measures the cable's capacitance, which varies linearly with the length of the fault. For short circuits, it measures the cable's inductance, which also varies linearly with the fault length. A microcontroller processes the capacitance and inductance measurements and displays the fault location on an LCD and webpage. This allows easy, low-cost detection and localization of underground cable faults.
Major Project Synopsis Report on IoT based DC Motor Through a Web-siteUtkarsh Chaubey
This document presents a literature survey and planning for a major project to control the speed of a universal motor through IoT. The project was submitted by students Ritesh Solanki and Utkarsh Chaubey to Rajiv Gandhi Proudyogiki Vishwavidyalaya to fulfill their Bachelor of Engineering degree requirements. The project proposes monitoring and controlling an industrial universal motor remotely using sensors, a microcontroller, WiFi, and a web or mobile interface to allow for predictive maintenance and reduce downtime. It discusses the hardware, software, and communication components that will be used and provides block diagrams of the proposed system design and workflow.
Home Security System using Arduino & GSM Aditya Nag
The need for home security alarm systems nowadays is a serious demand. As
the number of crimes is increasing every day, there has to be something that
will keep us safe. We are all aware of the high end security systems present in
the market but they are not easily available to everyone. We therefore intend to
provide a solution by constructing a cost efficient electronic system that has the
capability of sensing the motion of the intruders, also detecting LPG gas
leakage (cooking gas) and setting on the alarm. The basic idea behind this
project is that all the bodies generate some heat energy in the form of infrared
which is invisible to human eyes. But, it can be detected by the electronic motion
sensor. The project involves the use of Arduino, a motion sensor, a gas
sensor,buzzer, LCD display and a simple program. The sensor detects any
motion in its permissible range and triggers the alarm by calling the owner and
sending him a message. It will also send the signal to Arduino which processes
the signal and set off the alarm along with a detection message on display. With
this system, we can easily set up a security alarm in our home for unwanted
intruders and gas leakage.
Home Appliances Controlling using Android Mobile via BluetoothMOKTARI MOSTOFA
This project allows control of electrical appliances using an Android device. An Android application is installed to send commands via Bluetooth to a microcontroller. The microcontroller then controls relays connected to appliances like lights and fans, allowing remote switching on/off. This provides assistance for elderly and disabled people by making appliances controllable from a smartphone.
Transformer protection using microcontroller and gsm technologyKartik Patel
This document describes a project to protect transformers from overload conditions using a microcontroller and GSM technology. It includes a block diagram and explanation of the circuit diagram. The key components are a step-down transformer, rectifier, microcontroller, current transformer, voltage transformer, and relays. The microcontroller monitors the current and voltage, and can trigger the relays to disconnect the transformer if the load exceeds safe levels, while also sending a message via GSM to alert authorities. The objectives are to prevent transformer damage from overloading and allow for load sharing to increase lifespan.
This document provides an overview of an electrical engineering course that covers microcontrollers, programming, and a final project. It discusses key topics like microcontrollers and how they contain interfaces to connect to users and perform tasks. The modules covered include using LEDs, 7-segment displays, speakers, potentiometers, and servo motors. For the final project, students combined all the modules into a countdown program that used a servo motor, LED, and different beeps to count down and loop four times.
Alcohol Sensing Alert with Engine Locking ProjectDINKAR MALI
This document describes an alcohol detector project that uses an embedded system to control a vehicle if an intoxicated person enters. The system uses an alcohol detector sensor connected to a microcontroller. If alcohol is detected, the microcontroller sends a signal via an RF transmitter. The vehicle receives the signal using an RF receiver and a buzzer sounds, placing the vehicle under the control of the hardware. The project aims to design vehicle control using RF communication between a transmitting control module and receiving vehicle module.
Many of the people have a phobia of darkness, so to assist them in such situation, we have explained a simple circuit. It will automatically turn on street light in the way of LEDs or bulb coupled with relay. Working this circuit is very much easy and also the power consumed by the circuit is very low because of the very few components used in the circuit.
The document discusses the architecture of the TMS320C50 digital signal processor. It describes the TMS320C50's key components including its central processing unit with arithmetic logic unit, parallel logic unit, auxiliary register arithmetic unit, and memory mapped registers. It also outlines the processor's bus structure, on-chip memory including RAM and ROM, and on-chip peripherals such as timers, I/O ports, and serial interfaces. The TMS320C50 uses a Harvard architecture with separate program and data buses for high parallelism and is optimized for digital signal processing applications with features like a single-cycle multiply-accumulate instruction.
This document presents a digital visitor counter project by four students from the ECE department of Greater Kolkata College of Engineering and Management. The project uses sensors and a microcontroller to detect people entering and exiting a room and displays the count on an LCD screen. It works by using IR sensors to detect motion and an AT89C52 microcontroller to process the sensor signals and control the LCD display. The document discusses the components, working principle, applications and advantages of the digital visitor counter.
This document is a project report on an Eye Tracking Interpretation System submitted by three students as a partial fulfillment of their Bachelor of Electronics and Telecommunication Engineering degree. It includes sections on introduction, literature survey, system description, software description, methodology, results, applications, and conclusion. The system uses an ultrasonic sensor and microcontroller to measure the distance to obstacles and displays it on an LCD screen. It aims to provide a low-cost solution for distance measurement that works in different light conditions including underwater.
This document is a project report that describes the design and implementation of a microcontroller-based password protected home appliance. The system uses an ATmega8 microcontroller to control a keypad, LCD display, buzzer, and relay. When the correct four-digit password is entered on the keypad, the relay activates to power the appliance and a message is displayed on the LCD. If an incorrect password is entered, the buzzer sounds and access is denied. The report provides details on the hardware components, software code, and circuit diagrams.
vlsi projects using verilog code 2014-2015E2MATRIX
E2MATRIX Research Lab
Are you scratching your head to write your M Tech thesis?
Don’t know where to start and where to find the relevant matter on the topic?
We Provide Complete Thesis Help For M.Tech / Phd Studnets.
E2MATRIX deals with Thesis guidance and research work for M.Tech, PhD Students.
If you are looking for professional thesis guidance then of course you are at the right place. We have a best team of Technical Developers and professionals who specialize in developing and delivering best and authenticated work with an assurance of on time delivery.
Contact : +91 9041262727, 9779363902.
Email : support@e2matrix.com
Web : www.e2matrix.com
This document is a project report submitted in partial fulfillment of the requirements for a Bachelor of Technology degree in Electrical Engineering. The report details the simulation and implementation of a Fixed Capacitor Thyristor Controlled Reactor (FC-TCR) for improving power factor by compensating reactive power. It includes simulation of the FC-TCR circuit in Proteus software and MATLAB. The report provides background on power factor, describes the methodology used, and outlines the software and hardware components involved including Arduino, Proteus, and MATLAB. It also includes mathematical calculations, future applications, and conclusions.
The complete list of thyristor family members include diac (bidirectional diode thyristor), triac (bidirectional triode thyristor), SCR (silicon controlled rectifier), Shockley diode, SCS (silicon controlled switch), SBS (silicon bilateral switch), SUS (silicon unilateral switch) also known as complementary SCR or CSCR, LASCR (light activated SCR), LAS (light activated switch) and LASCS (light activated SCS).
PROJECT ON AUTOMATIC TRANSFER SWITCH (ELECTRICAL).pdfRomeo INKOOM
A project done towards the award of a degree at ACCRA INSTITUTE OF TECHNOLOGY.
It entails the design and construction work of an ATS system to solve the reliability or instability of power in our industries.
The document is a project report for an SMS based device control system using GSM technology. It was submitted by 5 students for their Bachelor of Technology degree. The project involved designing a printed circuit board to control devices remotely via SMS using a GSM modem and microcontroller. The report describes the equipment used, including the GSM modem, microcontroller, LCD display, relays, and driver IC. It also covers the PCB design and layout, programming code, working of the system, advantages and applications.
This document is a training report submitted by Indira Kundu to her faculty supervisor, Ms. Pushpa Gothwal, on PLC and SCADA systems. It includes an introduction to automation and PLCs, describing their components, operation, and uses of ladder logic programming. It also covers SCADA systems, their features and applications. The document details two student projects using PLC and SCADA to control LEDs and model a sewage treatment system respectively.
This document describes a project submitted by Ritwik Chinmaya Pandia to fulfill requirements for a Bachelor of Technology degree in Electronics and Telecommunication Engineering. The project is titled "BLACK BOX" and involves designing a system to record vehicle speed and location using GPS technology during an accident. The system would send an accident alert message with the vehicle's current position to a preprogrammed mobile number via GSM modem if a crash is detected. The document includes sections on hardware requirements, software requirements, hardware testing, results, and conclusion.
Microcontroller based transformer protectioAminu Bugaje
This document provides an introduction and background to a project on designing a microcontroller-based transformer protection system. It discusses how transformers are critical components in power systems that require protection against faults like short circuits, overcurrent and overvoltage. The document then reviews previous work on transformer protection and outlines the objectives of this project, which are to design current and voltage sensing circuits, develop a microcontroller algorithm for overload, overvoltage and undervoltage protection, and test the system's performance. The chapter concludes by outlining the scope and limitations of the project, which involves both hardware and software design to develop a protection system that can monitor transformer parameters and trip circuit breakers or relays during faults.
Bidirectional Visitor counter Project ProposalArsalan Ahmad
The document proposes a bidirectional visitor counter project that will count the number of people entering and exiting a room and display the number on an LCD screen. It will also automatically control the room lights, turning them off when the room is empty. The project aims to address issues like people being locked in rooms unintentionally or not knowing how many attendees there were for an event. It will use infrared sensors to detect movement and an AT89C51 microcontroller along with other basic electronic components like resistors, capacitors, and displays. The total cost is estimated to be Rs 2800 and the project is planned to be completed by July 4th for presentation.
Report on remote control home appliances.Sonal Bansal
This document describes a project to develop a remote control system for home appliances. It presents the circuit design for a remote control receiver that can control home appliances like lamps, fans, and radios using infrared signals from a TV or DVD remote control. The circuit includes an IR receiver module, decade counter IC, LED indicators, relay, and other components. Working of the individual components like the IR sensor, counter IC, diode, and relay are explained. The report also discusses implementing the circuit on a breadboard and PCB, and presents results showing the remote control system can successfully control connected appliances within a 10m range. It concludes the system provides a low-cost solution for remote home appliance control.
IRJET- Design and Development of Underground Cable Fault Detection and Locali...IRJET Journal
The document describes a system to detect and localize faults in underground cables using IoT. It can detect both open and short circuit faults. For open circuits, it measures the cable's capacitance, which varies linearly with the length of the fault. For short circuits, it measures the cable's inductance, which also varies linearly with the fault length. A microcontroller processes the capacitance and inductance measurements and displays the fault location on an LCD and webpage. This allows easy, low-cost detection and localization of underground cable faults.
Major Project Synopsis Report on IoT based DC Motor Through a Web-siteUtkarsh Chaubey
This document presents a literature survey and planning for a major project to control the speed of a universal motor through IoT. The project was submitted by students Ritesh Solanki and Utkarsh Chaubey to Rajiv Gandhi Proudyogiki Vishwavidyalaya to fulfill their Bachelor of Engineering degree requirements. The project proposes monitoring and controlling an industrial universal motor remotely using sensors, a microcontroller, WiFi, and a web or mobile interface to allow for predictive maintenance and reduce downtime. It discusses the hardware, software, and communication components that will be used and provides block diagrams of the proposed system design and workflow.
Home Security System using Arduino & GSM Aditya Nag
The need for home security alarm systems nowadays is a serious demand. As
the number of crimes is increasing every day, there has to be something that
will keep us safe. We are all aware of the high end security systems present in
the market but they are not easily available to everyone. We therefore intend to
provide a solution by constructing a cost efficient electronic system that has the
capability of sensing the motion of the intruders, also detecting LPG gas
leakage (cooking gas) and setting on the alarm. The basic idea behind this
project is that all the bodies generate some heat energy in the form of infrared
which is invisible to human eyes. But, it can be detected by the electronic motion
sensor. The project involves the use of Arduino, a motion sensor, a gas
sensor,buzzer, LCD display and a simple program. The sensor detects any
motion in its permissible range and triggers the alarm by calling the owner and
sending him a message. It will also send the signal to Arduino which processes
the signal and set off the alarm along with a detection message on display. With
this system, we can easily set up a security alarm in our home for unwanted
intruders and gas leakage.
Home Appliances Controlling using Android Mobile via BluetoothMOKTARI MOSTOFA
This project allows control of electrical appliances using an Android device. An Android application is installed to send commands via Bluetooth to a microcontroller. The microcontroller then controls relays connected to appliances like lights and fans, allowing remote switching on/off. This provides assistance for elderly and disabled people by making appliances controllable from a smartphone.
Transformer protection using microcontroller and gsm technologyKartik Patel
This document describes a project to protect transformers from overload conditions using a microcontroller and GSM technology. It includes a block diagram and explanation of the circuit diagram. The key components are a step-down transformer, rectifier, microcontroller, current transformer, voltage transformer, and relays. The microcontroller monitors the current and voltage, and can trigger the relays to disconnect the transformer if the load exceeds safe levels, while also sending a message via GSM to alert authorities. The objectives are to prevent transformer damage from overloading and allow for load sharing to increase lifespan.
This document provides an overview of an electrical engineering course that covers microcontrollers, programming, and a final project. It discusses key topics like microcontrollers and how they contain interfaces to connect to users and perform tasks. The modules covered include using LEDs, 7-segment displays, speakers, potentiometers, and servo motors. For the final project, students combined all the modules into a countdown program that used a servo motor, LED, and different beeps to count down and loop four times.
Alcohol Sensing Alert with Engine Locking ProjectDINKAR MALI
This document describes an alcohol detector project that uses an embedded system to control a vehicle if an intoxicated person enters. The system uses an alcohol detector sensor connected to a microcontroller. If alcohol is detected, the microcontroller sends a signal via an RF transmitter. The vehicle receives the signal using an RF receiver and a buzzer sounds, placing the vehicle under the control of the hardware. The project aims to design vehicle control using RF communication between a transmitting control module and receiving vehicle module.
Many of the people have a phobia of darkness, so to assist them in such situation, we have explained a simple circuit. It will automatically turn on street light in the way of LEDs or bulb coupled with relay. Working this circuit is very much easy and also the power consumed by the circuit is very low because of the very few components used in the circuit.
The document discusses the architecture of the TMS320C50 digital signal processor. It describes the TMS320C50's key components including its central processing unit with arithmetic logic unit, parallel logic unit, auxiliary register arithmetic unit, and memory mapped registers. It also outlines the processor's bus structure, on-chip memory including RAM and ROM, and on-chip peripherals such as timers, I/O ports, and serial interfaces. The TMS320C50 uses a Harvard architecture with separate program and data buses for high parallelism and is optimized for digital signal processing applications with features like a single-cycle multiply-accumulate instruction.
This document presents a digital visitor counter project by four students from the ECE department of Greater Kolkata College of Engineering and Management. The project uses sensors and a microcontroller to detect people entering and exiting a room and displays the count on an LCD screen. It works by using IR sensors to detect motion and an AT89C52 microcontroller to process the sensor signals and control the LCD display. The document discusses the components, working principle, applications and advantages of the digital visitor counter.
This document is a project report on an Eye Tracking Interpretation System submitted by three students as a partial fulfillment of their Bachelor of Electronics and Telecommunication Engineering degree. It includes sections on introduction, literature survey, system description, software description, methodology, results, applications, and conclusion. The system uses an ultrasonic sensor and microcontroller to measure the distance to obstacles and displays it on an LCD screen. It aims to provide a low-cost solution for distance measurement that works in different light conditions including underwater.
This document is a project report that describes the design and implementation of a microcontroller-based password protected home appliance. The system uses an ATmega8 microcontroller to control a keypad, LCD display, buzzer, and relay. When the correct four-digit password is entered on the keypad, the relay activates to power the appliance and a message is displayed on the LCD. If an incorrect password is entered, the buzzer sounds and access is denied. The report provides details on the hardware components, software code, and circuit diagrams.
This document describes the design of an automated class attendance recording system by Carel van Wyk. The system uses RFID and WiFi technologies to record student attendance. The design includes hardware components like an RFID scanner, LCD display, keypad, and processing board. Software components include a database to store attendance records, memory mapping, LCD layout, and a website for device configuration. Testing was conducted on hardware modules and their integration. Measurements show the WiFi and RFID modules work as intended. The system will integrate with an existing MyStudies application and server to manage attendance records.
The document outlines the components and methodology for a project on a vending machine controlled by sensors and Arduino. It includes chapters on the circuit diagram, components like Arduino, motors, sensors. It describes the coding and flowchart for the procedure to sense the line and select options. The objectives are to create an automated, cost efficient vending machine that can make different coffee decoctions using sensors and artificial intelligence.
This document is a research paper about using a Serial Peripheral Interface (SPI) to transfer data between a CANbed microcontroller and an STM32 Nucleo board. The author is working on a water/methanol injection controller project for a MINI Cooper that requires retrieving vehicle data from the CAN bus and processing it using an STM32. SPI is proposed to transfer this CAN bus data between the boards due to its high speed and reliability compared to alternative interfaces like UART and I2C. The paper provides background on SPI, describes the CANbed and STM32 boards, and analyzes the advantages and disadvantages of different interface protocols before concluding SPI is suitable for this application.
This document is a project report on a Smart Street System. It describes a system that aims to automate street lighting and enable real-time monitoring of streets. The system connects all streetlights to a central server using IoT. This allows the lights to be controlled remotely and usage to be analyzed. Sensors detect factors like light levels and motion to automatically adjust brightness or turn lights on/off. Video cameras monitor streets for unusual activities which are reported. The project aims to improve energy efficiency of street lighting and enhance security.
The document is a project report for an Integrated Building Management System (IBMS) created by Hamza Khan. It details the goals of creating a programmable logic controller card to integrate diverse building systems and automate control for improved energy efficiency. The report outlines tasks completed during an internship including learning microcontrollers, understanding the IBMS schematics, writing firmware codes, and debugging the controller card.
This document is the main project report for a 2D robotic plotter (CNC model) created by four students at the Government Engineering College Idukki. It describes the hardware and software used to build a 2D robotic plotter controlled by an Arduino microcontroller. The plotter uses stepper motors for the X and Y axes and a servo motor to control the pen. Software like Inkscape, CAMotics, Arduino IDE and Processing were used to design drawings, generate gcode files, and program the Arduino. The report provides details of the various components, software programs, and overall design and functioning of the 2D robotic plotter built as part of fulfilling B.Tech degree requirements.
This document describes a student project to develop an affordable environmental monitoring and controlling system for greenhouses. It aims to create a low-cost wireless sensor network using sensor nodes to measure factors like temperature, humidity, and soil moisture. The sensor data will be sent to a centralized server and displayed on a web interface to allow remote monitoring. Farmers will be able to view real-time sensor readings and historical data charts to help control the greenhouse environment and improve crop yields. The project aims to address the need for affordable sensor systems for farmers in developing countries like Sri Lanka.
This document describes a project to design a real time clock using a microcontroller. It includes:
- Interfacing an RTC chip and LCD with an 8051 microcontroller to display the current time and date.
- Interfacing a temperature sensor with the microcontroller using an ADC to measure temperature.
- Details about the 8051 microcontroller, RTC chip, LCD, temperature sensor, and ADC used.
- Block diagram of the system and description of how the components are interconnected.
The document discusses programmable logic controllers (PLCs) and supervisory control and data acquisition (SCADA) systems. It provides an overview of PLC components, operation, and ladder logic programming. It also describes key SCADA features such as dynamic process graphics, alarms, recipes, security, and connectivity. The document outlines two projects - one using a PLC to control LEDs and another using SCADA software to simulate a sewage water treatment system.
The document provides information about renting, buying, financing, and servicing test equipment from TMG. It includes a disclaimer stating that trademarks appearing in the PDF are owned by their respective companies. The second page describes the JDSU 2000 Platform, a handheld, modular tester designed for fiber network construction, turn-up, and maintenance. It has a user manual and complies with the WEEE Directive for electronic waste.
This document provides installation, service and maintenance instructions for low voltage air circuit breakers. It details specifications of SACE PR122/P and PR123/P protection relays, including their identification, characteristics, user interface, protection functions, measuring functions and main functions. The document contains warnings about safety procedures that must be followed when installing or servicing circuit breakers.
This document is the final project report for a group that designed and built a manually controlled 6 degree of freedom Stewart platform called TILTIT. It provides background on Stewart platforms and the RUMBA microcontroller used. It then details the design, build and testing process. The hardware was laser cut and assembled, and the software translates controller input to motor movements. Some errors in tilting and slow serial communications between components were encountered. The project resulted in a functional prototype but improvements are discussed for future work.
Maxime Javaux - Automated spike analysisMaxime Javaux
This document summarizes Maxime Javaux's master's thesis conducted at the University of Liège for Melexis to develop an automated spike analysis tool for integrated circuit production testing. The tool aims to detect undesirable high frequency voltage spikes during testing that could damage components, and to localize the source of any spikes found. To achieve this, the thesis designed analog circuit boards to detect spikes and interface with an oscilloscope for data acquisition. It also created a computer program to synchronize the test equipment, acquire and analyze waveforms, and identify which tests produce spikes. The completed tool allows test engineers to more efficiently debug spike issues, reducing analysis time from days or weeks to just hours.
This document provides technical specifications for the AirPrime BX310x Wi-Fi/BT Module. It includes important safety notices, a description of features like Wi-Fi, Bluetooth, interfaces, and a configuration utility. It also includes sections on functional specifications, technical specifications covering environmental ratings, power, RF, electrical, mechanical, and antenna specifications. Additional sections cover the various interface specifications, regulatory certifications, and pinout details.
This document is a training report submitted by Priya Hada to her faculty supervisor, Ms. Pushpa Gothwal, on the topics of PLC and SCADA. It includes an introduction to automation, sections on PLC components and operation, ladder logic programming, SCADA features and applications. It also describes two student projects using a PLC to automate a pharmaceutical plant and using SCADA software to automate a bottle filling and capping station.
This thesis seeks to improve communication between a host computer and onboard peripherals of an existing low-cost robot used for teaching autonomous systems at University of Innsbruck. Several prototypes were evaluated to find the best solution, including a microcontroller board and single-board computers. The final solution uses an ATmega32 microcontroller programmed to read data from an Android phone and control the robot. Firmware was written for the microcontroller along with an Android application. This improved the robot's modularity and provides easy-to-use interfaces for students.
This document describes a student project to design and implement a prototype aviation control unit using LabVIEW software and hardware interfaces. The project aims to replicate key functions of a real aviation control unit such as detecting aircraft with an IR sensor, communicating between the control unit and pilot, and controlling runway lights. The students implemented systems for aircraft detection, motor control, data logging, user login, and a flight schedule announcement board. Some issues encountered included limitations of the breadboard setup and slow performance from multiple while loops updating data constantly. Overall the prototype was able to perform all functions as planned without difficulties.
The document describes the development of a wire embedding 3D printer project called SpoolHead. The SpoolHead adds a wire printing tool head to an existing RepRap 3D printer model called Darwin. The SpoolHead uses a servo-actuated mechanical pencil to insert metal wires into printed thermoplastic parts. Initial benchtop tests of the SpoolHead prototype were successful in printing simple wire patterns. However, the solenoid-actuated wire cutter design failed and required manual intervention. While future improvements were proposed, a fully satisfactory wire cutting solution remains to be developed.
Similar to Bidirectional Visitor Counter for efficient electricity usage. (20)
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressionsVictor Morales
K8sGPT is a tool that analyzes and diagnoses Kubernetes clusters. This presentation was used to share the requirements and dependencies to deploy K8sGPT in a local environment.
We have compiled the most important slides from each speaker's presentation. This year’s compilation, available for free, captures the key insights and contributions shared during the DfMAy 2024 conference.
Understanding Inductive Bias in Machine LearningSUTEJAS
This presentation explores the concept of inductive bias in machine learning. It explains how algorithms come with built-in assumptions and preferences that guide the learning process. You'll learn about the different types of inductive bias and how they can impact the performance and generalizability of machine learning models.
The presentation also covers the positive and negative aspects of inductive bias, along with strategies for mitigating potential drawbacks. We'll explore examples of how bias manifests in algorithms like neural networks and decision trees.
By understanding inductive bias, you can gain valuable insights into how machine learning models work and make informed decisions when building and deploying them.
Presentation of IEEE Slovenia CIS (Computational Intelligence Society) Chapte...University of Maribor
Slides from talk presenting:
Aleš Zamuda: Presentation of IEEE Slovenia CIS (Computational Intelligence Society) Chapter and Networking.
Presentation at IcETRAN 2024 session:
"Inter-Society Networking Panel GRSS/MTT-S/CIS
Panel Session: Promoting Connection and Cooperation"
IEEE Slovenia GRSS
IEEE Serbia and Montenegro MTT-S
IEEE Slovenia CIS
11TH INTERNATIONAL CONFERENCE ON ELECTRICAL, ELECTRONIC AND COMPUTING ENGINEERING
3-6 June 2024, Niš, Serbia
Introduction- e - waste – definition - sources of e-waste– hazardous substances in e-waste - effects of e-waste on environment and human health- need for e-waste management– e-waste handling rules - waste minimization techniques for managing e-waste – recycling of e-waste - disposal treatment methods of e- waste – mechanism of extraction of precious metal from leaching solution-global Scenario of E-waste – E-waste in India- case studies.
Low power architecture of logic gates using adiabatic techniquesnooriasukmaningtyas
The growing significance of portable systems to limit power consumption in ultra-large-scale-integration chips of very high density, has recently led to rapid and inventive progresses in low-power design. The most effective technique is adiabatic logic circuit design in energy-efficient hardware. This paper presents two adiabatic approaches for the design of low power circuits, modified positive feedback adiabatic logic (modified PFAL) and the other is direct current diode based positive feedback adiabatic logic (DC-DB PFAL). Logic gates are the preliminary components in any digital circuit design. By improving the performance of basic gates, one can improvise the whole system performance. In this paper proposed circuit design of the low power architecture of OR/NOR, AND/NAND, and XOR/XNOR gates are presented using the said approaches and their results are analyzed for powerdissipation, delay, power-delay-product and rise time and compared with the other adiabatic techniques along with the conventional complementary metal oxide semiconductor (CMOS) designs reported in the literature. It has been found that the designs with DC-DB PFAL technique outperform with the percentage improvement of 65% for NOR gate and 7% for NAND gate and 34% for XNOR gate over the modified PFAL techniques at 10 MHz respectively.
ACEP Magazine edition 4th launched on 05.06.2024Rahul
This document provides information about the third edition of the magazine "Sthapatya" published by the Association of Civil Engineers (Practicing) Aurangabad. It includes messages from current and past presidents of ACEP, memories and photos from past ACEP events, information on life time achievement awards given by ACEP, and a technical article on concrete maintenance, repairs and strengthening. The document highlights activities of ACEP and provides a technical educational article for members.
bank management system in java and mysql report1.pdf
Bidirectional Visitor Counter for efficient electricity usage.
1. Amrita Vishwa Vidyapeetham
Amrita School of Engineering, Amritapuri
Vallikavu, Clappana P.O, Kerala.
ACCREDITED BY NAAC WITH “A” GRADE
DEPARTMENT OF ELECTRONICS AND
COMMUNICATION ENGINEERING
A REPORT
ON
”Bidirectional Visitor counter for
efficient electricity usage.”
SUBMITTED BY
Mr. Thupalli Nanda Vardhan (AM.EN.U4ECE18053)
Mr. Neeraj Malisetty (AM.EN.U4ECE18036)
Miss. Nirupama Suresh (AM.EN.U4ECE18037)
Mr. Lokesh Karanam (AM.EN.U4ECE18026)
UNDER THE GUIDANCE OF
Assistant PROF. Senthil Murugan
Assistant PROF. chinmayir
(Academic Year: 2020-2021)
2. Amrita Vishwa Vidyapeetham
Amrita School of Engineering, Amritapuri
Vallikavu, Clappana P.O, Kerala.
DEPARTMENT OF ELECTRONICS AND
COMMUNICATION ENGINEERING
Certificate
This is to certify that project entitled
”Bidirectional Visitor counter for efficient electricity usage.”
has been completed by
Mr. Thupalli Nanda Vardhan (AM.EN.U4ECE18053)
Mr. Neeraj Malisetty (AM.EN.U4ECE18036)
Miss. Nirupama Suresh (AM.EN.U4ECE18037)
Mr. Lokesh Karanam (AM.EN.U4ECE18026)
of third year of Bachelor degree in the Semester - I of academic year 2020-2021 in
partial fulfillment of the award of Third Year of Bachelor degree in ”Electronics and
Communication Engineering” as prescribed by the Amrita Vishwa Vidyapeetham. It
has been found to be satisfactory and hereby approved for the submission.
Assistant PROF. Senthil Murugan
Project Guide
Dr. Ravisankar .M
H.O.D
3. Bidirectional Visitor counter for efficient electricity usage.
ACKNOWLEDGEMENT
It gives me great pleasure and satisfaction in presenting this mini project on “Bidi-
rectional Visitor counter for efficient electricity usage.”.
I would like to express my deep sense of gratitude towards Assistant PROF. Senthil
Murugan and Assistant PROF. chinmayir for giving an oppurtunity to present the mini
project. Their support and encouragement was always with us.
I have furthermore to thank Electronics and Communication Department HOD Dr.
Ravisankar .M and Assistant PROF. Senthil Murugan to encourage me to go
ahead and for continuous guidance. I also want to thank Assistant PROF. chin-
mayir for all her assistance and guidance for preparing report.
I would like to thank all those, who have directly or indirectly helped me for the
completion of the work during this mini project.
Mr. Thupalli Nanda Vardhan (AM.EN.U4ECE18053)
Mr. Neeraj Malisetty (AM.EN.U4ECE18036)
Miss. Nirupama Suresh (AM.EN.U4ECE18037)
Mr. Lokesh Karanam (AM.EN.U4ECE18026)
Electronics and Communication Engineering, S5
Dept. of Electronics and Communication Engineeringi
6. Abstract
This project aims at controlling the electrical appliances depending on the number
of visitors present inside the room, auditorium, stadium, shopping malls, schools and
etc. The counting of visitors is done by using IR(infrared) sensor. In this project,
we used ARM7 LPC2148 microcontroller and two IR sensors as inputs to predict the
entry and exit of the visitor. Depending on the number of people inside room, the
microcontroller switch on or switch off the electrical appliances. We also used a LCD
16x2 display, to display the count on the LCD.
The programming is written in Embedded C using Keil. Simulation of the project
is done in Proteus 8 Professional. This device is placed at the entrance of the room,
to count the number of visits entering and leaving. It uses the principle of Light-
emitting diode that produces light in the infrared region of electromagnetic spectrum,
where the IR sensor actually detects the IR light and sends a HIGH signal input to
microcontroller indicating object detection. This project can be further enhanced by
using Industrial IR sensor for accuracy and adding cloud gateway for IoT applications.
7. Chapter 1
Commencement of Project
1.1 Introduction
In today’s world, there is a continuous need for automatic controlling of appliances.
With the increase in standard of living, there is a necessity for designing circuits that
would ease the complexity of life. Many times we need to monitor the people vis-
iting the auditorium, stadiums, shopping malls, schools, offices, and etc and display
them on the LCD screen. On numerous occasions, the main issue is few people get
trapped inside the auditoriums, shopping malls and many other places where crowd is
often.Counting number of visitors is very helpful to track the visitors as well as avoid
any kind of mishap to visitors. Moreover it can also be used to count the number of
people who have come for the event, auditorium, or banquet halls.
Also, we human beings often forget to switch off the electrical appliances like Air-
conditioners, fans, lights inside the room. The wastage of electricity is huge, when
the room is empty but the electrical appliances are still switched on. As electricity is
one of the daily needs and without it we can not use our smartphones, laptops, TVs,
lights, fans, washing machines, refrigerators and many more electrical appliances. As
a responsible citizen, it is our responsible to conserve electricity for future generations.
Considering all these perspectives, our team had decided to develop, design and
implement an device that can automate the counting of bidirectional visitors( that
can count both entering and exiting visitors) and display it on the LCD screen so
that we will have the information of total as well as present visitors inside the room,
auditorium, hall, shopping malls and etc which can be used to monitor the visitors
and give alerts to them. The device can also turn off the electrical appliances when no
visitor is present inside the room, therefore saving electricity. We implemented this cir-
cuit design in Proteus 8 Professional and code is written in Embedded C in Keil uvision.
1
8. Chapter 2
Implementation
2.1 Block Diagram
Figure 2.1: Block diagram
This is the Basic block diagram of the project. It contains LPC2148 microcon-
troller, LCD module, two IR sensors, light and fan. This Block diagram gives the idea
of the connections of varies devices to the microcontroller. The arrow marks in the
diagram indicates the direction of flow of signals. Here IR sensors are acting as input
and LCD, fan and light are acting as output for the microcontroller. Microcontroller
is the central processing unit of the whole system.
2
9. Bidirectional Visitor counter for efficient electricity usage.
2.2 Components Required for the Project
2.2.1 LPC2148 Microcontroller
LPC2148 microcontroller The LPC2148 microcontrollers are based on a 16-bit/32-bit
ARM7TDMI-S CPU with real-time emulation and embedded trace support, that com-
bine the microcontroller with embedded high-speed flash memory ranging from 32 kB
to 512 kB. A 128-bit wide memory interface and a unique accelerator architecture
enable 32-bit code execution at the maximum clock rate. For critical code size appli-
cations, the alternative 16-bit Thumb mode reduces code by more than 30 percentage
with minimal performance penalty. Due to their tiny size and low power consumption,
LPC2148 microcontroller are ideal for applications where miniaturization is a key re-
quirement, such as access control and point-of-sale. Serial communications interfaces
ranging from a USB 2.0 Full-speed device, multiple UARTs, SPI, SSP to I2C-bus and
on-chip SRAM of 8 kB up to 40 kB, make these devices very well suited for communi-
cation gateways and protocol converters, soft modems, voice recognition and low end
imaging, providing both large buffer size and high processing power. Various 32-bit
timers, single or dual 10-bit ADC(s), 10-bit DAC, PWM channels and 45 fast GPIO
lines with up to nine edge or level sensitive external interrupt pins make these micro-
controllers suitable for industrial control and medical systems.
KEY FEATURES:
• 16-bit/32-bit ARM7TDMI-S microcontroller in a tiny package.
• 40 kB of on-chip static RAM and 512 kB of on-chip flash memory. 128-bit wide
interface/accelerator enables high-speed 60 MHz operation.
• In-System Programming/In-Application Programming (ISP/IAP) via on-chip boot
loader software. Single flash sector or full chip erase in 400 ms and programming
of 256 B in 1 ms.
• Embedded Trace interfaces offer real-time debugging with the on-chip RealMoni-
tor software and high-speed tracing of instruction execution.
• USB 2.0 Full-speed compliant device controller with 2 kB of endpoint RAM.
In addition, the LPC2148 provides 8 kB of on-chip RAM accessible to USB by
DMA.
• Single 10-bit DAC provides variable analog output (LPC2142/44/46/48 only).
• Two 32-bit timers/external event counters (with four capture and four compare
channels each), PWM unit (six outputs) and watchdog.
• Low power Real-Time Clock (RTC) with independent power and 32 kHz clock
input.
LPC2148 GPIO Ports and Registers:
LPC2148 microcontroller consists of 64 pins .The group of these pins is called a port.
It consists of two ports and registers. These ports could be used as input or output
ports therefore the pins of these ports are called general purposes input-output (GPIO)
pins.
ASE, Amritapuri 3
10. Bidirectional Visitor counter for efficient electricity usage.
• PORT0 is a 32-bit port. Out of these 32 pins, 28 pins can be used as either
general purpose input or output. One of these 32 pins (P0.31) can be configured
as general-purpose output only. Three of these 32 pins (P0.24, P0.26 and P0.27)
are reserved. Hence, they are not available for use. Also, these pins are not listed
in the pin diagram.
• PORT1 is also a 32-bit port. Only 16 of these 32 pins (P1.16 - P1.31) are available
for use as general-purpose input or output.
Figure 2.2: LPC2148 Pin Diagram
Pin Function Select Registers:
Pin Function Select Registers are 32-bit registers used to select or configure specific
pin functionality. There are 3 Pin Function Select Registers in LPC2148:
• PINSEL0 : - Used to configure PORT0 pins P0.0 to P0.15.
ASE, Amritapuri 4
11. Bidirectional Visitor counter for efficient electricity usage.
• PINSEL1 : - Used to configure PORT0 pins P0.16 to P0.31.
• PINSEL2 : - Used to configure PORT1 pins P1.16 to P1.31.
Slow GPIO Registers:
1. IOxPIN (GPIO Port Pin value register):
This is a 32-bit wide register used to read/write the value on Port (PORT0/PORT1).
But care should be taken while writing. Masking should be used to ensure write
to the desired pin.
2. IOxSET (GPIO Port Output Set register) :
This is a 32-bit wide register. This register is used to make pins of Port (PORT0/PORT1)
HIGH. Writing one to specific bit makes that pin HIGH. Writing zero has no ef-
fect.
3. IOxDIR (GPIO Port Direction control register) :
This is a 32-bit wide register used to individually controls the direction of each
port pin. Setting a bit to ‘1’ configures the corresponding pin as an output pin.
Setting a bit to ‘0’ configures the corresponding pin as an input pin.
4. IOxCLR (GPIO Port Output Clear register) :
This is a 32-bit wide register used to make pins of Port LOW. Writing one to
specific bit makes that pin LOW. Writing zeroes has no effect.
Fast GPIO Registers:
There are 5 fast GPIO registers :
1. FIOxDIR (Fast GPIO Port Direction control register) :
This is a 32-bit wide register used to individually controls the direction of each
port pin. Setting a bit to ‘1’ configures the pin as an output pin. Setting a bit
to ‘0’ configures the pin as an input pin.
2. FIOxMASK (Fast Mask register for port) :
This is a 32-bit wide register used to controls the effect of fast registers (FIOx-
PIN, FIOxSET, FIOxCLR) on port pins. Setting a bit to ‘0’ configures the
corresponding pin to the fast registers i.e. we can write/read the corresponding
pin in fast mode using fast registers. Setting a bit to ‘1’ configures the pin by
fast registers.
3. FIOxPIN (Fast Port Pin value register using FIOMASK) :
This is a 32-bit wide register is used to read/write the value on port pins, only if
that corresponding port pins have access to fast registers.
4. FIOxSET (Fast Port Output Set register using FIOMASK) :
This is a 32-bit wide register is used to make pins of Port HIGH. Writing one
to specific bit makes that pin HIGH. Writing zero has no effect. Reading this
register pin returns the current state of the port register.
5. FIOxCLR (Fast Port Output Clear register using FIOMASK) :
This is a 32-bit wide register is used to make pins of Port LOW. Writing one to
specific bit makes that pin LOW. Writing zeroes has no effect.
ASE, Amritapuri 5
12. Bidirectional Visitor counter for efficient electricity usage.
ARM7 LPC2148 Microcontroller Architecture:
The ARM7 is a 32-bit general-purpose microprocessor, and it offers features like little
power utilization, and high performance. The architecture of an ARM is depended
on the principles of RISC. The RISC- instructions set are much easy when we com-
pare with microprogrammed CISC-Complex Instruction Set Computers.The Pipeline
method is used for processing all the blocks in architecture. In general, a single instruc-
tion set is being performed, then its descendant is being translated a 3rd-instruction
is being obtained from the memory.
Figure 2.3: Architecture of LPC2148
An exclusive architectural plan of ARM7 is called as Thumb mode, and it is per-
fectly suitable for high volume applications where the compactness of code is a neces-
sary. The ARM7 also uses an exclusive architecture namely Thumb mode. It makes it
ASE, Amritapuri 6
13. Bidirectional Visitor counter for efficient electricity usage.
perfectly compatible for different applications by memory limitations where the density
of code is priority.
1. Interrupt sources:
Every peripheral device consists of a single interrupt line allied to the VIC (vector
interrupt controller), although it can have various interrupt flags inside. Individ-
ual interrupt flags can also signify one or more interrupt resources.
2. On Chip Static RAM (SRAM):
This on chip static ram is used for storing data or code. This ram could be
accessed as 8 bit,16 bit or 32 bit.
3. On Chip Flash Program Memory:
LPC2148 microcontroller contains 512 kB on chip flash memory. This memory
is used for data storage or code storage. The programming of this flash memory
could be accomplished with several ways.
4. Vectored Interrupt Controller:
All input requests are received by vectored interrupt controller (VIC) and it
converts them into fast interrupt request (FIQ). So, fast interrupt request and non
fast interrupt requests are defined by programming setting in vectored interrupt
controller.
5. Digital to analog Converter:
This LPC2148 microcontroller has one 10 bit digital to analog converter(DAC)
that converts the digital input into analog output. The maximum DAC output
voltages are called VREF voltages. Power down mode and buffered output is
also available in this digital to analog converter.
6. Analog to Digital Converter:
LPC2148 microcontroller also contains two analog to digital converters whose
names are ADC0 and ADC1. There are 14 total number of inputs of ADC are
available and these two converters converts 10 bit analog input to digital output.
The measurement range of each convert is 0V to VREF.
7. UART:
LPC2148 microcontroller contains two UART whose name are UART0 and UART01.
These UARTs are provided the full mode control handshake interface during
transmitting or receiving the data lines. For covering wide range of baud rate
they also support the built in functional baud rate generator, therefore there is
no necessary of any external crystal of specific value.
8. Serial I/O Controller of I2C-bus:
LPC2148 includes two I2C bus controllers, and this is bidirectional. The inter-IC
control can be done with the help of two wires namely an SCL and SDA. Here
the SDA SCL are serial clock line and the serial data line. Every apparatus is
identified by an individual address. Transmitters and receivers can work in two
modes like master mode or slave mode. These microcontrollers support up to-400
kbit/s bit rates.
ASE, Amritapuri 7
14. Bidirectional Visitor counter for efficient electricity usage.
9. SPI Serial Input/Output Controller:
These microcontrollers contain single SSP, and this controller is capable of pro-
cess on an SPI, Microwire bus or 4-wire SSI. It can communicate with the bus
of several masters as well as slaves. But, simply a particular master, as well as
slave, can converse on the bus throughout a specified data transmit. This mi-
crocontroller supports full-duplex transfers, by 4-16 bits data frames used for the
flow of data from the master- the slave as well as from the slave-the master.
10. Timers:
LPC2148 microcontroller has two timers or counters. These timers are 32 bit
and are programmable with 32 bit prescaler value as well as it also has one
external event counter. Each timer has four 32 bit capture channels which take
the snapshot of timer value during the transition of any input signal.
11. Watch Dog Timer:
This LPC 2148 microcontroller also contains the watch dog timer whose main
purposes is to reset the microcontroller with in specific amount of time during
erroneous state. After this state it again turned on the microcontroller with in
specific amount of time limit.
12. RTC (Real-time Clock):
The RTC is intended for providing counters to calculate the time when the normal
operating method is chosen. The RTC uses a small amount of power and designed
for appropriate battery power arrangements where the CPU is not functioning
constantly.
13. PLL:
LPC2148 microcontroller contains two phase locked loops whose names are PLL0
and PLL1.The input frequency whose range is in between 1 MHz to 25 MHz is
accepted by this PLL. This frequency range could be extended from 10 MHz to
60 MHz by using the current controlled oscillator (CCO)
14. Crystal Oscillator:
This LPC2148 microcontroller contains the on chip integrated oscillator which
operate with an external crystal whose range is in between 1 MHz to 25 MHz.
These frequencies would be same when the PLL is connected and in running
position.
15. Power Control:
These microcontrollers support two condensed power modes such as power-down
mode and idle mode. In Idle mode, instructions execution is balanced until
an interrupt or RST occurs. Idle mode removes the power utilized by the CPU,
controllers, memory systems, and inner buses.In power down mode, the oscillator
is deactivated and the IC gets no inner clocks.This mode can be finished and the
common process restarted by specific interrupts that are capable to work without
clocks.
ASE, Amritapuri 8
15. Bidirectional Visitor counter for efficient electricity usage.
2.2.2 LCD 16x2 (Liquid Crystal Display)
The term LCD stands for liquid crystal display. It is electronic display module used
in an extensive range of applications like various circuits devices like mobile phones,
calculators, computers, TV sets, etc. These displays are mainly preferred for multi-
segment light-emitting diodes and seven segments. The main advantages of using this
module are inexpensive; simply programmable, animations, and there are no limitations
for displaying custom characters, special and even animations, etc.
Figure 2.4: LCD 16x2 Display pin diagram
Figure 2.5: LCD 16x2 displaying content
Main Features of LCD:
• The operating voltage of this LCD is 4.7V-5.3V.
• It includes two rows where each row can produce 16-characters.
• The utilization of current is 1mA with no backlight.
• Every character can be built with a 5×8 pixel box.
• The alphanumeric LCDs alphabets numbers.
• Is display can work on two modes like 4-bit 8-bit.
ASE, Amritapuri 9
16. Bidirectional Visitor counter for efficient electricity usage.
• These are obtainable in Blue Green Backlight.
• It displays a few custom generated characters.
LCD Pins Description:
1. Pin1 (Ground/Source Pin):
This is a GND pin of display, used to connect the GND terminal of the micro-
controller unit or power source.
2. Pin2 (VCC/Source Pin):
This is the voltage supply pin of the display, used to connect the supply pin of
the power source.
3. Pin3 (V0/VEE/Control Pin):
This pin regulates the difference of the display, used to connect a changeable
POT that can supply 0 to 5V.
4. Pin4 (Register Select/Control Pin):
This pin toggles among command or data register, used to connect a microcon-
troller unit pin and obtains either 0 or 1(0 = data mode, and 1 = command
mode).
5. Pin5 (Read/Write/Control Pin):
This pin toggles the display among the read or writes operation, and it is con-
nected to a microcontroller unit pin to get either 0 or 1 (0 = Write Operation,
and 1 = Read Operation).
6. Pin 6 (Enable/Control Pin):
This pin should be held high to execute Read/Write process, and it is connected
to the microcontroller unit constantly held high.
7. Pins 7-14 (Data Pins):
These pins are used to send data to the display. These pins are connected in
two-wire modes like 4-wire mode and 8-wire mode. In 4-wire mode, only four
pins are connected to the microcontroller unit like 0 to 3, whereas in 8-wire mode,
8-pins are connected to microcontroller unit like 0 to 7.
8. Pin15 (+ve pin of the LED):
This pin is connected to +5V
9. Pin 16 (-ve pin of the LED):
This pin is connected to GND.
Registers of LCD:
Command Register:
The main function of the command register is to store the instructions of command
which are given to the display. So that predefined tasks can be performed such as clear-
ing the display, initializing, set the cursor place, and display control. Here commands
processing can occur within the register.
ASE, Amritapuri 10
17. Bidirectional Visitor counter for efficient electricity usage.
Data Register:
The main function of the data register is to store the information which is to be
exhibited on the LCD screen. Here, the ASCII value of the character is the information
which is to be exhibited on the screen of LCD. Whenever we send the information to
LCD, it transmits to the data register, and then the process will be starting there.
When register set =1, then the data register will be selected.
The commands of LCD 16X2:
1. Hex Code-01, the clear LCD screen
2. Hex Code-02, returning home
3. Hex Code-04, decrement cursor
4. Hex Code-06, Increment cursor
5. Hex Code-05, Shift display right
6. Hex Code-07, Shift display left
7. Hex Code-08, Display off, cursor off
8. Hex Code-0A, cursor on and display off
9. Hex Code-0C, cursor off, display on
10. Hex Code-0E, cursor blinking, Display on
11. Hex Code-0F, cursor blinking, Display on
12. Hex Code-10, Shift cursor position to left
13. Hex Code-14, Shift cursor position to the right
14. Hex Code-18, Shift the entire display to the left
15. Hex Code-1C, Shift the entire display to the right
16. Hex Code-80, Force cursor to the beginning ( 1st line)
17. Hex Code-C0, Force cursor to the beginning ( 2nd line)
18. Hex Code-38, 2 lines and 5×7 matrix
ASE, Amritapuri 11
18. Bidirectional Visitor counter for efficient electricity usage.
2.2.3 IR (Infrared) Sensor:
An infrared sensor is an electronic device, that emits light in order to sense some as-
pects of the surroundings. An IR sensor can measure the heat of an object as well as
detects the motion. These types of sensors measure only infrared radiation, rather than
emitting it that is called a passive IR sensor. Usually, in the infrared spectrum, all the
objects radiate some form of thermal radiation.These types of radiations are invisible
to our eyes, which can be detected by an infrared sensor. The emitter is simply an
IR LED (Light Emitting Diode) and the detector is simply an IR photodiode that is
sensitive to IR light of the same wavelength as that emitted by the IR LED. When IR
light falls on the photodiode, the resistances and the output voltages will change in
proportion to the magnitude of the IR light received.
Figure 2.6: IR sensor
Working principle of IR sensor:
The working principle of an infrared sensor is similar to the object detection sensor.
This sensor includes an IR LED an IR Photodiode, so by combining these two can be
formed as a photo-coupler. IR LED is one kind of transmitter that emits IR radiations.
This LED looks similar to a standard LED and the radiation which is emitted by
this is not visible to the naked eye. Infrared receivers mainly detect the radiation
using an infrared transmitter. These infrared receivers are available in photodiodes
form. IR Photodiodes are dissimilar as compared with usual photodiodes because they
detect simply IR radiation. Different kinds of infrared receivers mainly exist depending
on the package,voltage, wavelength, etc. Once it is used as the combination of an
IR transmitter receiver, then the receiver’s wavelength must equal the transmitter.
Here, the transmitter is IR LED whereas the receiver is IR photodiode. The infrared
photodiode is responsive to the infrared light that is generated through an infrared
LED. The resistance of photo-diode the change in output voltage is in proportion to
the infrared light obtained. This is the IR sensor’s fundamental working principle.
ASE, Amritapuri 12
19. Bidirectional Visitor counter for efficient electricity usage.
2.2.4 Crystal Oscillator:
A crystal oscillator is an electronic oscillator circuit that uses the mechanical resonance
of a vibrating crystal of piezoelectric material to create an electrical signal with a
constant frequency.This frequency is often used to keep track of time, as in quartz
wristwatches, to provide a stable clock signal for digital integrated circuits, and to
stabilize frequencies for radio transmitters and receivers. The most common type of
piezoelectric resonator used is the quartz crystal, so oscillator circuits incorporating
them became known as crystal oscillators.
Figure 2.7: Crystal Oscillator
Figure 2.8: Crystal Oscillator symbol
Principle of Crystal Oscillators:
Crystal oscillators operate on the principle of inverse piezoelectric effect in which an
alternating voltage applied across the crystal surfaces causes it to vibrate at its natural
frequency. It is these vibrations which eventually get converted into oscillations.
ASE, Amritapuri 13
20. Bidirectional Visitor counter for efficient electricity usage.
2.2.5 Battery:
A battery is a device consisting of one or more electrochemical cells with external con-
nections for powering electrical devices such as flashlights, mobile phones, and electric
cars. When a battery is supplying electric power, its positive terminal is the cathode
and its negative terminal is the anode. The terminal marked negative is the source of
electrons that will flow through an external electric circuit to the positive terminal. In
this project 3.3V battery is used.
Figure 2.9: Battery/cells
Figure 2.10: Battery symbol
ASE, Amritapuri 14
21. Bidirectional Visitor counter for efficient electricity usage.
2.2.6 Resistor:
Resistors are electronic components which have a specific, never-changing electrical re-
sistance. The resistor’s resistance limits the flow of electrons through a circuit.They are
passive components, meaning they only consume power. Resistors are usually added
to circuits where they complement active components like op-amps, microcontrollers,
and other integrated circuits. Commonly resistors are used to limit current, divide
voltages, and pull-up I/O lines.In this project 10k ohm resistor is used for reset pin.
Figure 2.11: Resistors
Figure 2.12: Resistor symbol
2.2.7 Ceramic Capacitor:
A ceramic capacitor is a fixed-value capacitor where the ceramic material acts as the
dielectric. It is constructed of two or more alternating layers of ceramic and a metal
layer acting as the electrodes. The composition of the ceramic material defines the
electrical behavior and therefore applications.Ceramic capacitors of special shapes and
styles are used as capacitors for RFI/EMI suppression, as feed-through capacitors and
in larger dimensions as power capacitors for transmitters.In this project ,2 capacitor of
22pF is used for the Crystal oscillator.
ASE, Amritapuri 15
22. Bidirectional Visitor counter for efficient electricity usage.
Figure 2.13: Resistor symbol
Figure 2.14: Ceramic capacitor
2.2.8 Switch:
A switch is an electrical component that can disconnect or connect the conducting
path of an electrical circuit, interrupting the electric current or diverting it from one
conductor to another. The most common type of switch is an electromechanical device
consisting of one or more sets of movable electrical contacts connected to external
circuits. When a pair of contacts is touching, current can pass between them, while
when the contacts are separated no current can flow.In this project we used switch to
reset the microcontroller.
ASE, Amritapuri 16
23. Bidirectional Visitor counter for efficient electricity usage.
Figure 2.15: Push button switch
Figure 2.16: Switch symbol
2.2.9 Motor:
An electric motor is an electrical machine that converts electrical energy into mechan-
ical energy. Most electric motors operate through the interaction between the motor’s
magnetic field and electric current in a wire winding to generate force in the form of
torque applied on the motor’s shaft. Electric motors can be powered by direct current
(DC) sources, such as from batteries, motor vehicles or rectifiers, or by alternating
current (AC) sources, such as a power grid, inverters or electrical generators. In this
project, we are using motor to replicate the functionality of fans for the demonstration
purpose only.
Figure 2.17: Motor
ASE, Amritapuri 17
24. Bidirectional Visitor counter for efficient electricity usage.
2.3 Circuit Diagram
Figure 2.18: circuit diagram
The above shown figure is the complete circuit diagram of the bidirectional Visitor
counter project. The circuit design is done in Proteus 8 Professional. Refer next sec-
tion for circuit explanation.
2.4 Circuit Explanation
In this project, we are using LPC2148 microcontroller, two IR sensors, LCD 16x2
display, resistor, capacitors, crystal oscillator,battery and motor for the simulation of
project. Firstly we connect all the necessary connections like battery, reset, and crystal
oscillator connections to the microcontroller. Vsat, Vbat are connected to the positive
terminal of the battery, whereas Vss is connected to the negative terminal of the battery.
Next we connect the reset to the microcontroller. For reset circuit we use a pull-up
resistor and a switch to reset the microcontroller. We connect the one end of the re-
sistor to the positive terminal of the battery and other end to negative terminal of the
battery and reset pin of microcontroller. With this we completed the reset connection.
Next we move to the connection of crystal oscillator connections to the microcontroller.
The crystal oscillator is connected to the Xtal1 and Xtal2 pin of the microcontroller
ASE, Amritapuri 18
25. Bidirectional Visitor counter for efficient electricity usage.
and pulled down with the ceramic capacitors to the ground. With these connections
we completed the basic power connections of the microcontroller.
Next we are connecting the inputs (IR sensors, fan, light) and outputs (LCD, mo-
tor) to the microcontroller. Firstly, we connect the IR sensors to the microcontroller.
The VCC of the IR sensors is connected to 5v power supply. The GND is connected to
the negative terminal of the battery. The OUT pin of the IR sensor 1 2 is connected to
the Port 0.25 and Port 0.26 of the microcontroller respectively. With this we completed
connection of IR sensor with the microcontroller.
Next we move to the connection of LCD with the microcontroller. Firstly, we give
5v power supply to the Vdd of the LCD. The Vss is connected to the ground of the
battery. RS, RW, Enable(E) pin of LCD is connected to the Port 0.4 , Port 0.5, Port
0.6 pin respectively. We are using 8-bit mode in the LCD, so we connect all the 8 pin
from D0 to D7 to microcontroller Port 0.8 to Port 0.15 respectively. Next we connect
the motor to the microcontroller. The positive terminal of motor is connected to the
Port 1.16 pin of microcontroller. This pin is acting as an output to the microcontroller.
The negative terminal of the motor is connected to the ground. With all these connec-
tion done, we are ready to dump the code and simulate the project.
2.5 Working Principle
The LPC2148 microcontroller is the central processing unit of the whole system. It
coordinates the activities of all the other components like IR sensor, LCD, motors to
achieve the desired result which in the case of this project is to keep track of number
of visitors entering or leaving. The microcontroller scans the input I/O pins to which
the infrared sensors are connected. If there occurs a transition from ’LOW’ to ’HIGH’,
then it is considered as an signal to microcontroller.
The direction of travel of the person should also be determined by microcontroller.
That is, whether the person is entering or exiting the room. For this purpose, we em-
ploy two sensors designated as IR Sensor1 and IR Sensor2. The sensors are arranged
so that one set of infrared transmitter and receiver comes before the other. Sensor1
comes first and then Sensor2 in the direction of moving toward the room. The LCD
also displays “VISITORS COUNT : 0”. That means there is nobody in the room as
at that time. The process then proceeds this way. A visitor entering the room will
first interrupt Sensor1. Now the microcontroller checks to see whether Sensor2 has
already been set. If Sensor2 has already been set, the number of persons in the room
is increased by 1 and the new count value is updated on the LCD. If somebody leaves
the room, first the Sensor2 is first interrupted, and keeps a check on the Sensor1. If
Sensor1 is also interrupted then the visitor count is decremented by 1 and the new
count is updated on the LCD. This is the cyclic process and the microcontroller keeps
scanning the IR sensors output. The Embedded C programming language is used to
create instructions for the bidirectional visitor counter to run through a C compiler on
a compute. The instruction set code is converted into machine language (Hex file) for
it to be understandable to the microcontroller.
ASE, Amritapuri 19
26. Bidirectional Visitor counter for efficient electricity usage.
The full working of the Bidirectional Visitor counter system is given in the flow
chart diagram. A flow chart is a type of diagram that represents a process, showing
the steps as boxes of various kinds, and their order by connecting these with arrows.
This diagrammatic representation can give a step-by-step solution to a given problem.
Process operations are represented in these boxes, and arrows connecting them rep-
resent flow of control. Flowcharts are used in documenting, analyzing, designing or
managing a process or program in various fields. We are convinced, from the above
results, that the bidirectional visitor counter is highly efficient and economical. Its pro-
gram can also be modified to take additional input depending on the function desired
by the designer. There is no need for human auditor services.
Figure 2.19: Working flow diagram
ASE, Amritapuri 20
27. Chapter 3
Software requirement
3.1 Keil uvision 4
Keil MicroVision is a free software which solves many of the pain points for an em-
bedded program developer. This software is an integrated development environment
(IDE), which integrated a text editor to write programs, a compiler and it will convert
your source code to hex files too.
Keil provides a broad range of development tools like ANSI C compiler, macro
assemblers, debuggers and simulators, linkers, IDE, library managers, real-time op-
erating systems and evaluation boards for Intel 8051, Intel MCS-251, ARM, and
XC16x/C16x/ST10 families.
3.2 Proteus 8 Professional
The Proteus Design Suite is a proprietary software tool suite used primarily for elec-
tronic design automation. The software is used mainly by electronic design engineers
and technicians to create schematics and electronic prints for manufacturing printed
circuit boards.
The micro-controller simulation in Proteus works by applying either a hex file or a
debug file to the microcontroller part on the schematic. It is then co-simulated along
with any analog and digital electronics connected to it. This enables its use in a broad
spectrum of project prototyping in areas such as motor control, temperature control
and user interface design. It also finds use in the general hobbyist community and,
since no hardware is required, is convenient to use as a training or teaching tool.
21
28. Chapter 4
Inference
4.1 Application of Project
1. Used to count the number of visitors entering or leaving a room, auditorium,
shopping mall, offices, schools, exhibitions and etc.
2. Can be used to control electrical appliances like light, fan, Air conditioner, and
etc.
3. To limit the number of visitors in the room.
4. Can be used for home automation.
4.2 Advantages and Disadvantages
4.2.1 Advantages:
1. Cost efficient device. Can be manufactured at low cost.
2. Low maintenance.Easy to use. Once install, works for longer period of time.
3. Can be implemented on single door.
4. Used to control electrical appliances for power management.
4.2.2 Disadvantages:
1. Works only when single person enters or leaves the room. The device can not
count when the visitors are in crowd.
2. This device works on the principle of IR rays, so device might misbehave when
there is too much brightness in the surroundings.
22
29. Bidirectional Visitor counter for efficient electricity usage.
4.3 Results and Discussion
This project works as per the requirements, without any faults. The block diagram
and circuit diagram are important part of the project as these diagrams gives the com-
plete information about the project connections. The LCD unit displays the count of
visitors, which is very important information and can be used to track the visitors.
There are various kinds of displays available in the market. One can buy any display
as per the budget. Here, in the project we used motor to demonstrate the working of
fan in real time, but we can use light, Air conditioner and many electrical appliances
in real time.
4.4 Conclusion
In our project, we designed and implemented a Bidirectional Visitor Counter which
counts and displays the number of visitor in the auditorium, halls, rooms, shopping
malls and also automatically control the electrical appliances in the room. There are
many inputs and outputs to the microcontroller which were implemented with clear
understanding of the subject. We referred and discussed many researches for the better
output of the project. Our project is very useful in Schools, hospitals, malls, offices,
auditoriums etc. The overall implementation cost of this project is very cheap and is
affordable by a common person. This low cost system is designed to improve the living
standard of common people. By implementing this project ,we acquired understandable
knowledge about this subject and are familiar with softwares like proteus and keil .This
project, gave us a hands on work with a clear idea on how to use theoretical knowledge
in practical.
4.5 Future works
This project have many future applications which can improve the efficiency and pro-
ductivity in work. We can use a buzzer as an alarm for the indication of any visitor and
further we can also limit the number of visitors in a room by displaying messages on
LCD. The world is moving towards the connecting of everything namely IoT (Internet
Of Things). So, we can add an IoT gateway to the device so that we have the data
of number of visitors in a particular location. We can also monitor the data and take
action depending on the requirement. We can also use this device along with IoT for
home automation.
ASE, Amritapuri 23
30. Bidirectional Visitor counter for efficient electricity usage.
4.6 References
1. Subiakto, E.C. (2009) Digital Tally Counter Finger Ring. Retrieved from
http://www.google.com/patents/WO2009144689A1?cl=en .
2. Microprocessors, Microcontrollers, Architecture and Programming Concepts. (n.
d.). Retrieved from
http://www.slideshare.net/ashmus/microproccesor-and-microcontrollers- hardware-
basics.
3. A Report on Bidirectional Visitor Counter using IR sensors and Arduino Uno R3.
https://www2.slideshare.net/Abhishekvb/a-report-on-bidirectional-visitor-counter-
using-ir-sensors-and-arduino-uno-r3
4. LCD interfacing with LPC2148.
https://www.instructables.com/LPC2148-Interfacing-With-162-LCD/
5. LPC2148 GPIO Programming Tutorial.
http://www.ocfreaks.com/lpc2148-gpio-programming-tutorial/
6. Infrared Sensor Library for Proteus.
https://www.theengineeringprojects.com/2018/07/infrared-sensor-library-for-proteus.html
7. How to add new Library in Proteus 8.
https://www.theengineeringprojects.com/2018/04/how-to-add-new-library-in-proteus-
8.html
8. LPC2148 GPIO Ports and Registers.
https://www.electronicwings.com/arm7/lpc2148-32-bit-arm7tdmi-s-processor-gpio-
ports-and-registers
9. LPC2148 – GPIO Tutorial.
https://embetronicx.com/tutorials/microcontrollers/lpc2148/lpc2148-gpio-tutorial-
led-interfacing/
ASE, Amritapuri 24
31. Bidirectional Visitor counter for efficient electricity usage.
4.7 Literature reviews
Before we initiate the project, we discussed and reviewed many researches prior to take
up the project. A clear analysis of literature was conducted for the best results of the
project. This helped us to identify the benefits and drawbacks of the projects.
1. A Report on Bidirectional Visitor Counter using IR sensors and Ar-
duino Uno R3
This paper presented the necessity of bidirectional visitor counter and the results
after using the device. It highlighted the circuit design with all the required com-
ponents. The explanation of working of circuit was lucid. This report gave us an
insights of the project and helped us to crack the problems that arise during the
project.
2. LPC2148 GPIO Programming
This paper has provided a understandable knowledge of programming LPC2148
microcontroller. It includes all the GPIO register and Port which are very useful
during programming. The explanation of concepts is lucid. We were able to write
codes ourselves after referring the page.
3. LCD interfacing with LPC2148
The interfacing of LCD is explained in this paper. It describes the 4-bit and
8-bit modes of LCD. It highlights the data mode and command mode which are
important during display of character on the screen. We were able to use LCD
are referring the paper.
ASE, Amritapuri 25
32. Bidirectional Visitor counter for efficient electricity usage.
4.8 Appendix
Code for the Project:
#include <lpc214x . h>
#include <stdint . h>
#include <s t d l i b . h>
#include <stdio . h>
void delay ( unsigned int time ){
unsigned int i , j ;
for ( i =0; i<=time ; i++){
for ( j =0; j <10; j ++);
}
}
void delay ms ( uint16 t j ) /∗ Function for delay in milliseconds
∗/
{
uint16 t x , i ;
for ( i =0; i<j ; i++)
{
for (x=0; x<1000; x++);
}
}
void LCD CMD( char command)
{
IO0PIN = ( (IO0PIN & 0xFFFF00FF) | (command<<8) ) ;
IO0SET = 0x00000040 ; /∗ EN = 1 ∗/
IO0CLR = 0x00000030 ; /∗ RS = 0 , RW = 0 ∗/
delay ms ( 2 ) ;
IO0CLR = 0x00000040 ;
delay ms ( 5 ) ;
}
void LCD INIT( void )
{
IO0DIR = 0x0000FFF0 ;
delay ms ( 2 0 ) ;
LCD CMD(0 x38 ) ; /∗ I n i t i a l i z e lcd ∗/
LCD CMD(0x0C ) ; /∗ Display on cursor o f f ∗/
LCD CMD(0 x06 ) ; /∗ Auto increment cursor ∗/
LCD CMD(0 x01 ) ; /∗ Display c l e a r ∗/
LCD CMD(0 x80 ) ; /∗ First l i n e f i r s t position ∗/
}
void LCD STRING ( char∗ msg)
{
ASE, Amritapuri 26
33. Bidirectional Visitor counter for efficient electricity usage.
uint8 t i =0;
while (msg [ i ]!=0)
{
IO0PIN = ( (IO0PIN & 0xFFFF00FF) | (msg [ i ]<<8) ) ;
IO0SET = 0x00000050 ; /∗ RS = 1 , , EN = 1 ∗/
IO0CLR = 0x00000020 ; /∗ RW = 0 ∗/
delay ms ( 2 ) ;
IO0CLR = 0x00000040 ; /∗ EN = 0 , RS and RW unchanged
delay ms ( 5 ) ;
i++;
}
}
void LCD CHAR ( char msg)
{
IO0PIN = ( (IO0PIN & 0xFFFF00FF) | (msg<<8) ) ;
IO0SET = 0x00000050 ; /∗ RS = 1 , , EN = 1 ∗/
IO0CLR = 0x00000020 ; /∗ RW = 0 ∗/
delay ms ( 2 ) ;
IO0CLR = 0x00000040 ;
delay ms ( 5 ) ;
}
int main( void )
{
IO0DIR &= ˜((1<<25)) ;
IO0DIR &= ˜((1<<26)) ;
IO1DIR |= (1<<16);
uint8 t j ;
j = 0;
char v a l j [ 3 ] ;
LCD INIT ( ) ;
LCD CMD(0 x80 ) ;
LCD STRING(” Visitor Counter : ” ) ;
LCD CMD(0xC0 ) ;
while (1){
i f (IOPIN0 & (1<<25))
{
while (˜( IOPIN0 & (1<<26)))
j = j +1;
}
i f (IOPIN0 & (1<<26))
{
while (˜( IOPIN0 & (1 < <25)));
ASE, Amritapuri 27
34. Bidirectional Visitor counter for efficient electricity usage.
j = j −1;
}
i f ( j >= 1)
{
IOSET1 |= (1<<16);
}
e l s e
{
IOCLR1 |= (1<<16);
j = 0;
}
s p r i n t f ( val j ,”%d ” , j ) ;
LCD STRING( v a l j ) ;
delay ms (200);
LCD CMD(0xC0 ) ;
}
return 0;
}
4.9 Terminology
• ARM - Advanced RISC Machine and originally Acorn RISC Machine
• LCD - Liquid Crystal Display
• IR - Infrare
• IoT - Internet of Things
• CPU - Central Processing Unit
• UART - Universal asynchronous receiver/transmitter
• USB - Universal Serial Bus
• SRAM - Static random access memory
• GPIO - General Purpose Input/Output
• RAM - Random access memory
• RTC - Real time Clock
• RISC - Reduced instruction set computing
• CISC - Complex instruction set computing
• LED - Light Emitting Diode
• I/O - Input Output
ASE, Amritapuri 28
35. Bidirectional Visitor counter for efficient electricity usage.
• DC - Direct current
• AC - Alternating current
• VCC - Voltage Common Collector
• IDE - Integrated Development Environment
ASE, Amritapuri 29