In order to remove the odor in the bathroom in time, many families have installed ventilation fans, but some guests or children often forget to turn on the ventilation fans. In order to solve this problem, an electronic device that can automatically control the ventilation fan and lighting is designed, which does not add any trouble to people who go to the bathroom, and can automatically ventilate and turn on and off the lights, which is energy-saving and convenient.
Working principle
The working principle of the device circuit is shown in Figure 1 (click to download the schematic diagram). It consists of a magnetic switch circuit, a monostable delay circuit, a lighting control circuit, a ventilation fan control circuit and a power supply circuit. When the bathroom door is closed, the permanent magnet ZT is very close to the normally closed reed switch AG. Due to the magnetic force of ZT, the contact piece C in AG is disconnected, and the transistor VT is cut off without bias current. At this time, the ② pin of the time base integrated circuit IC1 is high, so IC1 is in a reset state, and the ③ pin of IC1 outputs a low level, and the relay J has no current and is not attracted, and the ventilation fan and lighting are both in a power-off state. Once someone enters the bathroom, the distance between ZT and AG will increase at the moment of entering the door, so that the magnetic lines of ZT cannot act on AG, so the two contacts in AG are reset and contacted, and the transistor is biased and turned on. After VT is turned on, the ② pin of IC1 becomes low level (only the saturation voltage drop value of VT), and IC is triggered and set. At this time, the ③ pin of IC1 jumps from the original low level to high level, and the relay J is excited and attracted. After J is attracted, its normally open contact J1-1 is closed, and the ventilation fan M is powered on and starts to exhaust. At the same time, another group of normally open contacts J1-2 of J is also closed, and the lighting lamp H is powered on and lit, and its height can be adjusted by RP. If it is daytime, due to the strong light shining on the photoresistor CdS, the internal resistance of CdS is very small, and the voltage across the phase-shifting capacitor C6 is not enough to turn on the trigger diode 2ST, so VS has no trigger current and is blocked, and the lighting lamp H will not light up. At night, since there is no sunlight shining on CdS, the internal resistance of CdS becomes very large, which is equivalent to an open circuit. At this time, 2ST is turned on, VS is turned on, and the lighting lamp H is lit.
After opening the door and entering the bathroom, although the door is closed again, at this time, due to the monostable effect of IC1, the circuit is still in the ventilation and lighting (night) state. When opening the door and leaving, ZT moves away from AG, and then closing the door again, causing ZT to approach AG again. After a delay, the light and ventilation fan will automatically stop working. In order to ensure that the door is usually closed, it is necessary to place a tension spring outside the door or replace it with a loose-leaf with a torsion spring, so that the door automatically closes after leaving, ensuring that ZT and AG are close.
The device is stepped down and limited by capacitor C5, and the full-bridge U is rectified by C4, and VDW is stabilized to supply DC power to the circuit.
Component selection and production
See the table below for the component list.
serial number | name | model | quantity | serial number | name | model | quantity |
R1, 6 | resistance | 10K | 2 | C5 | Metallized capacitors | 0.068u Withstand voltage ≥400V | 1 |
R2 | resistance | 5.1K | 1 | C6 | Metallized capacitors | 0.1u/160V | 1 |
R3* | resistance | 1M | 1 | VD | Rectifier diode | IN4001 | 1 |
R4* | resistance | 51Ω | 1 | VDW | Zener diode | 12V | 1 |
R5 | resistance | 1M/1W | 1 | 2ST | Bidirectional trigger diode | Breakover voltage 30-40V | 1 |
RP | Potentiometer | 100K Linear | 1 | VT | Transistor | 9014 | 1 |
CdS | Photoresistor | MG45-32 and other non-sealed types | 1 | VS | Bidirectional thyristor | 3A/400V | 1 |
C1, 3 | Polyester capacitor | 0.01u | 2 | IC | Time Base Integrated Circuit | NE555 | 1 |
C2 | Electrolytic Capacitors | 47u | 1 | J | Electromagnetic relay | JRX-13F | 1 |
C4 | Electrolytic Capacitors | 100uF/50V | 1 | AG | Reed Switch | Φ4mm Normally Closed | 1 |
The monostable working time of IC is determined by the value of 1.1R3C2. The brightness of the lighting lamp H can be changed by adjusting RP. RP can be a potentiometer or a solid core variable resistor. When it is found that the relay J is weak to attract, the resistance value of R4 can be reduced or simply omitted. After the entire circuit is welded and debugged, it can be put into use after being placed in a plastic box.
Previous article:Refrigerator Thermostat Replacement Device
Next article:Design of voltage regulation and timing dual-purpose controller
- Popular Resources
- Popular amplifiers
- Molex leverages SAP solutions to drive smart supply chain collaboration
- Pickering Launches New Future-Proof PXIe Single-Slot Controller for High-Performance Test and Measurement Applications
- CGD and Qorvo to jointly revolutionize motor control solutions
- Advanced gameplay, Harting takes your PCB board connection to a new level!
- Nidec Intelligent Motion is the first to launch an electric clutch ECU for two-wheeled vehicles
- Bosch and Tsinghua University renew cooperation agreement on artificial intelligence research to jointly promote the development of artificial intelligence in the industrial field
- GigaDevice unveils new MCU products, deeply unlocking industrial application scenarios with diversified products and solutions
- Advantech: Investing in Edge AI Innovation to Drive an Intelligent Future
- CGD and QORVO will revolutionize motor control solutions
- Innolux's intelligent steer-by-wire solution makes cars smarter and safer
- 8051 MCU - Parity Check
- How to efficiently balance the sensitivity of tactile sensing interfaces
- What should I do if the servo motor shakes? What causes the servo motor to shake quickly?
- 【Brushless Motor】Analysis of three-phase BLDC motor and sharing of two popular development boards
- Midea Industrial Technology's subsidiaries Clou Electronics and Hekang New Energy jointly appeared at the Munich Battery Energy Storage Exhibition and Solar Energy Exhibition
- Guoxin Sichen | Application of ferroelectric memory PB85RS2MC in power battery management, with a capacity of 2M
- Analysis of common faults of frequency converter
- In a head-on competition with Qualcomm, what kind of cockpit products has Intel come up with?
- Dalian Rongke's all-vanadium liquid flow battery energy storage equipment industrialization project has entered the sprint stage before production
- Allegro MicroSystems Introduces Advanced Magnetic and Inductive Position Sensing Solutions at Electronica 2024
- Car key in the left hand, liveness detection radar in the right hand, UWB is imperative for cars!
- After a decade of rapid development, domestic CIS has entered the market
- Aegis Dagger Battery + Thor EM-i Super Hybrid, Geely New Energy has thrown out two "king bombs"
- A brief discussion on functional safety - fault, error, and failure
- In the smart car 2.0 cycle, these core industry chains are facing major opportunities!
- The United States and Japan are developing new batteries. CATL faces challenges? How should China's new energy battery industry respond?
- Murata launches high-precision 6-axis inertial sensor for automobiles
- Ford patents pre-charge alarm to help save costs and respond to emergencies
- New real-time microcontroller system from Texas Instruments enables smarter processing in automotive and industrial applications
- Why can't I download resources even though I'm logged in?
- Pattern Recognition and Machine Learning - Ma Chunpeng 2014 Edition
- Seeking information on the sensor industry chain What materials are needed to produce sensors?
- Today's live broadcast: MPS's new generation magnetic angle sensor MA600 introduction and application
- [MPS Mall Big Offer Experience Season] Unboxing
- [Xingkong Board Python Programming Learning Main Control Board Review 4] Turtle Turtle Drawing
- What exactly is the problem?
- [EETALK]What are the applications of GaN in RF?
- Free application: 800MHz RISC-V high-performance domestic chip, Xianji HPM6750EVK2 is coming, OpenHarmony buff
- Matter and Developers - Connectivity Standards Alliance