[background technology]
The diversified development of electronic product makes that the function of electronic product is more and more diversified, to satisfy the different demand of people.Music player from tape player, CD player, develops into current MP3 player again, and the quality of music player is become better and better, and it is also more and more convenient to use.Yet, when music player is placed on domestic environment when using, in demand, also need to have the multifunctional usage that suitable family uses to the convenience of product.For example, in the bedroom, people need enjoy light music before sleeping, and to help sleeping eyes, perhaps reading when light music is play also can help to fall asleep.
China utility model patent ZL has disclosed a kind of desk lamp that has the source audio amplifier for No. 200620061461.0, the active audio amplifier of this patent by forming by loudspeaker and power amplification device in the inner setting of the device of desk lamp, connect CD player, MD by the audio signal input hole on the active audio amplifier, perhaps audio signal source such as MP3 uses.
Above-mentioned patent is to combine existing desk lamp and active audio amplifier, thereby convenient when using desk lamp, also can use active audio amplifier to carry out the broadcast of music.Yet, the active audio amplifier of this patent needs to connect separately outside music player, could play music, and need use music player and audio amplifier simultaneously, could play music, in case under the situation that does not have external music player, the sound equipment of this patent can not be play music, thus the use of restriction function of loudspeaker box.When especially using the desk lamp function in the bedroom, also need the user to prepare independent music player simultaneously, as insert outside CD player, MD machine or MP3 player and could use audio amplifier to listen to the music, and can not when using desk lamp, can play music at any time, then cause the very big inconvenience in home environment, using.
[specific embodiment]
Reach technological means and the effect that predetermined purpose is taked for further setting forth the utility model, below in conjunction with drawings and Examples, the specific embodiment, architectural feature and effect thereof to the lighting device that the utlity model has music playback function are described in detail as follows.
As Fig. 1, the lighting device that the utlity model has music playback function comprises microprocessor 11, memory 12, decoder 13, D/A 14, light-emitting component 15 and power management module 16.
Memory 12 comprises random access memory 121 and the flash memories (Flash Memory) 122 that is connected with microprocessor 11 respectively, and random access memory 121 is the Data Buffer Memories as microprocessor 11, the data in handling with storage microprocessor 11 data.Decoder 13 is connected with microprocessor 11, and is connected with D/A 14, and power management module 16 is connected with light-emitting component 15 and microprocessor 11 respectively, with output power supply.USB-OTG module 17 is connected with microprocessor 11, is used for being connected with outside USB electronic installation and carries out transfer of data.Display controller 18 is connected with microprocessor 11, and exports required content displayed and give display 181, thereby shows on display 181.
In the utility model, USB-OTG module 17 has the usb host function, and usb 1 71 is set, promptly, when being connected with the USB electronic installation of outside, USB-OTG module 17 can be connected with the USB electronic installation of outside carrying out transfer of data by usb 1 71, and transfer of data to the microprocessor 11 of USB electronic installation is handled.The usb 1 71 that USB-OTG module 17 is provided with can directly be connected with the USB electronic installation of outside, makes things convenient for USB-OTG module 17 directly to connect the memories with USB interface, perhaps connects the USB connecting line, is connected to computer by this USB connecting line again.When USB-OTG module 17 is connected with the USB electronic installation of the outside that only has memory function, USB-OTG module 17 of the present utility model is to carry out data communication as main frame and outside USB electronic installation, and directly reads the data in this outside USB electronic installation and be transferred to microprocessor 11.Use at this kind under the situation of USB-OTG module, can not use flash memories 122 of the present utility model to come storing audio files, and can by USB-OTG module 17 directly read and the USB electronic installation of transmit outer in data to microprocessor 11 handle, again through decoder 13 decoding outputs to carry out music.And when not using USB-OTG module 17 of the present utility model, the usb 1 71 that can connect USB-OTG module 17 by the usb data line, the lighting device that the utlity model has music playback function is connected to data processing equipment, as computer, thereby, can store by transfer of data such as audio file to the flash memories 122 of the present utility model that this data processing equipment will need to play, when playing, microprocessor 11 reads from flash memories 122 and handles, and is transferred to after decoder 13 decodings and the output broadcast.
Light-emitting component 15 is connected with power management module 16, obtain working power from power management module 16, thereby illuminating is with illumination.The connecting and disconnecting of the circuit of on-off controller 151 with direct control light-emitting component 15 is set between light-emitting component 15 and the power management module 16, and this on-off controller 151 can adopt the switch element with regulatory function, to regulate the power of light-emitting component 15 brightness of illuminations.The controller 151 that opens the light can also be set to the mode of contact witch panel, when in domestic environment, using, for example, when using night, only need to touch this contact witch panel and get final product operation-control switch with hand, thereby convenient this light-emitting component 15 of opening is with illumination, and having save common desk lamp also needs the trouble that could open after finding definite switch.
The lighting device that the utlity model has music playback function is connected with the AC power of outside, and power management module 16 is converted to dc source in order to the AC power with the outside, and carries out after the power distribution, offers light-emitting component 15 and microprocessor 11.Perhaps the utility model can directly adopt dc source, and is undertaken exporting to light-emitting component 15 and microprocessor 11 respectively after the power distribution by this power management module.In specific embodiment, light-emitting component 15 can adopt the LED of high brightness or OLED as light-emitting component, to increase stability of light source and brightness.In addition, also can adopt other light-emitting component that to launch soft light source.
Below, detailed description the utlity model has the operation principle of the lighting device of music playback function.
The lighting device that the utlity model has music playback function is with after outside AC power is connected, and power management module 16 is converted to dc source with the AC power of outside, and offers light-emitting component 15 and microprocessor 11 respectively.
The dc source that provides of power management module 16 directly is provided light-emitting component 15, in order to launch soft lighting source.
The dc source that microprocessor 11 reception power management modules 15 provide is with work, if detecting outside USB electronic installation, USB-OTG module 17 connects, then read the data on the external USB equipment that USB-OTG module 17 connects, and be transferred to microprocessor 11, microprocessor 11 receives the data of USB-OTG module 17 transmission and handles, if audio file, transfer to decoder 13 after the processing and carry out audio decoder, afterwards, decoded digital audio-frequency data is transferred to D/A 14 be converted to analog signal, export player 18 afterwards to play music.If microprocessor 11 does not receive the data of USB-OTG module 17 transmission, then, read the audio file of flash memories 122, transfer to after microprocessor 11 directly handles, equally, transfer to decoder 13 and carry out follow-up processing such as decoding, thereby carry out music by player 18.Microprocessor 11 carries out will needing content displayed to export to display controller 18 simultaneously in the data processing, afterwards, is shown by display 181.In concrete enforcement, display 181 can show the operating procedure of the lighting device that the utlity model has music playback function, can also show the relevant information of music in the music process, as the title of song, and singer's name and affiliated special edition.In order to operate the control music, the interface operation operating key 19 that the utility model setting is connected with microprocessor 11, thus can control the broadcast of music by this interface operation operating key 19.
In concrete enforcement, player 141 of the present utility model can adopt active audio amplifier, perhaps only is loudspeaker.If active audio amplifier in concrete design, can adopt the Mechanical Builds design of No. the 200620115715.2nd, Chinese utility model patent.Perhaps, the shaped design of active audio amplifier is become columned structure, form cavity in the inside of this cylinder, the needed resonant space of sounding during as music is to obtain preferable music effect.Top at this columned active audio amplifier is provided with supporting construction, and the light-emitting component of ring-type is set on the top of this supporting construction, for example, and the LED lamp of space set high brightness or OLED lamp.Thus, the then feasible bottom that the utlity model has the lighting device of music playback function is that columned active audio amplifier is play music, top then is to have the lighting device of soft light source with illumination, and music playback function and illumination functions can use simultaneously, also can select one to use as required arbitrarily, make things convenient for the application of domestic environment.In addition, active audio amplifier of the present utility model or loudspeaker also can be designed to other shape, as arc or rectangle etc. in order to realize that good result of broadcast gets final product.
In addition, the utility model can also be provided with FM broadcast reception module can be used as the reception of broadcast program, alarm clock, timed power on/off function perhaps are set, by display demonstration time etc., with the abundant function of use that the utlity model has the lighting device of music playback function, more convenient user uses.At further user demand, can also adopt the mode of remote control to control the music of the lighting device that the utlity model has music playback function.
Specific embodiment of the present utility model is non-in order to limit the utility model, and only in order to explanation the utility model, any conspicuous replacement or change that those skilled in the art is done on basis of the present utility model are protection domain of the present utility model.