0 Preface
At present, desk lamps have become a necessity for thousands of households. However, they often waste a lot of energy because people forget to turn off the lights. When using them at night, they have to turn on the lights in the dark, which is very inconvenient. Most of the users of desk lamps are underage students. If they use desk lamps for a long time and sit in the wrong posture, their eyesight will be affected. This paper presents a design method for making an intelligent desk lamp based on a pyroelectric infrared sensor control circuit composed of BISS0001 and a single-chip computer 89C51. The controller of this method can automatically control the turning on and off of the desk lamp according to whether there is someone next to the desk lamp and the intensity of the light, making it more convenient for people to use and achieving energy-saving effects.
1 BISS000l and its features
BISS0001 is a high-performance sensor signal processing integrated circuit. It can be equipped with a pyroelectric infrared sensor and a small number of external components to form a passive pyroelectric infrared switch, so it can automatically and quickly turn on various incandescent lamps, fluorescent lamps, buzzers, automatic doors, electric fans, dryers, automatic wash basins and other devices. It is particularly suitable for sensitive areas such as corridors in enterprises, hotels, shopping malls, warehouses and homes, or for automatic lighting, illumination and alarm systems in safe areas. The main functions of BISS001 are as follows:
It is a CMOS digital-analog hybrid application-specific integrated circuit;
It has an independent high input impedance operational amplifier that can match a variety of sensors for signal processing;
Equipped with a bidirectional amplitude detector, it can effectively suppress interference;
Built-in delay timer and blocking time timer;
Novel structure, stable and reliable, wide adjustment range;
Built-in reference voltage, operating voltage range is 2 ~ 6V.
The pin distribution of the BISS0001 chip is shown in Figure 1.
2 System composition
The system block diagram of the intelligent desk lamp is shown in Figure 2. As can be seen from the figure, the system mainly consists of a power supply, a sensor, a signal processing unit, a BISS0001 chip, an MCU unit, a buzzer, a switch control unit and a lamp. The power supply outputs 12 V and 5 V voltages through 7812 and 7805 respectively. 12 V supplies power to LM324, and 5 V supplies power to the rest. The signal detection and processing part consists of a pyroelectric infrared sensor, a photoresistor, a signal processing unit and a BISS0001 chip; the function of the sensor is to sense whether there is someone, so a pyroelectric infrared sensor is used. The sensor is only sensitive to infrared radiation with a wavelength of about 10 μm (the wavelength of infrared radiation from the human body), and will not trigger the probe action for other objects except the human body; the function of the photoresistor is to sense the light intensity of the surrounding environment of the desk lamp; the MCU part uses the 89C5l single-chip microcomputer produced by ATMEL, which has the advantages of low price, simple development, convenient operation and encryption, so it has a very large market share. The function of the single chip is to process the signal sent by BISS0001 and send commands to the switch control unit and the buzzer; the buzzer unit mainly gives a warning signal according to the command issued by the MCU unit; the switch control unit is implemented by the digital-to-analog conversion chip DAC0832, and its task is to control the opening or closing of the desk lamp according to the command given by 89C51, thereby realizing the automatic control operation of the desk lamp.
3 Hardware Circuit Design
The power supply circuit of this system is shown in Figure 3. This part mainly uses integrated circuit modules 7805 and 7812 to provide 5 V and 12 V voltages.
Figure 4 shows the signal detection and processing unit circuit of this system, in which the pyroelectric infrared sensor is RE200B.
MCU and control circuit are shown in Figure 5.
This part of the circuit consists of a single-chip microcomputer AT89C51, a decoder 74LS138, a digital-to-analog conversion chip DAC0832 and an amplifier LM324. The main task is to drive the lamp after the control signal is amplified by the amplifier LM324.
The buzzer reminder circuit in the system is shown in Figure 6.
4 Software Design
Here are some source codes of the intelligent desk lamp software:
5 Conclusion
The popularity of desk lamps in households is very high. The smart desk lamp designed in this article will definitely bring more convenience to family life and will definitely play a certain role in reducing students' myopia.
Previous article:51 MCU Assembly Program Library
Next article:Four simple ways to expand 51 single-chip microcomputer interrupts!
- Popular Resources
- Popular amplifiers
- Learn ARM development(16)
- Learn ARM development(17)
- Learn ARM development(18)
- Embedded system debugging simulation tool
- A small question that has been bothering me recently has finally been solved~~
- Learn ARM development (1)
- Learn ARM development (2)
- Learn ARM development (4)
- Learn ARM development (6)
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- LED chemical incompatibility test to see which chemicals LEDs can be used with
- Application of ARM9 hardware coprocessor on WinCE embedded motherboard
- What are the key points for selecting rotor flowmeter?
- LM317 high power charger circuit
- A brief analysis of Embest's application and development of embedded medical devices
- Single-phase RC protection circuit
- stm32 PVD programmable voltage monitor
- Introduction and measurement of edge trigger and level trigger of 51 single chip microcomputer
- Improved design of Linux system software shell protection technology
- What to do if the ABB robot protection device stops
- Analysis of the application of several common contact parts in high-voltage connectors of new energy vehicles
- Wiring harness durability test and contact voltage drop test method
- From probes to power supplies, Tektronix is leading the way in comprehensive innovation in power electronics testing
- From probes to power supplies, Tektronix is leading the way in comprehensive innovation in power electronics testing
- Sn-doped CuO nanostructure-based ethanol gas sensor for real-time drunk driving detection in vehicles
- Design considerations for automotive battery wiring harness
- Do you know all the various motors commonly used in automotive electronics?
- What are the functions of the Internet of Vehicles? What are the uses and benefits of the Internet of Vehicles?
- Power Inverter - A critical safety system for electric vehicles
- Analysis of the information security mechanism of AUTOSAR, the automotive embedded software framework
- Is there a set of GD32 boards that you like?
- Summary of RC, LC, and RL circuit characteristics
- [Atria Development Board AT32F421 Review] - TEST04 Fast ADC Test
- ZigBee Good News - Solving the Problem of Short Communication Distance and Technology Being Restricted by People
- How to change the password length of the electronic lock from 6 digits to 16 digits?
- MaixSense R329 development board Tina system test
- Differences between MSP430 programmer emulator and JTAG, SBW, and BSL interfaces
- Common embedded development systems
- BUCK circuit simulation and experiment
- Is there a dedicated chip for PWM output of I2C interface?