PIC16F72/73 Microcontroller
ABSTRACT
The Radio Frequency Module is basically a PIC Microcontroller Based Wireless
Communication System. Wireless RF Module Technology enables a vast edge to any
electronics project & provide many consistent advantages, which leads it to todays
up-to-date technology. An RF module is a small electronic circuit used to transmit,
receive, or transceive a radio waves on one of a number of carrier frequencies. RF
modules are widely used in consumer applications such as garage door openers,
wireless alarm systems, industrial remote controls, smart sensor applications and
wireless home automation systems. They are often used instead of infrared remote
controls as they have the advantage of not requiring line-of-sight operation.
Radio Frequency involves two sub units Named, Transmitter & Receiver. As their
name implies transmitter is used to transmit or to send the data from input & it
convert into serial port data by using HT12E encoder. This encoded data get received by receiver placing far away from it. The first job that a receiver do after
receiving it, Is to convert or decode the data into parallel ports by using HT12D decoder. After converting the data into parallel form we simply connect the receiver
side circuit with relay so that we can operate AC devices (e.g. Bulb, Tube, Fan etc.)
with RF Module.
And, About The Matter Technology that I have used is PIC16F73. The Technology
of Any Project is Considered as The Heart as well as The Mind To It. The Biggest
Concern To Any Student Or Trainee Remains That The Technology Hes Going Learn
Must Be Up-to-Date and Must to be In Industrys Interest. So, Thats Why Ive Chosen
PIC Series Of Microcontrollers. They are Cost Effective, Provide Wide Availability,
large user base, extensive collection of application notes, availability of low cost
or free development tools, and serial programming (and re-programming with
flash memory) capability.
The very first thing that concern to any electronics engineering student before
choosing the project is its Applications. That means How much innovative the project is ? And How We can make it more innovative & also make it up-to-date so that
it can extend to the bigger Applications of this age of Smart & Vast life.? And, Also
Its Applications must be cost effective so that everyone can use it without any
economical hesitation. There are numerous applications of wireless RF module. As,
Todays one of the vast & leading technology Named RFID is based on this principle
of RF module. The wireless mouse also work on the same principle. And, beyond
them Industrial Automation, Custom Wireless Remote Controls like wireless x-ray
systems & Long-Range Wireless Switch System (Hand-Held), Machine To Machine
(M2M) RF Wireless Networking, Robot Control , Weather Monitoring System &
Identifying Objects Using RF Transmitters And Receivers and Retrieving Data Using
GSM etc. could be considered as Its Future prospects to work on. This is Indeed a
great Project to work on.!
ii
Acknowledgement
It would be inappropriate to call this report complete and successful, If I dont
thank the people who guided as in the preparation of this project. The submission of this project report gives me an opportunity to convey my gratitude to all
those who have helped me to reach stage from where I have immense confidence to
launch my career in the competitive world of electronics engineering.
First and foremost, I would like to acknowledge my hearty thanks to the respected
Mr. |------------|, HOD (ECE) for being a source of perpetual inspiration and for
providing me such a nice environment for training with timely help.
I would also like to express my most sincere gratitude and indebtedness to my
guide Mr. |-------------| for their valuable help during the development of this
project. Without his priceless suggestion and timely help I would not be able to
complete this project. He has been a source of perpetual inspiration to me, towards
a bright career. Not to forget the pain staking efforts of my college training and
placement cell. Last but not the least I would express my utmost regards for the
electronics and communication department of my Institute.
ABHISHEK SHARMA
B-TECH.
ECE - 4TH SEM.
Contact Me
iii
Tables
Fig: 6.6.2
27
Fig: 9.3
Frequencies Table Of RF
39
Figures
Fig: 4.1.1
Types Of OrCAD
Fig: 4.3.1
A Still Of MikroC
12
Fig: 5.3.4
16
Fig: 5.4.2
18
Fig: 5.5.3
20
Fig: 6.0
iv
21
Fig: 6.6
Fig: 6.8
28
Fig: 6.9.1
29
Fig: 9.3.1
RF Frequency Spectrum
40
Fig: 9.5
40
Fig: 9.5.1
Transmitter/Receiver Explained
41
Fig: 9.8
RF Module
45
Fig: 9.9.1
46
Fig: 9.9.2
Fig: 9.10
Flowchart Of RF Module
47
48
Fig: 11.1.1
Fig: 11.2.4
RFID
Wireless RF Based Mouse
51
53
Fig: 11.5
55
Fig: 11.6
56
24
Table Of Content
Title
Chapter No.
Title Page
Abstract
ii
Acknowledgement
iii
iv
Introduction
1.
Page No.
1.1
What is Wireless.?
1.2
1.3
Examples Of Wireless
Devices
Radio Frequency
1.4
What is RF Module ?
2
2
1.5
1.6
RF Modules Performance
Scope of Wireless RF Module
2
3
2.
Features Of RF Module
3.
3.1
3.2
3.3
3.4
4.
Input Requirement
Output Requirement
Software Requirement
Hardware Requirement
Tools To be Used
4.1
4.2
OrCAD
4.1.1
PCB Designing
4.1.2
Layout Plus
4.1.3
Capture CIS
PIC Burner
5
5
6
6
7
8
8
9
9
10
4.3
MikroC
11
4.4
13
5.
PCB Designing
5.1
5.2
5.3
5.4
5.5
6.
Types Of PCB
Function Of PCB
Techniques Used
OrCAD Design Environment
Placement Of Layout Plus
21
Introduction
Special Microcontroller
Features
Peripheral Features
CMOS Technology
Data Space (RAM)
PIN Diagram
PIN Description
Feature Table
Memory Orgenization
Core Architecture
USART
22
6.3
6.4
6.5
6.6
6.6.1
6.6.2
7.
Project Planning
7.1 Project Planning & Scheduling
8.
14
14
15
17
19
Technology To be Used
6.1
6.2
6.7
6.8
6.9
14
Requirement Analysis
8.1
22
23
23
23
24
25
27
27
28
29
30
30
31
Components
PCB
Capacitor
L.E.D
L.C.D
Relay
Resistor
BX433A
ULN280 1A
Battery
HT12E/ Encoder
HT12D/ Decoder
PIC16F73
32
32
32
33
33
34
34
35
35
35
36
36
37
9.
Working Of RF Module
9.1
9.2
9.3
9.4
9.5
9.6
9.7
9.8
9.9
10.
11.
Applications Of RF Module
11.1
RFID
11.1.1
Operation Of RFID
11.1.2
Applications Of RFID
11.2
Wireless Mouse
11.2.1
RF Transmitter
11.2.2
RF Receiver
11.2.3
RF Frequency
11.2.4
Advantages
11.3
Industrial Automation
11.4
Custom Wireless Remote Controls
11.4.1
Wireless X-Ray System
11.4.2 Long Range Transmitter
11.5
Machine to Machine Wireless RF
Networking
11.6
Robot Using RF Remote Control
38
38
39
40
40
43
44
45
46
46
47
48
49
49
50
50
50
51
52
52
52
52
53
53
54
54
54
55
56
12.
57
13.
Future Of Project
59
13.1
13.2
13.3
13.4
Identifying Objects
Using RF Technology
Radio Transmitter Design
Two Channels RF Control
Weather Monitoring System
59
59
60
60
14.
Appendix
61
15.
Bibliography
62
1. INTRODUCTION
1.1 What is wireless ?
Page 1
Page 2
Page 3
Vehicle Monitoring
Remote Control
Telemetry
Small-Range wireless network
Wireless meter reading
Access control systems
Wireless home security systems
Area paging
Industrial data acquisition system
Radio tags reading
RF contact less smart cards
Wireless data terminals
Wireless fire protection systems
Biological signal acquisition
Hydrological and meteorological monitoring
Robot remote control
Wireless data transmissions
Digital video/audio transmission
Digital home automation, such as remote light
Industrial remote control and remote sensing
Remote control for household appliances and
Electronics projects
Mobile web server for elderly people monitoring
2.
FEATURES Of RF MoDULE
There are several features of wireless RF Module:
Page 4
Interference Immunity
Low Power Required
Receiver Sensitivity
RF Basics
Wireless Data Communication
Wireless Transceiver Modules
Reliable
Power Efficient
Long Range Communication
3KHz - 300GHz of Range
Cost Effective
Small size (QLP 4x4 mm package)
True single chip UHF RF transmitter
Frequency bands: 300-348 MHz,
400-464MHz and 800-928 MHz
Programmable data rate up to 500kBaud
Low current consumption
Programmable output power up to
+10dBm for all supported frequencies
Programmable baseband modulator
Ideal for multi-channel operation
Very few external components:
Completely on-chip frequency
Synthesizer,
no external filters needed
Configurable packet handling hardware
Suitable for frequency hopping systems
due to a fast settling frequency
synthesizer
Optional Forward Error Correction with
interleaving
Many powerful digital features allow a
high-performance RF system to be made
using an inexpensive microcontroller
Efficient SPI interface: All registers can
be programmed with one burst
transfer
Integrated analog temperature sensor
Support for asynchronous transparent
transmit mode for backwards
compatibility with existing radio
communication protocols
Page 5
Page 6
Development
OrCAD is a proprietary software tool suite used primarily for electronic design automation.
The software is used mainly by electronic design engineers and electronic technicians to
create electronic schematics and electronic prints for manufacturing printed circuit boards.
The name OrCAD is a portmanteau, reflecting the company and its software's origins:
Oregon + CAD
Page 7
4.1 OrCAD
The Cadence OrCAD product line provides affordable, high-performance PCB design
tools that boost productivity for smaller design teams and individual PCB designers.
OrCad has a long history of providing individuals and teams with a complete set
of technologies that offer unprecedented productivity, seamless tool integration,
and exceptional value. New 10.5 release continues that tradition.
Today's lower cost and yet highly sophisticated electronic design automation
systems have created a unique challenge to nearly every engineering department.
Therefore the use of EDA tools has become increasingly important as product life
cycles have become shorter and shorter.
Modern electronic design automation (EDA) tools are beginning to support a
more efficient and integrated approach to electronic. OrCad Capture design
entry is the most widely used schematic entry system in electronic design today
for one simple reason: fast and universal design entry. Whether you're designing a
new analog circuit, revising schematic diagram for an existing PCB, or designing a
digital block diagram with an HDL module, OrCad Capture provides simple schematic commands you need to enter, modify and verify the design for PCB. OrCad
Layout offers PCB designers and PCB design teams the power and flexibility to
create and share PCB data and constraints across the design flow. OrCad Layout
delivers all the capabilities to designers need from netlist to place and route, to
final output.
Page 8
Features
Offers a proven, scalable, easy-to-use PCB editing and routing solution that grows
as needed
Tight, front-to-back application integration increases productivity and ensures data
integrity
A comprehensive feature set and a seamless PCB design environment delivers a
complete solution to take a design from concept to production
Page 9
CIS allows designers to search, identify, and populate the design with preferred
parts. With easy access to company component databases and part information,
designers can reduce the amount of time spent researching needed parts.
Features
Boosts schematic editing efficiency of complex designs through hierarchical and
Variant design capabilities.
Integrates with a robust CIS that promotes the use of preferred, current parts to
Accelerate the design process and reduce project costs.
Provides access to more than two million parts with Cadence Active Parts,
Offering greater flexibility when choosing design components.
Features
Linux and Windows XP/Vista/7 support
Parallel port hardware support
Program memory and configuration memory read/write/verify
Data memory read/write/verify
Reads and writes multiple hex file formats (inhx32, inhx16, inhx8m)
Input file format auto detection
Good documentation
Page 10