Pages

Saturday 23 November 2013

LASER TORCH BASED VOICE TRANSMITTER AND RECEIVER


•This product can be used for communication between neighbors or some in nearby buildings.

Block Diagram

The block diagram describes main parts of the transmitter and receiver.

Transmitter

[Microphone] --- [Audio signal pre-amplifier] --- [Modulating transistor] --- [Laser torch]

The voice signal from any source is picked up using a condenser mic. This signal ia passed through an audio signal pre-amplifier, and is given to an op-amp stage. The output of op-amp stage is given to a modulating transistor section. The laser torch radiates light into the air.

Reciever

[Photo transistor] --- [Two stage pre-amplifier] --- [Audio power amplifier] --- [Loud speaker]

 The light from the laser torch is made to fall on a photo transistor. Then the signal is amplified to sufficient level using a two stage pre-amplifier. It is then given to an audio power amplifier. Finally the voice is heard as the output from the speaker.

Circuit Diagram

Transmitter




Reciever


Working
   The transmitter circuit comprises condenser microphone tranasistor amplifier BC548(T1) followed by an op- amp stage build around 741 IC (IC1). The gain of the operational amplifier (op-amp) can be controlled with the help of one mega ohm (1M Ω) potentiometer VR1. The AF output from IC1 is coupled to the base of the transistor BD139 (T2) which in turn, modulates the laser beam. The transmitter uses 9V power supply. The receiver circuit uses an npn photo transistor as the light sensor. A two stage transistor pre-amplifier and LM386 based audio power amplifier is used to amplify the received signal. To avoid 50 Hz human noise in the speaker keep the photo transistor away.
  The components are easily available for this and it is a simpler and efficient circuit. It has low maintenance cost and high data rate. The laser transmission is very secure because it has a narrow beam. There are no recurring line costs. It has narrow beam divergence.


MINI UPS SYSTEM

To make a system which works during power failure.

The output obtained is REGULATED DC.


Block Diagram

[Rectifier with filter] --- [Full charge indicator] --- [Cut off circuit] --- [Output section]





Circuit Diagram


    Mini UPS is to make a system in working condition during power failure. Battery will take the load when the main power is offline. Output of mini UPS is regulated DC. This mini UPS system uses center tap step down transformer, diodes, zener diodes, voltage regulator IC, transistors (BC 548, TIP 127) and LED. Voltage regulator IC 7805 takes a voltage between 7 and 30 volts and regulates it down to exactly 5 volts. BC 548 is general purpose silicon, npn, bipolar junction transistor.

Automated LPG Booking and Gas Leakage Detection System


The system for ,
          Tracking the level of gas in the cylinder.           Automated booking.           Detecting gas leakage.
    We all know how difficult it is to book and get an LPG cylinder through the government LPG booking and delivery system. We need to call the agency several time to book a cylinder and the main problem faced by the working class is that the booking can only be done after 10AM.At this time most of the working class people will be at busy at their day job. So unable to book gas on time is a common problem faced by many. Due to the ever increasing demand of cooking gas the agencies are finding it difficult to deliver the cylinder on time. With the current regulations imposed by the government on the number of cylinder issues to a particular costumer it’s going to be more difficult to manage proper delivery on time. So a system to manage all these problems will be of great use to the housewife’s especially the majority working class. An automated system to keep track of the cylinder level and book gas automatically is the best solution to the problem. We try to introduce a new system to track the level of cooking gas in the cylinder and an associated automated booking system. The gas level in a cylinder will be proportional to the total weight of the cylinder and we use this fact to know the percentage of gas left in the cylinder. We are building an embedded system hardware which will track the weight of the gas cylinder and thus approximately find out the percentage of cooking gas left in the cylinder. The weight of LPG filled is 14.2 kg so the total weight will be Tare WT(weight of empty cylinder)+14.2 kg. We can measure the total weight by using a load cell. A load cell is a transducer that is used to convert a force into electrical signal; this conversion is indirect and happens in two stages. Through a mechanical arrangement, the force being sensed deforms a strain gauge, the strain gauge measures the deformation (strain) as an electrical signal, because the strain changes the effective electrical resistance of the wire. A load cell usually consists of four strain gauges in a Wheatstone bridge configuration. The output of the load cell is given to an ADC and then to a processing unit consisting of the microcontroller. The microcontroller continuously monitors the gas level from the measured weight and alerts, sends SMS to the agency automatically for booking purpose. The SMS is sent by using a GSM modem connected to the microcontroller. The system also has an added feature of gas leakage detection which is implemented using a gas leak sensor. It gives necessary alert when gas leakage is detected.

Block Diagram



BLOCK DIAGRAM EXPLANATION
Gas detector
      A gas detector is a device which detects the presence of various gases within an area, usually as part of a safety system. This type of equipment is used to detect a gas leak and interface with a control system so a process can be automatically shut down. A gas detector can also sound an alarm to operators in the area where the leak is occurring, giving them the opportunity to leave the area. This type of device is important because there are many gases that can be harmful to organic life, such as humans or animals. Gas detectors are usually battery operated.
   A pressure sensor measures pressure, typically of gases or liquids. Pressure is an expression of the force required to stop a fluid from expanding, and is usually stated in terms of force per unit area. A pressure sensor usually acts as a transducer; it generates a signal as a function of the pressure imposed. Analog-to-digital converter. An analog-to-digital converter (abbreviated ADC, A/D or A to D) is a device that converts the input continuous physical quantity to a digital number that represents the quantity's amplitude. The conversion involves quantization of the input, so it introduces a small amount of error. The inverse operation is performed by a digital-to-analog converter (DAC). Instead of doing a single conversion, an ADC often performs the conversions ("samples" the input) periodically. The result is a sequence of digital values that have converted a continuous-time and continuous-amplitude analog signal to a discrete-time and discrete-amplitude digital signal.
Microcontroller 
     A microcontroller (sometimes abbreviated µC, uC or MCU) is a small computer on a single integrated circuit containing a processor core, memory, and input/output peripherals. Program memory in the form of NOR flash or OTP ROM as well as a typically small amount of RAM. Microcontrollers are designed for embedded applications, in contrast to the microprocessors used in personal computers or other general purpose applications. Microcontrollers are used in automatically controlled products and devices, such as automobile engine control systems, implantable medical devices, remote controls, office machines, appliances, power tools, toys and other embedded systems. By reducing the size and cost compared to a design that uses a separate microprocessor, memory, and input/output devices, microcontrollers make it economical to digitally control even more devices and processes. 
Relay
    A relay is an electrically operated switch. Many relays use an electromagnet to operate a switching mechanism mechanically, but other operating principles are also used. Relays are used where it is necessary to control a circuit by a low-power signal (with complete electrical isolation between control and controlled circuits), or where several circuits must be controlled by one signal.
GSM modem
   GSM (Global System for Mobile Communications, originally Groupe Spécial Mobile), is a standard set developed by the European Telecommunications Standards Institute (ETSI) to describe protocols for second generation (2G) digital cellular networks used by mobile phones.
Working
     The system consists of a load sensor and LPG sensor. The load sensor is used for weighing the LPG cylinder. The LPG sensor is used for detecting the presence of methane gas. The output of load and LPG sensor is given to the ADC. The output of ADC is a digital signal, which is fed to the microcontroller. This microcontroller is programmed by embedded language with our requirements. When the LPG sensor detects the presence of methane gas, the buzzer connected with microcontroller section alert the user. This also triggers the relay and cut off the main supply. When pressure reduces, the microcontroller detects and automatically books the gas by an SMS, with the help of a GSM module.

COMPONENT DESCRIPTION

Micro Controller(ATMEL 89C51)
    It is a low-power, high-performance CMOS 8-bit microcomputer With 4K Bytes of Flash programmable and erasable read only memory (PEROM). The device is manufactured using Atmel’s high-density nonvolatile memory technology and incompatible with the industry- standard MCS-51 instruction set and pin out. The on-chip Flash allows the program memory to be reprogrammed in system or by a conventional nonvolatile memory programmer. By combining a versatile 8- bit CPU with Flash on a monolithic chip, the Atmel AT89C51 is a powerful micro-computer, which provides a highly flexible and cost-effective solution to many embedded control applications.
A/D Converter (ADC0808) 
   An analog-to-digital converter is a device which converts continuous signals to discrete digital numbers. Typically, an ADC is an electronic device that converts an input analog voltage (or current) to a digital number proportional to the magnitude of the voltage or current. This circuit demonstrates the interfacing of ADC0808 with 8051 microcontroller (AT89C51). The output is taken on the LEDs. This is an intermediate circuit, which finds lot of applications. ADC0808 needs an external clock to run. The circuit describes how a D-flip flop can be used to provide the external clock. The ADC0808M is a monolithic CMOS device with an 8-channel multiplexer, an 8-bit analog-to-digital (A/D) converter, and microprocessor-compatible control logic. The 8-channel multiplexer can be controlled by a microprocessor through a 3-bit address decoder with address load to select any one of eight single-ended analog switches connected directly to the comparator. The 8-bit A/D converter uses the successive-approximation conversion technique featuring a high-impedance threshold detector, a switched capacitor array, a sample-and-hold, and a successive- approximation register (SAR).
RS232 Interface 
     RS-232 is the traditional name for a series of standards for serial binary single-ended data and control signals connecting between a DTE (Data Terminal Equipment) and a DCE (Data Circuit terminating Equipment). It is commonly used in computer serial ports. The standard defines the electrical characteristics and timing of signals, the meaning of signals, and the physical size and pin out of connectors. The current version of the standard is TIA-232-F Interface between Data Terminal Equipment and Data Circuit-Terminating Equipment Employing Serial Binary Data Interchange, issued in 1997. An RS-232 port was once a standard feature of a personal computer for connections to modems, printers, mice, data storage, uninterruptible power supplies, and other peripheral devices. However, the low transmission speed, large voltage swing, and large standard connectors motivated development of the universal serial bus, which has displaced RS-232. From most of its peripheral interface roles. Many modern personal computers have no RS-232 ports and must use an external converter to connect to older peripherals. Some RS-232 devices are still found, especially in industrial machines or scientific instruments. The standard has been Telecommunications renamed several times during its history as the sponsoring organization changed its name, and has been variously known as EIA RS-232, EIA 232, and most recently as TIA 232. The standard continued to be revised and updated by the Electronic Industries Alliance and since 1988 by the Industry Association (TIA). Revision C was issued in a document dated August 1969. Revision D was issued in 1986. The current revision is TIA-232-F Interface between Data Terminal Equipment and Data Circuit-Terminating Equipment Employing Serial Binary Data Interchange, issued in 1997. RS-232 was created for one purpose, to interface between Data Terminal Equipment (DTE) and Data Communications Equipment (DCE) employing serial binary data interchange. So as stated the DTE is the terminal or computer and the DCE is the modem or other communications device. RS-232 pin-outs for IBM compatible computers are shown below. There are two configurations that are typically used: one for a 9-pin connector and the other for a 25-pin connector.
MAX232
   The MAX232 is a dual driver/receiver that includes a capacitive voltage generator to supply TIA/EIA-232F voltage levels from a single 5-V supply. Each receiver converts TIA/EIA-232-F inputs to 5-V TTL/CMOS levels. These receivers have a typical threshold of 1.3 V, a typical hysteresis of 0.5 V, and can accept ±30-V inputs. Each driver converts TTL/CMOS input levels into TIA/EIA-232-F levels. The driver, receiver, and voltage-generator functions are available as cells.
GSM Modem
   This GSM Modem can accept any GSM network operator SIM card and act just like a mobile phone with its own unique phone number. Advantage of using this modem will be that you can use its RS232 port to communicate and develop embedded applications. Applications like SMS Control, data transfer, remote control and logging can be developed easily. The modem can either be connected to PC serial port directly or to any microcontroller. It can be used to send and receive SMS or make/receive voice calls. It can also be used in GPRS mode to connect to internet and do many applications for data logging and control. In GPRS mode you can also connect to any remote FTP server and upload files for data logging. This GSM modem is a highly flexible plug and play quad band GSM modem for direct and easy integration to RS232 applications. Supports features like Voice, SMS, Data/Fax, GPRS and integrated TCP/IP stack.
LPG Sensor
  This is a simple-to-use liquefied petroleum gas (LPG) sensor, suitable for sensing LPG (composed of mostly propane and butane) concentrations in the air. This can detect gas concentrations anywhere from 200 to 10000ppm. This sensor has a high sensitivity and fast response time. The sensor's output is an analog resistance. The drive circuit is very simple; all you need to do is power the heater coil with 5V, add a load resistance, and connect the output to an ADC.

Description

   The system consists of a pressure sensor and LPG sensor. The pressure sensor is used for weighing the LPG cylinder. The LPG sensor is used for detecting the presence of methane gas. The output of pressure and LPG sensor is given to the analog to digital converter (ADC). The output of ADC is a digital signal, which is fed to the micro controller. This micro controller is programmed by embedded language with our requirements. When the LPG sensor detects the presence of methane gas, the buzzer connected with micro controller section alert the user. This also triggers the relay and cut off the main supply. When pressure reduces, the micro controller detects and automatically books the gas by an SMS, with the help of a GSM module. The GSM module is interface with the micro controller with the help of RS232 and MAX232 interface.
We can use IC555 to generate a clock signal which is used as a clock to the micro controller. Here we can use the micro controller ATMAL895C1. It requires a frequency signal between 0 to 25 MHz. Micro controller can program with our requirements. The gas sensor is MQ-6, which is very sensitive to LPG. Load sensor used is CZL-601. It is a 45 Kg capacity single load cell, used to measure the weight of the gas cylinder. Outputs of both the sensors are in analog form it is converted to digital form by the help of an analog to digital converter. The analog to digital converter used is ADC0808. ADC0808 is connected to micro controller through P1.0 to P1.7 and P3.2 to P3.7. The P1 ports are used to give the digital output from the ADC to micro controller and port P3.2 to P3.7 are used to control the ADC outputs and received values from the ADC. Port TXD and RXD are used to communicate micro controller to MAX232. When a gas leakage or weight of the cylinder become low the micro controller identifies the situation and communicates with RS232 & modem and send appropriate message to the user. Also a buzzer is connected to alert the user when the presence of gas is detected. Three LEDs are connected to the micro controller through port P0.1 to P0.3 for level indication. Also a LED is connected to the port P0.4, to indicate the gas leakage. Ports P2.2 to P2.7 are used for connecting the relays. The relays are interfaced to the micro controller with the help of the IC ULN2003AN. It is used to cut off the main power supply.

USB POWERED PC LAMP

It is a simple circuit to see the keyboard of  PC or laptop at night without using external power supply.


The power for glowing the LED is taken from the USB socket.

The main part of the circuit is LDR which can act as a switch(light-dependent) for the ON & OFF of LED.


This is a simple circuit that is used to see the keyboard of PC or laptop at night without disturbing other's sleep. These circuit does not take power externally. The power for glowing the LED is taken from the USB itself. It can work in darkness as well as the ambient light is poor during daytime. The power available from the USB socket of PC is 5V regulated DC.
            The main part of the circuit is light dependent resistor (LDR) which can act as a switch for the ON and OFF of the LED. The other components used for the circuit are, two transistors T1,T2 ,certain resistors and LEDs. In the working of the circuit, if T1 is on then T2  is off and vice versa. The conduction of the transistor T1 is indicated by a standby LED. the conduction of T2 produces the soft light to see the keyboard.
            LDR acts as a light dependent switch to turn on the lamp, when the ambient light in the room drops below the preset level. The lamp consist of six LEDs (LED2 - LED7). The base of the transistor T1 is connected to the voltage divider comprising LDR1 and preset VR1.
            When light in the room is sufficient, the resistance of LDR is low. Then the transistor T1 goes to saturation. When the transistor T1 conducts, transistor T2 goes to cut off. This shows the lamp is in off condition.
            When the ambient light in the room is poor or at night, the transistor T1 goes to cut off and T2 conducts. All the white LEDs are glow with sufficient brightness. All of the LEDs are connected to the power supply through series dropper resistor R2 through R7. These resistors are used to limit the current through white LEDs to a safe level.
            White LEDs are arranged in particular as each white LED requires a minimum of 2V. Preset VR2 is used to set the base voltage of transistor T2. Adjust preset VR2 until the white LEDs turn off in the preset light intensity level during the daytime.
           Assemble the circuit on general-purpose PCB and enclose in a suitable case. Power to the circuit is obtained from the USB socket using a USB cable for the purpose. Cut the ends of the USB cable to get the red and black wires for positive and negative supplies of the circuit. Cut the green and white wires of the USB cable and solder the red and black wires to the PCB. Use the USB plug at the end to draw power from the USB socket. Fix the unit near the keyboard so you can see the key buttons easily.

Block Diagram


BLOCK DIAGRAM  DESCRIPTION

Light Dependent Resistor [LDR] :
            LDR is the main component of the circuit. This resistor is sensitive towards light. When the light in the room is sufficient, the resistance of LDR is low and the light in the room is lesser than the predetermined level, the resistance of LDR is high.
Transistor T1 ON :
            During the heavy light, the resistance of the LDR is low. This results in a high voltage at the base of T1, driving it into saturation. When the transistor T1 conducts, transistor T2 is cut off. This disconnects the power supply to all white LEDs. LED1 glows as it is forward biased indicating the standby mode.
Transistor T2 ON :
            During the poor light, the resistance of the LDR is high. Then the transistor T1 is cut off and T2 conducts. All the white LEDs are glow with sufficient brightness.
LED OFF :
            When the light in the room is sufficient, it disconnects the power supply to all the white LEDs (LED2 through LED7).
LED ON :
            When it is dark, or the ambient light in the room is less than the predetermined level set by VR1, then T2 conducts. All the white LEDs glow with the sufficient brightness as these are connected to the power supply through series dropper resistor R2 through R7.
USB:
            Power to the circuit is obtained from the USB socket using a USB cable. For this purpose cut the ends of the USB cable to get red and black wires for positive and negative supplies of the circuit. The circuit is powered by regulated 5V DC available from the USB socket of the PC.

 Circuit Diagram


CIRCUIT DESCRIPTION
       This is a simple circuit. It consist of two transistors (T1 & T2), seven resistors (R1 to R7), seven LEDs (LED1 - LED7).

            The base of transistor T1 is connected to the voltage divider comprising LDR1 and preset VR1. The base of the transistor T2 is controlled by preset VR2. When transistor T1 conducts T2 is cut off and vice versa. All the white LEDs are with series dropper resistors R2 through R7 is connected to the emitter of transistor  T2. The end of the circuit is connected to the red and black wires of USB.
Working
    This is a simple circuit which is used to see the keyboard of PC or laptop at night without disturbing other's sleep. This circuit does not take power externally. The power for glowing the LED is taken from the USB itself. It can work in darkness as well as the ambient light is poor during daytime. The power available from the USB socket of PC is 5V regulated DC. The main part of the circuit is light dependent resistor (LDR) which can act as a switch for the ON and OFF of the LED. The other components used for the circuit are, two transistors T1 & T2, certain resistors and LEDs. In the working of the circuit, if T1 is on then T2 is off and vice versa. The conduction of the transistor T1 is indicated by a standby LED. The conduction of T2 produces the soft light to see the keyboard. LDR acts as a light dependent switch to turn on the lamp, when the ambient light in the room drops below the preset level. The lamp consist of six LEDs (LED2 - LED7). The base of transistor T1 is connected to the voltage divider comprising LDR1 and preset VR1.
      When light in the room is sufficient, the resistance of LDR is low. Then the transistor T1 goes to saturation. When the transistor T1 conducts, transistor T2 goes cut off. This shows the lamp is in off condition. When the ambient light in the room is poor or at night, the transistor T1 goes to cut off and T2 conducts. All the white LEDs are glow with sufficient brightness. All of the LEDs are connected to the power supply through series dropper resistor R2 through R7. These resistors are used to limit the current through white LEDs to a safe level. White LEDs are arranged in particular as each white LED requires a minimum of 2V. Preset VR2 is used to set the base voltage of transistor T2. Adjust preset VR2 until the white LEDs turn off in the preset light intensity level during the daytime. 
DETAILED COMPONENTS DESCRIPTION
Transistors [BC547]
    General Description
            The transistor used for the circuit are BC547. It has three region of working. They are active region, cut off region, saturation region. In this circuit we use two regions cut off region and saturation region. In cut off region transistor is in offline mode and in saturation region transistor is in online mode.
  Features
                        Voltage: BC547 ;  = 45V
                                           = 50V
                                           = 6V
                        Low Noise Figure
                        Complement to BC556/557/558/559/560
  Applications
            General Purpose Applications
            Switching Applications
LDR        
  General Description
            Two cadmium sulphide (CdS) photoconductive cells with spectral responses similar to that of the human eye. The cell resistance falls with increasing light intensity. Applications include smoke detection, automatic lighting control, batch counting and burglar alarm systems.                                 
  Features
            Minimum Operating Temperature = C
            Maximum Operating Temperature = C
            Maximum Power Dissipation = 100 mW
            Maximum Current = 75 mA
            Maximum Voltage AC/DC Peak = 320 V
            Typical Dark Resistance = 1 MΩ
            Typical Dark Capacitance = 3.5 pF
   The light dependent resistor is used as switch. This resistor is sensitive to light. When there is light then the resistance is low and there is dark then resistance is high.
Guide to source illuminations
Light source Illuminations
LUX
Moonlight
0.1
60W Bulb at 1m
50
1W MES Bulb at 0.1m
100
Fluorescent Lighting
500
Bright Sunlight
30,000


Table 4.1 Source Illuminations
  Applications
            Photoconductive cells are used in many different types of circuits and applications.           
           Analog Applications
                        Camera Exposure Control
                        Auto Slide Focus - dual cell
                        Photocopy Machines - density of toner
                        Colorimetric Test Equipment
                        Densitometer
                        Electronic Scales - dual cell
                        Automatic Gain Control - modulated light source
                        Automated Rear View Mirror
            Digital Applications
                        Automatic Headlight Dimmer
                        Night Light Control
                        Oil Burner Flame Out
                        Street Light Control
                        Absence / Presence (beam breaker)
                        Position Sensor

LEDs [Light Emitting Diodes] 
 General Description    
LEDs are used for emitting light. In the circuit we use two types of LEDs. They are green and white. Green LED is used for indicating the on condition of T1 and white LEDs are used to see the keyboard at night. Each white LED requires a minimum of 2V.
 Features
            Forward Voltage ( ) drop across LED
                        Diodes are current driven!
            Wavelength variations
                        Crystal and junction growth defects
            Brightness variations
                        Crystal defects resulting formation of phonons and non radiation energy transfer
            Temperature
                        Junction temperature of the device affects each of the parameters above 
 Applications
            Old days
                        Signal Indicators
                        Numeric and Alpha-numeric displays
            Nowadays
                        Automotive
                        Backlights
                        Flashlights for portable devices
                        Projector light sources
                        Signage
                        Torch Lights
                        Traffic Lights
Resistors
  General Description
            The resistors of 220Ω are used in this circuit. White LEDs are connected to the power supply through series dropper resistor R2 through R7. These resistors are used to limit the current through white LEDs to safe level.
  Applications
            In general, a resistor is used to create a known voltage-to-current ratio in an electric circuit. If the current in a circuit is known, then a resistor can be used to create a known potential difference proportional to that current. Conversely, if the potential difference between two points in a circuit is known, a resistor can be used to create a known current proportional to that difference.
Current-limiting. By placing a resistor in series with another component, such as a light-emitting diode, the current through that component is reduced to a known safe value.
An attenuator is a network of two or more resistors (a voltage divider) used to reduce the voltage of a signal.
All resistors dissipate heat. This is the principle behind electric heaters.
            A resistor has a maximum working voltage and current above which the resistance may change (drastically, in some cases) or the resistor may be physically damaged (overheat or burn up, for instance). Most resistors  are rated with a maximum power which is determined by the physical size. Common power ratings for carbon composition and metal-film resistors are 1/8 watt, 1/4 watt, and 1/2 watt. Metal-film and carbon film resistors are more stable than carbon resistors against temperature changes and age. Larger resistors are able to dissipate more heat because of their larger surface area. Wire-wound and resistors embedded in sand (ceramic) are used when a high power rating is required.
Presets
 General Description
                The variable resistor is a resistor whose value can be adjusted by turning a shaft or sliding a control. These are also called potentiometers or rheostats and allow the resistance of the device to be altered by hand. Variable resistors can be inexpensive single-turn types or multi-turn types with a helical element. Some variable resistors can be fitted with a mechanical display to count the turns. The presets are used for control the base of the transistors.