Professional Documents
Culture Documents
Smart Street Lighting Project
Smart Street Lighting Project
3.1
In this project the list of hardware components used are given below:
GSM Module.
Solar Panel.
IR Sensor
Rain Sensor
Battery.
PC817 Opto-Coupler.
3.1.1 Microcontroller
This section provides an introduction to most common word in the embedded
system microcontroller. It is written to familiarize you with microcontroller
terminology and basic microcontroller architecture.
The main consequence of the microcontrollers small size is that its resources are far
more limited than those of a desktop personal computer. In functional terms, a
microcontroller is a programmable single chip which controls a process or system.
Microcontrollers are typically used as embedded controllers where they control part
of a
very
a computer peripheral.
Microcontrollers are designed to be low cost solutions; therefore using them
can drastically reduce part and design costs for a project. Physically, a microcontroller
is an integrated circuit with pins along each side. The pins presented by a
microcontroller are used for power, ground, oscillator, I/O ports, interrupt request
signals, reset and control. In contrast, the pins exposed by a microprocessor are most
often memory bus signals (rather than I/O ports).
PIC18F452 Microcontroller
Microchip manufacture a series of microcontrollers called PIC (Peripheral
interface controller). There are many different flavours available, some basic low
memory types, going right up through to ones that have Analogue - To - Digital
converters and even PWM built in. A PIC microcontroller is a processor with built in
memory and RAM and you can use it to control your projects (or build projects
around it). So it saves you building a circuit that has separate external RAM, ROM
and peripheral chips. In this project PIC18F452 microcontroller is used and its
specifications are below.
Specification
Data Bus Width:
8 bit
40-Pin DIP
10
Flash
32 kB
1536 B
256 B
EEPROM
Number of I/Os:
34 I/O
2 V to 5.5 V
-40 to 125
+ 125 C
3.1.2 GSM
A GSM modem is a specialized type of modem which accepts a SIM card, and
operates over a subscription to a mobile operator, just like a mobile phone. From the
mobile operator perspective, a GSM modem looks just like a mobile phone.
GSM SIM900
SIM900D is a quad-band GSM/GPRS engine that works on frequencies GSM
850MHz, EGSM 900MHz, DCS 1800MHz and PCS 1900MHz. SIM900D features
GPRS multi-slot class 10/ class 8 (optional) and supports the GPRS coding schemes
CS-1, CS-2, CS-3 and CS-4.
Features
Inbuilt Powerful TCP/IP protocol stack for internet data transfer over GPRS.
Specifications
Dimensions: 24*24*3mm
Weight: 3.4g
15 to 16 volts
16.5 to 17 volts
17 to 20 volts
We usually use the panels with 36 cells for basic 12 volt lead acid battery
charging. One of the great advantages of building a solar panel is that they can be
built to exactly the voltage and current needed for the project by adjusting the type
and number of cells.
In the solar panel we are simply concerned about what we call watt. The
wattage is simply the open circuited voltage multiplied by the short circuited current.
Panel designers use this figure to rate the components used in the panel and peripheral
components.
For instance, if a panel delivers about 20 volts open circuit and 3.5 amps short
circuit current, the wattage can be 70 watts. Therefore, the system components must
be able to handle the 75 watts at 3.5A and 20V.
Display Construction
20 characters*4Lines
-0.3V to +7 V
Operating Temperature TA
0oC to +60oC
8 bit Parallel
Backlight
LED 5.0VDC
Light dependent resistor as the name suggests depends on light for the
variation of resistance. They are also called as photo conductors, photo conductive
cells or simply photocells. They are made up of semiconductor materials having high
resistance. A light dependent resistor works on the principle of photo conductivity.
Photo conductivity is an optical phenomenon in which the materials conductivity
(hence resistivity) reduces when light is absorbed by the material.
The device consists of a pair of metal film contacts separated by a snakelike
track of cadmium sulphide film, designed to provide the maximum possible contact
area with the two metal films. The structure is housed in a clear plastic or resin case,
to provide free access to external light. Practical LDRs are available in variety of sizes
and packages styles, the most popular size having a face diameter of roughly 10mm.
Practical LDR and its symbol is shown in below figure.
Recovery rate:
When an LDR is brought from a certain illuminating level into total darkness,
the resistance does not increase immediately to the dark value. When light is incident
on a photocell it usually takes about 8 to 12ms for the change in resistance to take
place, while it takes seconds for the resistance to rise back again to its initial value
after removal of light. This phenomenon is called as resistance recovery rate.
The recovery rate is specified in k ohm/second and for current LDR types it is
more than 200k ohm/second. A LDR may be connected either way round and no
special precautions are required when soldering.
Application:
LDRs have low cost and simple structure. They are often used as light sensors. They
are used when there is a need to detect absences or presences of light like in a camera
light meter. Used in smoke detection, automatic lighting control, burglar alarm
systems and camera (electronic shutter).
3.1.6 IR Sensor
An infrared sensor is an electronic instrument which is used to sense certain
characteristics of its surroundings by either emitting and/or detecting infrared
radiation. Infrared sensors are also capable of measuring the heat being emitted by an
object and detecting motion.
An IR sensor consists of an emitter, detector and associated circuitry. The
circuit required to make an IR sensor consists of two parts; the emitter circuit and the
receiver circuit.
The emitter is simply an IR LED (Light Emitting Diode) and the detector is simply an
IR photodiode which is sensitive to IR light of the same wavelength as that emitted by
the IR LED. When IR light falls on the photodiode, its resistance and correspondingly,
its output voltage, change in proportion to the magnitude of the IR light received. This
is the underlying principle of working of the IR sensor.
3.1.8 Battery
We are using 12v 7AH maintenance free lead acid battery in this project which
is charged by solar energy.
Specifications
Weight: 2.2kg
Maintenance-free
Economical
The high watt-hour per pound value is made possible by the materials used in a sealed
lead-acid battery; they are readily available and low in cost.
Long Service Life
Under normal operating conditions five to six years of dependable service life can be
expected in standby applications or between 200 and 1000 charge/discharge cycles
depending upon depth of discharge.
Rugged Construction
The high-impact resistant battery case is made of non- conductive plastic with
superior resistance to shock, vibration, chemicals, and heat.
Capacity
The capacity of a battery, expressed in ampere-hours (AH), is the total amount of
electrical energy available from a fully charged cell. Its value depends on the
discharge current, the temperature during discharge, the final cut-off voltage, and the
general history of the battery
LM7805
7805 is a voltage regulator integrated circuit. It is a member of 78xx series of
fixed linear voltage regulator ICs. The voltage source in a circuit may have
fluctuations and would not give the fixed voltage output. The voltage regulator IC
maintains the output voltage at a constant value. The xx in 78xx indicates the fixed
output voltage it is designed to provide. 7805 provides +5V regulated power supply.
Capacitors of suitable values can be connected at input and output pins depending
upon the respective voltage levels.
Pin Description:
Pin
Function
Name
Input
Ground (0V)
Ground
Output
No
3.1.10 Optocoupler
10
PC817 Optocoupler
It is a low voltage, high density optocoupler. It is good to use with low voltage
microcontroller system for isolating inputs and outputs voltages.
Specifications:
No of channel: 1
Number of Pins: 4
3.2
Easy PC
11
PIC C Compiler
3.2.1 Easy PC
Easy-PC is packed with timesaving features to make the task of PCB design
and layout so much quicker and more pleasurable. It is simple to learn and
understand. Easy-PC is one of the most developed products. It is highly recommended
for its ease of use. Unlike some PCB design products, all the electrical connection
points in Easy-PC are truly connected. This might not sound that impressive but this
ensures that electrical design integrity is maintained throughout the design process,
from Schematic to PCB design editors. Design is always in-sync. Forward and
backward annotation ensures there are no human errors introduced at any stage. It
creates error free designs. An important feature of Easy-PC is the Design Rule
Check which designers are advised to use when theyve completed the layout, as
they have complete control over spacings such as pad to pad and track to pad etc. The
design rule check is intelligent enough to discover any breaks and so will highlight
any rules that have been broken. Easy-PC is provided with a standard library set and
graphical tools to create them.
Key Features
Easy-to-use
12
3D visualization of board
Star/Delta points
Supports SMT, PTH and mixed technology, and components on both sides of
board
Dimensioning
3.2.2 Compiler
A PIC compiler (or any compiler) is a computer program or set of programs
that transforms source code written in a programming language (the source language)
into another computer language. Source code written in a high level language is
translated into machine code that the microcontroller understands. The most common
reason for converting a source code is to create an executable program.
PIC C Compiler
13
Key Features
C++ style input/output streams with full data formatting to any device or for
strings
The integral one-bit type (Short Int) permits the compiler to generate very
efficient Bit-oriented code
3.3
Summary
14
15