CN106909067A - A kind of electronic alarm clock device and its implementation - Google Patents
A kind of electronic alarm clock device and its implementation Download PDFInfo
- Publication number
- CN106909067A CN106909067A CN201710144519.0A CN201710144519A CN106909067A CN 106909067 A CN106909067 A CN 106909067A CN 201710144519 A CN201710144519 A CN 201710144519A CN 106909067 A CN106909067 A CN 106909067A
- Authority
- CN
- China
- Prior art keywords
- time
- alarm clock
- color
- light emitting
- emitting device
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G04—HOROLOGY
- G04G—ELECTRONIC TIME-PIECES
- G04G11/00—Producing optical signals at preselected times
-
- G—PHYSICS
- G04—HOROLOGY
- G04G—ELECTRONIC TIME-PIECES
- G04G9/00—Visual time or date indication means
Abstract
The invention discloses a kind of electronic alarm clock device and its implementation, including microprocessor and respectively with the clock chip and memory of microprocessor two-way communication link, the output end of microprocessor connects the input of display screen and colour light emitting device respectively, and the input of microprocessor connects the output end of battery and button respectively.The present invention is in addition to using traditional LCD display display time, alarm time is also indicated by color, the colour light emitting device that user can edit the glow color alarm clock of 6 time periods before the alarm time and quarter-bell of alarm clock just sends colourama according to the color for setting, so user can according to glow color it may determine that current time apart from alarm time how long, convenient and swift, particularly evening can avoid seeing the sense of discomfort that time-bands are come.And luminous intensity is adjustable, fitness is wide, disclosure satisfy that the demand of different user, and total low cost, and structure is novel.
Description
Technical field
The present invention relates to electronic clock technology, more particularly to a kind of electronic alarm clock device and its implementation.
Background technology
Electronic clock be it is a kind of shown using digital circuit the second, point, when time set, compared with traditional mechanical clock,
It has the advantages that punctual timing, intuitive display, mechanical transmission device, thus is used widely.With people's life cycle
The continuous improvement and beautification in border, digital electronic clock is can see in many occasions.
But, present electronic clock or electronic alarm clock are shown using pointer instruction or LCD/LED, but for god
For crowd through ill healths such as weak or insomnia crowds, such alarm clock is not good enough.Some people's midnight wake up
The time of seeing usually is needed after coming, fears that alarm clock is not heard after ringing, and need to open eyes wide and see, so often made one from dim
In wake up, this is very painful for insomnia crowd.
The content of the invention
It is an object of the invention to overcome the deficiencies in the prior art, there is provided a kind of electronic alarm clock device and its implementation,
More intelligence and hommization.
In order to achieve the above object, the technical solution adopted by the present invention is:
A kind of electronic alarm clock device, including microprocessor and the clock chip with microprocessor two-way communication link and storage respectively
Device, the output end of microprocessor connects the input of display screen and colour light emitting device respectively, and the input of microprocessor connects respectively
Connect the output end of battery and button.
Used as presently preferred embodiments of the present invention, colour light emitting device of the present invention is made up of LED.
Used as presently preferred embodiments of the present invention, LED of the present invention is to include the LED of redgreenblue.
Used as presently preferred embodiments of the present invention, microprocessor of the present invention uses MSP430F1122 chips.
Used as presently preferred embodiments of the present invention, memory of the present invention uses eeprom memory, eeprom memory
It is made up of AT24C16 chips.
Used as presently preferred embodiments of the present invention, clock chip of the present invention is made up of DS1302 chips.
Used as presently preferred embodiments of the present invention, display screen of the present invention is the TFT color line screens of 128*64.
A kind of implementation method of applying electronic alarm clock, comprises the following steps:
First, the LED of redgreenblue is selected as colour light emitting device, each color of LED of the redgreenblue
Luminous intensity is that 0-100% is adjustable, represents not luminous when 0%, and 100% represents that luminous intensity is maximum, and three color illuminated in combination realize 1,000,000
The editor for planting color;
Second, determine the alarm time of alarm clock, the colour light emitting device before quarter-bell is edited one by one in 6 glow colors of time period,
During one time period colour light emitting device glow color of regulation, the luminous intensity of the LED of button regulation redgreenblue, by micro-
After processor treatment, by the intensity of colour light emitting device vision-control, often regulation completes the glow color of time period, that is, clicks on
Confirm, carry out the editor of next time period, until completing the setting of All Time section;
3rd, after being provided with, the quarter-bell information that memory storage user edits, including time point, time period and glow color;
4th, clock chip is responsible for real time execution clock, and for being shown on display screen after microcomputer reads;
5th, after start-up operation, microcomputer reads button obtains key information, and control colour light emitting device is sent out in different time sections
Go out the light of different colours, read clock chip display real-time time, the quarter-bell information that control display screen shows and edits user
Preserve in memory.
Compared with prior art, the beneficial effects of the invention are as follows:In addition to using traditional LCD display display time,
Alarm time is also indicated by color, user can edit the luminous of 6 time periods before the alarm time and quarter-bell of alarm clock
Color(But the time length of each time period and glow color user oneself edit), the colour light emitting device of alarm clock is just according to setting
Color send colourama, such user can according to glow color it may determine that current time apart from alarm time how long,
Convenient and swift, particularly evening can avoid seeing the sense of discomfort that time-bands are come.And luminous intensity is adjustable by 0~100%, can
1,000,000 kinds of color editor regulation is realized, fitness is wide, disclosure satisfy that the demand of different user, and total low cost, ties
Structure is novel.
Brief description of the drawings
Fig. 1 is overall structure diagram of the invention;
Fig. 2 is concrete structure schematic diagram of the invention.
Specific embodiment
It is described in detail referring to the drawings with reference to embodiment, to be carried out more to technical characteristic of the invention and advantage
Deep annotation.
Overall structure diagram of the invention as shown in figure 1, a kind of electronic alarm clock device, including microprocessor and respectively with
The clock chip and memory of microprocessor two-way communication link, the output end of microprocessor connect display screen and color hair respectively
The input of light device, the input of microprocessor connects the output end of battery and button respectively.Microprocessor by singlechip group into,
Using MSP430F1122 chips, auxiliary has clock chip, memory, colour light emitting device, 4 buttons, LCD display screens and batteries
Composition.
Microprocessor(Single-chip microcomputer)It is the system core, using the chip of MSP430F1122 models, such as in Fig. 2,
MSP430F1122 chips are 8 single-chip microcomputers of super low-power consumption, and with 20 pins, 14 I/O ports, major function is to read button
Key information is obtained, colour light emitting device is controlled, the light of different colours is sent.Clock chip display real-time time is read, LCD is controlled
Display screen is shown and the quarter-bell information of editing user is stored in eeprom memory.
Colour light emitting device of the present invention is made up of LED, and the LED is to include the LED of redgreenblue.As schemed
Shown in 2, in practical operation, colour light emitting device is actually a three-color LED light, and three-color LED light is by three luminous the two of parallel connection
Pole pipe D1(R)、D2(G)、D3(B)It is formed in parallel, three kinds of basic colors and their combinations such as red, green and blueness can be sent
Color.Three control pin of tri coloured lantern are respectively coupled to I/O port P12, P13 and P14 of single-chip microcomputer MSP430F1122.Single-chip microcomputer leads to
Cross the brightness of PWM functional realieys and the color adaptation of IO.User pass through button editor's glow color when, be according to the principle of three primary colours come
, by adjust three-color LED each color luminous intensity come realize color select.Red, green and blue every kind of face
The degree of regulation of color is that 0-100 is adjustable,(Represent not luminous when 0%, 100% represents the most strong light of hair, can set most strong light about
It is 5 lumens, certain luminous intensity can be arranged as required to), i.e., user can realize the editor of 100 million colors in theory.Separately
The outer switch for being responsible for whole alarm clock by switching S1.
Memory of the present invention uses eeprom memory, eeprom memory to be made up of AT24C16 chips.EEPROM
Memory uses AT24C16 chips, is the eeprom memory of 16KB capacity, for storing the quarter-bell information of the editor of user,
Including time point, time period and color.Single-chip microcomputer is communicated with AT24C16 by two iic bus, i.e., with the P10 of single-chip microcomputer and
P11 pins are simulated IIC agreements and are communicated with software.
Clock chip of the present invention is made up of DS1302 chips.As shown in Fig. 2 clock chip is DS1302 chips, adopt
Simplest clock chip is used, is responsible for real time execution clock, and read for single-chip microcomputer, single-chip microcomputer is also by iic bus with it
Communication.That is P24 the and P25 pins of Dan Pingji are communicated simulating IIC agreements.Set between the pin X1 and X2 of clock signal
One crystal oscillator Y2, it is ensured that hour hands frequency.
Display screen of the present invention is the TFT color line screens of 128*64, and 4 buttons as shown in Figure 2 are man-machine with LCD display
Operation interface, for the operation input of user and presentation of information, 4 buttons(S2、S3、S4、S5)It is directly connected to single-chip microcomputer
I/O port(P20、P21、P22、P23), waken up for interrupting, to realize low power operation.LCD display is color for the TFT of 128*64
Color screen, is communicated between single-chip microcomputer using SPI interface.P15, P16 and P17 of single-chip microcomputer are connected with the 5 of display screen, 6,7 pins.
Battery is the energy centre of this whole alarm clock, and No. 5 batteries of 2 section are employed in design, and P1 is power module, is responsible for providing the electricity of 3V
Pressure is used for whole system operation.
A kind of implementation method of applying electronic alarm clock, comprises the following steps:
First, the LED of redgreenblue is selected as colour light emitting device, each color of LED of the redgreenblue
Luminous intensity is that 0-100% is adjustable, represents not luminous when 0%, and 100% represents that luminous intensity is maximum, and three color illuminated in combination realize 1,000,000
The editor for planting color;
Second, determine the alarm time of alarm clock, the colour light emitting device before quarter-bell is edited one by one in 6 glow colors of time period,
During one time period colour light emitting device glow color of regulation, the luminous intensity of the LED of button regulation redgreenblue, by micro-
After processor treatment, by the intensity of colour light emitting device vision-control, often regulation completes the glow color of time period, that is, clicks on
Confirm, carry out the editor of next time period, until completing the setting of All Time section;
3rd, after being provided with, the quarter-bell information that memory storage user edits, including time point, time period and glow color;
4th, clock chip is responsible for real time execution clock, and for being shown on display screen after microcomputer reads;
5th, after start-up operation, microcomputer reads button obtains key information, and control colour light emitting device is sent out in different time sections
Go out the light of different colours, read clock chip display real-time time, the quarter-bell information that control display screen shows and edits user
Preserve in memory.
In actual motion, for example, it 30 minutes is feux rouges, 30-60 minutes that system is set before giving tacit consent to quarter-bell by button
It is orange light, is within 60-90 minutes gold-tinted, be within 90-120 minutes green glow, 120 minutes to 480 minutes is blue light, and other times are not send out
Light, research shows that light azury helps sleep.Assume that user sets the quarter-bell of 6:00 AM, 6 alarm times are then red
Light can flash, while there is quarter-bell sound prompting.So 5:30 to 6:Alarm clock glows between 00;5:00 to 5:30 it
Between alarm clock be hair orange light;4:30 to 5:Alarm clock is Yellow light-emitting low temperature between 00;4:00 to 4:Alarm clock is green light between 30
's;22:00 to 4:It is blue light-emitting between 00.
Clear, complete description is carried out to the present invention by the technical scheme in above example, it is clear that described reality
The embodiment that example is a part of the invention is applied, rather than whole embodiments.Based on the embodiment in the present invention, this area is common
The every other embodiment that technical staff is obtained under the premise of creative work is not made, belongs to the model of present invention protection
Enclose.
Claims (8)
1. a kind of electronic alarm clock device, it is characterised in that:Including microprocessor and respectively with microprocessor two-way communication link
Clock chip and memory, the output end of microprocessor connect the input of display screen and colour light emitting device, microprocessor respectively
Input connect the output end of battery and button respectively.
2. electronic alarm clock device according to claim 1, it is characterised in that:The colour light emitting device is made up of LED.
3. electronic alarm clock device according to claim 2, it is characterised in that:The LED is to include redgreenblue
LED.
4. electronic alarm clock device according to claim 3, it is characterised in that:The microprocessor uses MSP430F1122
Chip.
5. electronic alarm clock device according to claim 4, it is characterised in that:The memory uses eeprom memory,
Eeprom memory is made up of AT24C16 chips.
6. electronic alarm clock device according to claim 4, it is characterised in that:The clock chip is by DS1302 chipsets
Into.
7. electronic alarm clock device according to claim 4, it is characterised in that:The display screen is colored for the TFT of 128*64
Screen.
8. a kind of implementation method of any one of application claim 1-7 electronic alarm clock devices, comprises the following steps:
First, the LED of redgreenblue is selected as colour light emitting device, each color of LED of the redgreenblue
Luminous intensity is that 0-100% is adjustable, represents not luminous when 0%, and 100% represents that luminous intensity is maximum, and three color illuminated in combination realize 1,000,000
The editor for planting color;
Second, determine the alarm time of alarm clock, the colour light emitting device before quarter-bell is edited one by one in 6 glow colors of time period,
During one time period colour light emitting device glow color of regulation, the luminous intensity of the LED of button regulation redgreenblue, by micro-
After processor treatment, by the intensity of colour light emitting device vision-control, often regulation completes the glow color of time period, that is, clicks on
Confirm, carry out the editor of next time period, until completing the setting of All Time section;
3rd, after being provided with, the quarter-bell information that memory storage user edits, including time point, time period and glow color;
4th, clock chip is responsible for real time execution clock, and for being shown on display screen after microcomputer reads;
5th, after start-up operation, microcomputer reads button obtains key information, and control colour light emitting device is sent out in different time sections
Go out the light of different colours, read clock chip display real-time time, the quarter-bell information that control display screen shows and edits user
Preserve in memory.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710144519.0A CN106909067A (en) | 2017-03-13 | 2017-03-13 | A kind of electronic alarm clock device and its implementation |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710144519.0A CN106909067A (en) | 2017-03-13 | 2017-03-13 | A kind of electronic alarm clock device and its implementation |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106909067A true CN106909067A (en) | 2017-06-30 |
Family
ID=59187491
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710144519.0A Pending CN106909067A (en) | 2017-03-13 | 2017-03-13 | A kind of electronic alarm clock device and its implementation |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106909067A (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2013090479A2 (en) * | 2011-12-12 | 2013-06-20 | Loree Leonor F | Easy wake system and method |
CN103885327A (en) * | 2014-01-04 | 2014-06-25 | 卫光辉 | Floodlight LED projection clock |
TWM490032U (en) * | 2013-12-10 | 2014-11-11 | Univ Hsiuping Sci & Tech | Color prompting function for clock/watch |
CN104717807A (en) * | 2015-04-01 | 2015-06-17 | 浙江农林大学 | LED sleep-supporting and awakening lamp and method |
CN204482130U (en) * | 2015-04-20 | 2015-07-15 | 陈伟标 | A kind of time control colorful noctilucent lamp |
CN205620681U (en) * | 2016-05-04 | 2016-10-05 | 广州城建职业学院 | Light sense sleep time -recorder |
-
2017
- 2017-03-13 CN CN201710144519.0A patent/CN106909067A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2013090479A2 (en) * | 2011-12-12 | 2013-06-20 | Loree Leonor F | Easy wake system and method |
TWM490032U (en) * | 2013-12-10 | 2014-11-11 | Univ Hsiuping Sci & Tech | Color prompting function for clock/watch |
CN103885327A (en) * | 2014-01-04 | 2014-06-25 | 卫光辉 | Floodlight LED projection clock |
CN104717807A (en) * | 2015-04-01 | 2015-06-17 | 浙江农林大学 | LED sleep-supporting and awakening lamp and method |
CN204482130U (en) * | 2015-04-20 | 2015-07-15 | 陈伟标 | A kind of time control colorful noctilucent lamp |
CN205620681U (en) * | 2016-05-04 | 2016-10-05 | 广州城建职业学院 | Light sense sleep time -recorder |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN205961497U (en) | Bluetooth ball bubble lamp | |
CN104883794A (en) | LED spotlight illumination control system based on WIFI module | |
CN102869157A (en) | Method for setting color of LED (light-emitting diode) lamp by on-off encoding of power supply switch | |
CN106455266A (en) | Color temperature adjusting device and color temperature adjusting method | |
CN206557550U (en) | A kind of visual type electronic alarm clock | |
CN106909067A (en) | A kind of electronic alarm clock device and its implementation | |
CN204993983U (en) | Intelligent illuminating device | |
CN204632316U (en) | LED light cube device | |
CN101610624A (en) | Control device of marine electronic variegated lamp | |
CN207491250U (en) | One kind is based on bluetooth BLE4.0 intelligent digital lamp light control systems | |
CN206403255U (en) | A kind of clothes of the LED display carried | |
CN204440028U (en) | A kind of bed-side alarm clock facilitating observing time | |
CN207083255U (en) | A kind of backlight adjusting means based on touch pad | |
CN204046884U (en) | Intelligent lighting wireless control module | |
CN202759653U (en) | LED lamp using power supply switch on-off encoding for setting color | |
CN105513470A (en) | Multifunctional one-chip microcomputer learning board | |
CN202751559U (en) | Eye physiotherapy instrument | |
CN206546694U (en) | A kind of display device | |
CN206710808U (en) | A kind of timer for changing the time with computer | |
CN206525011U (en) | Signal light control box and control system | |
CN204316841U (en) | Exchange thumb lamp controller | |
CN205546051U (en) | Intelligent lighting device of thing networking based on physics switch | |
CN204437945U (en) | A kind of infrared distance measurement and voice-operated chargeable intelligent small desk lamp | |
CN206100556U (en) | Many communication mode's intelligent LED lamp control experimental system | |
CN205924921U (en) | Wireless remote control basketball match score ware based on singlechip |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170630 |