SlideShare a Scribd company logo
Library Book Locator
LIBRARY BOOK
LOCATOR
We all might have
experienced some
difficulty in locating a
specific book in a
library. This project
aims to develop a
system used to locate
a particular book in a
library with the help
of a PC.
Library Book Locator
Library Book Locator
Library Book Locator
Library Book Locator
Library Book Locator
 ORG 0000H
 MOV TMOD,#20H ; Timer 1 in mode 2 “8 bit auto reload”
 MOV TH1,#-3 ; Set baud rate as 9600
 MOV SCON,#50H ; Mode 1, Receive Enable=1
 SETB TR1 ; Start timer 1
 HERE:JNB RI,HERE ; Waiting for data to reach SBUF register
 MOV A,SBUF ; Moving the data received to the acc
 MOV P1,A ; Moving the data to Port 1
 CLR RI ; Receive Interrupt Flag = 0

 SJMP HERE ; Infinite loop
 END
 • RS232 is not compatible to TTL. For this
reason, to connect any RS232 to a
microcontroller system, we must use “Voltage
Converters” such as MAX232 to convert the
 TTL logic levels to the RS232 voltage levels,
and vice versa.
 • MAX232 IC chips is referred to as “Line
Driver”.
 The parallel data obtained from the
Microcontroller AT 89C51 Ports is transferred
to the encoder IC HT12E
 The HT12E encoder converts this parallel data
into serial data which is then transmitted via
the ASK transmitter.
Library Book Locator
Library Book Locator
 ASK Receiver module receives the data
transmitted by the ASK Transmitter and
transfers this serial data to the HT12D decoder
IC.
 HT12D decoder IC converts the serial data into
4 bit parallel data.
 This 4 bit parallel data is further fed into a 4:16
decoder IC CD 4514 to get 16 parallel outputs.
Library Book Locator
Library Book Locator
 Private Declare Sub Sleep Lib "kernel32" (ByVal dw Milliseconds
As Long)
 ' Form load code
Private Sub FormLoad()
MSComm1.Settings = "9600,N,8,1" „ Operation at 9600 baud
MSComm1.CommPort = 1 ‟ Change to the available
comm port on your PC
MSComm1.PortOpen = True „ Opens communication port
End Sub
 ' Used for the "pause"
Public Sub Pause(milli As Long)
Sleep (milli)
End Sub
 ' Button 1 code. Sends synch byte of 170, a receiver address of "0", then turns OFF all
outputs on receiver.
Private Sub Command1_Click()
For I = 1 To 4 ' Loop 4 times
MSComm1.Output = Chr$(170) & Chr$(0) & Chr$(0)
Pause 250 ' Pause 250mS
Next I
End Sub
.
.
.
 ' Button 16 code. Sends synch byte of 170, a receiver address of "0", then turns ON output
all outputs on receiver.
Private Sub Command16_Click()
For I = 1 To 4 ' Loop 4 times
MSComm1.Output = Chr$(170) & Chr$(0) & Chr$(15)
Pause 250 ' Pause 250mS
Next I
End Sub
Private Sub Command17_Click()
If MSComm2.PortOpen = True Then MSComm2.PortOpen = False
End If
End
End Sub
Library Book Locator
Library Book Locator

More Related Content

PDF
Microcontrollers iii
Teame Hadush
 
PPTX
Serial communication
Vikas Dongre
 
PPTX
Serial communication in LPC2148
sravannunna24
 
PPTX
Sereial com. ppt
gaurav5345
 
PDF
Llpc2148 sci
anishgoel
 
PDF
Fun and Easy UART - How the UART Protocol Works
Ritesh Kanjee
 
PPTX
8051 serial communication1
vijaydeepakg
 
PDF
Simulasi vlan
indra Daboink
 
Microcontrollers iii
Teame Hadush
 
Serial communication
Vikas Dongre
 
Serial communication in LPC2148
sravannunna24
 
Sereial com. ppt
gaurav5345
 
Llpc2148 sci
anishgoel
 
Fun and Easy UART - How the UART Protocol Works
Ritesh Kanjee
 
8051 serial communication1
vijaydeepakg
 
Simulasi vlan
indra Daboink
 

What's hot (20)

PPTX
Pll in lpc2148
Aarav Soni
 
PPTX
Spi in arm7(lpc2148)
Aarav Soni
 
PPTX
Serial Peripheral Interface
Anurag Tomar
 
PPT
Spi master core verification
Maulik Suthar
 
PDF
SPI Protocol
Anurag Tomar
 
PPTX
Timer counter in arm7(lpc2148)
Aarav Soni
 
DOCX
Uart
cs1090211
 
PDF
Network Attack Counter
KHNOG
 
PPTX
Micro c lab8(serial communication)
Mashood
 
PDF
SPI Protocol in LPC2148
Dnyanesh P. Joshi
 
PDF
Lab3
siegfried234
 
PPTX
FPGA implementation of synchronous and asynchronous counter and simulation of...
ASHIMA GUPTA
 
PDF
Serial1
anishgoel
 
DOC
MEASUREMENT AND DISPLAY OF THE MAINS FREQUENCY USING PIC18F4520/50
Ruthvik Vaila
 
PDF
Eincop Netwax Lab: HSRP (Hot Standby Router Protocol)
Netwax Lab
 
PPT
12 mt06ped019
vijaydeepakg
 
PDF
Eincop Netwax Lab: Lab 1 static route
Netwax Lab
 
PPTX
Uart
Indra Shukla
 
Pll in lpc2148
Aarav Soni
 
Spi in arm7(lpc2148)
Aarav Soni
 
Serial Peripheral Interface
Anurag Tomar
 
Spi master core verification
Maulik Suthar
 
SPI Protocol
Anurag Tomar
 
Timer counter in arm7(lpc2148)
Aarav Soni
 
Uart
cs1090211
 
Network Attack Counter
KHNOG
 
Micro c lab8(serial communication)
Mashood
 
SPI Protocol in LPC2148
Dnyanesh P. Joshi
 
FPGA implementation of synchronous and asynchronous counter and simulation of...
ASHIMA GUPTA
 
Serial1
anishgoel
 
MEASUREMENT AND DISPLAY OF THE MAINS FREQUENCY USING PIC18F4520/50
Ruthvik Vaila
 
Eincop Netwax Lab: HSRP (Hot Standby Router Protocol)
Netwax Lab
 
12 mt06ped019
vijaydeepakg
 
Eincop Netwax Lab: Lab 1 static route
Netwax Lab
 
Ad

Viewers also liked (20)

PPT
1 What Is An Opac (And What Can It Do)
David Kent
 
PDF
5 동적메모리할당
Changwon National University
 
DOCX
Chakras e os cristais
Nit Portal Social
 
DOCX
ANKIT CV
ANKIT AGRAWAL
 
PDF
104資融創新比賽仁愛國小簡報
Jun-Yuan Huang
 
DOCX
Despedida do blog
cenlf
 
PPT
Promotion Planning
Krasheninnikova Lioubov
 
PDF
Soal praktek
serlyyyy
 
PPTX
Engineering as a career
Mridul Bisht
 
PPT
Atresia esofágica
Sully Rodríguez Castro
 
PDF
Brochure De leerbrief 5 te Amersfoort
Woningadviseurs
 
PPT
System thinking in Management in Brief
Krasheninnikova Lioubov
 
DOC
Irul
citra resna
 
PPTX
How To Use The Opac
guest75798c
 
PDF
Software Engineering - Ch1
Siddharth Ayer
 
PDF
2011 1 administración-de_proyectos_informáticos_tema-04_caceres_meza_jack_daniel
Jack Daniel Cáceres Meza
 
PPTX
Startup JavaScript
Akinari Tsugo
 
PPT
Fractura de cadera
Migue Camposano
 
PDF
Chapter 9 software maintenance
despicable me
 
PPTX
Adjetivos niño
Mar Sánchez-Fortún
 
1 What Is An Opac (And What Can It Do)
David Kent
 
5 동적메모리할당
Changwon National University
 
Chakras e os cristais
Nit Portal Social
 
ANKIT CV
ANKIT AGRAWAL
 
104資融創新比賽仁愛國小簡報
Jun-Yuan Huang
 
Despedida do blog
cenlf
 
Promotion Planning
Krasheninnikova Lioubov
 
Soal praktek
serlyyyy
 
Engineering as a career
Mridul Bisht
 
Atresia esofágica
Sully Rodríguez Castro
 
Brochure De leerbrief 5 te Amersfoort
Woningadviseurs
 
System thinking in Management in Brief
Krasheninnikova Lioubov
 
How To Use The Opac
guest75798c
 
Software Engineering - Ch1
Siddharth Ayer
 
2011 1 administración-de_proyectos_informáticos_tema-04_caceres_meza_jack_daniel
Jack Daniel Cáceres Meza
 
Startup JavaScript
Akinari Tsugo
 
Fractura de cadera
Migue Camposano
 
Chapter 9 software maintenance
despicable me
 
Adjetivos niño
Mar Sánchez-Fortún
 
Ad

Similar to Library Book Locator (20)

PDF
EC8691 - UNIT 5.pdf
SPonmalar1
 
PPTX
The presentation is about USART and serial communication
sinaankhalil
 
PPT
8051 serial communication-UART
Pantech ProLabs India Pvt Ltd
 
PPT
Chapter5 dek3133
Hattori Sidek
 
PPTX
Serial communication in 8051 microcontroller .pptx
tamil arasan
 
PPTX
Peripherals and interfacing
RAMPRAKASHT1
 
PPT
Serial.ppt and it contains all information
shwetasonkar638
 
PDF
CC2500 Wireless Trans-receiver Module
Aarya Technologies
 
PDF
Product catlog
Aarya Technologies
 
PDF
Assembler4
Omar Sanchez
 
PPTX
Serial Communication in 8051
Sudhanshu Janwadkar
 
PDF
8051 serial communication
canh phan
 
PPTX
INTERFACING 8051-MICROCONTROLLER with timer and display
C.Helen Sulochana
 
PPTX
THERMOMETER_963258_DIGITAL THERMOMETER.pptx
sahulipunku2001
 
PPTX
Basic of Firmware & Embedded Software Programming in C
Kapil Thakar
 
PPTX
UNIT 4 & 5 - I nterfacing_Lecture7.pptx
naveen088888
 
PPTX
Serial data transfer
Dinesh Subhuraaj
 
PPTX
UNIT V - INTERFACING MICROCONTROLLER (1).pptx
rdjeyan
 
PPT
AN INTRODUCTION TO SERIAL PORT INTERFACING
Total Project Solutions
 
EC8691 - UNIT 5.pdf
SPonmalar1
 
The presentation is about USART and serial communication
sinaankhalil
 
8051 serial communication-UART
Pantech ProLabs India Pvt Ltd
 
Chapter5 dek3133
Hattori Sidek
 
Serial communication in 8051 microcontroller .pptx
tamil arasan
 
Peripherals and interfacing
RAMPRAKASHT1
 
Serial.ppt and it contains all information
shwetasonkar638
 
CC2500 Wireless Trans-receiver Module
Aarya Technologies
 
Product catlog
Aarya Technologies
 
Assembler4
Omar Sanchez
 
Serial Communication in 8051
Sudhanshu Janwadkar
 
8051 serial communication
canh phan
 
INTERFACING 8051-MICROCONTROLLER with timer and display
C.Helen Sulochana
 
THERMOMETER_963258_DIGITAL THERMOMETER.pptx
sahulipunku2001
 
Basic of Firmware & Embedded Software Programming in C
Kapil Thakar
 
UNIT 4 & 5 - I nterfacing_Lecture7.pptx
naveen088888
 
Serial data transfer
Dinesh Subhuraaj
 
UNIT V - INTERFACING MICROCONTROLLER (1).pptx
rdjeyan
 
AN INTRODUCTION TO SERIAL PORT INTERFACING
Total Project Solutions
 

Recently uploaded (20)

PPTX
13. ANAESTHETICS AND ALCOHOLS.pptx fucking
sriramraja650
 
PPTX
cocomo-220726173706-141e08f0.tyuiuuupptx
DharaniMani4
 
PPTX
原版UMiami毕业证文凭迈阿密大学学费单定制学历在线制作硕士毕业证
jicaaeb0
 
PDF
Portable Veterinary Ultrasound Scanners & Animal Medical Equipment - TcCryo
3447752272
 
PPTX
Operating-Systems-A-Journey ( by information
parthbhanushali307
 
PPT
L1-Intro.ppt nhfjkhghjjnnnmkkjhigtyhhjjj
MdKarimUllahEmon
 
PPTX
办理HFM文凭|购买代特莫尔德音乐学院毕业证文凭100%复刻安全可靠的
1cz3lou8
 
PPTX
PHISHING ATTACKS. _. _.pptx[]
kumarrana7525
 
PPTX
Boolean Algebra-Properties and Theorems.pptx
bhavanavarri5458
 
PPTX
ASP MVC asderfewerwrwerwrefeewwfdewfewfdsfsd
faresslaam82
 
PPTX
Final Draft Presentation for dtaa and direct tax
rajbhanushali3981
 
PPTX
basic_parts-of_computer-1618-754-622.pptx
patelravi16187
 
PDF
INTEL CPU 3RD GEN.pdf variadas de computacion
juancardozzo26
 
PPTX
Boolean Algebra-Properties and Theorems.pptx
bhavanavarri5458
 
PPTX
2.Important-Definihhhhhhtions18 (1).pptx
trishalasharma7
 
PPT
community diagnosis slides show health. ppt
michaelbrucebwana
 
PPTX
Mobile-Device-Management-MDM-Architecture.pptx
pranavnandwanshi99
 
PPTX
atoma.pptxejejejejeejejjeejeejeju3u3u3u3
manthan912009
 
PPT
3 01032017tyuiryhjrhyureyhjkfdhghfrugjhf
DharaniMani4
 
PPTX
G6Q1 WEEK 2 SCIENCE PPT.pptxLVLLLLLLLLLLLLLLLLL
DitaSIdnay
 
13. ANAESTHETICS AND ALCOHOLS.pptx fucking
sriramraja650
 
cocomo-220726173706-141e08f0.tyuiuuupptx
DharaniMani4
 
原版UMiami毕业证文凭迈阿密大学学费单定制学历在线制作硕士毕业证
jicaaeb0
 
Portable Veterinary Ultrasound Scanners & Animal Medical Equipment - TcCryo
3447752272
 
Operating-Systems-A-Journey ( by information
parthbhanushali307
 
L1-Intro.ppt nhfjkhghjjnnnmkkjhigtyhhjjj
MdKarimUllahEmon
 
办理HFM文凭|购买代特莫尔德音乐学院毕业证文凭100%复刻安全可靠的
1cz3lou8
 
PHISHING ATTACKS. _. _.pptx[]
kumarrana7525
 
Boolean Algebra-Properties and Theorems.pptx
bhavanavarri5458
 
ASP MVC asderfewerwrwerwrefeewwfdewfewfdsfsd
faresslaam82
 
Final Draft Presentation for dtaa and direct tax
rajbhanushali3981
 
basic_parts-of_computer-1618-754-622.pptx
patelravi16187
 
INTEL CPU 3RD GEN.pdf variadas de computacion
juancardozzo26
 
Boolean Algebra-Properties and Theorems.pptx
bhavanavarri5458
 
2.Important-Definihhhhhhtions18 (1).pptx
trishalasharma7
 
community diagnosis slides show health. ppt
michaelbrucebwana
 
Mobile-Device-Management-MDM-Architecture.pptx
pranavnandwanshi99
 
atoma.pptxejejejejeejejjeejeejeju3u3u3u3
manthan912009
 
3 01032017tyuiryhjrhyureyhjkfdhghfrugjhf
DharaniMani4
 
G6Q1 WEEK 2 SCIENCE PPT.pptxLVLLLLLLLLLLLLLLLLL
DitaSIdnay
 

Library Book Locator

  • 2. LIBRARY BOOK LOCATOR We all might have experienced some difficulty in locating a specific book in a library. This project aims to develop a system used to locate a particular book in a library with the help of a PC.
  • 8.  ORG 0000H  MOV TMOD,#20H ; Timer 1 in mode 2 “8 bit auto reload”  MOV TH1,#-3 ; Set baud rate as 9600  MOV SCON,#50H ; Mode 1, Receive Enable=1  SETB TR1 ; Start timer 1  HERE:JNB RI,HERE ; Waiting for data to reach SBUF register  MOV A,SBUF ; Moving the data received to the acc  MOV P1,A ; Moving the data to Port 1  CLR RI ; Receive Interrupt Flag = 0   SJMP HERE ; Infinite loop  END
  • 9.  • RS232 is not compatible to TTL. For this reason, to connect any RS232 to a microcontroller system, we must use “Voltage Converters” such as MAX232 to convert the  TTL logic levels to the RS232 voltage levels, and vice versa.  • MAX232 IC chips is referred to as “Line Driver”.
  • 10.  The parallel data obtained from the Microcontroller AT 89C51 Ports is transferred to the encoder IC HT12E  The HT12E encoder converts this parallel data into serial data which is then transmitted via the ASK transmitter.
  • 13.  ASK Receiver module receives the data transmitted by the ASK Transmitter and transfers this serial data to the HT12D decoder IC.  HT12D decoder IC converts the serial data into 4 bit parallel data.  This 4 bit parallel data is further fed into a 4:16 decoder IC CD 4514 to get 16 parallel outputs.
  • 16.  Private Declare Sub Sleep Lib "kernel32" (ByVal dw Milliseconds As Long)  ' Form load code Private Sub FormLoad() MSComm1.Settings = "9600,N,8,1" „ Operation at 9600 baud MSComm1.CommPort = 1 ‟ Change to the available comm port on your PC MSComm1.PortOpen = True „ Opens communication port End Sub  ' Used for the "pause" Public Sub Pause(milli As Long) Sleep (milli) End Sub
  • 17.  ' Button 1 code. Sends synch byte of 170, a receiver address of "0", then turns OFF all outputs on receiver. Private Sub Command1_Click() For I = 1 To 4 ' Loop 4 times MSComm1.Output = Chr$(170) & Chr$(0) & Chr$(0) Pause 250 ' Pause 250mS Next I End Sub . . .  ' Button 16 code. Sends synch byte of 170, a receiver address of "0", then turns ON output all outputs on receiver. Private Sub Command16_Click() For I = 1 To 4 ' Loop 4 times MSComm1.Output = Chr$(170) & Chr$(0) & Chr$(15) Pause 250 ' Pause 250mS Next I End Sub
  • 18. Private Sub Command17_Click() If MSComm2.PortOpen = True Then MSComm2.PortOpen = False End If End End Sub