ET3491 Laboratory Mannual and Record
ET3491 Laboratory Mannual and Record
Accredited by NAAC
(Approved by AICTE, New Delhi. Affiliated to Anna University, Chennai)
WEST KK NAGAR, CHENNAI – 600078.
RECORD MANUAL
NAME :
REGISTER NO :
YEAR / SEMESTER :
2021 REGULATION
To offer quality education with value added teaching in the field of Electronics and
Communication Engineering and to develop confidence to meet the growing challenges in the
advanced technological revolution worldwide.
MISSION
The mission of the Department of Electronics and Communication Engineering is to,
• To Ensure effective teaching learning process and develop competent professionals in the
design and implementation of Electronics and Communication Engineering.
• To Equip the students with strong foundations to carryout R&D in the Electronics filed and
to enable them for continuing education.
• To Provide ethical and value based global education by promoting activities addressing the
societal needs.
• To Provide placement opportunities and to provide motivation for higher studies.
MEENAKSHI COLLEGE OF ENGINEERING
12,Vembuli Amman Kovil Street, West K.K Nagar, Chennai – 78
PEO1. Exhibit a strong foundation in the required sciences in order to pursue studies in Electronics and
Communication Engineering.
PEO2. Gain adequate knowledge to become good professional in electronic and communication
engineering associated industries, higher education, and research.
PEO3. Develop attitude in lifelong learning, applying, and adapting new ideas and technologies as their
field evolves.
PEO4. Critically analyze existing literature in an area of specialization and ethically develop
innovative and research-oriented methodologies to solve the problems identified.
PEO5. Practice a professional and ethical attitude and an ability to visualize the engineering issues in a
broader social context.
MEENAKSHI COLLEGE OF ENGINEERING
12,Vembuli Amman Kovil Street, West K.K Nagar, Chennai – 78
Department of Electronics &Communication Engineering
Program Name: B.E(Electronics and Communication )
PROGRAMME OUTCOMES (POs):
MCE B.E(ECE) students at the time of graduation are able to exhibit
PO 1 Engineering knowledge: Apply the knowledge of mathematics, science, engineering fundamentals, and
an engineering specialization to the solution of complex engineering problems.
PO 2 Problem analysis: Identify, formulate, review research literature, and analyze complex engineering
problems reaching substantiated conclusions using first principles of mathematics, natural sciences, and
engineering sciences.
PO 3 Design/development of solutions: Design solutions for complex engineering problems and design system
components or processes that meet the specified needs with appropriate consideration for the public health and
safety, and the cultural, societal, and environmental considerations.
PO 4 Conduct investigations of complex problems: Use research-based knowledge and research methods
including design of experiments, analysis and interpretation of data, and synthesis of the information to provide
valid conclusions.
PO 5 Modern tool usage: Create, select, and apply appropriate techniques, resources ,and modern engineering
and IT tools including prediction and modeling to complex engineering activities with an understanding of the
limitations.
PO 6 The engineer and society: Apply reasoning informed by the contextual knowledge to assess societal,
health, safety, legal and cultural issues and the consequent responsibilities relevant to the professional
engineering practice.
PO 7 Environment and sustainability: Understand the impact of the professional engineering solutions in
societal and environmental contexts, and demonstrate the knowledge of, and need for sustainable development.
PO 8 Ethics: Apply ethical principles and commit to professional ethics and responsibilities and norms of the
engineering practice.
PO 9 Individual and team work: Function effectively as an individual, and as a member or leader in diverse
teams, and in multidisciplinary settings.
PO 10 Communication: Communicate effectively on complex engineering activities with the engineering
community and with society at large, such as, being able to comprehend and write effective reports and design
documentation, make effective presentations, and give and receive clear instructions.
PO 11 Project management and finance: Demonstrate knowledge and understanding of the engineering and
management principles and apply these to one’s own work, as a member and leader in a team, to manage
projects and in multidisciplinary environments.
PO 12 Life-long learning: Recognize the need for, and have the preparation and ability to engage in
independent and life-long learning in the broadest context of technological change.
PROGRAM SPECIFIC OUTCOMES (PSOs)
PSO1: Design, develop and analyze electronic systems through application of relevant electronics,
mathematics and engineering principles.
PSO2: Design, develop and analyze communication systems through application of fundamentals from
communication principles, signal processing, and RF System Design & Electromagnetics.
PSO3: Adapt to emerging electronics and communication technologies and develop innovative solutions for
existing and newer problems.
SYLLABUS
COURSE OUTCOMES:
ALGORITHM:
Clear PSW
Select Register
ADD A & R0
Stop
PROGRAM:
Address Output
RESULT:
Thus the 8051 Assembly Language Program for addition of two 8 bit numbers was
executed.
FLOW CHART:
Start
IS
CF=1
Stop
EXP NO: B. 8 BIT SUBTRACTION
DATE
AIM:
To perform subtraction of two 8 bit data and store the result in memory.
ALGORITHM:
PROGRAM:
RESULT:
Thus the 8051 Assembly Language Program for subtraction of two 8 bit numbers was
executed.
FLOW CHART:
Start
Multiply A with B
Stop
AIM:
To perform multiplication of two 8 bit data and store the result in memory.
ALGORITHM:
Address Output
RESULT:
Thus the 8051Assembly Language Program for multiplication of two 8 bit numbers was
executed.
FLOW CHART:
Start
Divide A by B
Stop
AIM:
To perform division of two 8 bit data and store the result in memory.
ALGORITHM:
PROGRAM:
Input Output
RESULT:
Thus the 8051 8051Assembly Language Program for division of two 8 bit numbers was
executed.
FLOW CHART:
START
STOP
AIM:
To write an assembly language program to mask bits o and 7 of an 8 – bit number and
store the result in memory using 8051 microcontrollers.
APPARATUS REQUIRED:
8051 microcontroller kit
ALGORITHM:
Masking bits in a 8 bit number
• Start the process
• Get the two data values
• Get the second data
• Logically „AND‟ the two data values.
• Initialize the memory value and store the result in memory.
• Start the process
PROGRAM:
L1 4108 SJMP L1 80 FE
Output
Memory Location Data
RESULT:
Thus the 8051assembly language program for masking bits was executed and verified
a) 1‟s and 2‟s complement
START
STOP
EXP NO: FIND 1”S & 2‟S COMPLEMENT OF A NUMBER
DATE
AIM:-
To write an assembly language to perform arithmetic, logical and bit manipulation instruction using
8051.
ALOGRITHM:
a) 1‟s and 2‟s complement
• Get the value
• Get the complement value of data.
• Initialize the data pointer value as memory.
• Move the complemented value to memory of data pointer.
• Increment the value and memory.
• Store the result in memory.
• Stop the process.
Output
AIM:
To interface the DAC with 8051 microcontroller and generate the square wave, saw tooth wave and
triangular wave.
REQUIREMENTS:
WAVEFORMS:
SQUARE WAVE
OBSERVATION:
AIM:
To Write a program to toggle all the bits of P0, P1,and P2 every 1/4 of a second.
Program:
ORG 00h
SJMP
MAIN ORG
30H MAIN:
BACK: MOV A,#55H
MOV P0,A
MOV P1,A
MOV P2,A
ACALL QSDELAY ;Quarter of a second
MOV A,#0AAH
MOV P0,A
MOV P1,A MOV
P2,A
ACALL
QSDELAY SJMP
BACK QSDELAY:
MOV R5,#11
H3: MOV R4,#248
H2: MOV R3,#255
H1: DJNZ R3,H1 ;4 MC for DS89C4x0
DJNZ R4,H2
DJNZ R5,H3
RET
END
Result:
Thus, to toggle all the bits of P0, P1,and P2 every 1/4 of a second verified successfully.
EXP NO:
PROGRAMMING USING SERIAL PORTS IN 8051
DATE
AIM:
To send the data serially with the desired baud rate. (In assembly)
Program:
ORG 00h
SJMP
MAIN ORG
30H MAIN:
MOV TMOD,#20H ;timer 1,mode 2(auto reload)
MOV TH1,#-3 ;9600 baud rate
MOV SCON,#50H ;8-bit, 1 stop, REN enabled
SETB TR1 ;start timer 1
AGAIN: MOV A,#'E' ;transfer “E”
ACALL TRANS
MOV A,#'C' ;transfer “C”
ACALL TRANS
MOV A,#'E' ;transfer “E”
ACALL TRANS
SJMP AGAIN ;keep doing it
;serial data transfer subroutine
TRANS: MOV SBUF,A ;load SBUF
HERE: JNB TI,HERE ;wait for the last bit
CLR TI ;get ready for next byte
RET
END
Result:
Thus, the data serially with the desired baud rate verified successfully.
EXP NO: Digital Clock
DATE
AIM:
To display the digital clock specifically by displaying the hours, minutes and secondsusing 8051 kits.
PROGRAM:
Observation:
Input
Output:
Time is displayed in the RTC board as
! Hour ŀ Minutes ŀ seconds ŀ
X
RESULT:
Thus the digital clock program has been written and executed using 8086
microprocessor kit and the output of digital clock was displayed as [hours:
minutes: seconds] successfully.
EXP NO:
Interfacing ADC
DATE
Aim:
To write an embedded ‘C’ program to make the onboard LED’s to flash/blink according
to the ADC value.
Apparatus Required:
Hardware Requirement:
✓ Development Board (NXP LPC2148 MICROCONTROLLER) ✓ A ULINK
USB-JTAG Adapter.
✓ IBM-compatible PC with 2 USB port and cable to power the board and ULINK ✓
RS232 COM port for (ISP) via serial interface(Need Flash magic utility)
Software Requirement:
Embedded ‘C’-Program:
#include <LPC214X.H>
#include <stdio.h>
extern void init_serial (void) ; /* Initialize Serial Interface */
}
void delay (void) /* Delay function */
{ unsigned int cnt;
unsigned int val;
}
/* Wait for end of A/D Conversion
while ((val & 0x80000000) == 0);
*/
AD0CR &= ~0x01000000; /* Stop A/D Conversion */
{ unsigned int n;
PINSEL1 = 0x01000000;
{
/* Blink LED 0, 1, 2, 3, 4, 5, 6, 7
for (n = 0x00010000; n <= 0x00800000; n <<= 1) */
{
}
Output:
Analog Digital
input output
RESULT:
Thus the embedded ‘C’ program to make the onboard LED’s to flash/blink according to
the ADC value has done successfully and verified the output onboard.
EXP NO:
Interfacing DAC
DATE
Aim:
To write an embedded ‘C’ program to interface dual scope DAC to convert the digital
value into analog wave form and to view the output in CRO.
Apparatus Required:
Hardware Requirement:
Embedded ‘C’-Program:
#include <lpc21xx.h>
void delay()
int main()
{
PINSEL2 = 0x00000004; /*Configure the (p1.16-p1.23) lines as gpio
signals*/
/*Configure the gpio1 (p1.16-p1.23) as output
IODIR1 = 0x00ff0000; lines*/
while(1)
IOSET1 = 0x00ff0000; /*Output 0xff to gpio1 and 0x00 follwed with delay*/
delay();
IOCLR1 = 0x00ff0000;
delay();
Output:
Sine wave
RESULT:
Thus an embedded ‘C’ program to interface dual scope DAC to convert the digital
value into analog wave form has been written and corresponding output waveform is captured in
CRO.
EXP NO:
DATE LED & FLASHING OF LED”S
AIM:
To write and execute the program for LED & Flashing Led‟s with ARM7
(LPC2148) processor.
PROCEDURE
1. Create a New project, Go to “Project” and close the current project “Close Project”.
2. Next Go to the Project New μvision Project Create New Project Select Device for Target.
3. Select the data base NXP LPC2148.
4. Add Startup file and Next go to “File” and click “New”.
5. Write a program on the editor window and save as “Main.c”.
6. Add this source file to Group and click on “Build Target” or F7.
7. Create a Hex file from “Project” menu and click on “Rebuild all target Files”.
8. Open Flash magic and select the device LPC2148 in ARM 7 category, Choose the hardware
connected COM port, baud rate 9600, interface None [ISP], Oscillator frequency
12.0 MHz and click on erase of flash code Rd plot.
9. Next browse the path of hex file and select the file.
10. After selecting ISP mode on the Hardware Kit and click on start then device will start to
program
11.Finally can be see the finished indication and values in SPJ Terminal and Reset the device into
running mode.
LED INTERFACING:
CIRCUIT DIAGRAM:
P R O G RA M:
|
FLASHING OF LED:
CIRCUIT DIAGRAM:
PROGRAM:
TYPE-I:
|
#include <lpc214x.h> int
i; int main()
{ IODIR0=0x000000F F;
while(1)
{ IOSET0=0x000000A
A; for(i=0;i<120000;i+
+);
IOCLR0=0x000000AA;
for(i=0;i<120000;i++);
}
}
TYPE-II:
#include <lpc214x.h> int
i,b;
int main()
{ IODIR0=0x000000F F;
while(1)
{ for(b=0;b<8;b+
+)
{ IOSET0=(1<<b
); for(i=0;i<120000;i++);
IOCLR0=(1<<b);
for(i=0;i<120000;i++);
}
}
}
|
TYPE-III
#include <lpc214x.h>
int i,b;
int
main()
{ IODIR0=0x000000
F F;
IODIR0=~(1<<16);
while(1)
{ if((IOPIN0&(1<<16))==0
)
{ for(b=0;b<8;b
++)
{ IOSET0=(1<<b
);
for(i=0;i<120000;i++);
IOCLR0=(1<<b);
for(i=0;i<120000;i++);
}}
els
e
{ IOCLR0=0x000000F
F;
}
}
}
SWITCH CONTROLLED LED (2-SWITCH):
CIRC UI T DIAGR A M:
PROGRAM:
#include <lpc214x.h>
int i,b; int
main()
{ IODIR0=0x000000F
F;
IODIR0=~(1<<16)&~(1<<23);
while(1)
{ if((IOPIN0&(1<<16))==0
)
{ for(b=0;b<8;b+
+)
{ IOSET0=(1<<b
);
for(i=0;i<120000;i++);
IOCLR0=(1<<b);
for(i=0;i<120000;i++);
}
}
else if((IOPIN0&(1<<23))==0)
{ for(b=7;b>=0;b--
)
{ IOSET0=(1<<b
);
for(i=0;i<120000;i++);
IOCLR0=(1<<b);
for(i=0;i<120000;i++);
}}
els
e
{ IOCLR0=0x000000F
F;
}
}
Output:
RESULT
The program for LED & Flashing Led‟s with ARM7 (LPC2148) processor was executed successfully.
EXP NO:
INTERFACING OF LCD
DATE
AIM:
To write and execute the program for LCD with ARM7 (LPC2148) processor.
1. Create a New project, Go to “Project” and close the current project “Close Project”.
2. Next Go to the Project New μvision Project Create New Project Select Device for Target.
3. Select the data base NXP LPC2148.
4. Add Startup file and Next go to “File” and click “New”.
5. Write a program on the editor window and save as “Main.c”.
6. Add this source file to Group and click on “Build Target” or F7.
7. Create a Hex file from “Project” menu and click on “Rebuild all target Files”.
8. Open Flash magic and select the device LPC2148 in ARM 7 category, COM port will be
COM 3, baud rate 9600, interface None [ISP], Oscillator frequency 12.0 MHz and c lick on
erase of flash code Rd plot.
9. Next browse the path of hex file and select the file.
10. After selecting ISP mode on the Hardware Kit and click on start then device will
start to program
11.Finally can be see the finished indication and values in SPJ Terminal and Reset the
device into running mode.
INTERFACING LCD:
CIRCUIT DIAGRAM:
Meenakshi College of
Engineering
PROGRAM:
#include <lpc214x.h>
#include <lcd.h>
int main()
{
LCD_INIT();
LCDSTR(0x00000084,"Meenakshi");
LCDSTR(0x000000C2,"Engineering College");
while(1)
{
}
}
LCD LAYOUT:
80 81 82 83 84 85 86 87 88 89 8A 8B 8C 8D 8E 8F
C0 C1 C2 C3 C4 C5 C6 C7 C8 C9 CA CB CC CD CE CF
OUTPUT:
RESULT:
The program for LCD with ARM7 (LPC2148) processor was executed successfully.
EXP NO:
INTERFACING OF MATRIX KEYBOARD
DATE
AIM:
To write and execute the program for Matrix Keyboard with ARM7 (LPC2148) processor.
HARDWARE & SOFTWARE TOOLS REQUIRED:
PROCEDURE
1. Create a New project, Go to “Project” and close the current project “Close Project”.
2. Next Go to the Project New μvision Project Create New Project Select Device for Target.
3. Select the data base NXP LPC2148.
4. Add Startup file and Next go to “File” and click “New”.
5. Write a program on the editor window and save as “Main.c”.
6. Add this source file to Group and click on “Build Target” or F7.
7. Create a Hex file from “Project” menu and click on “Rebuild all target Files”.
8. Open Flash magic and select the device LPC2148 in ARM 7 category, COM port will be
COM 3, baud rate 9600, interface None [ISP], Oscillator frequency 12.0 MHz and click on
erase of flash code Rd plot.
9. Next browse the path of hex file and select the file.
10. After selecting ISP mode on the Hardware Kit and click on start then device will
start to program
11.Finally can be see the finished indication and values in SPJ Terminal and Reset the
device into running mode.
KEYBOARD INTERFACING:
CIRCUIT DIAGRAM:
PROGRAM:
#include <lpc214x.h>
#include <lcd.h>
#include <keyboard.h>
int main()
{
LCD_INIT();
LCDSTR(0x00000080,"Matrix Keypad");
LCDSTR(0x000000C0,"Key Pressed: "); while(1)
{
IO0CLR = CLR; IO0SET = C1; delay_ms(10);
if(scan(R1))LCDSTR(0x000000CC,"0"); //K1
if(scan(R2))LCDSTR(0x000000CC,"4"); //K5
if(scan(R3))LCDSTR(0x000000CC,"8"); //K9
if(scan(R4))LCDSTR(0x000000CC,"C");
//K13
IO0CLR = CLR;
IO0SET = C2;
if(scan(R1))LCDSTR(0x000000CC,"1"); //K2
if(scan(R2))LCDSTR(0x000000CC,"5"); //K6
if(scan(R3))LCDSTR(0x000000CC,"9");
//K10
if(scan(R4))LCDSTR(0x000000CC,"D");
//K14
IO0CLR = CLR; IO0SET = C3;
if(scan(R1))LCDSTR(0x000000CC,"2"); //K3
if(scan(R2))LCDSTR(0x000000CC,"6"); //K7
if(scan(R3))LCDSTR(0x000000CC,"A");
//K11
if(scan(R4))LCDSTR(0x000000CC,"E");
//K15
IO0CLR = CLR;
IO0SET = C4;
if(scan(R1))LCDSTR(0x000000CC,"3"); //K4
if(scan(R2))LCDSTR(0x000000CC,"7"); //K8
if(scan(R3))LCDSTR(0x000000CC,"B");
//K12
if(scan(R4))LCDSTR(0x000000CC,"F");
//K16
}
}
Output:
RESULT:
The program for Matrix Keyboard with ARM7 (LPC2148) processor was executed successfully.
EXP NO: INTERFACING OF STEPPER MOTOR
DATE
AIM:
To write and execute the program for Stepper Motor with ARM7 (LPC2148) processor.
PROCEDURE
1. Create a New project, Go to “Project” and close the current project “Close Project”.
2. Next Go to the Project New μvision Project Create New Project Select Device for Target.
3. Select the data base NXP LPC2148.
4. Add Startup file and Next go to “File” and click “New”.
5. Write a program on the editor window and save as “Main.c”.
6. Add this source file to Group and click on “Build Target” or F7.
7. Create a Hex file from “Project” menu and click on “Rebuild all target Files”.
8. Open Flash magic and select the device LPC2148 in ARM 7 category, COM port will be COM
3, baud rate 9600, interface None [ISP], Oscillator frequency 12.0 MHz and click on erase of flash
code Rd plot.
9. Next browse the path of hex file and select the file.
10. After selecting ISP mode on the Hardware Kit and click on start then device will start to
program
11. Finally can be see the finished indication and values in SPJ Terminal and Reset the
device into running mode.
STEPPER MOTOR: (FORWARD ROTATION)
CIRCUIT DIAGRAM:
P R O G RA M:
#include <lpc214x.h>
#include <delay.h>
int main()
{ IODIR0=(1<<16)|(1<<17)|(1<<18)|(1<<19
);
while(1)
{
//FORWARD DIRECTION
IOCLR0=(1<<16);
IOCLR0=(1<<17);
IOSET0=(1<<18);
IOSET0=(1<<19);
delay_ms(10);
IOCLR0=(1<<16);
IOSET0=(1<<17);
IOSET0=(1<<18);
IOCLR0=(1<<19);
delay_ms(10);
IOSET0=(1<<16);
IOSET0=(1<<17);
IOCLR0=(1<<18);
IOCLR0=(1<<19);
delay_ms(10);
IOSET0=(1<<16);
IOCLR0=(1<<17);
IOCLR0=(1<<18);
IOSET0=(1<<19);
delay_ms(10);
}
}
STEPPER MOTOR: (REVERSE ROTATION)
CIRCUIT DIAGRAM:
PROGRAM:
#include <lpc214x.h>
#include <delay.h>
int main()
{ IODIR0=(1<<16)|(1<<17)|(1<<18)|(1<<19
);
while(1)
{
//REVERSE DIRECTION
IOSET0=(1<<16);
IOCLR0=(1<<17);
IOCLR0=(1<<18);
IOSET0=(1<<19);
delay_ms(10);
IOSET0=(1<<16);
IOSET0=(1<<17);
IOCLR0=(1<<18);
IOCLR0=(1<<19);
delay_ms(10);
IOCLR0=(1<<16);
IOSET0=(1<<17);
IOSET0=(1<<18);
IOCLR0=(1<<19);
delay_ms(10);
IOCLR0=(1<<16);
IOCLR0=(1<<17);
IOSET0=(1<<18);
IOSET0=(1<<19);
delay_ms(10);
}
}
RESULT:
The program for Stepper Motor with ARM7 (LPC2148) processor was executed successfully.
Miniprojects for IOT:
1. Garbage Segregator and Bin Level Indicator
2. Colour based Product Sorting
3. Image Processing based Fire Detection
4. Vehicle Number Plate Detection
5. Smart Lock System
Objective:
Team constitution:
A team size may be from 3 to 4 students.
Guidelines:
2. Student must buy their own hardware setup for doing Miniprojects.
3. If they are utilizing the college resource, they should get approval from HoD.
IDEA:
With progress in human technology we have seen a substantial progress in the amount of waste
generated. Recycling is the only way to manage this huge amount of waste. But recycling requires
garbage to be segregated. Without segregation garbage cannot be recycled because different type
of garbage requires different recycling processes.
Also It is important to educate users and instruct them every time they come near the dustbin
about instructions about throwing the trash. For this purpose we design a garbage disposal system
that uses multiple dustbins with a voice based system that speaks to the user each time he she
stands before the dustbin.
The system makes use of a camera to detect presence if any person in front of the dustbin. If a
person is detected, the system issues voice instructions to the user about throwing right garbage in
the right bin. In case the dustbin is full it instructs the user to find another dustbin to throw
garbage in.
To develop this system we make use of a raspberry Pi controller. The controller is interfaced with
a camera and a voice speaker for detection and communication. The controller gets dustbin level
input using ultrasonic level sensors each having LED indicators interfaced to it. The level sensors
are used to constantly feed the raspberry pi with bin levels.
The raspberry pi is also interfaced with a Wifi module to transmit the level data over the internet.
The Level sensor panels are made to be easily mounted over any dustbin. This allows the system
to be easily screwed over any dustbin for instant installation.
The data is transmitted over IOT to IOT gecko platform which displays the bin level data over
internet. This indication can be used to alert the authorities that the garbage bins need to be
emptied. Thus the system automates garbage segregation and level monitoring to help counter the
garbage crisis using IOT.
Note: The Dustbins are not included in this kit. The sensors can be mounted over any open
dustbins.
Components
Raspberry Pi
Wifi Module
Ultrasonic Level Sensors
LED Indicators
Camera
Speaker
Wiring
Supporting Frame
Resistors
Capacitors
Diodes
IC‟s
Transistors
Connectors
PCB
Colour based Product Sorting
IDEA:
Color Based Object Sorting has a wide usage in fruit sorting as well as candy sorting industries.
This system puts forward a mechanism to detect color and sort items through ima ge processing.
Once identified a mechanism is used to sort the candies into particular bins baskets. We here
demonstrate this mechanism using a camera with electronic circuitry along with sorting
mechanism using 3 bins. The system uses raspberry pi connected to a controller circuit to achieve
this task. The controller circuit consists of a camera attached to it that detects color of a sma ll
object in front of it. A motor is used to feed an object to the camera chamber. As soon is the color
is detected a signal is sent to the sorter mechanism which uses a motor to position the sorting tube
towards respective section. A feeder is then used to push the object towards the tubs so that it gets
sorted and next object is pulled in by the feeder. The action details are sent to the IOT server using
iotgecko platform to keep track of the number of objects sorted in each section. Thus, we achieve
a completely automated IOT based sorting system.
Hardware Specifications
Raspberry Pi 3
Camera
Servo Motor
LCD Display
Resistors
Capacitors
Transistors
Diodes
LED
Transformer/Adapter
Push Buttons
Switch
IC
IC Sockets
Connector Shaft
Bed Frame
Tubes
Supporting Frame
Software Specifications
Programming Language:
Python
IOTGecko
BLOCK DIAGRAM:
Image Processing based Fire Detection
IDEA:
The main advantage of Image Processing Based Fire Detection System is the early
warning benefit. This system can be installed just about anywhere in a commercial
building, malls and at many more public places for fire detection. This system uses camera
for detecting fires. So we do not need any other sensors to detect fire. System processes the
camera input and then processor processes it to detect fires. The heat signatures and fire
illumination patterns are detected in images to determine if it is a fire and take action
accordingly. On detecting fire system goes into emergency mode and sounds an alarm.
Also displays the status on the LCD display informing about the system.
Hardware Specifications
Raspberry Pi 3
Camera
Buzzer
LCD Display
Resistors
Capacitors
Transistors
Diodes
LED
Transformer/Adapter
Push Buttons
Switch
IC
IC Sockets
Software Specifications
Linux
BLOCK DIAGRAM:
IDEA:
SMART LOCKSYSTEM
IDEA:
From connected cars to connected wearables to home security, the Internet of Things is rapidly marking
its presence in every field. Now we have IoT enabled home automation and security devices that can
be controlled from anywhere in the world using the Internet of Things. There are many kinds of Wi-Fi
door lock available in the market which makes your home more secure and saves time in finding the
keys. Here we are also building a similar Wi-Fi door lock which can be controlled from the Smartphone
So in this project, we are going to make an IOT based Door Lock System using NodeMCU,
Solenoid Lock, and Adafruit IO. Here NodeMCU will act as the main controller and connect the
user to the door lock system using the Internet. This allows the user to lock/unlock his Home‟s
door lock by using a smartphone from anywhere in the world.
Components Required
NodeMCU ESP8266
Reference:
https://www.researchgate.net/publication/367087623_Smart_Door_Locking_System_Using_IoT
CONTENT BEYOND THE SYLLABUS
EXP NO: INTERFACING TEMPERATURE SENSOR
DATE
Aim
To write C Programs for running stepper motor either in clock-wise or
counterclockwise and the direction of the rotation of the stepper motor depends on the
variation in the temperature sensor.
Temperature Sensor
The temperature sensor that is used here is LM35. The LM35 series are precision
integrated-circuit temperature sensors, whose output voltage is linearly proportional to the
Celsius (Centigrade) temperature. The LM35 thus has an advantage over linear
temperature sensors calibrated in ° Kelvin, as the user is not required to subtract a large
constant voltage from its output to obtain convenient Centigrade scaling. The LM35 does
not require any external calibration.
Procedure
• Follow the steps 1 of How to create a New project
• Type the below code and save it with the name temp.c (anyname.c)
• Follow the steps 2 and 3 of How to create a New Project to compile and build the
program
{
PINSEL1_bit.P0_28=1;
init(); uart_inital(); adc();
PINSEL1=0X01000000; //ADC0.1
while(1)
{
while(AD0DR_bit.DONE==0); // Start A/D Conversion
val=AD0DR1_bit.RESULT; volt=val/3.07;
• Now connect/interface the stepper motor at the motor port available in the VSK - 2148
Board with proper polarity.
• Now check the jumpers J4 and J6. Jumper J4 has to be left opened whereas jumper J6
has to be closed.
• Now change the Mode-Selection-Switch to EXEC position and reset the board.
• Open Win X- Talk and select the COM port and the desired baud rate as 9600.
• Heat the temperature sensor to view the variation in the temperature change the jumper
setting close the J6 and open the J4 jumper.
OUTPUT:
TEMPERARURE SNESOR:
Result:
Thus the interfacing of and temperature sensor has been executed and output is
verified.
EXP NO:
A/D INTERFACE WITH 8051
DATE
AIM:
To write an assembly language program for interfacing of ADC with 8051.
ALGORITHM: -
Make CS=0
STOP
PROGRAM:
Jumper Details:-
From switch CH3
B B
Software A CH0 A
SOC C ALE C CH
From latch
Box
RESULT: