The utility model content
The technical problems to be solved in the utility model provides the alarming device that clear, long battery electric quantity, missed call and the people of unread information to mobile phone of a kind of energy carries out the mobile phone of light indication.
In order to solve the problems of the technologies described above, the utility model by the following technical solutions:
A kind of alarming device of mobile phone, comprise the central processing unit that is loaded in the mobile phone, also comprise the radio-frequency receiving-transmitting module and the field effect transistor that are contained in the mobile phone, the radio-frequency receiving-transmitting module is connected with central processing unit by bus, field effect transistor is connected with central processing unit by lead, the mobile phone sidewall offers display window, is equiped with the LED lamp group of cell-phone battery electric-charge quantity, missed call and people of unread information being indicated by lead being used for of being connected with field effect transistor in this display window.
The wavelength that described LED lamp group is indicated at the red light source LED lamp between 617.5-633.5nm, to missed call by the wavelength that battery electric quantity is indicated is formed at the blue-light source LED lamp between 465-475nm and to the green light source LED lamp of wavelength between 520-540nm that people of unread information is indicated.Described LED lamp group is connected with control switch on the control panel that is installed in mobile phone.
The utility model is by the LED lamp of installing pilot cell electric weight, missed call and people of unread information on handset shell, by the flicker of light, can be clear, indicate for a long time, effectively reminded the user, make the user in time grasp information, have great convenience for the user.
Embodiment
For the ease of those skilled in the art's understanding, the utility model will be further described below in conjunction with accompanying drawing.The following stated is not to be to qualification of the present utility model.
Shown in accompanying drawing 1,2, a kind of alarming device of mobile phone, comprise the central processing unit that is loaded in the mobile phone 1, and be contained in radio-frequency receiving-transmitting module and field effect transistor in the mobile phone 1, the radio-frequency receiving-transmitting module is connected with central processing unit by bus, field effect transistor is connected with central processing unit by lead, and the mobile phone sidewall offers display window 2, is equiped with the LED lamp group of cell-phone battery electric-charge quantity, missed call and people of unread information being indicated by lead being used for of being connected with field effect transistor in this display window 2.The wavelength that this LED lamp group is indicated at the red light source LED lamp between 617.5-633.5nm, to missed call by the wavelength that battery electric quantity is indicated is formed at the blue-light source LED lamp between 465-475nm and to the green light source LED lamp of wavelength between 520-540nm that people of unread information is indicated.LED lamp group also is connected with control switch on the control panel that is installed in mobile phone, and this control switch is used to control the Push And Release of LED lamp group.During concrete the assembling, indicate the sign that corresponding battery electric quantity, missed call and people of unread information are arranged, the program of control LED lamp group work is set in the mobile phone on corresponding LED lamp next door.Certainly, the LED lamp that carries out each indication also can be made as other colors, and the above is not to be qualification to the technical solution of the utility model.
As shown in Figure 3, the utility model is by central processing unit and be loaded on the break-make of the software control procedure control field effect transistor in the mobile phone, to realize the light on and off of each LED lamp.Be lower than predefined threshold values or incoming call arranged or when information is arranged when mobile phone detects battery electric quantity, mobile phone touches LED lamp control program voluntarily, according to different trigger conditions different general I/O GPIO mouths is controlled, the GPIO mouth sends the pulse-width modulation PWM waveform of different duty, metal-oxide-semiconductor conducting when the PWM waveform is high level, the LED lamp is bright, and metal-oxide-semiconductor was closed when the PWM waveform was low level, the LED lamp extinguishes, and then realizes that different conditions has the different purposes that show.In addition, also start the timing to the shinny time of LED lamp when starting trigger condition, timing to 30 minute stops.In the process of timing, if new trigger event is arranged again, then corresponding timer empties reclocking.If mobile phone has detected charger when inserting, the level of the GPIO mouth of the LED lamp that battery electric quantity is indicated is drawn high, and charger is finished or extracted in charging and electric weight is higher than when setting threshold values, and the level of the GPIO of this LED lamp is dragged down.When all missed calls or people of unread information were all checked, the level of the GPIO mouth of corresponding LED lamp was dragged down, and empties timer simultaneously.
The ruuning situation of the corresponding LED lamp that battery electric quantity, missed call and people of unread information are indicated is as follows, and therefore the wavelength difference of each LED lamp, works alone separately, does not disturb mutually.
1. the green light source LED lamp that people of unread information is indicated, when the information of receiving such as new message, new multimedia message, new mail, new chat message, this green light source LED lamp begins flash for prompting, flicker frequency is 3 times/second, time is set to 10 seconds, when also having information not check after 10 seconds, discloses lamp every flicker in 3 seconds once, as nobody checks always, then continue prompting 30 minutes.
2. the blue-light source LED lamp that missed call is indicated, when incoming call, this blue-light source LED lamp begins flash for prompting, flicker frequency is 3 times/second, time is set to 10 seconds, when also having missed call not check after 10 seconds, discloses lamp every flicker in 3 seconds once, as nobody checks always, then continue prompting 30 minutes.
3. the red light source LED lamp that battery electric quantity is indicated, when battery electric quantity is lower than predefined threshold values, this red light source LED lamp begins flash for prompting, flicker frequency is 3 times/second, time is set to 10 seconds, also do not have when charging after 10 seconds, warning light glimmered once until 30 minutes every 3 seconds; When mobile phone in when charging, this red light source LED lamp is more shinny, charges and finishes or extract charger, when electric weight was higher than predefined threshold values, this red light source LED lamp extinguished.
The above-mentioned flicker frequency of mentioning, setting-up time etc. all can be arranged to other numerical value, are not to immobilize, and set according to client's needs.