Home > Sample essays > Programmed Room Lighting Controller with Bidrectional Counter: Research and Design

Essay: Programmed Room Lighting Controller with Bidrectional Counter: Research and Design

Essay details and download:

  • Subject area(s): Sample essays
  • Reading time: 6 minutes
  • Price: Free download
  • Published: 1 April 2019*
  • Last Modified: 23 July 2024
  • File format: Text
  • Words: 1,596 (approx)
  • Number of pages: 7 (approx)

Text preview of this essay:

This page of the essay has 1,596 words.



Introduction

1.1 Definition:

Venture is about 'Programmed Room Light Controller system with

Bidirectional Visitor Counter'. The reason for undertaking this is to make a controller model which total number of people going into the room and as needs be illuminate the room. For this we can make use of sensor to know number of people that have gone into and leave the room.

In today's world, there is a requirement for programmed

machines with the expansion in way of life, there is a necessity

for creating the circuits that would facilitate the many-sided

eminence of life.

Likewise if the main point is to need to know the quantity of individual’s exhibit in room so as not to have block this circuit is extremely useful.

1.2 Project Overview

The Project ‘Programmed Room Light Controller with Vision Counter using Microcontroller is a dependable circuit that is  that is utilized to control the room lights and also  counting number of people/visitors in the room precisely. When some individual goes inside the room then the value of counter is incremented by one and the room light

 will be turn ON and when any a person  goes out of the  the room then the value of  counter is decremented by one and the  light will be  turned OFF till  that all of the people in the room goes outside. The collective number of people is also shown on the seven segment display.

8

When the Microcontroller gets the indicator that is signal from the sensors and as this signal is worked under the control of programming which is put

Away in ROM. Microcontroller AT89S52 constantly screen the

then the Infrared Rays falling on the collector are deterred. This block is detected by the Microcontroller.

BLOCK DIAGRAM AND

ITS PORTRAYAL

Fig. 2.1 Block Diagram

The essential block diagram of the bidirectional

visitor counter with programmed light controller is shown

previously. Fundamentally the square outline comprise of the accompanying basic pieces:

‘ Power supply

‘ Entry and leave sensor circuit

‘ AT 89S52 microcontroller

 Relay Driver Circuit

1 ) Power Supply:

Here we utilize +5V and +12V DC control supply. The main goal of this square is to give the necessary measure of voltage to fundamental circuits. +12V is set for relay driver. To get the +5V DC control supply we have

utilized IC 7805, which gives the +5V DC controlled power

Supply.

2) Enter and leave Circuits:

The fundamental reason for this square is to detect the individual. For detecting the individual we are utilizing the Light Dependent Register (LDR). Utilizing this sensor and its related circuit graph we can check the number of people.

3) AT Microcontroller(89S52):

It is a low-control, elite CMOS 8-bit gadget with 8 KB of Flash Programmable and Erasable Read Only Memory(PEROM) . This gadget is made utilizing Atmel's

high-thickness non-unstable memory innovation and it is good with the MCS-51TM guideline set and pin out. The ON-chip flash enables the program memory to be reconstructed in framework or by a traditional non-volatile memory software engineer. By joining a flexible 8-bit CPU with Flash on a monolithic chip,The Atmel’s AT89S52 is effective.

It gives an exceptionally flexible and savvy answer for such a large number of installed control applications

4) Relay driver circuit:

This block mainly uses to drive the various controlled devices. In it we are using the transistor and the relays. One relay driver circuit is used to control the light. Output signal from microcontroller is given to the base of the transistor, which further energize the particular relay.

SCHEMATIC CHART

COLLECTOR CIRCUIT DIAGRAM

 

CIRCUIT PORTRAYAL

The Two main components of the system are:-

I. (Infrared LEDs) that is Transmission circuits

II. Collector circuits (known as Sensors)

1. Transmission circuit:

This circuit chart demonstrates a clock IC (555) which  is arranged  to

work as a mono stable Multi-vibrator. A Mono stable Multi-vibrator is

– a timing circuit that progressions its state once activated, however

comes back to its distinctive state after a definite time delay. It is named from the way that just a single of its yield states is steady. It is otherwise called ‘one-shot".

In the above circuit, a negative pulse connected at pin 2 which triggers an inside flip-flop that turn OFF pin 7's release transistor, enabling Cl to energize by means of R1. In the meantime, the flip-flop brings the yield of pin 3 levels to high. At the point when capacitor Cl is energized to around 2/3 Vcc, the flip-flop activated by and by, however this time it make the yield of pin 3 'low' and turn on pin 7's discharge transistor, which additionally release Cl to ground. This circuit in actuality creates a pulse at pin 3 whose width is the result

of R1 and Cl i.e., t =R1*Cl.

Infrared transmission circuit is utilized to create the modulated

36kHz signal. The clock IC at transmitter side is utilized to create 36

kHz square wave . Alter the preset in the transmitter circuit to get a

38 kHz signal at the yield. Around 1.4K we achieve a 38 kHz infrared signal. At that point we point it over the sensor and its yield will go low when it detects the infrared signal of 38 kHz.

COLLECTOR CIRCUIT:

The infrared transmitter discharge adjusted 38 kHz IR signal and at the recipient end we utilize TSOP1738 (Infrared Sensor). The yield will go high when the there is a distortion and it becomes low after certain era controlled the register and capacitor i.e., approx. 1 sec. CL 100 will trigger the clock IC which is designed as mono stable multi-vibrator. The Information will be provided at Port 1 of the microcontroller and Port 0 is utilized for the 7-Segment display. Port 2 is

utilized for the Relay turn On and turn OFF reason. LTS 542 (Common

Anode) is utilized for seven segment display and the time relay will get

6

the voltage and activated so the light will get voltage. At the point when counter will be 00 around then relay will be turn OFF. Reset button will be utilized to reset the microcontroller.

Equipment blueprint and

Portrayal

Equipment design:

Figure:  Picture of  Circuit

1161

4.1 Technique took after while designing:

Initially, we outlined the circuit in DIP TRACE programming. After fulfillment of the circuit we arranged the design. At that point we modified the microcontroller utilizing Topview Simulator programming utilizing hex file. After that soldering procedure was finished. After finish of the soldering procedure we tested the circuit. Still the coveted output was not gotten. Thus investigating was finished.

During the time spent investigating we found that the circuit was

apropos soldered and associated. Henceforth we reached conclusion

to acquire the coveted outcomes.

4.2 List of parts:

The lists of parts that are required to construct the get together of the Digital Speedometer Cum Odometer are said beneath:

Microcontroller ‘ AT89S52

‘ Preset 4.7K

‘ Sensor ‘ TSOP 1738 (Infrared Sensor)

‘ Transformer ‘ 12-0-12, 500 mA

‘ Rectifier Diode ‘ IN4148

‘ Transistor ‘ BC547, CL100

‘ Reset button switch

4.3 Portrayal of parts:

4.3.1 Micro Controller AT89S52:

It is a low-control, superior CMOS 8-bit gadget with 8 KB of

Flash Programmable and Erasable Read Only Memory (PEROM). This

gadget is  utilizing Atmel's high-thickness non-volatile memory

innovation and it is perfect with the MCS -51TM direction set and pin

out. The ON-chip flash enables the program memory to be reinvented

in framework or by a customary non-volatile memory developer. By

joining an adaptable 8-bit CPU with Flash on a monolithic chip, the

Atmel's AT89S52 is intense.

It gives a very adjustable and financially savvy answer for such a

Significant number of implanted control applications.

It has the following standard highlights: 8K bytes of Flash memory 256 bytes of RAM, watch Dog clock, 32 input/output lines, and 2  

Data pointers, six-vector two-level intrude on architecture, three 16-bit clock/counters, On-chip oscillator, a full duplex serial port, and clock hardware. Furthermore, it is composed with static logic for task down to zero frequency and backings two programming with selectable power sparing modes. The idle mode stops the CPU while permitting

the  clock/counters, RAM, serial port, and interfere with framework to

work. The Power-down mode permits to spares the RAM content

however solidifies the oscillator, incapacitating all other chip capacities

until the point when the following hinder or equipment reset.

Highlights:

‘ 8 KB reprogrammable flash.

‘ 32 programmable input/output lines.

‘ Three 16 bit Counter

‘ 8 Interrupt sources.

‘ Power range from  4V ‘ 5.5V

‘ Endurance : 1000 Writes / Erase cycles

‘ Fully static operation- 0 Hz to 33 MHz

‘ 3 level program memory lock

‘ Power off flag

‘ Low power Idle and Power down modes

‘ Full duplex UART serial channel

‘ Interrupt recovery from Power down mode ‘ 256 KB internal RAM

‘ Dual data pointer

4.3.2 TSOP1738 (Infrared Sensor)

Figure:- Infrared sensor

Portrayal:-

The TSOP 1 7 … ‘ series are scaled down recipients for IR remote

control frameworks. Pin diode and pre-amplifier are amassed on

lead outline, the epoxy bundle is planned as IR channel. The

demodulated 0/P signal can straightforwardly be decoded by a

microprocessor. It is the standard infrared remote control

Highlights:-

 Photo locator

and preamplifier in one bundle

‘ Internal channel for PCM frequency

‘ Improved protecting against electrical field unsettling influence

‘ TTL and CMOS similarity

‘ Output dynamic low

‘ Low control utilization

‘ High insusceptibility against encompassing light

‘ Continuous data transmission conceivable (up to 2400 bps)

‘ Suitable burst length .10 cycles/burst

Square Graph:

APPLICATION CIRCUIT

4.3.3 555 (Timer IC):

Figure:- Timer IC (555)

Portrayal:-

The clock IC is a very steady gadget for creating precise time deferrals or oscillation. Extra terminals are for activating or resetting if required. In the time defer method of task, time is absolutely controlled by one outside resistor and capacitor. For a stable task as an oscillator, the free running frequency and duty

cycle are controlled by two outer Resistors and one capacitor. The

About this essay:

If you use part of this page in your own work, you need to provide a citation, as follows:

Essay Sauce, Programmed Room Lighting Controller with Bidrectional Counter: Research and Design. Available from:<https://www.essaysauce.com/sample-essays/essay-2018-04-07-000e9s/> [Accessed 25-04-26].

These Sample essays have been submitted to us by students in order to help you with your studies.

* This essay may have been previously published on EssaySauce.com and/or Essay.uk.com at an earlier date than indicated.