Automatic Room light Control With Bi Directional Visitor Counter
Description: The objective of this project is to create a controller-based model that counts the number of individuals entering a specific room and activates the lighting accordingly. This is achieved through the use of sensors that detect the current number of occupants. In modern times, there is an increasing demand for automated appliances, driven by an elevated standard of living, which has led to a pressing need for circuits that simplify daily life. The infrared (IR) transmitter emits a modulated 38 kHz IR signal, while a TSOP1738 infrared sensor is employed at the receiver end. The output of the sensor goes high when an interruption occurs, returning to low after a duration determined by the circuit's capacitor and resistor, approximately one second. A CL100 transistor triggers an IC555 configured as a monostable multivibrator. Input is provided to Port 1 of the microcontroller, with Port 0 designated for the 7-segment display and Port 2 utilized for relay control to turn the lights on and off. The LTS 542 (common anode) is used for the 7-segment display. When the relay receives voltage, the light activates, and it turns off when the counter reaches zero. A reset button is included to reset the microcontroller. This circuit diagram illustrates how a 555 timer IC is configured as a basic monostable multivibrator, which changes state upon triggering and returns to its original state after a specified time delay. The circuit operates through a negative pulse applied to pin 2, which triggers an internal flip-flop that disables pin 7’s discharge transistor, allowing capacitor C1 to charge via resistor R1. The output at pin 3 goes high during this charging phase. Once C1 charges to approximately 2/3 of Vcc, the flip-flop triggers again, bringing the output low and activating pin 7’s discharge transistor to discharge C1 to ground. The result is a pulse at pin 3 with a width determined by the product of R1 and C1 (t = R1C1). The IR transmission circuit generates the modulated 36 kHz IR signal, with the IC555 on the transmitter side producing a 36 kHz square wave. The preset is adjusted to achieve a 38 kHz output signal, approximately 1.4k, which will cause the output of the sensor to go low when it detects the 38 kHz IR signal.
This project integrates various electronic components to create an efficient visitor counting and room lighting control system. The microcontroller serves as the central processing unit, managing inputs from the infrared sensor and controlling outputs to the relay and 7-segment display. The system operates by detecting movement through the IR sensor, which is sensitive to interruptions in the emitted 38 kHz signal. When a person enters the room, the interruption is detected, and the microcontroller increments the count displayed on the 7-segment display.
The monostable multivibrator configuration of the IC555 ensures that each detection event results in a precise timing pulse, which facilitates accurate counting and prevents multiple counts from a single interruption. The use of a relay allows for high-power applications, such as lighting, to be controlled by the low-power microcontroller output. The reset button provides a manual method to clear the count, enabling the system to be reused in different scenarios without manual intervention.
Overall, this circuit exemplifies the application of basic electronic principles in creating a practical solution for modern living, enhancing convenience through automation while maintaining simplicity in design.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. In today`s world, there is a continuous need for automatic appliances with the increase in standard of living, there is a sense of urg
ency for developing circuits that would ease the complexity of life. The IR transmitter will emit modulated 38 kHz IR signal and at the receiver we use TSOP1738 (Infrared Sensor). 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.
I. e. around 1 second. CL100 is to trigger the IC555 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. Port 2 is used for the Relay Turn On and Turn off Purpose. LTS 542 (Common Anode) is used for 7-Segment display. 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. Microcontroller based Visitor Counter. This circuit diagram shows how a 555 timer IC is configured to function as a basic monostable multivibrator. 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`. In this circuit, a negative pulse applied at pin 2 triggers an internal flip-flop that turns off pin 7 ²s discharge transistor, allowing C1 to charge up through R1. At the same time, the flip-flop brings the output (pin 3) level to high`. When capacitor C1 as charged up to about 2/3 Vcc, the flip-flop is triggered once again, this time making the pin 3 output low` and turning on pin 7 ²s discharge transistor, which discharges C1 to ground.
This circuit, in effect, produces a pulse at pin 3 whose width t is just the product of R1 and C1, i. e. , t=R1C1. IR Transmission circuit is used to generate the modulated 36 kHz IR signal. The IC555 in the transmitter side is to generate 36 kHz square wave. Adjust the preset in the transmitter to get a 38 kHz signal at the o/p. around 1. 4K we get a 38 kHz signal. Then you point it over the sensor and its o/p will go low when it senses the IR signal of 38 kHz.
The following circuit illustrates the sensor circuit of an analog line follower robot. Features include control by a microcontroller and a sensor circuit.
The sensor circuit for an analog line follower robot is designed to detect the presence of a line...
The schematic for controlling the motors is divided into three main sections, each serving a distinct function. The primary components featured in the schematic include the PIC 18F252 microcontroller, the SN754410 motor driver, and 2N2222 transistors. At the top of...
For beginners experiencing similar challenges, a general-purpose I/O board is recommended to minimize prototyping time and maximize space on the breadboard for projects. The construction of this board is straightforward. Basic I/O devices can be soldered onto a general-purpose perforated...
Downloading and CD-burning programs often offer the option to automatically shut down the PC upon completion of their tasks. However, this energy-saving feature is ineffective if all peripheral equipment remains connected to the mains and continues to consume power even...
A light computer has been developed that simulates the scanning effect seen in the KITT car from the TV series Knight Rider. The design utilizes a microcontroller, specifically the PIC16F84A, instead of the commonly used CD4017 counter IC. This choice...
A project is underway to control the speed of an electric fan (220Vac, 60W, 5A max.) automatically using a microcontroller based on certain parameters.
The circuit design for controlling the speed of an electric fan involves several key components to ensure...
Function generators are essential in the design, testing, and operation of encoders, modulators, demodulators, and measurement instruments. This document presents an economical method to construct a bus-controlled sinewave oscillator that exhibits exceptionally low distortion. The circuit produces a sinusoidal output...
The control of the system is managed by a Microchip PIC18F46K20-I/PT microcontroller, which is programmed with firmware to oversee the activity of the GSM/GPRS module, monitor the logic conditions of two opto-isolated inputs, and send commands to two relays within...
This is my long history the device that controls my home's night light, air-conditioner, etc. The device is a Miniature Real-time Controller. The circuit uses only three chips, a 89C2051, DS275 (or MAX232), and 74LS07 open collector driver. The scheduler...
We use cookies to enhance your experience, analyze traffic, and (if you allow) serve personalized ads.
By clicking Accept All, you agree to our use of cookies.
Learn more