Homeworks academic service


Automatic room light controller with unidirectional visitor counter

Engr Rana Muhammad Shakeel Engnr. Introduction Of Project 1. The objective of this project is to make a controller based model to count number of persons visiting particular room and accordingly light up the room. Here we can use sensor and can know present number of persons. Also if at all one wants to know the number of people present in room so as not to have congestion.

This circuit proves to be helpful. When somebody enters into the room then the counter is incremented by one and the light in the room will be switched ON and when any one leaves the room then the counter is decremented by one.

The light will be only switched OFF until all the persons in the room go out. The total number of persons inside the room is also displayed on the seven segment displays. The microcontroller does the above job. It receives the signals from the sensors, and this signal is operated under the control of software which is stored in ROM.

Mainly this block diagram consist of the following essential blocks. Entry and Exit sensor circuit 3. AT 89S52 micro-controller 4. Relay driver circuit 1. The main function of this block is to provide the required amount of voltage to essential circuits.

Enter and Exit Circuits: The main intention of this block is to sense the person. For sensing the person and light we are using the light dependent register LDR. By using this sensor and its related circuit diagram we can count the persons.

Manuscript Number : IJSRSET1621124

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 hip, the Atmel AT89S52 is a powerful 6 Microcontroller, which provides a highly flexible and cost effective solution so many embedded control applications.

In this block mainly we are using the transistor and the relays. One relay driver circuit we are using to control the light. Output signal from AT89S52 is given to the base of the transistor, which we are further energizing the particular relay. Because of this appropriate device is selected and it do its allotted function. There are two main parts of the circuits. Receiver Circuit Sensors 1. A monostable multivibrator is a timing circuit that changes state once triggered, but returns to its original state after a certain time delay.

It got its name from the fact that only one of its output states is stable. It is also known as a 'one-shot'. At the same time, the flip-flop brings the output pin 3 level to 'high'. This circuit, in effect, produces a pulse at pin 3 whose width t is just the product of R1 and C1, i. The IC in the transmitter side is to generate 36 kHz square wave.

User login

The output goes high when the there is an interruption and it return back to low after the time period determined by the capacitor and resistor in the circuit. CL is to trigger the IC which is configured as monostable multivibrator. Input is given to the Port 1 of the microcontroller. Port 0 is used for the 7-Segment display purpose. And that time Relay will get Voltage and triggered so light will get voltage and it will turn on.

And when counter will be 00 that time Relay will be turned off. Reset button will reset the microcontroller. Dip trace is a circuit designing software. After completion of the designing circuit I prepared the layout.

HOW TO ORDER (FOR OUR INTERNATIONAL BUYERS):

Then soldering process was done. After completion of the soldering process I tested the circuit. Still the desired output was not obtained and so troubleshooting was done. In the process of troubleshooting I found the circuit aptly soldered and connected and hence came to conclusion that there was error in programming section which was later rectified and the desired results were obtained.

Following is the list of components that are necessary to build the assembly of the Digital Speedometer Cum Odometer: The on-chip Flash allows the program memory to be reprogrammed in-system or by a conventional nonvolatile memory pro- grammar. By combining a versatile 8-bit CPU with in-system programmable Flash on a monolithic chip, the Atmel AT89S52 is a powerful microcontroller which provides a highly-flexible and cost-effective solution to many embedded control applications.

The AT89S52 provides the following standard features: In addition, the AT89S52 is designed with static logic for operation down to zero frequency and supports two software selectable power saving modes. The Power-down mode saves the RAM con- tents but freezes the oscillator, disabling all other chip functions until the next interrupt or hardware reset. PIN diode and preamplifier are assembled on lead frame, the epoxy package is designed as IR filter. The demodulated output signal can directly be decoded by a microprocessor.

AUTOMATIC ROOM LIGHT CONTROLLER WITH BIDIRECTIONAL VISITOR COUNTER PDF

The LM is a highly stable device for generating accurate time delays or oscillation. Additional terminals are provided for triggering or resetting if desired. In the time delay mode of operation, the time is precisely controlled by one external resistor and capacitor. For astable operation as an oscillator, the free running frequency and duty cycle are accurately controlled with two external resistors and one capacitor.

The circuit may be triggered and reset on falling waveforms, and the output circuit can source or sink up to mA or drive TTL circuits. The LTS is a 0. This device utilizes Hi-eff. Each type employs internal current limiting, thermal shut down and safe operating area protection, making it essentially indestructible.

If adequate heat sinking is provided, they can deliver over 1A output current. Although designed primarily as fixed voltage regulators, these devices can be used with external components to obtain adjustable voltages and currents. The relay requires 12 volts at a current of around ma, which cannot provide by the microcontroller. So the driver transistor is added. The relay is used to operate the external solenoid forming part of a locking device or for operating any other electrical devices.

Normally the relay remains off. As soon as pin of the microcontroller goes high, the relay operates. When the relay operates and releases. Diode D2 is the standard diode on a mechanical relay to prevent back EMF from damaging Q3 when the relay releases.

  1. The LM is a highly stable device for generating accurate time delays or oscillation. The total number of persons inside the room is displayed on seven segment display.
  2. The astable multivibrator does not require any external trigger to change the state of the output.
  3. Dull or crystallized surface.
  4. Here we can use sensor and can know present number of persons.
  5. The on-chip Flash allows the program memory to be reprogrammed in- system or by a conventional nonvolatile memory pro-grammar. Although designed primarily as fixed voltage regulators, these devices can be used with external components to obtain adjustable voltages and currents.

LED L2 indicates relay on. And if it is interrupted then the microcontroller will increment the count and switch on the relay, if it is first time interrupted. And if it is interrupted then the microcontroller will decrement the count.

And light will be turn off. That is easy for me but when we turn toward the main circuit, there are many problems and issues related to it, which we faced, like component selection, which components is better than other and its feature and cost wise a We started our project by making power supply.

That is easy for me but when I turn toward the main circuit, there are many problems and issues related to it, which are I faced, like component selection, which components is better than other and its feature and cost wise also, then refer the data books and other materials related to its.

I had issues with better or correct result, which I desired. And also the software problem. I also had some soldering issues which were resolved using continuity checks performed on the hardware. We had issues with better or correct result, which we desired. We also had some soldering issues which were resolved using continuity checks performed on the hardware. We started testing the circuit from the power supply. There we got over first trouble. After getting 9V from the transformer it was not converted to 5V and the circuit received 9V.

As the solder was shorted IC got burnt. So we replaced the IC