Multifunctional learning desk lamp
Technical Field
The utility model belongs to information and automatic control field, concretely relates to multi-functional study desk lamp.
Background
The desk lamp is one of lighting tools in daily life, and is convenient for people to read, study and work. What is needed is a simple, practical article for learners to improve the efficiency of work and learning. With the improvement of the living standard of modern people, the substances of people are more various, but the mess is easily caused, and the learning efficiency is reduced. However, the traditional desk lamp only provides illumination requirements, most people do not have time concept during learning, the learning efficiency is low, and the pure copper desk lamp does not have functions of clock, timing and the like, so that the desk lamp is not beneficial to high-efficiency learning; secondly, the light of the table lamp on the market is too pale, the color spectrum is too narrow, the influence on the optic nerve of the eyes is caused, and the fatigue is easy to occur.
Disclosure of Invention
The utility model aims at the problem that above-mentioned background art exists, provide a multi-functional study desk lamp for improve the time concept, protect eyesight, thereby improved learning efficiency.
The utility model discloses a following technical scheme realizes:
a multifunctional learning desk lamp comprises a base, a pillar and a lampshade, wherein the pillar is vertically connected to the base, and the lampshade is arranged at the top end of the pillar; the base is internally provided with a control module, a power supply module, a clock timing module and an alarm module, the lampshade is internally provided with a luminescent lamp, and the surface of the base is provided with a display module and a key module; the power supply module is electrically connected with the control module, the clock timing module, the display module, the alarm module and the light-emitting lamp respectively and used for supplying power to the whole system; the signal output end of the control module is respectively connected with the signal input ends of the display module, the alarm module and the light-emitting lamp, the signal input end of the control module is in signal connection with the signal output end of the key module, and the signal input end of the control module is in signal connection with the signal output end of the clock timing module; the control module is used for driving the system configuration of each module; the clock timing module is used for providing time data for the control module; the display module is used for displaying time; the alarm module is used for reminding set time; the key module is used for adjusting the set time and controlling the switch of the light-emitting lamp.
The utility model discloses further improve the scheme and be, control module be AT89S51 singlechip.
The utility model discloses further improve the scheme and be, clock timing module adopt DS1302 clock chip, the CE of DS1302 clock chip resets the end and is connected with the P1.0 pin of AT89S51 singlechip, the SCLK serial clock end of DS1302 clock chip is connected with the P1.1 pin of AT89S51 singlechip, the IO data end of DS1302 clock chip is connected with the P1.2 pin of AT89S51 singlechip, crystal oscillator is connected to the X1 and the X2 end of DS1302 clock chip, the Vcc2 end of DS1302 clock chip is connected with power module.
The utility model discloses the further improvement scheme be, the display module adopt LCD1602 LCD, LCD1602 LCD 'S Vdd pin is connected with power module, LCD1602 LCD' S DB0 pin, DB1 pin, DB2 pin, DB3 pin, DB4 pin, DB5 pin, DB6 pin, DB7 pin respectively with the P0.0 pin of AT89S51 singlechip, P0.1 pin, P0.2 pin, P0.3 pin, P0.4 pin, P0.5 pin, P0.6 pin, P0.7 pin are connected.
The utility model discloses a further improvement scheme is, the button module be equipped with three groups, adopt the self-locking switch, including switch B1, switch B2 and switch B3; the switch B1 is used for adjusting time, the switch B2 is used for adjusting the brightness of the light-emitting lamp, and the switch B3 is used for setting time; the three groups of self-locking switches are connected in parallel, one end of the switch B1 is connected with a P2.7 pin of the AT89S51 singlechip, one end of the switch B2 is connected with a P2.6 pin of the AT89S51 singlechip, one end of the switch B3 is connected with a P2.5 pin of the main control chip AT89S51 singlechip, and the other ends of the switch B1, the switch B2 and the switch B3 are all grounded.
The utility model discloses further improve the scheme and be, the luminescent light adopt the LED lamp, the anodal P2.4 pin with AT89S51 singlechip of LED lamp is connected, the negative pole of LED lamp passes through resistance R0 and is connected with power module.
The utility model discloses a further improvement scheme is, alarm module include passive buzzer B1, resistance R23 and triode Q1; the collector of triode Q1 is connected with the power module, and the base of triode Q1 is connected with the P2.3 pin of AT89S51 singlechip through resistance R23, and the projecting pole of triode Q1 is connected with passive buzzer B1, and the other end ground connection of passive buzzer B1.
The utility model discloses further improve the scheme and be, power module adopts nickel-chromium rechargeable battery, the voltage of battery is 5V.
Compared with the prior art, the utility model, have following advantage:
the utility model discloses a multi-functional study desk lamp, through setting up power module, control module, clock timing module, display module, button module etc. both can be used for showing time and date, also can be used to show the alarm clock timing, in addition, adopt the automatic technique of adjusting luminance of LED lamp cooperation also can protect user's eyesight to improve learning efficiency, the LED illumination can not produce the pollution in production, use, has dissolved the destruction risk of mercury to the environment in the electricity-saving lamp use.
Drawings
Fig. 1 is a schematic structural diagram of the present invention.
Fig. 2 is a system block diagram of the present invention.
Fig. 3 is a pin connection diagram of the single chip microcomputer of the present invention.
Fig. 4 is a pin connection diagram of the clock timing module of the present invention.
Fig. 5 is a schematic circuit diagram of the light emitting lamp of the present invention.
Fig. 6 is a schematic diagram of a pin of the display module of the present invention.
Fig. 7 is a schematic pin diagram of the key module of the present invention.
Fig. 8 is a schematic diagram of the circuit connection of the alarm module of the present invention.
In the figure, the serial numbers are 1-base, 2-support, 3-lampshade, 4-control module, 5-power module, 6-clock timing module, 7-alarm module, 8-luminescent lamp, 9-display module and 10-key module.
Detailed Description
The present invention will be further described with reference to the accompanying drawings and examples.
Referring to fig. 1-2, a multifunctional learning desk lamp comprises a base 1, a pillar 2 and a lampshade 3, wherein the pillar 2 is vertically connected to the base 1, and the lampshade 3 is arranged at the top end of the pillar 2; the LED lamp is characterized in that a control module 4, a power module 5, a clock timing module 6 and an alarm module 7 are arranged inside the base 1, a luminescent lamp 8 is arranged inside the lampshade 3, and a display module 9 and a key module 10 are arranged on the surface of the base 1; the power module 5 is electrically connected with the control module 4, the clock timing module 6, the display module 9, the alarm module 10 and the light emitting lamp 8 respectively and used for supplying power to the whole system; the signal output end of the control module 4 is respectively connected with the signal input ends of the display module 9, the alarm module 7 and the luminescent lamp 8, the signal input end of the control module 4 is in signal connection with the signal output end of the key module 10, and the signal input end of the control module 4 is in signal connection with the signal output end of the clock timing module 6; the control module 4 is used for system configuration driving of each module; the clock timing module 6 is used for providing time data for the control module; the display module 9 is used for displaying time; the alarm module 7 is used for reminding set time; the key module 10 is used for adjusting the set time and controlling the on/off of the light emitting lamp.
In this embodiment, referring to fig. 3, the control module 4 is an AT89S51 single chip microcomputer. The Vcc of the AT89S51 singlechip is connected with the power module, the GND pin is grounded, the XTAL1 pin is the input end of the on-chip oscillator inverting amplifier and the clock generator circuit, and when the on-chip oscillator is used, the pin is connected with an external quartz crystal and a trimming capacitor; when an external clock source is adopted, the pin is connected with a signal of an external clock oscillator; the XTAL2 pin is the output end of the on-chip oscillator inverting amplifier, and when the on-chip oscillator is used, the pin is connected with an external quartz crystal and a trimming capacitor; when an external clock source is adopted, the pin is suspended; the RST pin is used as a reset signal input end, the high level is effective, the single chip microcomputer can be reset by adding the high level with the duration time more than 2 machine periods to the RST pin, and the pin is the low level less than or equal to 0.5V when the single chip microcomputer works normally. When the watchdog timer overflows the output, the pin will output a high level for up to 96 clock oscillation periods.
In this embodiment, referring to fig. 4, the clock timing module 6 employs a DS1302 clock chip, a CE reset terminal of the DS1302 clock chip is connected to a P1.0 pin of an AT89S51 single chip, an SCLK serial clock terminal of the DS1302 clock chip is connected to a P1.1 pin of an AT89S51 single chip, an I/O data terminal of the DS1302 clock chip is connected to a P1.2 pin of an AT89S51 single chip, X1 and X2 terminals of the DS1302 clock chip are connected to a crystal oscillator, the frequency is 32.768KHz, and a Vcc2 terminal of the DS1302 clock chip is connected to a power module.
In this embodiment, referring to fig. 6, the display module 9 adopts an LCD1602 LCD, a Vdd pin of the LCD1602 LCD is connected to the power module, and a DB0 pin, a DB1 pin, a DB2 pin, a DB3 pin, a DB4 pin, a DB5 pin, a DB6 pin, and a DB7 pin of the LCD1602 LCD are respectively connected to a P0.0 pin, a P0.1 pin, a P0.2 pin, a P0.3 pin, a P0.4 pin, a P0.5 pin, a P0.6 pin, and a P0.7 pin of the AT89S51 single chip.
In this embodiment, referring to fig. 7, the key module 10 has three sets, and adopts a self-locking switch, including a switch B1, a switch B2, and a switch B3; the switch B1 is used for adjusting time, the switch B2 is used for adjusting the brightness of the light-emitting lamp, and the switch B3 is used for setting time; the three groups of self-locking switches are connected in parallel, one end of the switch B1 is connected with a P2.7 pin of the AT89S51 singlechip, one end of the switch B2 is connected with a P2.6 pin of the AT89S51 singlechip, one end of the switch B3 is connected with a P2.5 pin of the main control chip AT89S51 singlechip, and the other ends of the switch B1, the switch B2 and the switch B3 are all grounded.
In this embodiment, referring to fig. 5, the light emitting lamp 8 is an LED lamp, an anode of the LED lamp is connected to a P2.4 pin of the AT89S51 single chip, and a cathode of the LED lamp is connected to the power module through a resistor R0.
In this embodiment, referring to fig. 8, the alarm module 7 includes a passive buzzer B1, a resistor R23, and a transistor Q1; the collector of triode Q1 is connected with the power module, and the base of triode Q1 is connected with the P2.3 pin of AT89S51 singlechip through resistance R23, and the projecting pole of triode Q1 is connected with passive buzzer B1, and the other end ground connection of passive buzzer B1.
In this embodiment, the power module 5 adopts a nickel-chromium rechargeable battery, and the voltage of the battery is 5V.
After the utility model is powered on, the user selects the button to press the button on the base, the light emitting lamp is turned on to provide light for the user, and the user can adjust the brightness of the light emitting lamp through the adjusting switch B2; at the moment, the internal clock timing module transmits the data to the control module, the control module displays the received time data on the display module, and a user can directly obtain current time information; when a user needs to finish certain work within the specified time, the time is set through the switch B3, data are transmitted to the control module through the clock timing module, when the control module detects the specified time value, the alarm module is started, and the buzzer makes a sound to remind the user that the time is reached.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, many modifications and improvements can be made without departing from the inventive concept, and all of them belong to the protection scope of the present invention.