Invention content
In view of the deficiencies of the prior art, the present invention intends to provide it is a kind of can be effectively to the chicken in refrigerator
The intelligent control environment-friendly type egg fresh-keeping box device that the case where egg is effectively monitored.
To achieve the above object, the present invention provides following technical solutions:A kind of intelligent control environment-friendly type egg fresh-keeping box
Device includes the egg holder of shell and setting inside the shell, several chickens for placing egg is offered in the egg holder
Egg hole, it is one-to-one in several described egg holes to be equipped with the detector whether put for detecting egg, the shell
Interior to be equipped with alarm set, the alarm set is coupled with detector, and detector output egg is put down in signal to alarm set, institute
Stating alarm set includes:
Microcontroller, the microcontroller have several I/O pins, several detectors are respectively correspondingly and I/O
Pin couples, and is put down in signal to microcontroller to export egg, while microcontroller exports egg number signal, described micro-
Quantity and the one-to-one timer of I/O pins are provided in controller, several timers pass through I/O pins and detector one
One corresponds to coupling, and signal is put down to receive egg;When timer, which receives egg, puts down signal, timer starts timing output
Timing signal, the timer is interior to have timing threshold value, and when timer to timing threshold value, timer exports alarm signal
Number;
Display device, the display device are set on the door of refrigerator, are also coupled with the I/O pins of microcontroller, to connect
Egg number signal is received to show egg quantity;
Phonetic alarm device is coupled to the I/O pins of microcontroller, to receive alarm signal, and exports alarm voice.
As a further improvement on the present invention, the display device includes:
Charactron circuit is coupled to the I/O pins of microcontroller, to receive egg number signal, to show egg number
Amount;
Three-color LED light circuit, the three-color LED light circuit include driving circuit and three colors that are arranged in external refrigerator doors
LED light, the driving circuit are coupled to the I/O pins of microcontroller, and also and three-color LED light, to receive egg number signal, institute
Stating has egg amount threshold in driving circuit, when the egg quantity of egg number signal is equal to egg amount threshold, driving
Circuit drives three-color LED light is shown in green, when the egg quantity of egg number signal is less than egg amount threshold and is more than 0
When, driving circuit driving three-color LED light is shown as blue, when the egg quantity of egg number signal is 0, driving circuit driving
Three-color LED light is shown in red.As a further improvement on the present invention, the charactron circuit includes:
Flip chip U1, flip chip U1 have several input pins and output pin, and the input pin is one by one
The corresponding I/O pins with microcontroller couple, to receive the egg number signal of microcontroller output, and by egg quantity
Signal is exported after being converted into display signal by output pin;
Charactron A is arranged in external refrigerator doors, has quantity and the one-to-one input terminal of output pin thereon, should
Input terminal is corresponded with output pin and is coupled, and to receive display signal, and is shown.
As a further improvement on the present invention, the driving circuit includes:
Driving chip U2, there are three input terminal and three output ends, three input terminals couplings for driving chip U2 tools
In the I/O pins of microcontroller, the egg number signal for receiving microcontroller output, three output ends difference is one by one
It corresponds to and is grounded after being coupled to three input pins of three-color LED light.
As a further improvement on the present invention, the detector includes detection pedestal and infrared emission tube and infrared ray
Reception pipe, the detection pedestal are arranged in the lower section in egg hole, and the upper side of the detection pedestal is offered to be communicated with egg hole
Egg slot, the infrared emission tube and infrared receiver tube are arranged on the cell wall of egg slot, and are oppositely arranged, described
The I/O pins of infrared receiver tube and microcontroller couple, and are put down in signal to microcontroller to export egg.
As a further improvement on the present invention, it is fixedly connected with the first magnet ring on the upper side of the detection pedestal, it is described
The hole of the downside in egg hole attracts each other along the second magnet ring, first magnet ring is above fixedly connected with the second magnet ring, will
Detection pedestal is removably attachable to the lower section in egg hole, and the upper surface of first magnet ring is fixedly connected with the first conductive sheet,
The lower face of second magnet ring is fixedly connected with the second conductive sheet, and first conductive sheet is coupled to power supply, and described second leads
The I/O pins of electric piece coupling and driving circuit, when the first magnet ring and the second magnet ring attract each other, the first conductive sheet is led with second
The electric inconsistent energization of piece, the second conductive sheet exports in electric signal to driving circuit, to adjust the egg quantity threshold in driving circuit
Value.
Beneficial effects of the present invention can effectively realize offer one for chicken by the setting of egg holder and egg hole
The space that egg is placed, and by the setting of detector and alarm set, it can effectively detect the mistake of the egg on egg hole
Phase situation, and then effective warning reminding, and filled by the way that alarm set is arranged to microcontroller, display device and alarm
It sets, the egg that detector output can be received by microcontroller put down signal, and setting by the timer in microcontroller
It sets, can the progress timing of the time on detector effectively be placed into egg, so effective realize calculates on egg hole
Whether egg lets off the effect of phase, and by the setting of display device, the placement feelings of egg in egg hole can be shown in real time
The standing time of condition and egg, more facilitate people to go to observe, egg of long duration is eaten in advance, is avoided the occurrence of
Expired the problem of the wasting that break down of egg, and then by the setting of phonetic alarm device, it is defeated can effectively to receive microcontroller
Then the alarm signal gone out exports alarm voice and indicates that the egg on egg hole is expired, avoids the occurrence of egg and do not eat for a long time
The problem of can not eating waste with caused egg is rotten.
Specific implementation mode
The present invention is described in further detail below in conjunction with the embodiment given by attached drawing.
Shown in 5, a kind of intelligent control environment-friendly type egg fresh-keeping box device of the present embodiment, including 1 He of shell
The egg holder 2 being arranged in shell 1 offers several egg holes 21 for placing egg, feature in the egg holder 2
It is:It is one-to-one equipped with the detector 3 whether put for detecting egg in several described egg holes 21, it is described outer
Alarm set 4 is equipped in shell 1, the alarm set 4 is coupled with detector 3, and detector 3 exports egg and puts down signal to reminding dress
It sets in 4, the alarm set 4 includes:
Microcontroller 41, the microcontroller 41 have several I/O pins, several detectors 3 one-to-one respectively
It couples with I/O pins, is put down in signal to microcontroller 41 to export egg, while microcontroller 41 exports egg quantity letter
Number, quantity and the one-to-one timer 411 of I/O pins are provided in the microcontroller 41, several timers 411 pass through
I/O pins are corresponded with detector 3 and are coupled, and signal is put down to receive egg;Signal is put down when timer 411 receives egg
When, timer 411 starts timing and exports timing signal, has timing threshold value in the timer 411, when 411 timing of timer
When to timing threshold value, 411 output alarm signal of timer;
Display device 42, the display device 42 are set on the door of refrigerator, are also coupled with the I/O pins of microcontroller 41,
To receive egg number signal showing egg quantity;
Phonetic alarm device 43 is coupled to the I/O pins of microcontroller 41, to receive alarm signal, and exports alarm
Voice, during using the egg fresh-keeping box of the present embodiment, it is only necessary to shell 1 is placed into refrigerator, later will
Egg is corresponding one by one to be placed into egg hole 21, and when egg is placed into egg hole 21, detector 3 can have
Effect detects that egg is placed into egg hole 21, and one egg of output is put down in signal to alarm set 4, and in alarm set
4 receive egg when put down signal, and it is to be input to microcontroller by the I/O pins of microcontroller 41 that egg, which puts down signal,
In 41, when microcontroller 41 receives this signal, just shown by display device 42, in the process of display
In, what display device 42 was shown is the quantity for the detector 3 that output egg puts down signal, such as when putting down 3 eggs
It waits, the detector 3 in corresponding 3 egg holes 21 will export corresponding egg and put down signal, and display device 42 will show 3
A egg so realizes the detection and display of egg quantity, while exporting egg in detector 3 and putting down signal to microcontroller 41
When interior, timer corresponding with the detector 3 411 will start timing in microcontroller 41, when timing is to timing threshold value, just
Indicate that egg has arrived at expired point, such as timing threshold value is 11 days, then when timing was by 11 days, also means that egg
It placed 11 days, microcontroller 41 sends out alarm signal and sends out audio alert to phonetic alarm device 43, so realizes one
The effect of egg standing time and quantity in a detection refrigerator just need not be looked into compared with needing frequently to open refrigerator in technology
The problem of seeing waste electric energy caused by confirmation, while can also only have the resting period of each egg, avoid in the prior art without
The problem of method timely and effectively disposes the egg to break down, and the mode for corresponding detection is used, it can be accurate
The storage situation for learning each egg avoids the occurrence of chaotic phenomenon, while in the present embodiment after egg is lifted, detection
Device 3 will export in a reset signal to microcontroller 41, corresponding timer 411 be resetted, and the present embodiment
In microcontroller 41 be existing programmable logic chip, phonetic alarm device 43 be existing voice guard.
As a kind of improved specific implementation mode, the display device 42 includes:
Charactron circuit 421 is coupled to the I/O pins of microcontroller 41, to receive egg number signal, to show chicken
Egg quantity;
Three-color LED light circuit 422, the three-color LED light circuit 422 include driving circuit 4222 and are arranged in external refrigerator doors
On three-color LED light 4221, the driving circuit 4222 is coupled to the I/O pins of microcontroller 41, also and three-color LED light
4221, to receive egg number signal, there is egg amount threshold in the driving circuit 4222, when the chicken of egg number signal
When egg quantity is equal to egg amount threshold, driving circuit 4222 drives three-color LED light 4221 shown in green, when egg quantity is believed
Number egg quantity be less than egg amount threshold and when more than 0, driving circuit 4222 drives three-color LED light 4221 to be shown as blue
Color, when the egg quantity of egg number signal is 0, driving circuit 4222 drives three-color LED light 4221 shown in red, due to
Microcontroller 41 is existing programmable logic chip, therefore signal of its output is binary signal, therefore the present embodiment
In egg number signal be binary digital signal, therefore charactron circuit 421 can effectively receive this two into
Signal processed is simultaneously shown, so effectively realizes on the several egg holes 21 shown on shell 1 at this time there is egg, and is passed through
The setting of three-color LED light circuit 422, while egg number signal can also be received, then by judging egg quantity and its
The magnitude relationship of interior egg amount threshold come be displayed in red, green and blue are further to remind the egg hole on people's shell 1
21 placement situation, it is more simple and clear.
As a kind of improved specific implementation mode, the charactron circuit 421 includes:
Flip chip U1, flip chip U1 have several input pins and output pin, and the input pin is one by one
The corresponding I/O pins with microcontroller 41 couple, to receive the egg number signal of the output of microcontroller 41, and by egg
Number signal is exported after being converted into display signal by output pin;
Charactron A1 is arranged in external refrigerator doors, has quantity and the one-to-one input terminal of output pin thereon, should
Input terminal is corresponded with output pin and is coupled, and to receive display signal, and is shown, charactron A1 in the prior art
It is made of being combined by 7 LED light, therefore it has 7 input pin, if thus it is directly straight with microcontroller 41
It connects in succession, the excessive pin of microcontroller 41 will be occupied, therefore use flip chip U1 models 74LS48 in the present embodiment
Setting, can realize that the input of four pins, the effect of 7 pins output so can be realized effectively and receive egg quantity
Signal, the effect that then drive digital tube A1 is shown.
As a kind of improved specific implementation mode, the driving circuit 4222 includes:
Driving chip U2, there are three input terminal and three output ends, three input terminals couplings for driving chip U2 tools
In the I/O pins of microcontroller 41, the egg number signal for receiving the output of microcontroller 41, three output ends difference
It corresponding and is grounded after being coupled to three input pins of three-color LED light 4221, three-color LED light 4221 has there are four pin,
In pin be grounding pin, other three pins correspond to 3 kinds of colors respectively, i.e., when pin one of in three pins
Input high level, and when other two pin input low level, three-color LED light 4221 will be shown corresponding to the pin
Color, and by the setting of driving chip U2 models 74LS244, the egg number that can effectively export microcontroller 41
Amount signal exports after being detected in corresponding signal to three-color LED light 4221, wherein being during detecting comparison
Directly judged by the triggering logic of 74LS244, just do not need internal processes auxiliary so, is reduced well entire
The cost of manufacture of egg fresh-keeping box.
As a kind of improved specific implementation mode, the detector 3 includes detection pedestal 31 and infrared emission tube 32
And infrared receiver tube 33, the detection pedestal 31 are arranged in the lower section in egg hole 21, the upper side of the detection pedestal 31
The egg slot 311 communicated with egg hole 21 is offered, the infrared emission tube 32 and infrared receiver tube 33 are arranged at chicken
It on the cell wall of egg slot 311, and is oppositely arranged, the infrared receiver tube 33 and the I/O pins of microcontroller 41 couple, to defeated
Go out egg to put down in signal to microcontroller 41, when egg is placed into egg hole 21, the shell of egg will stop
Between infrared emission tube 32 and infrared receiver tube 33, such infrared receiver tube 33 just can not receive infrared ray, such as
This infrared receiver tube 33 will export one it is low turn in high level signal to microcontroller 41, then this high level signal is just
It is that egg puts down signal, it is so effective to realize that one is detected the effect that egg is put down, and can also be used micro- in certain the present embodiment
The mode of switch is moved to realize the detection of egg, however since existing weight of egg is not of uniform size, uses microswitch
It is possible that because weight of egg not enough caused by the problem of can not triggering.
As a kind of improved specific implementation mode, the first magnet ring is fixedly connected on the upper side of the detection pedestal 31
312, the hole of the downside in the egg hole 21 is along being above fixedly connected with the second magnet ring 315, first magnet ring, 312 and second magnetic
Ring 315 attracts each other, and will detect the lower section that pedestal 31 is removably attachable to egg hole 21, first magnet ring 312 it is upper
End face is fixedly connected with the first conductive sheet 313, and the lower face of second magnet ring 315 is fixedly connected with the second conductive sheet 314, institute
It states the first conductive sheet 313 and is coupled to power supply, work/O pins of the second conductive sheet 314 coupling and driving circuit 4222, when the
When one magnet ring 312 and the second magnet ring 315 attract each other, the 314 inconsistent energization of the first conductive sheet 313 and the second conductive sheet, second
Conductive sheet 314 exports in electric signal to driving circuit 4222, to adjust the egg amount threshold in driving circuit 4222, by the
The setting of one magnet ring 312 and the second magnet ring 315 can realize the removably between detection pedestal 31 and egg hole 21, and
And it is simple and convenient during dismounting, compared to by the way of buckle, disassembly process is more quick, and passes through the first conduction
The setting of piece 314 and the second conductive sheet 313, just may be implemented in the first magnet ring 312 and when the second magnet ring 315 attracts each other,
First conductive sheet 313 and the second conductive sheet 314 contact with each other in one high level signal to driving circuit 4222 of output, then just
Can be achieved the egg amount threshold in driving circuit 4222 be by detect 31 installation number of pedestal number controlled
, therefore the function one section of edible how many egg is reminded may be implemented in the egg fresh-keeping box of the present embodiment, compared to use
The mode of software regulation and control can effectively complete the effect of threshold modifying during people assembles detection pedestal 31, adjust
Control process is more simple and convenient, while cost is also cheaper.
In conclusion the egg fresh-keeping box in the present embodiment can be effective by the setting in egg hole 21 and egg holder 2
Realization the placement space of one egg is provided can effectively realize inspection and by the setting of detector 3 and alarm set 4
The egg situation in egg hole 21 is surveyed, and when egg is soon expired, carries out the effect of audio alert.
The above is only a preferred embodiment of the present invention, protection scope of the present invention is not limited merely to above-mentioned implementation
Example, all technical solutions belonged under thinking of the present invention all belong to the scope of protection of the present invention.It should be pointed out that for the art
Those of ordinary skill for, several improvements and modifications without departing from the principles of the present invention, these improvements and modifications
It should be regarded as protection scope of the present invention.