You are on page 1of 122

EMERGENCY COIN OPERATED MOBILE BATTERY CHARGER

CHAPTER 1

PLAN OF WORK

Weekly work

P.V.POLYTECHNIC, S.N.D.T. University, Mumbai-049.

Page | 1

EMERGENCY COIN OPERATED MOBILE BATTERY CHARGER

1.1.

WEEKLY WORK: Project Name selection Literature Survey Problem Definition Block diagram Details of individual block Rough circuit diagram Availability of parts in market Purchasing parts Testing individual Parts Finalizing circuit diagram PCB designing Soldering of parts Testing & troubleshooting each module Complete testing of final circuit Writing individual module of software Final testing of software module Final testing of hardware & software Finishing final project Report preparation

1st week 1st week 1st week 2nd week 3rd to 5th week 6th week 7th week 8th week 8th week 8th week 9th week 9th &10th week 11th week 12th week 13th week 14th &15th week 16th week 17th week 17th &18th week

P.V.POLYTECHNIC, S.N.D.T. University, Mumbai-049.

Page | 2

EMERGENCY COIN OPERATED MOBILE BATTERY CHARGER

Table 1.1. Table for Weekly work

CHAPTER 2

INTRODUCTION

Introduction Functional description Technology used

P.V.POLYTECHNIC, S.N.D.T. University, Mumbai-049.

Page | 3

EMERGENCY COIN OPERATED MOBILE BATTERY CHARGER

2.1 Introduction:
With mobile phones becoming the major source of business/personal communication, the mobile phone business is currently worth billions of dollars, and supports millions of phones. The need to provide a public charging service is essential. Many critics argued that a public mobile phone charging service is not a lucrative business because most users can charge their phones at home, in their office or in their cars. Emergency Coin Operated Mobile Phone Charger is a new business milestone because many are attending business conventions and forgetting their charger at home or in hotel rooms. Students and many that use the public transportation that don't know that their level of their battery is low are prospective customers for coin operated mobile phone charger service. Recommended locations include: Hotels, conference centers, exhibition halls, serviced offices, exchange halls, motels, leisure centers, health clubs, training centers, golf clubs, retail outlets, shopping malls, Internet cafes, universities, colleges, hall of residence, airports, train terminals, etc., so that the mobile phone users can reactivate a low or dead battery by simply plugging in and charging for as low as one rupees.

2.2 Functional description:

P.V.POLYTECHNIC, S.N.D.T. University, Mumbai-049.

Page | 4

EMERGENCY COIN OPERATED MOBILE BATTERY CHARGER

The coin operated public cell phone charger is a cell phone charging station having four charging channels providing charging facility to various type of cell phones. The number of channels can be increased further. Each channel can be operated simultaneously. Each and every channel is having a select switch, which can be called as channel select switch with a red LED as an indicator for selected channel. Also there is a START switch and a COIN inlet which is common for all the channels. The operation of coin operated chargers is very simple. The user who wishes to charge his cell phone has to first check out for the compatible charger jack in a channel. Then he has to press select switch in order to make channel ready for charging, the selected channel will be indicated by a red LED. The channel will remain in selected mode for 30 sec. Hence within 30 sec the user has to first insert the predefined rupee coin and then has to press START switch which will finally start the charging process for a predefined time and is indicated by a green LED. If failing to do so within 1 min. will reset the channel and the user has to again follow the same procedure. Any other channel selection is not considered within 30 sec of previous channel if selected or until it has entered in to charging mode. Completion of charging will be indicated by an OFF green LED.

2.3 Technology Used:


Coin recognition using proximity switch(metal detector) Constant voltage charger

P.V.POLYTECHNIC, S.N.D.T. University, Mumbai-049.

Page | 5

EMERGENCY COIN OPERATED MOBILE BATTERY CHARGER

CHAPTER 3

DEVELOPMENT STAGES & PROCESS


P.V.POLYTECHNIC, S.N.D.T. University, Mumbai-049. Page | 6

EMERGENCY COIN OPERATED MOBILE BATTERY CHARGER

Development stages and process of the project

3.1. DEVELOPMENT STAGES & PROCESS:


The complete development of this project can be divided into the following stages:

Problem definition stage; Designing block diagram; Implementing circuits and components; Developing algorithm for software; Writing actual code for Microcontroller; Compiling the code; Burning the hex file into microcontroller with programmer; Testing and Running.

3.1.1 Problem definition stage:


This is the very first stage to develop any project. It actually defines the aim and the concept of the project. At inconvenient times when access to a standard charger isn't possible. The aim of Emergency coin operated mobile charger is designed to solve this problem. The charger operates like a vending machine; all a user has to do is plug the mobile phone into one of the four adapters and insert a coin, the phone will then be given a micro-pulse fast charge in just 10 minutes!

P.V.POLYTECHNIC, S.N.D.T. University, Mumbai-049.

Page | 7

EMERGENCY COIN OPERATED MOBILE BATTERY CHARGER

3.1.2 Designing block diagram:


At this stage we have categorized the whole system into different individual modules. These modules (block diagrams) will be helpful in understanding the concept and working of the integrated system. It also simplifies the entire debugging and testing process.

3.1.3 Implementing circuits and components:


This is the actual implementation of circuit of each block. At this stage we have actually designed each block separately and finally integrated them into the complete working system.

3.1.4 Developing for software:


To get the logical flow of the software, the development of algorithm having a prominent role. So that we have to analyze the complete system and organized the algorithm in such a manner that one can understand the complete working of the software.

3.1.5 Writing actual code for Microcontroller:


After the development of the algorithm and flowchart we have actually translated them in Embedded C language for Phillips p89v51RD2 Microcontroller so that it can understand the instructions and run as per our requirement. The instructions are in ANSII C Language.

3.1.6 Compiling the code:


The hand written code on paper was then transferred into computer. For that we have used Keil pre-install on PC. The Keil is a Computer Aided Program to simulate the working of Microcontroller in real time without burning the software into actual IC. We simulated and compiled our program for error checking. After removing several compiling errors the program was converted into machine language i.e. Philips hex format.

3.1.7 Burning the hex file into microcontroller with Programmer:


In this stage the compiled hex format file was downloaded or burned into flash Phillips p89v51RD2 Microcontroller. This was done by using the Philips insystem programming software provided by the manufacturer itself. P.V.POLYTECHNIC, S.N.D.T. University, Mumbai-049. Page | 8

EMERGENCY COIN OPERATED MOBILE BATTERY CHARGER

3.1.8. Testing and Running:


This time we tested our project for actual working, after loading the Software into the microcontroller. Any errors found were removed successfully. This is the last and final stage of development of our project.

CHAPTER 4

BLOCK DIAGRAM OF THE PROJECT


P.V.POLYTECHNIC, S.N.D.T. University, Mumbai-049. Page | 9

EMERGENCY COIN OPERATED MOBILE BATTERY CHARGER

Block Diagram
Brief Explanation

4.1 Block Diagram:

P.V.POLYTECHNIC, S.N.D.T. University, Mumbai-049.

Page | 10

EMERGENCY COIN OPERATED MOBILE BATTERY CHARGER

Fig 4.1 Block diagram of the project

4.2 Brief Explanation:


P.V.POLYTECHNIC, S.N.D.T. University, Mumbai-049. Page | 11

EMERGENCY COIN OPERATED MOBILE BATTERY CHARGER

4.2.1. POWER SUPPLY: Power supply is used to deliver power to the circuit. It delivers +5Vdc to microcontroller and other peripherals and +12Vdc delivers power to relay. 4.2.2. COIN INPUT AND LEVEL CONVERTOR: Coin input is a sensor which senses a metal and produces an output voltage. This voltage is high as compared to the input required for microcontroller. Hence a level shifter is used to bring down the voltage level which could be readable to microcontroller.

4.2.3. START SWITCH:

Start switch is used to start the charging process of a mobile phone.


4.2.4 .RS232 INTERFACING TO PC:

RS 232 is a protocol used for communication between computer and microcontroller. It is also used for programming the microcontroller in its ISP (in system programming) mode.
4.2.5. CHANNEL READY INDICATOR:

It provides visual indication for the channel which is in charging mode


4.2.6. DARLINGTON PAIR ARRAY:

Darlington pair array is used as a relay driver.


4.2.7. CHANNEL IN CHARGE INDICATION:

It provides visual indication for the channel which is in charging mode.

4.2.8. RELAY ARRAY:

P.V.POLYTECHNIC, S.N.D.T. University, Mumbai-049.

Page | 12

EMERGENCY COIN OPERATED MOBILE BATTERY CHARGER

Relay array consists of relays for each channel to provide electromechanical switching in between charger and mobile phone.
4.2.9. CHARGER ARRAY:

Charger array is used to provide charging power to the mobile phones through the electromechanical switches.
4.2.10. CELL PHONE TO CHARGE:

Channel select switch is used for selecting a channel on which the mobile phone is to be charged.
4.2.11. MICROCONTROLLER:

Microcontroller is used to control the whole operation of the device. Microcontroller reads input signal from input device and triggers the output device. According to the conditions defined in the microcontroller by the programmer.

P.V.POLYTECHNIC, S.N.D.T. University, Mumbai-049.

Page | 13

EMERGENCY COIN OPERATED MOBILE BATTERY CHARGER

CHAPTER 5

CIRCUIT DIAGRAM EXPLANATION

P.V.POLYTECHNIC, S.N.D.T. University, Mumbai-049.

Page | 14

EMERGENCY COIN OPERATED MOBILE BATTERY CHARGER

Circuit diagram Circuit diagram explanation Working

5.1. POWER SUPPLY CIRCUIT:


5.1.1. CIRCUIT DIAGRAM:

P.V.POLYTECHNIC, S.N.D.T. University, Mumbai-049.

Page | 15

EMERGENCY COIN OPERATED MOBILE BATTERY CHARGER

Fig.5.1 Circuit diagram of the power supply

5.1.2. WORKING:
TRANSFORMER Bridge Rectifier Filter Voltage regulator Load

Fig 5.2 Block diagram of the power supply:

Transformer:
A step-down transformer is used to achieve our requirements of the power supply. It steps down high voltage ac mains to low voltage ac mains.

Bridge Rectifier:
A bridge rectifier makes use four diodes in a bridge arrangement to achieve full wave rectification. This is a widely used configuration, both with individual diodes wired and with single component bridges where the diode bridge is wired internally. It also converts ac to dc, but the dc output is varying. One advantage of a bridge rectifier over a conventional full-wave rectifier is that with a given transformer the bridge rectifier produces a voltage output that is nearly twice that of the conventional full-wave circuit.

Filter:
The output of the rectifier is a pulsating dc wave. We need a constant dc output. To do this, we need to filter out the oscillation from the pulsating dc wave. This is obtained with a diode capacitor combination.

Voltage Regulator:
P.V.POLYTECHNIC, S.N.D.T. University, Mumbai-049. Page | 16

EMERGENCY COIN OPERATED MOBILE BATTERY CHARGER

A voltage regulator is used for voltage regulation in the circuit. This provides a protection to the circuits in the case of fluctuations. It eliminates ripples by setting dc output to fixed voltages.

Load:
The load can be anything which wants to switch ON by using power supply.

5.1.3. CIRCUIT DIAGRAM EXPLANATION:


Regulated power supplies are commonly used in engineering projects. Power supply is food of any circuit.

+5V SUPPLY UNIT:


+5V supply is obtained from the +5V supply unit for microcontroller and digital ICs. Initially 230 V AC supply is reduced to (0-9V) with the help of a step down transformer having a capacity of 500mA. Since the input voltage to the regulator IC should be more than its output voltage, transformer secondary voltage is 9V.This low voltage is rectified with the help of bridge rectifier. The ripples are minimized with the help of capacitor filter to get a smooth DC supply. The rating of the chosen capacitor filter is 1000F. The regulated DC voltage is obtained by using a regulator IC 7805. In the case of IC 7805, the unregulated DC voltage is applied to Pin 1, and the output is taken at Pin 3 and Pin 2 is grounded. Another capacitor filter of rating 10F is connected at the output of regulator IC to eliminate the voltage oscillations at the output due to the large voltage oscillations at the input of the regulator. +12V SUPPLY UNIT: The 12 V supply required by the relay is provided by the 12V supply circuit arrangement. Initially 230 V AC supply is reduced to (15V-0-15V) with the help of a step down transformer having a capacity of 1A and the center tap of the transformer is grounded. This low voltage is rectified with the help off bridge rectifier. Since the input voltage to the regulator IC should be more than its output voltage, transformer secondary voltage is 15V-0-15V.The ripples are minimized with P.V.POLYTECHNIC, S.N.D.T. University, Mumbai-049. Page | 17

EMERGENCY COIN OPERATED MOBILE BATTERY CHARGER

the help of capacitor filter to get a smooth DC supply. The rating of the chosen capacitor filter is 1000F. The regulated DC output voltage is obtained by using regulator ICs. For regulated +12V DC supply, IC 7812 is used and for regulated -12V DC supply, IC 7912 is used. In the case of IC 7812 the unregulated DC voltage is applied to Pin 1, and the output is taken at Pin 3 and Pin 2 is grounded. The pair of capacitors of 10F is connected at the output as shown in figure to eliminate the voltage oscillations at the output due to the large voltage oscillations at the input of the regulator.

5.2. CONSTANT VOLTAGE CHARGER:


5.2.1. CIRCUIT DIAGRAM:

Fig 5.3 Circuit diagram of the battery charger

P.V.POLYTECHNIC, S.N.D.T. University, Mumbai-049.

Page | 18

EMERGENCY COIN OPERATED MOBILE BATTERY CHARGER

5.2.2. CIRCUIT DIAGRAM EXPLANATION:


Constant-voltage (often called constant-potential) chargers maintain nearly the same voltage input to the battery throughout the charging process, regardless of the battery's state of charge. Constant-voltage chargers provide a high initial current to the battery because of the greater potential difference between the battery and charger. A constant-voltage charger may return as much as 70% of the previous discharge in the first 30 minutes. This proves useful in many battery applications involving multiple discharge scenarios. As the battery charges its voltage increases quickly. This reduces the potential that has been driving the current, with a corresponding rapid decrease in charge current as depicted in the illustration below. As a result, even though the battery reaches partial charge quickly, obtaining a full charge requires prolonged charging. Given this behavior, constant-voltage chargers are frequently found in applications that normally allow extended charging periods to attain full charge. Constant-voltage chargers should not be used where there is frequent cycling of the battery. Repeated discharges without returning the cell to its full charge will eventually decrease the battery capacity and may damage individual cells.

Fig 5.4.An Illustration graph of the charging function of constant battery charger

P.V.POLYTECHNIC, S.N.D.T. University, Mumbai-049.

Page | 19

EMERGENCY COIN OPERATED MOBILE BATTERY CHARGER

Constant-voltage chargers are most often used in two very different modes: as a fast charger to restore a high percentage of charge in a short time or as a float charger to minimize the effects of overcharge on batteries having infrequent discharges.

5.3. RELAY DRIVER CIRCUIT:


5.3.1. CIRCUIT DIAGRAM:

P.V.POLYTECHNIC, S.N.D.T. University, Mumbai-049.

Fig 5.5 Relay driver circuit

Page | 20

EMERGENCY COIN OPERATED MOBILE BATTERY CHARGER

5.3.2.CIRCUIT DIAGRAM EXPLANATION:


Input from the controller is connected to the relay card through connector J1 which carries input signal for CH1 to CH4 to the base of integrated Darlington pair switch IC U1 pin number 1 to 4 and o/p is taken on the opposite pins i.e. pin 16 to 13. These outputs are connected to one end of the relay coil RL1 to RL4 i.e. pin no.2 of relay and other end of coil i.e. pin no.5 is connected to +12V with A LED (J3, J5, J7, J9) in series as shown in figure.J11 denoted as CHARGER IN carries the charging voltage +V and GND (ground), where +V is commonly applied to pin 1 i.e. COM (common) contact of relay and GND is shorted with pin1 of J4, J6, J8 and J10. Pin no. 2 of J4 is connected to NO(normally open)contact of RL1 i.e. pin no.3,in same way pin 2 of J6 is connected to pin 3 of RL2 , pin 2 of J8 is connected to pin 3 of RL3, pin 2 of J10 is connected to pin 3 of RL4. Pin no. 8 of IC U1 is grounded and pin no.9 which is COM is supplied with +12V. J2 is used to connect power supply to relay card.

5.3.3. WORKING:
While taking Relay1 (RL1) into consideration we will discuss the working of relay card. Initially there is no signal or logic 0 on the pin1 of IC U1, hence the internal transistor of the IC are in cut off region which causes an open circuit so there is no current flow flowing through the relay coil ,hence the relay is inactive. When a high signal or logic 1 is applied to the two pin1 of IC U1 the internal transistor goes in to active region and completes the path i.e. provide ground to the relay coil so the current flows through the LED activating the relay. As the current flows through the relay coil it gets energized and switch over the contacts i.e. common and normally open contact get connected and provide a path to flow current from J11 i.e. charger into the load connected at J4 .hence the cell phone charging process starts. The same above process is applies for all relays. If LED is fused or

damaged the path will be open and relay will not be energized and if relay is damaged the led will not be illuminated. CHARGING ON indicator. P.V.POLYTECHNIC, S.N.D.T. University, Mumbai-049. Page | 21 So the LED here is used as a FAULT indicator and a

EMERGENCY COIN OPERATED MOBILE BATTERY CHARGER

5.4. MICROCONTORLLER CIRCUIT:


5.4.1. CIRCUIT DIAGRAM:

P.V.POLYTECHNIC, S.N.D.T. University, Mumbai-049.

Page | 22

EMERGENCY COIN OPERATED MOBILE BATTERY CHARGER

Fig 5.6 Microcontroller circuit diagram

5.4.2. CIRCUIT DIAGRAM EXPLANATION:

P.V.POLYTECHNIC, S.N.D.T. University, Mumbai-049.

Page | 23

EMERGENCY COIN OPERATED MOBILE BATTERY CHARGER

CHANNEL SELECT SWITCH CH1 to CH4 are connected to port P0.0 to P0.3 with the help of relimate connector denoted as SW1 to SW4, COIN IN signal is connected to port P0.4 through J4 and START switch is connected to port P0.5 through SW5. Anodes of CHANNEL INDICATOR LED L1 to L4 are connected to port P1.0 to P1.3 and cathodes are connected to ground through 470 series resistor R2 to R5. Output for relay card is taken on port P1.4 to P1.7. Components C1, R1 and push button S1 forms reset circuit which provides a power on reset for the micro controller and even provide manual reset. Crystal XL1 is a 11.0592MHz crystal connected to pin 18 and 19 of microcontroller, capacitor C2 and C3 are 22pf capacitor used as loading capacitor for crystal. Port 0 and Port 1 is pulled up using a 4.7K SIP (Single Inline Package) RN1 and RN2 resistance network. IC U3 (4N33) is an OPTO-COUPLER which is used to provide isolation between the proximity switch and microcontroller and convert its output readable to microcontroller. IC U2 i.e. MAX232 and capacitor C6 to C9 forms a circuit used to establish communication between PC and a microcontroller through connector J3. Led L9 and L10 with a series resistor R6 and R7 indicates the ongoing communication process. Where C4 and C5 are used as filter capacitor, terminal block J1is used to facilitate power supply connection.

5.4.3. PORT ASSIGNMENTS FOR 89V51RD2FN:


P.V.POLYTECHNIC, S.N.D.T. University, Mumbai-049. Page | 24

EMERGENCY COIN OPERATED MOBILE BATTERY CHARGER

P0.0 = switch1 for channel 1 P0.1 = switch2 for channel 2 P0.2 = switch3 for channel 3 P0.3 = switch4 for channel 4 P0.4 = switch5 for coin input sensor (proximity switch) P0.5 = switch6 for start charging

P1.0 = channel 1 red LED1 (ready system) P1.1 = channel 2 red LED2 (ready system2) P1.2 = channel 3 red LED3 (ready system3) P1.3 = channel 4 red LED4 (ready system4)

P1.4 = channel 1 relay (start system1) P1.5 = channel 2 relay (start system2) P1.6 = channel 3 relay (start system3) P1.7 = channel 4 relay (start system4)

P.V.POLYTECHNIC, S.N.D.T. University, Mumbai-049.

Page | 25

EMERGENCY COIN OPERATED MOBILE BATTERY CHARGER

CHAPTER 6

LIST OF THE COMPONENTS

List of the components

P.V.POLYTECHNIC, S.N.D.T. University, Mumbai-049.

Page | 26

EMERGENCY COIN OPERATED MOBILE BATTERY CHARGER

6.1 LIST OF THE COMPONETS:


RESISTORS CAPACITORS LIGHT EMITING DIODES (LEDS)- Green, Red RELAYS TRANSFORMERS RECTIFIER BRIDGES (W 10) OSCILLATOR SWITCHES- Push switches DARLINGTON PAIR IC (ULN2003a) SERIES VOLTAGE REGULATER IC (78XX)-7805 & 7812 SERIAL COMMUNICATION DRIVER IC (MAX 232) OPTOCOUPLER IC (4N33) MICROCONTROLLER IC (89V51 RD2) RELIMATE CONNECTOR- 2 pin & 4 pin RS-232 PORT CONNECTOR

P.V.POLYTECHNIC, S.N.D.T. University, Mumbai-049.

Page | 27

EMERGENCY COIN OPERATED MOBILE BATTERY CHARGER

CHAPTER 7

INTRODUCTION OF COMPONENTS

Working of components Features or Uses of components Testing of components


P.V.POLYTECHNIC, S.N.D.T. University, Mumbai-049. Page | 28

EMERGENCY COIN OPERATED MOBILE BATTERY CHARGER

7.1. RESISTOR:
7.1.1. WORKING: Resistors limit current. Resistors are considered to be the most used and the most important component of all the electronic circuits. Resistors "resist" the flow of electrical current. The higher the value of resistance (measured in ohms) the lower the current will be. 7.1.2. TESTING: Read the indicated color code value then select the OHM-scale within but not way below the indicated value. A resistor is good if its resistance is close to the indicated. Tolerance should be considered with the ohmmeter reading. While, no resistance reading at all on the ohmmeter scale settings, the resistor is open. A zero resistance reading on all ohmmeter scale settings, resistor is shorted. 7.1.3. SPECIFICATIONS: To completely specify a resistors characteristics requires knowledge of the following parameters: Value Tolerance Temperature Coefficient Power Rating The specification of a resistor may be marked on its surface using either of two systems of coding. The first of these uses colored bands, known as the colour code, and the second, more recent, system uses a combination of alpha-numeric characters.

7. 2. CAPACITOR:
7.2.1. WORKING:

P.V.POLYTECHNIC, S.N.D.T. University, Mumbai-049.

Page | 29

EMERGENCY COIN OPERATED MOBILE BATTERY CHARGER

When DC voltage is applied to the capacitor, an electric charge is stored on each electrode. While the capacitor is charging up, current flows. The current will stop flowing when the capacitor has fully charged. Capacitors find use in circuits for a variety of purposes. They are used in time delay generation RC circuits. In power supplies for filtering and power supply decoupling, as blocking capacitors, for power factor correction and motor starting, in LC tank circuits and so on. 7.2.2. TESTING: To test a capacitor, set the multi-tester to Rx 10 or Rx1K scale. Connect the tester negative probe to the capacitor positive terminal, the positive probe to the negative terminal. A good indication for electrolytic capacitor shows the meter needle deflecting towards zero and moves back again to infinite resistance position. A defective indication for an electrolytic capacitor shows that the meter will rest on zero and remain stationary at a point which is an indication that the capacitor is shorted.

7.3. LIGHT EMITING DIODE (LED):


7.3.1. WORKING: LED's are special diodes that emit light when connected in a circuit. They are frequently used as "pilot" lights in electronic appliances to indicate whether the circuit is closed or not. A clear (or often colored) epoxy case enclosed the heart of an LED, the semi-conductor chip.
In our project, Green LED are used here for mainly two purpose:

a. Charging ON indication. (when ON) b. Channel fault indication (always OFF)

7.3.2. TESTING: The good and working LED will then light up or glow, a busted LED will not. LEDs must have a resistor in series to limit the current to a safe value, for quick testing purposes a P.V.POLYTECHNIC, S.N.D.T. University, Mumbai-049. Page | 30

EMERGENCY COIN OPERATED MOBILE BATTERY CHARGER

1k

resistor is suitable for most LEDs if your supply voltage is 12V or less. LED cannot be

directly connected to a battery or power supply. It will be destroyed the LED. 7.3.3. FEATURES: Single color High bright output Low power consumption High reliability and long life

7.3.4. Descriptions: Dice material: GaInN

Emitting Color: Super Bright White Device Outline5mm Round Type Lens Type: Water Clear

7.4. RELAY:
7.4.1. WORKING: A relay is an electrically operated switch. Current flowing through the coil of the relay creates a magnetic field which attracts a lever and changes the switch contacts. The coil current can be on or off so relays have two switch positions and most have double throw (changeover) switch contacts Relays are like remote control switches and are used in many applications because of their relative simplicity, long life, and proven high reliability. 7.4.2. USES: The main operation of a relay comes in places where only a low-power signal can be used to control a circuit. It is also used in places where only one signal can be used to control a lot of circuits. P.V.POLYTECHNIC, S.N.D.T. University, Mumbai-049. Page | 31

EMERGENCY COIN OPERATED MOBILE BATTERY CHARGER

The application of relays started during the invention of telephones. They played an important role in switching calls in telephone exchanges. They were also used in long distance telegraphy. They were used to switch the signal coming from one source to another destination. 7.4.3. TESTING: A relay will usually have a coil, pole terminal and a set of contacts. The set of contacts that are open when the relay is not energized are called normally open (N/O) contacts and the set of contacts that are closed when the relay is not energized are called normally closed (N/C) contacts. The following steps can be used to perform the testing of the relay using a multimeter.

Keep the multimeter in the continuity check mode. Check for continuity between the N/C contacts and pole. Check for discontinuity between N/O contacts and the pole. Now energies the relay using the rated voltage. For example use a 9V battery for energizing a 9V relay. The relay will engage with clicking sound.

Now check for continuity between N/O contacts and pole. Also check for discontinuity between N/C contacts and pole. As a final test, measure the resistance of the relay coil using a multimeter and check whether it is matching to the value stated by the manufacturer.

If all the above tests are positive we can conclude that the relay is healthy.

7.5. TRANSFORMER:
7.5.1. WORKING: A transformer is a device that transfers electrical energy from one circuit to another through inductively coupled electrical conductors. A changing current in the first circuit (the primary) creates a changing magnetic field.

P.V.POLYTECHNIC, S.N.D.T. University, Mumbai-049.

Page | 32

EMERGENCY COIN OPERATED MOBILE BATTERY CHARGER

This changing magnetic field induces a changing voltage in the second circuit (the secondary). This effect is called mutual induction. If a load is connected to the secondary circuit, electric charge will flow in the secondary winding of the transformer and transfer energy from the primary circuit to the load. In an ideal transformer, the induced voltage in the secondary winding (VS) is a fraction of the primary voltage (VP) and is given by the ratio of the number of secondary turns to the number of primary turns. By appropriate selection of the numbers of turns, a transformer thus allows an alternating voltage to be stepped up by making NS more than NP or stepped down, by making it less. 7.5.2. TESTING: 1. The ohm meter is the deciding factor, Putting the ohm meter on the lowest scale and then adjusting the knob to verify its reading is an easy step to the reading of the ohm. 2. To check the resistance of the coil, unplug or unsolder the leads of the transformer from its circuit and measure the resistance of each coil. 3. The next step is to test each coil for shorts to other coils.

7.6. RECTIFIER BRIDGE (W 10):


7.6.1. WORKING: A diode bridge rectifier is a device for converting AC, or alternating current electricity into DC, or direct current. AC electricity goes from positive to negative constantly, whereas DC always flows in the same direction. AC electricity is more efficient to transmit and easier to convert into different voltages. However, most appliances need DC current to run. A diode bridge rectifier is the most common type of power supply used to provide this current. In our project W10 is a bridge rectifier, which provides on single semiconductor chip.

P.V.POLYTECHNIC, S.N.D.T. University, Mumbai-049.

Page | 33

EMERGENCY COIN OPERATED MOBILE BATTERY CHARGER

7.7. OSCILLATOR:
7.7.1. Working: An oscillator puts out an endless series of pulses. The output constantly goes from 0 volts to Vcc and back to 0 volts again. Almost all digital circuits have some type of oscillator. This stream of

output pulses is often called a clock. One of the most important features of any oscillator is its frequency stability, or in other words its ability to provide a constant frequency output under varying load conditions. Some of the factors that affect the frequency stability of an oscillator include: temperature, variations in the load and changes in the DC power supply. Frequency stability of the output signal can be improved by the proper selection of the components used for the resonant feedback circuit including the amplifier but there is a limit to the stability that can be obtained from normal LC and RC tank circuits In our project instead of 12MHz crystal 11.0592MHz is used because, it can be divided to give you exact clock rates for most of the common baud rates for the UART, especially for the higher speeds (9600, 19200). These crystals are readily available and commonly used.

7.8. SWITCH:
7.8.1. WORKING: The most familiar form of switch is a manually operated electromechanical device with one or more sets of electrical contacts. Each set of contacts can be in one of two states: either 'closed' meaning the contacts are touching and electricity can flow between them, or 'open', meaning the contacts are separated and the switch is non conducting. The mechanism actuating the transition between these two states (open or closed) can be either a "toggle" (flip switch for continuous "on" or "off") or "momentary" (push-for "on" or push-for "off") type. P.V.POLYTECHNIC, S.N.D.T. University, Mumbai-049. Page | 34

EMERGENCY COIN OPERATED MOBILE BATTERY CHARGER

7.8.2. USES: In electronics, a switch is an electrical component that can break an electrical circuit, interrupting the current or diverting it from one conductor to another. 7.8.3. TESTING: When the switch is ON it looks and acts like a wire. When the switch is OFF there is no connection. Switch can tested by using multimeter in continuity range.

7.9. DARLINGTON PAIR IC (ULN2003a):


7.9.1. WORKING: The Darlington transistor (often called a Darlington pair) is a compound structure consisting of two bipolar transistors (either integrated or separated devices) connected in such a way that the current amplified by the first transistor is amplified further by the second one. This configuration gives a much higher current gain than each transistor taken separately and, in the case of integrated devices, can take less space than two individual transistors because they can use a shared collector. Integrated Darlington pairs come packaged singly in transistor-like packages or as an array of devices (usually eight) in an integrated circuit. The Darlington transistor array used is ULN2003. Applications include relay drivers, hammer drivers, lamp drivers, display drivers (LED and gas discharge), line drivers, and logic buffers. Each input of this device has a zener diode and resistor in series to control the input current to a safe limit. The ULN2003A has a 2.7-k series base resistor for each Darlington pair for operation directly with TTL or 5-V CMOS devices. 7.9.2. FEATURES: The ULN2003 is16 pins DIP monolithic high-voltage, high-current Darlington transistor array. It consists of seven NPN Darlington pairs that feature high-voltage outputs P.V.POLYTECHNIC, S.N.D.T. University, Mumbai-049. Page | 35

EMERGENCY COIN OPERATED MOBILE BATTERY CHARGER

with common-cathode clamp diodes for switching inductive loads. The collector-current rating of a single Darlington pair is 500 mA. The Darlington pairs may be paralleled for higher current capability.

7.10. SERIES VOLTAGE REGULATER IC (78XX):


7.10.1. WORKING: Voltage Regulator (regulator), usually having three legs, converts varying input voltage and produces a constant regulated output voltage. They are available in a variety of outputs. The most common part numbers start with the numbers 78 or 79 and finish with two digits indicating the output voltage. The number 78 represents positive voltage and 79 negative one. The 78XX series of voltage regulators are designed for positive input. The LM78XX series typically has the ability to drive current up to 1A. For application requirements up to 150mA, 78LXX can be used. As mentioned above, the component has three legs: Input leg which can hold up to 36VDC Common leg (GND) and an output leg with the regulator's voltage. As a general rule the input voltage should be limited to 2 to 3 volts above the output voltage. The LM78XX series can handle up to 36 volts input, be advised that the power difference between the input and output appears as heat. If the input voltage is unnecessarily high, the regulator will overheat. Unless sufficient heat dissipation is provided through heat sinking, the regulator will shut down.

7.11. SERIAL COMMUNICATION DRIVER IC (MAX 232):


7.11.1. WORKING: The MAX-232. It includes a Charge Pump, which generates +10V and -10V from a single 5v supply.

P.V.POLYTECHNIC, S.N.D.T. University, Mumbai-049.

Page | 36

EMERGENCY COIN OPERATED MOBILE BATTERY CHARGER

This I.C. also includes two receivers and two transmitters in the same package. This is handy in many cases when we only want to use the Transmit and Receive data Lines. We don't need to use two chips, one for the receive line and one for the transmit. There are also many variations of these devices. The large value of capacitors are not only bulky, but also expensive. Therefore other devices are available which use smaller capacitors and even some with inbuilt capacitors. However the MAX-232 is the most common, and thus we will use this RS-232 Level Converter. Dual Charge-Pump Voltage Converter The first converter uses capacitor C1 to double the +5V input to +10V on C3 at the V+ output. The second converter uses capacitor C2 to invert +10V to -10V on C4 at the Voutput.

7.12. OPTOCOUPLER IC (4N33):


7.12.1. WORKING: In electronics, an opto-isolator (or optical isolator, optocoupler, photocoupler, or photoMOS) is a device that uses a short optical transmission path to transfer a signal between elements of a circuit, typically a transmitter and a receiver, while keeping them electrically isolated since the signal goes from an electrical signal to an optical signal back to an electrical signal, electrical contact along the path is broken. Optocouplers typically come in a small 6-pin or 8-pin IC package, but are essentially a combination of two distinct devices: an optical transmitter, typically a gallium arsenide LED (light-emitting diode) and an optical receiver such as a phototransistor or light-triggered diac. The two are separated by a transparent barrier which blocks any electrical current flow between the two, but does allow the passage of light. The 4N33 are optically coupled isolators with a gallium arsenide infrared LED and a silicon photo Darlington sensor. Switching can be achieved while maintaining a high degree of isolation between driving and load circuits. These Optocouplers can be used to replace

P.V.POLYTECHNIC, S.N.D.T. University, Mumbai-049.

Page | 37

EMERGENCY COIN OPERATED MOBILE BATTERY CHARGER

reed and mercury relays with advantages of long life, high speed switching and elimination of magnetic field.

7.13. MICROCONTROLLER IC (89V51 RD2)


7.13. WORKING: The P89V51RD2 is an 80C51 microcontroller with 64 kB Flash and 1024 bytes of data RAM. A key feature of the P89V51RD2 is its X2 mode option. The design engineer can choose to run the application with the conventional 80C51 clock rate (12 clocks per machine cycle) or select the X2 mode (6 clocks per machine cycle) to achieve twice the throughput at the same clock frequency. Another way to benet from this feature is to keep the same performance by reducing the clock frequency by half, thus dramatically reducing the EMI. The Flash program memory supports both parallel programming and in serial InSystem Programming (ISP). Parallel programming mode offers gang-programming at high speed, reducing programming costs and time to market. ISP allows a device to be reprogrammed in the end product under software control. The capability to eld/update the application rmware makes a wide range of applications possible. The P89V51RD2 is also In-Application Programmable (IAP), allowing the Flash program memory to be recongured even while the application is running.

7.14. RELIMATE CONNECTOR:


7.14.1. WORKING: These are wire to board type connectors used to facilitate proper and firm electrical connection between the relay card and microcontroller card. The connector has following specifications: No. of Ways : 2-20 Page | 38

P.V.POLYTECHNIC, S.N.D.T. University, Mumbai-049.

EMERGENCY COIN OPERATED MOBILE BATTERY CHARGER

Voltage Rating Current Rating Contact Resistance Insulation Resistance Dielectric Withstanding Crimp Terminal Wire Size

: 250V AC, DC : 3A AC, DC : 20mW max : 1000MW min. : 1000V AC/minute : 22-28 AWG (American wire gauge)

The connector used for relay card is 2 PIN and 4 PIN connector. Advantage of the connector is it provides a fast and easy connection and disconnection, it also avoids polarity conflicts.

7.15. RS-232 PORT CONNECTOR:


7.15.1. WORKING: Almost all digital devices which we use require either TTL or CMOS logic levels. Therefore the first step to connecting a device to the RS-232 port is to transform the RS-232 levels back into 0 and 5 Volts. This is done by RS-232 Level Converters.

Two common RS-232 Level Converters are the 1488 RS-232 Driver and the 1489 RS-232 Receiver. Each package contains 4 inverters of the one type, either Drivers or Receivers. The driver requires two supply rails, +7.5 to +15v and -7.5 to -15v. This may pose a problem in many instances where only a single supply of +5V is present.

P.V.POLYTECHNIC, S.N.D.T. University, Mumbai-049.

Page | 39

EMERGENCY COIN OPERATED MOBILE BATTERY CHARGER

CHAPTER 8

IMPLIMENTATION OF THE PCB

Components layout designing


P.V.POLYTECHNIC, S.N.D.T. University, Mumbai-049. Page | 40

EMERGENCY COIN OPERATED MOBILE BATTERY CHARGER

Developing or Etching the PCB Other operations like Drilling, Cutting, Tinning

8.1. IMPLIMENTATION OF THE PCB:


A proper PCB ensure that various circuit components are interconnected as per the circuit diagram once they have been placed on the PCB in their proper positions and subsequently soldered. A Printed Circuit Board (P.C.B.) can be defined as an insulating base material to which is permanently attached a flat metallic network of conducting path whose dimension depends upon the current that can be handled by them. Four PCBS used for this project is single one. The basic material used may be resin coated paper, fiber, glass, ceramic, and the flat board configuration however is most widely used and it may be of the nature of the single Mother Board into which smaller board are plugged by specially designed connectors which ensures adequate and permanent low resistance coupling.

8.1.1. BOARD DESIGN:


PCB designed is the most important and requires great care during work. In this case great care must be taken while tracing the circuit or layout on the board. Because once PCB is designed, it is virtually impossible to alter it. While designing a circuit, designer should take care to avoid crossing of conducting path (tracks) as possible. Crossover are unavoidable then only of the jumper can be used. A circuit board carrying on both sides can also help to solve this problem when circuit is complicated.

8.1.2. THE MASTER DIAGRAM:


The next stage lies in proportion to designing i.e. to prepare Master Diagram , which is commonly made twice as the finished circuit , since this makes the working on that much easier , especially when circuit is complicated photography eventually reduces the P.V.POLYTECHNIC, S.N.D.T. University, Mumbai-049. Page | 41

EMERGENCY COIN OPERATED MOBILE BATTERY CHARGER

size of diagram to that of the circuit, before proceeding we must know some rules regarding the designing :a. The space between the conductors must be strictly controlled to avoid the possibility of electrical discharges or unwanted capacitance. The amount by which the mater diagram is to reduce in size is thus a critical deign feature. b. The conductor must be wider in those part of the circuits that are going to handle large current must be handle without undue temperature of conductors. c. The minimum width of copper should not generally be less than about 1.5mm.This is related to mechanical strength rather than electrical properties and it also ensure that strips remains securely bounded to the base material. d. The points where the component holes for component lead wire occurs must be sited to suit the dimensions of the component and dimensions between lead-out wire, so that , the components can be situated correctly on finished board. The conductor is also main large at the point of holes.

8.1.3. P.C.B MAKING:


When the mater diagram probable twice the size of real PCB has been evolved, the test major step consists of etching or dissolving the unwanted metal from copper claded board to create a circuit as depicted by master diagram. It must be stressed that very accurate checking master is essential at this stage. Then the master point is mounted on a special frame on easy facing of a larger camera and with the aid of the very powerful illumination a master diagram is clearly photographed on a glass sensitive plate. This is developed to give photographic negative. Next is called step and repeat camera. It is brought into operation. This comprises the camera body mounted so that sideways after each exposure. In this way number of copies of the original master diagram is set out exactly to cover standard sheet of copper clad laminate laboratory method of making PCB. In case of simple and need of number of less PCB economic and advisable to use the following lab method of PCB making.

Planning The Circuit:


It is not a particular difficult. There are several important factors that need not be taken into account, if the finished device is to work properly we must consider gain factor P.V.POLYTECHNIC, S.N.D.T. University, Mumbai-049. Page | 42

EMERGENCY COIN OPERATED MOBILE BATTERY CHARGER

and ensure that the input and output parts are sufficiently well isolated to avoid the possibility. We must also ensure that conductors and components carrying high frequency current are well separated from the part of the circuit. We are also to make sure that all components need to return to earth are properly connected and that possibility of common impedance arising earth returned. Circuit is totally eliminated by making all earth as substantial possible consistent with nature of design. Other factors that have to successfully studied include availability of adequate return points on board and its mounting from accessibility of switch connection made for mechanical fixing ventilation effect of vibration.

Cleaning The Board:


The copper side of the board must be thoroughly cleaned before circuit plan is transferred to it. This is important because even slightest trace of graze (from figure of instance) will impure the etching process and when the circuit plan has been neatly transferred to copper in this manner the board is held under, running tap and the allowed to dry before resist is applied.

Transforming the Plan:


Now, once cleaning is done plan has to transfer on copper surface of PCB material. A convenient way to do this is simply put the carbon paper between a copper surface of the board and working plan and carefully trace the lines of original plan with a ball pen.

Resist:
Resist is nothing more than a substrate that is unaffected by presence etching chemicals. It is usually colored so that, it can be easily seen the copper surface. when plan is clearly worked on clean copper that are to be left in fact as the copper conductor must be covered when resists the leaguer type of paints possess good resist properties but

disadvantage of relatively long time taken for drying. It is essential to resist through hardening before etching is started. Nail polished are better as they quickly and are less difficult to remove. To overcome this drying effect and to achieve the sharp edge of the trace on the PCB. Now-a-days etching taps along with IC pads are commonly used. To this, chances of P.V.POLYTECHNIC, S.N.D.T. University, Mumbai-049. Page | 43

EMERGENCY COIN OPERATED MOBILE BATTERY CHARGER

short circulating due to paints are completely the avoid etching tapes and pads are available in different sizes.

Correcting Error:
When a result has been thoroughly hardened any errors that have been made can usually be corrected by gently scratching away with knife. To ensure clear out lines round edges of copper conductors on board the resist must be applied with steady band.

Etching:
Next comes etching of unwanted copper & whether a small single is all that is required as quantity of board to be produce certain precautions must be taken before operation is commenced the most used etch & I ferrite chloride to this is added small quantity of HCL to accelerate. But not critical as lab construction concerned. A good etchant can be produced by mixing 10grams of ferric chloride & 25 grams of HCL with 15 grams of water.

Agitation:
Small plastic bath is ideal for storing the etchant process. Depth of liquid for storing the etchant process. The depth of liquid must be sufficient to completely cover laminate, the laminated board carrying the resist patterns circuit is then cropped into etchant bath & the gentle agitation takes 5 to 20 minutes to complete depending on the strength of the enchant temperature and thickness of copper foil.

Finishing Off:
When all unwanted copper is dissolved from areas between conductor, board should be taken from an etchant & washed in water. The resist must be removed using proper solvent. After this the copper surface must be polished with any kind of cleaner. It should be seen that there is no slight incomplete etching between the conducting parts of the PCB. The PCBs are coated coating material for protection in lab coating material itself it a soldier. This process is called Tinning. This process of coating involve track with soldier. Advantage of tinning the effect of environment of conductors, then PCB is drilled i.e. holes for filling & mounting the component on PCB are drilled with suitable drill bit. P.V.POLYTECHNIC, S.N.D.T. University, Mumbai-049. Page | 44

EMERGENCY COIN OPERATED MOBILE BATTERY CHARGER

Assembling On PCB:
After the holes are drilled, the component have to be assembled on PCB before assembling the components it is necessary to clean soldering iron in order to get easy & accurate soldering. Removing impurity particles that are gathered on iron bit due to repetitive use cleans soldering iron.

CHAPTER 9

SOLDERING TECHNIQUE

P.V.POLYTECHNIC, S.N.D.T. University, Mumbai-049.

Page | 45

EMERGENCY COIN OPERATED MOBILE BATTERY CHARGER

Technique for good soldering

9.1. SOLDERING TECHNIQUE:


For soldering of any joints first the terminal to be soldered are cleaned to remove oxide film or dirt on it. If required flux is applied on the points to be soldered. Now the joint to be soldered is heated with the help of soldering iron. Heat applied should be such that when solder wire is touched to joint, it must melt quickly.

The joint and the soldering iron is held such that molten solder should flow smoothly over the joint. When joint is completely covered with molten solder, the soldering iron is removed. The joint is allowed to cool, without any movement. The bright shining solder indicates good soldering. In case of dry solder joint, a air gap remains in between the solder material and the joint. It means that soldering is improper. This is removed and again soldering is done.

P.V.POLYTECHNIC, S.N.D.T. University, Mumbai-049.

Page | 46

EMERGENCY COIN OPERATED MOBILE BATTERY CHARGER

Thus, this way all the components are soldered on P. C. B.

CHAPTER 10

PCB LAYOUTS
P.V.POLYTECHNIC, S.N.D.T. University, Mumbai-049. Page | 47

EMERGENCY COIN OPERATED MOBILE BATTERY CHARGER

Schematic diagram Bottom and top layout

10.1. POWER SUPPLY CARD:


10.1.1. SCHIMETIC DIAGRAM:

P.V.POLYTECHNIC, S.N.D.T. University, Mumbai-049. Fig.10.1.1. Schematic diagram of power supply card

Page | 48

EMERGENCY COIN OPERATED MOBILE BATTERY CHARGER

10.1.2. LEGEND MARKING:

Fig.10.1.2. Legend marking 10.1.3.TOP LAYER: of power supply card

Fig.10.1.3. Top layer of power supply card

P.V.POLYTECHNIC, S.N.D.T. University, Mumbai-049.

Page | 49

EMERGENCY COIN OPERATED MOBILE BATTERY CHARGER

10.1.4. BOTTOM LAYER:

Fig.10.1.4. Schematic diagram of power supply card

10.2. BATTERY CHARGER CARD:


10.2.1. SCHEMATIC DIAGRAM:

P.V.POLYTECHNIC, S.N.D.T. University, Mumbai-049.

Page | 50

EMERGENCY COIN OPERATED MOBILE BATTERY CHARGER

Fig.10.2.1. Schematic diagram of battery charger card

10.3. RELAY CARD:

P.V.POLYTECHNIC, S.N.D.T. University, Mumbai-049.

Page | 51

EMERGENCY COIN OPERATED MOBILE BATTERY CHARGER

10.3.1. SCHIMETIC DIAGRAM:

Fig.10.3.1. Schematic diagram of Relay card

10.3.2. RELAY CARD LEGEND MARKING:


P.V.POLYTECHNIC, S.N.D.T. University, Mumbai-049. Page | 52

EMERGENCY COIN OPERATED MOBILE BATTERY CHARGER

Fig.10.3.2. Legend marking of Relay card

10.3.3. TOP LAYER:

Fig.10.3.3. Top layer of Relay card

P.V.POLYTECHNIC, S.N.D.T. University, Mumbai-049.

Page | 53

EMERGENCY COIN OPERATED MOBILE BATTERY CHARGER

10.3.4. BOTTOM LAYER:

Fig.10.3.4. Bottom layer of Relay card

10.4. MICROCONTROLER CARD:


10.4.1. SCHIMETIC DIAGRAM:

Fig.10.4.1. Schematic diagram of microcontroller card

P.V.POLYTECHNIC, S.N.D.T. University, Mumbai-049.

Page | 54

EMERGENCY COIN OPERATED MOBILE BATTERY CHARGER

10.4.2. ALL LAYERS:

Fig.10.4.2. All layer of microcontroller card

P.V.POLYTECHNIC, S.N.D.T. University, Mumbai-049.

Page | 55

EMERGENCY COIN OPERATED MOBILE BATTERY CHARGER

CHAPTER 11

INTRODUCTION OF SOFTWARE

Keil (Vision 2) Eagle (Easily Applicable Graphical Layout Editor)

P.V.POLYTECHNIC, S.N.D.T. University, Mumbai-049.

Page | 56

EMERGENCY COIN OPERATED MOBILE BATTERY CHARGER

11.1. Keil (Vision 2):


11.1.1. Introduction to C51 Cross Compiler:
The Keil C51 Cross Compiler is an ANSI C Compiler that is written specifically to generate fast, compact code for the 8051 microcontroller family. The C51 Compiler generates object code that matches the efficiency and speed of assembly programming. Using a high-level language like C has many advantages over assembly language programming: Knowledge of the processor instruction set is not required. Rudimentary knowledge of the memory structure of the 8051 CPU is desirable (but not necessary). Details like register allocation and addressing of the various memory types and data types is managed by the compiler. Programs get a formal structure (which is imposed by the C programming language) and can be divided into separate functions. This contributes to source code reusability as well as better overall application structure. The ability to combine variable selection with specific operations improves program readability. Keywords and operational functions that more nearly resemble the human thought process may be used. Programming and program test time is drastically reduced. The C run-time library contains many standard routines such as: formatted output, numeric conversions, and floating-point arithmetic. Existing program parts can be more easily included into new programs because of modular program construction techniques.

P.V.POLYTECHNIC, S.N.D.T. University, Mumbai-049.

Page | 57

EMERGENCY COIN OPERATED MOBILE BATTERY CHARGER

The language C is a very portable language (based on the ANSI standard) that enjoys wide popular support and is easily obtained for most systems. Existing program investments can be quickly adapted to other processors as needed.

11.1.2. Software Development Cycle in Keil:


When we use the Keil Software tools, the project development cycle is roughly the same as it is for any other software development project. 1. Create a project, select the target chip from the device database, and configure the tool settings. 2. Create source files in C or assembly. 3. Build your application with the project manager. 4. Correct errors in source files. 5. Test the linked application. A block diagram of the complete 8051 tool set may best illustrate the development cycle.
Fig. 11.1. Software development in KEIL

11.2. Eagle (Easily Applicable Graphical Layout Editor):


The EAGLE is an editor, which is easy-to-use, yet powerful tool for designing printed circuit boards (PCBs). It is a complete platform for the development of any type of complicated & sophisticated multilayered PCBs. This software consist of the following tool:

11.2.1. Schematic Editor:


P.V.POLYTECHNIC, S.N.D.T. University, Mumbai-049. Page | 58

EMERGENCY COIN OPERATED MOBILE BATTERY CHARGER

In this one can develop & design circuits for the required PCB.

11.2.2. Layout Editor:


In this one can develop & design actual PCB structure required. This is done automatically by the software using the circuit in the schematic editor itself.

11.2.3. Library Editor:


This is very useful in case of customized component design that does not occur in the predefined library according to our need.

11.2.4. Auto Router:


This is an artificial intelligence based tool or subroutine that can do auto routing of the PCB tracks designed.

11.2.5. Cam Processor:


This is used to finally print the various layers of the designed PCB viz. Top Layer, Bottom Layer, Component Layer, Masking Layer etc.

P.V.POLYTECHNIC, S.N.D.T. University, Mumbai-049.

Page | 59

EMERGENCY COIN OPERATED MOBILE BATTERY CHARGER

CHAPTER 12

INTRODUCTION OF PROGRAMMING
P.V.POLYTECHNIC, S.N.D.T. University, Mumbai-049. Page | 60

EMERGENCY COIN OPERATED MOBILE BATTERY CHARGER

Flowchart of programming Program code

12.1. Flowchart:
Start
TIMER INITIALISATION TR0=0; TF0=0; TL0=0XFD; TH0=0X4B; TR0=1; Sw1_op (P0.0) ==0

My delay (10)

flag1=1; disp =1; k1=0;

P.V.POLYTECHNIC, S.N.D.T. University, Mumbai-049. k2==0||k3==0| |k4==0

Page | 61

EMERGENCY COIN OPERATED MOBILE BATTERY CHARGER

flag9==1

flag9=1;

flag9=0; flag3=0; REady_LED3=0;

flag11==1

flag11=1;

flag11=0; flag4=0;

REady_LED4=0;
P.V.POLYTECHNIC, S.N.D.T. University, Mumbai-049. Sw2_op Page | 62

EMERGENCY COIN OPERATED MOBILE BATTERY CHARGER

My delay (10)

3 3

flag2=1; disp2=1; k2=0;

k1==0||k3==0| |k4==0]

flag5==1

flag5=1;

flag5=0; flag1=0; REady_LED1=0;

P.V.POLYTECHNIC, S.N.D.T. University, Mumbai-049.

Page | 63

EMERGENCY COIN OPERATED MOBILE BATTERY CHARGER

flag11==1

flag11=1;

flag11=0; flag4=0; REady_LED4=0;

Sw3_op (P0.2) ==0

P.V.POLYTECHNIC, S.N.D.T. University, Mumbai-049. My delay (10)

Page | 64

EMERGENCY COIN OPERATED MOBILE BATTERY CHARGER

flag5==1

flag5=1;

flag5=0; flag1=0;
REady_LED1=0;

REady_LED1=0;
flag7==1

flag7=1; P.V.POLYTECHNIC, S.N.D.T. University, Mumbai-049.

flag7=0; flag2=0; REady_LED2=0; Page | 65

EMERGENCY COIN OPERATED MOBILE BATTERY CHARGER

Sw4_op (P0.3) ==0

My delay (10)

flag4=1; disp4=1; k4=0;

k1==0||k2==0| |k3==0

P.V.POLYTECHNIC, S.N.D.T. University, Mumbai-049.

Page | 66

flag5==1

EMERGENCY COIN OPERATED MOBILE BATTERY CHARGER

flag7==1

flag7=1; flag7=0; flag2=0; REady_LED2=0;

flag9==1

flag9=1; flag9=0; flag3=0; P.V.POLYTECHNIC, S.N.D.T. University, Mumbai-049. Page | 67 REady_LED3=0;

EMERGENCY COIN OPERATED MOBILE BATTERY CHARGER

flag1==1

flag5=1; disp5=1;

flag2==1

flag7=1; disp5=1;

flag3==1 P.V.POLYTECHNIC, S.N.D.T. University, Mumbai-049. flag9=1; disp5=1 Page | 68

EMERGENCY COIN OPERATED MOBILE BATTERY CHARGER

Sw6_op (P0.5) ==0

My delay (10)

flag1==1 && flag5==1

flag6=1; disp6=1; P.V.POLYTECHNIC, S.N.D.T. University, Mumbai-049. Page | 69

flag2==1 &&

EMERGENCY COIN OPERATED MOBILE BATTERY CHARGER

10

flag10=1; disp6=1

flag4==1 && flag11==1

flag12=1; disp6=1

flag6==1

i++;

P.V.POLYTECHNIC, S.N.D.T. University, Mumbai-049. flag8==1

Page | 70

EMERGENCY COIN OPERATED MOBILE BATTERY CHARGER

11

flag12==1

M++;

Stop

P.V.POLYTECHNIC, S.N.D.T. University, Mumbai-049.

Page | 71

EMERGENCY COIN OPERATED MOBILE BATTERY CHARGER

12.2. Program:
#include<stdio.h> #include<string.h> #include"IDA51.H" #include"REG52.H"

#define buzzer P2_0// buzzer indication

//////////////// setting of i/p switch for following operation///////////////// sbit sw1_op=P0^0;// sbit sw2_op=P0^1;// sbit sw3_op=P0^2;// sbit sw4_op=P0^3;// input SWITCH1 for sytem1 input SWITCH2 for sytem2 input switch3 for sytem3 input switch4 for sytem4

sbit sw5_op=P0^4;// input switch5 for coin sbit sw6_op=P0^5;// input switch for start sbit sw7_op=P3^7;// input switch for exit

////////////////////////////output Led for indication/////////////////// sbit REady_LED1=P1^0; //LED1 indication (ready system1) P.V.POLYTECHNIC, S.N.D.T. University, Mumbai-049. Page | 72

EMERGENCY COIN OPERATED MOBILE BATTERY CHARGER

sbit REady_LED2=P1^1; //LED2 indication(ready system2) sbit REady_LED3=P1^2; //LED3 indication(ready system3) sbit REady_LED4=P1^3; //LED4 indication(ready system4) sbit START_LED1=P1^4; //LED1 indication(start system1 ) sbit START_LED2=P1^5; //LED2 indication(start system2 ) sbit START_LED3=P1^6; //LED3 indication(start system3 ) sbit START_LED4=P1^7; //LED4 indication(start system4 ) ///////////////////function prototype declaration///////////////////// void my_delay(unsigned int value)// DELAY FUCTION void init_timer(); //timer 0 initialization function

//////////////////variable declaration//////////////////////// bit flag1,flag2,flag3,flag4,flag5,flag6,flag7,flag8,flag9,flag10,flag11,flag12; bit disp1=0,disp2=0,disp3=0,disp4=0,disp5=0,disp6=0,k1=1,k2=2,k3=1,k4=1; unsigned long int i=0,j=0,l=0,m=0,ii=0,ll=0,jj=0,mm=0; //k=390(1 minute) ,k=50 /////////////////////////////start of main programme/////////////////// void main() { init_timer();// call it timer initialization function

REady_LED1=0,REady_LED2=0,REady_LED3=0,REady_LED4=0; // clear Ready indication led START_LED1=0,START_LED2=0,START_LED3=0,START_LED4=0; // clear start indication led

//////////////////start of while loop/////////////////////////////////

while(1) // while loop with condition always equal to 1 to repeat loop infinite times unless and until we shut down the system { ////////////////condition for switch1//////////////////////////// ' if(flag1==1) // check swich1 pressed { if(disp1==1 ) { P.V.POLYTECHNIC, S.N.D.T. University, Mumbai-049. Page | 73

EMERGENCY COIN OPERATED MOBILE BATTERY CHARGER

REady_LED1=1;// turn on Ready indication of led 1 } disp1=0;

if(flag5==1) //check coin is pressed { if(flag6==1) //START is pressed and start conversion {

if(i<k)

// loop will repeat for desired time of charging { if(i>=1000) { buzzer=1; if (ii==20) //turn on buzzer

{ REady_LED1=1;// turn on ready indication of led1 } else if(ii==40) { REady_LED1=0;ii=0; }

} else { REady_LED1=0; START_LED1=1; }

} else { P.V.POLYTECHNIC, S.N.D.T. University, Mumbai-049. Page | 74

EMERGENCY COIN OPERATED MOBILE BATTERY CHARGER

START_LED1=0; k1=1; buzzer=0; REady_LED1=0; flag1=0; flag5=0; flag6=0;

} } } ///////////////////////condition for switch2////////////////////// if(flag2==1) // check swich2 pressed { if(disp2==1) { REady_LED2=1;// turn on ready 2 led indication } disp2=0; if(flag7==1) //check coin is pressed { if(flag8==1) //START is pressed {

if(j<k) { if(j>1000) { buzzer=1; if(jj==20) {REady_LED2=1;} else if(jj==40) {REady_LED2=0;jj=0;} } else { REady_LED2=0; START_LED2=1; }

P.V.POLYTECHNIC, S.N.D.T. University, Mumbai-049.

Page | 75

EMERGENCY COIN OPERATED MOBILE BATTERY CHARGER

} else { START_LED2=0; REady_LED2=0; k2=1; buzzer=0; flag2=0; flag7=0; flag8=0; j=0;jj=0; } } } }

/////////////////////////condition for switch 3//////////////////// if(flag3==1) // check swich3 pressed { if(disp3==1 ) { REady_LED3=1; } disp3=0; if(flag9==1) //check coin is pressed {

if(flag10==1) //START is pressed { if(l<k) { if(l>1000) { buzzer=1; if(ll==20) {REady_LED3=1;} else if(ll==40) {REady_LED3=0;ll=0;} }

else P.V.POLYTECHNIC, S.N.D.T. University, Mumbai-049. Page | 76

EMERGENCY COIN OPERATED MOBILE BATTERY CHARGER

{ REady_LED3=0; START_LED3=1; } } else { START_LED3=0; //LED2=0; k3=1; buzzer=0; REady_LED3=0; flag3=0; flag9=0; flag10=0; l=0;ll=0; } } } } ///////////////////////////// condition for switch 4////////////// if(flag4==1) // check swich4 pressed { if(disp4==1 ) { REady_LED4=1; } disp4=0; if(flag11==1) //check coin is pressed { if(flag12==1) //START is pressed {

if(m<k) { if(m>1000) { buzzer=1; if(mm==20) { REady_LED4=1; P.V.POLYTECHNIC, S.N.D.T. University, Mumbai-049. Page | 77

EMERGENCY COIN OPERATED MOBILE BATTERY CHARGER

} else if(mm==40) { REady_LED4=0;mm=0; } } else { REady_LED4=0; START_LED4=1; } } else { START_LED4=0;

buzzer=0; k4=1; REady_LED4=0; flag4=0; flag11=0; flag12=0; m=0;mm=0; } } } } } while(1); } //////////////////////end of main programme////////////////////// ///////////////timer delay//////////////// void init_timer() { TMOD=0x01; // timer 0 in mode 1 TL0=0xfd; // timer lower value TH0=0x4b; //timer higher value IE|=0x82; // interrupt control bit TR0=1; // start timer bit }

//whenever specific time the interrupt will generate control will go in following function

P.V.POLYTECHNIC, S.N.D.T. University, Mumbai-049.

Page | 78

EMERGENCY COIN OPERATED MOBILE BATTERY CHARGER

void timer0_isr(void)interrupt 1 using 2// timer 0 interrupt { TR0=0; // reset timer TF0=0; // reset over flow flag TL0=0xfd; // load value of TL0 TH0=0x4b; // LOAD VALUE OF TH0 TR0=1; // SET TIMER BIT OR TURN ON TIMER /////////IF SWITCH 1 IES PRESSEDE THEN IT WILL GO N TO FOLLOWING LOOP///////// if(sw1_op==0 ) { // ready switch flag for system1

my_delay(10);// CALL DELAY FUNCTION flag1=1; disp1=1; k1=0; // SET RESPECTIVE FLAG FOR NEXT OPERATION

if(k2==0||k3==0||k4==0) // IF SWITCH2OR SWITCH3 OR SWITCH 4 IS PRESSED THEN IT WILL GO INTO FOLLOWING LOOOP { if(flag7==1) // SET THE FLAG { flag7=1; } else { flag7=0; flag2=0; REady_LED2=0; // CLEAR READY 2 LED } if(flag9==1) { flag9=1; } else { flag9=0; flag3=0; REady_LED3=0; // CLEAR READY 3 LED } if(flag11==1) { flag11=1; } P.V.POLYTECHNIC, S.N.D.T. University, Mumbai-049. Page | 79

EMERGENCY COIN OPERATED MOBILE BATTERY CHARGER

else { flag11=0; flag4=0; REady_LED4=0; // CLEAR READY 4 LED } } }

/////////IF SWITCH 2 IS PRESSEDE THEN IT WILL GO N TO FOLLOWING LOOP///////// if(sw2_op==0 ) fready switch flag for system2 { my_delay (10); flag2=1; disp2=1; k2=0; if(k1==0||k3==0||k4==0) { if(flag5==1) { flag5=1; } else { flag5=0; flag1=0; REady_LED1=0; } if(flag9==1) { flag9=1; } else { flag9=0; flag3=0; REady_LED3=0; } if(flag11==1) { flag11=1; } else P.V.POLYTECHNIC, S.N.D.T. University, Mumbai-049. Page | 80

EMERGENCY COIN OPERATED MOBILE BATTERY CHARGER

{ flag11=0; flag4=0; REady_LED4=0; } } } /////////IF SWITCH 3 IS PRESSEDE THEN IT WILL GO N TO FOLLOWING LOOP///////// if(sw3_op==0 ) { my_delay(10); // ready switch flag for system3

flag3=1; disp3=1; k3=0; if(k2==0||k1==0||k4==0) { if(flag7==1) { flag7=1; } else { flag7=0; flag2=0; REady_LED2=0; } if(flag5==1) { flag5=1; } else { flag5=0; flag1=0; REady_LED1=0; } if(flag11==1) { flag11=1; } else { P.V.POLYTECHNIC, S.N.D.T. University, Mumbai-049. Page | 81

EMERGENCY COIN OPERATED MOBILE BATTERY CHARGER

flag11=0; flag4=0; REady_LED4=0; } }

} /////////IF SWITCH 4 IES PRESSEDE THEN IT WILL GO N TO FOLLOWING LOOP///////// if(sw4_op==0 ) // ready switch flag for system4 { my_delay(10); flag4=1; disp4=1; k4=0; if(k2==0||k1==0||k3==0) { if(flag7==1) { flag7=1; } else { flag7=0; flag2=0; REady_LED2=0; } if(flag5==1) { flag5=1; } else { flag5=0; flag1=0; REady_LED1=0; } if(flag9==1) { flag9=1; } else { flag9=0; P.V.POLYTECHNIC, S.N.D.T. University, Mumbai-049. Page | 82

EMERGENCY COIN OPERATED MOBILE BATTERY CHARGER

flag3=0; REady_LED3=0; } } } /////////IF SWITCH 5 IES PRESSEDE THEN IT WILL GO N TO FOLLOWING LOOP///////// if (sw5_op==0 ) { my_delay (10); if (flag1==1) { flag5=1; disp5=1; } // coin check

if(flag2==1 ) { flag7=1; disp5=1; } if(flag3==1 ) { flag9=1; disp5=1; } if(flag4==1 ) { flag11=1; disp5=1; } } /////////IF SWITCH 6 IES PRESSEDE THEN IT WILL GO N TO FOLLOWING LOOP///////// if(sw6_op==0 ) // start signal { my_delay (10); if((flag1==1 && flag5==1)) { flag6=1; disp6=1; } if((flag2==1 && flag7==1)) P.V.POLYTECHNIC, S.N.D.T. University, Mumbai-049. Page | 83

EMERGENCY COIN OPERATED MOBILE BATTERY CHARGER

{ flag8=1; disp6=1; } if((flag3==1 && flag9==1)) { flag10=1; disp6=1; } if((flag4==1 && flag11==1)) { flag12=1; disp6=1; } } if(flag6==1) { i++; if (i>1000) {ii++;} } if (flag8==1) { j++; if(j>1000) {jj++;} } if (flag10==1) { l++; if (l>1000) {ll++;} } if (flag12==1) { m++; if (m>1000) {mm++;} } }

/////////////////////DELAY FUNCTION///////////////// void my_delay(unsigned int value) { unsigned int x, y; for(x=0;x<1000;x++) P.V.POLYTECHNIC, S.N.D.T. University, Mumbai-049. Page | 84

EMERGENCY COIN OPERATED MOBILE BATTERY CHARGER

{ for(y=0;y<value; y++); } }

CHAPTER 13

TROUBLE SHOOT

P.V.POLYTECHNIC, S.N.D.T. University, Mumbai-049.

Page | 85

EMERGENCY COIN OPERATED MOBILE BATTERY CHARGER

Troubleshoot

13.1. TROUBLE SHOOT:


A newly assembled circuit does not work may be due to: Faulty components. Improper soldering. Wrong connections. Also any stop in working after some period may be due to: Component failure. Supply failure. Damaging of PCB Fault finding is very essential if you want the circuit to operate properly. If a newly assembled circuit is not working properly, check all the components and circuit connections according to the diagram. The circuit may not be working due to wrong polarity of capacitor, diode and wrong supply terminal connection. Most of the times, the P.V.POLYTECHNIC, S.N.D.T. University, Mumbai-049. Page | 86

EMERGENCY COIN OPERATED MOBILE BATTERY CHARGER

circuit does not work due to bad soldering. Therefore, proper procedure is followed to have proper soldering. If faults are not observed during physical observations, one should proceed for Hot test i.e. Voltage measurement at different points for example at Input terminal etc. Resistance measurement is also done which is known as Dry test. During this project work, some green LEDs was not glow, then we checked it continuity and replace it. Also, relay was not properly worked, therefore we replaced it. Some ICs was get heated after starting the project. It happens because of some soldering points are shorted during soldering PCB. We solved that problem.

CHAPTER 14

P.V.POLYTECHNIC, S.N.D.T. University, Mumbai-049.

Page | 87

EMERGENCY COIN OPERATED MOBILE BATTERY CHARGER

ADVANTAGES OF THE PROJECT

Advantages

14.1. ADVANTAGES OF THE PROJECT:


Simple and hand efficient. Microcontroller based system. Fast charging capacity.

P.V.POLYTECHNIC, S.N.D.T. University, Mumbai-049.

Page | 88

EMERGENCY COIN OPERATED MOBILE BATTERY CHARGER

Simple to operate. Ease of mobility. Facilitates connectivity for 90% of cellular phones. Less expensive. Reduced man power. Low power consumption. It can offer emergency charging for 4sets of handsets synchronously.

P.V.POLYTECHNIC, S.N.D.T. University, Mumbai-049.

Page | 89

EMERGENCY COIN OPERATED MOBILE BATTERY CHARGER

CHAPTER 15

DISADVANTAGES OF THE PROJECT

Disadvantages

P.V.POLYTECHNIC, S.N.D.T. University, Mumbai-049.

Page | 90

EMERGENCY COIN OPERATED MOBILE BATTERY CHARGER

15.1. DISADVANTAGES OF THE PROJECT:


It requires mains supply to work project. Due to limited charging channels till now, there may be a possibility that mobile phones of few brands cannot be connected for charging. For this purpose we have to use separate connectors for that specific brand differently. It does not bring a mobile from dead' to fully charged (full bars) just in 1 min. It does not have battery backup, therefore it cannot be portable.

P.V.POLYTECHNIC, S.N.D.T. University, Mumbai-049.

Page | 91

EMERGENCY COIN OPERATED MOBILE BATTERY CHARGER

CHAPTER 16

APPLICATIONS OF THE PROJECT

Application

P.V.POLYTECHNIC, S.N.D.T. University, Mumbai-049.

Page | 92

EMERGENCY COIN OPERATED MOBILE BATTERY CHARGER

16.1. APPLICATIONS OF THE PROJECT:

The coin based mobile phone charger is very useful to public for using coin to charge for the mobile phone in any places.

It is used for emergency charging purposes. It can be installed in malls, railway stations, bus stops and other public places.

The charger offers a unique revenue opportunity for a vast range of businesses - from airports to pubs, from universities to health clubs; virtually any location where there is a high footfall, creating a large number of potential users.

It can be installed in offices and collages for pay charging facility.

P.V.POLYTECHNIC, S.N.D.T. University, Mumbai-049.

Page | 93

EMERGENCY COIN OPERATED MOBILE BATTERY CHARGER

CHAPTER 17

FUTURE DEVELOPMENT OF THE PROJECT

P.V.POLYTECHNIC, S.N.D.T. University, Mumbai-049.

Page | 94

EMERGENCY COIN OPERATED MOBILE BATTERY CHARGER

FUTURE DEVELOPMENT OF THE PROJECT

17.1. FUTURE DEVELOPMENTOFTHE PROJECT:


This project is very useful to people who are using mobile phone without charging condition in public places. It will use with a stereo advertisement carrier that can display video advertisement. It will provide battery backup for make it portable. It will also provide SMS system in future. We can also increase the charging time by editing software of the project.

P.V.POLYTECHNIC, S.N.D.T. University, Mumbai-049.

Page | 95

EMERGENCY COIN OPERATED MOBILE BATTERY CHARGER

CHAPTER 18

COST ANALYSIS OF THE PROJECT

P.V.POLYTECHNIC, S.N.D.T. University, Mumbai-049.

Page | 96

EMERGENCY COIN OPERATED MOBILE BATTERY CHARGER

COST ANALYSIS OF THE PROJECT

18.1. COST ANALYSIS OF THE PROJECT:


18.1.1. Component list for power supply card:
Footprint Resistor 2.2K 1K Capacitor 1000uf/25V 2200uf/25V 0.22uf 0.1uf IC BRIDGE W10 L7812CV (TO-220) L7805CV (TO-220) Quantity Designators Rate

1 1

R2 R1

1 1

1 1 2 2

C5 C1 C6 C4

C2 C3

10 10 1 1

2 1 1

BR2 U2 U1

BR1

10 8 8

Connector CON PHO 2PIN CON PHO 3PIN

2 1

J3 J1

J2

16 12

LED3mm red Heat sink (TO-220)

2 2

L1

L2

1.5 16 Total 95.5 Page | 97

P.V.POLYTECHNIC, S.N.D.T. University, Mumbai-049.

EMERGENCY COIN OPERATED MOBILE BATTERY CHARGER

Table 18.1.1. Component list for power supply card

18.1.2. Component list for battery charger card:


Footprint Capacitor 2200uf/25V 0.22uf 0.1uf IC BRIDGE W10 L7805CV (TO-220) Connector CON PHO 2PIN Relimate 2 pin relimate 3 pin Heat sink (TO-220) Quantity Rate

1 4 4

10.00 1.00 1.00

1 4

5.00 32.00

1 1 4 4 TOTAL

8.00 4.00 20.00 12.00 93.00

Table 18.1.2.Component list for battery charger card

18.1.3. Component list for Relay card:


Component ULN2003 RELAY RW-SH-112D RELIM-2 Quantity 1 4 10 Designators U1 RL1 RL2 RL3 RL4 J2 J6 J10 J1 J3 J7 J11 J4 J8 J5 J9 Rate 5.00 140.00 33.00

RELIM-4

7.00

P.V.POLYTECHNIC, S.N.D.T. University, Mumbai-049.

Page | 98

EMERGENCY COIN OPERATED MOBILE BATTERY CHARGER

16 pin ic socket

1 Total

4.00 189.00

Table 18.1.3.Component list for relay card

18.1.4.Component list for controller card:


Component Capacitor 0.1uf 1uf 22pf 33uf Resistor 10K 2.2K 1K IC 4N33 89V51RD2FN MAX232CP Connector Relimate 2 pin Relimate 3 pin Relimate 4 pin 2 pin terminal block LED LED 3mm green LED 3mm red LED 5mm green LED 5mm red IC sockets 40 pin Quantity Designators Rate

2 4 2 1

C5 C9 C3 C1

C4 C8 C2

C7

C6

2.00 4.00 2.00 3.00

1 1 6

R1 R8 R7

R6

R5

R4

R3

R2

1.00 1.00 6.00

1 1 1

U3 U1 U2

5.00 120.00 25.00

9 2 1 1

SW1 SW2 SW3 SW4 SW5 L4 L3 L2 L1 J3 J4 J2 J1

46.00

8.00

1 1 4 4

L9 L10

1.50 1.50 8.00 8.00

10.00

P.V.POLYTECHNIC, S.N.D.T. University, Mumbai-049.

Page | 99

EMERGENCY COIN OPERATED MOBILE BATTERY CHARGER

16 pin 6 pin Misc SIP resistor Crystal 11.0592MHz Tack switch

1 1

5.00 4.00

1 1 1

RN1 XL1 S1

2.00 5.00 2.00

Table 18.1.4.Component list for microcontroller card total 270.00

18.1.5. Miscellaneous material:


Material electronic item Transformer TXR1 0-9-15 0-9 @ 1A 0-15 @ 100mA TXR2 0-9 0-9 @ 1A Proximity switch Red push bottom Green push button Red led 5mm Green led 5mm Led holder Copper clad 3 core cable 3 pin plug 2 pin relimate wire 3 pin relimate wire 4 pin relimate wire Quantity Rate

200.00

165.00

1 4 1 4 4 8 2 1 meter 1 19 5 2

200.00 40.00 10.00 8.00 8.00 16.00 40.00 15.00 30.00 90.00 37.50 20.00

mechanical items Enclosure Acrylic sheet 12mm cable gland Screw 3mm Screw 3.5mm

1 2' X 1' 1 33 6

250.00 300.00 10.00 20.00 24.00

P.V.POLYTECHNIC, S.N.D.T. University, Mumbai-049.

Page | 100

EMERGENCY COIN OPERATED MOBILE BATTERY CHARGER

10 mm spacers 10mm insert to stud cable tie

100 50

15.00 100.00 25.00 Total 1623.50

Table 18.1.5.Component list for miscellaneous material

CHAPTER 19

APPENDIX

APPENDIX
P.V.POLYTECHNIC, S.N.D.T. University, Mumbai-049. Page | 101

EMERGENCY COIN OPERATED MOBILE BATTERY CHARGER

19.1. APPENDIX:
19.1.1. 78xx IC datasheet:

P.V.POLYTECHNIC, S.N.D.T. University, Mumbai-049.

Page | 102

EMERGENCY COIN OPERATED MOBILE BATTERY CHARGER

19.1.2. W10 datasheet:

P.V.POLYTECHNIC, S.N.D.T. University, Mumbai-049.

Page | 103

EMERGENCY COIN OPERATED MOBILE BATTERY CHARGER

19.1.3. 4n33 IC datasheet:


P.V.POLYTECHNIC, S.N.D.T. University, Mumbai-049. Page | 104

EMERGENCY COIN OPERATED MOBILE BATTERY CHARGER

Notes * Indicates JEDEC registered data. 1. The current transfer ratio(IC/IF) is the ratio of the detector collector current to the LED input current with V CE @ 10 V. 2. Pulse test: pulse width = 300s, duty cycle 2.0% . 3. For test circuit setup and waveforms, refer to figure 7.. 4. IF adjusted to IC = 2.0 mA and IC = 0.7 mA rms. 5. The frequency at which IC is 3dB down from the 1 KHz value. 6. For this test, LED pins 1 and 2 are common, and phototransistor pins 4,5 and 6 are common.

19.1.4. MAX 232:


P.V.POLYTECHNIC, S.N.D.T. University, Mumbai-049. Page | 105

EMERGENCY COIN OPERATED MOBILE BATTERY CHARGER

19.1.5. ULN2003a IC datasheet:

P.V.POLYTECHNIC, S.N.D.T. University, Mumbai-049.

Page | 106

EMERGENCY COIN OPERATED MOBILE BATTERY CHARGER

P.V.POLYTECHNIC, S.N.D.T. University, Mumbai-049.

Page | 107

EMERGENCY COIN OPERATED MOBILE BATTERY CHARGER

19.1.6. 89V51RD2 IC datasheet:

P.V.POLYTECHNIC, S.N.D.T. University, Mumbai-049.

Page | 108

EMERGENCY COIN OPERATED MOBILE BATTERY CHARGER

P.V.POLYTECHNIC, S.N.D.T. University, Mumbai-049.

Page | 109

EMERGENCY COIN OPERATED MOBILE BATTERY CHARGER

P.V.POLYTECHNIC, S.N.D.T. University, Mumbai-049.

Page | 110

EMERGENCY COIN OPERATED MOBILE BATTERY CHARGER

P.V.POLYTECHNIC, S.N.D.T. University, Mumbai-049.

Page | 111

EMERGENCY COIN OPERATED MOBILE BATTERY CHARGER

P.V.POLYTECHNIC, S.N.D.T. University, Mumbai-049.

Page | 112

EMERGENCY COIN OPERATED MOBILE BATTERY CHARGER

CHAPTER 20

CONCLUSION

CONCLUSION

P.V.POLYTECHNIC, S.N.D.T. University, Mumbai-049.

Page | 113

EMERGENCY COIN OPERATED MOBILE BATTERY CHARGER

20.1. CONCLUSION:
The coin-operated mobile phone charger is already successfully installed in hundreds of locations worldwide, providing a unique service to the public and a source of revenue for site providers. The coin-operated mobile charger can be quickly and easily installed in any business premises. The charger offers a unique revenue opportunity for a vast range of businesses from airports to pubs, from universities to health clubs; virtually any location where there is a high footfall, creating a large number of potential users. The charger can charge up to 4 different mobile phones simultaneously. It will extend low mobile phone talk time, provide battery charging.

P.V.POLYTECHNIC, S.N.D.T. University, Mumbai-049.

Page | 114

EMERGENCY COIN OPERATED MOBILE BATTERY CHARGER

CHAPTER 21

IMAGES OF THE PROJECT

P.V.POLYTECHNIC, S.N.D.T. University, Mumbai-049.

Page | 115

EMERGENCY COIN OPERATED MOBILE BATTERY CHARGER

Images of the project

21.1. IMAGES OF THE PROJECT:

fig.21.1 Coin operated mobile battery charger'


project

P.V.POLYTECHNIC, S.N.D.T. University, Mumbai-049.

Page | 116

EMERGENCY COIN OPERATED MOBILE BATTERY CHARGER

Fig.21.2 Circuit arrangement of coin operated mobile battery charger

Fig. 21.3 Constant voltage battery charger circuit

P.V.POLYTECHNIC, S.N.D.T. University, Mumbai-049.

Page | 117

EMERGENCY COIN OPERATED MOBILE BATTERY CHARGER

Fig.21.4 Power supply circuit

Fig.21.5 Metal detector proximity switch

Fig. 21.6 Relay driver circuit

Fig.21.7 Microcontroller circuit

P.V.POLYTECHNIC, S.N.D.T. University, Mumbai-049.

Page | 118

EMERGENCY COIN OPERATED MOBILE BATTERY CHARGER

P.V.POLYTECHNIC, S.N.D.T. University, Mumbai-049.

Page | 119

EMERGENCY COIN OPERATED MOBILE BATTERY CHARGER

Fig.22.8 coin operated mobile battery charger project presentation

P.V.POLYTECHNIC, S.N.D.T. University, Mumbai-049.

Page | 120

EMERGENCY COIN OPERATED MOBILE BATTERY CHARGER

CHAPTER 22

BIBILOGRAPHY

BIBLIOGRAPHY

P.V.POLYTECHNIC, S.N.D.T. University, Mumbai-049.

Page | 121

EMERGENCY COIN OPERATED MOBILE BATTERY CHARGER

22.1. BIBLIOGRAPHY:
BOOKS: Microprocessor Architecture, Programming Applications Gaonkar CMOS Integrated Circuits Data Book Sierra Optoelectronics Handbook National Microprocessor Data Handbook Micro-Controller - Keneth Ayala Electronic Devices Applications & Integrated Circuits-Mathur/Kulshreshtha/Chadha Electronic Devices And Circuits - J B Gupta Electronics For You Magazine

INTERNET LINKS: www.discoverprojects.com www.google.com www.discovercircuits.com www.wikipedia.com WWW.datasheetcatlog.com

P.V.POLYTECHNIC, S.N.D.T. University, Mumbai-049.

Page | 122

You might also like