Disclosure of Invention
Aiming at the defects and shortcomings of the prior art, the invention provides a photovoltaic timing label for medical reagents and food, which can achieve the function of time prompt on the surface of a reagent or food storage container.
In order to realize the purpose, the technical scheme adopted by the invention is as follows:
a photovoltaic timing label for medical reagents and food is rectangular in overall shape and sequentially comprises an upper protective layer, a circuit board layer, a lower protective layer and an adhesive layer from top to bottom;
a timing device is arranged on the electric board layer; the timing device comprises a microcontroller, a decoder, a display driving integrated circuit, a tact switch and a power supply; the circuit board layer comprises a first circuit board layer and a second circuit board layer, and the first circuit board layer is fixedly connected with the second circuit board layer; the microcontroller, the decoder and the display driving integrated circuit are arranged on the second circuit board layer;
the input end of the microcontroller is connected with the tact switch, the output end of the microcontroller is connected with the decoder, and the decoder is connected with the display driving integrated circuit; the power supply is connected with and supplies power to the microcontroller, the decoder and the display driving integrated circuit;
the upper part of the tact switch penetrates through the upper protective layer and is exposed outside.
Further, the thickness of the label is 5-8 mm.
Further, the thickness of the label is 6 mm.
Furthermore, the upper protective layer and the lower protective layer are both silica gel films; the upper protective layer and the lower protective layer are of an integrally formed structure; the electric board layers all adopt flexible circuit boards.
Further, the power supply adopts a dye-sensitized solar cell, the dye-sensitized solar cell and the tact switch are arranged on the first board layer, and a shading adhesive tape covers the part of the upper surface of the dye-sensitized solar cell, which penetrates out of the upper protective layer.
Further, the microcontroller is a single chip microcomputer, and the single chip microcomputer is an STC15F104W type single chip microcomputer;
the P3.4, P3.5 and P3.0 ports of the microcontroller are respectively connected with tact switches S0, S1 and S2; VCC and GND ports of the microcontroller are respectively connected with the positive electrode and the negative electrode of the power supply.
Furthermore, the decoder adopts a 74LS138 type decoder, and A, B and C ports of the decoder are respectively connected with P3.3, P3.2 and P3.1 ports of the microcontroller; the G2A, G2B and GND ports of the decoder are all grounded; the Y0, Y1, Y2, Y3, Y4, Y5, Y6 and Y7 ports of the decoder are respectively connected with resistors R10, R11, R12, R13, R14, R15, R16 and R17; resistors R1, R2, R3, R4, R5, R6 and R7 are respectively connected between two adjacent resistors R10-R17;
the resistance value of the resistor R10 is 32K omega, the resistance value of the resistor R11 is 13K omega, the resistance value of the resistor R12 is 7.333K omega, the resistance value of the resistor R13 is 5K omega, the resistance value of the resistor R14 is 4K omega, the resistance value of the resistor R15 is 3.667K omega, the resistance value of the resistor R16 is 3.714K omega, the resistance value of the resistor R17 is 4K omega, and the resistance values of the resistors R1-R7 are all 1K omega.
Further, the display driving integrated circuit is LM3914, and the port 5 of the display driving integrated circuit is connected to the resistor R7; the output port of the display driving integrated circuit is sequentially connected with light emitting diodes D0-D7, and the light emitting diodes D0-D7 are arranged in the protective shell.
Furthermore, the whole protective shell is rectangular, and the lower part of the protective shell is bonded on the first electric plate layer; eight protection cavities are formed in the protection shell through partition plates, and light emitting diodes D0-D7 are sequentially arranged in the eight protection cavities.
Further, the protective shell is made of transparent plastic; the upper surface of the protective shell penetrates through the upper protective layer and is exposed outside the label.
The invention has the beneficial effects that:
according to the photovoltaic timing label for the medical reagents and the food, the dye-sensitized solar cell in the photovoltaic power generation cell is adopted to replace a dry cell or a storage battery, low-intensity diffused light is utilized for power generation, the solar cell can work even in a room with dark light, the working efficiency is high, the energy is saved, the environment is protected, the flexibility is good, and meanwhile, as the layers of the electric plates are flexible circuit boards, the label has good flexibility and is very suitable for a container with a radian on the surface; it is easy to adhere.
The timing measurement method has the advantages that the accuracy of the timing measurement result is high, the STC15F104W single chip microcomputer is selected, the timing measurement method has the advantages of high data processing speed, high reliability, low power consumption, high interference resistance and the like, a clock with high accuracy and a reset circuit with high reliability are integrated inside the timing measurement method, the size is reduced, the timing accuracy is greatly improved, time prompt is carried out by eight light-emitting diodes, the effect of prompting multiple times can be achieved, and the light-emitting diodes are externally provided with the protective shell, so that collision and damage of the light-emitting diodes in the use process of the label are effectively prevented.
The timing cost is low, and the used STC15F104W single chip microcomputer, a 3-8 decoder with the model number of 74LS138, an LM3914 dot/bar display driving integrated circuit and the like are common elements in the market, so that the price is low; the label has small volume and light weight; the whole timing device uses fewer and smaller elements, and patch-type elements are adopted, so that the timing device is easy to integrate and simple in use method.
Detailed Description
The invention is described in further detail below with reference to the following figures and detailed description:
example 1: a photovoltaic timing label for medical reagents and food is shown in figures 1-4, the label is rectangular as a whole and comprises an upper protective layer 1, a circuit board layer, a lower protective layer 4 and an adhesive layer 5 from top to bottom in sequence;
a timing device is arranged on the electric board layer; the timing device comprises a microcontroller 6, a decoder 7, a display driving integrated circuit 8, a tact switch 11 and a power supply 12; the circuit board layer comprises a first circuit board layer 2 and a second circuit board layer 3, and the first circuit board layer 2 is fixedly connected with the second circuit board layer 3; the microcontroller 6, the decoder 7 and the display driving integrated circuit 8 are arranged on the second electrode layer 3; the input end of the microcontroller 6 is connected with the tact switch 11, the output end of the microcontroller is connected with the decoder 7, and the decoder 7 is connected with the display driving integrated circuit 8; the power supply 12 is connected with and supplies power to the microcontroller 6, the decoder 7 and the display driving integrated circuit 8; the upper part of the tact switch 11 penetrates through the upper protective layer 1 and is exposed outside.
The thickness of the label is 6 mm.
As an embodiment, the adhesive layer 5 of the label in the present embodiment is a double-sided tape.
The upper protective layer 1 and the lower protective layer 4 are both silica gel films; the upper protective layer 1 and the lower protective layer 4 are of an integrally formed structure; the electric board layers all adopt flexible circuit boards.
The power supply 12 adopts a dye-sensitized solar cell 14, and the part of the upper surface of the dye-sensitized solar cell 14, which penetrates out of the upper protective layer 1, is covered with a shading adhesive tape 13.
The microcontroller 6 is a single chip microcomputer which adopts an STC15F104W type single chip microcomputer; the P3.4, P3.5 and P3.0 ports of the microcontroller 6 are respectively connected with tact switches 11S0, S1 and S2; the VCC and GND ports of the microcontroller 6 are connected to the positive and negative electrodes of the power supply 12, respectively.
The decoder 7 adopts a 74LS138 type decoder 7, and A, B and C ports of the decoder 7 are respectively connected with P3.3, P3.2 and P3.1 ports of the microcontroller 6; the G2A, G2B and GND ports of the decoder 7 are all grounded; the Y0, Y1, Y2, Y3, Y4, Y5, Y6 and Y7 ports of the decoder 7 are respectively connected with resistors R10, R11, R12, R13, R14, R15, R16 and R17; resistors R1, R2, R3, R4, R5, R6 and R7 are respectively connected between two adjacent resistors R10-R17;
the resistance value of the resistor R10 is 32K omega, the resistance value of the resistor R11 is 13K omega, the resistance value of the resistor R12 is 7.333K omega, the resistance value of the resistor R13 is 5K omega, the resistance value of the resistor R14 is 4K omega, the resistance value of the resistor R15 is 3.667K omega, the resistance value of the resistor R16 is 3.714K omega, the resistance value of the resistor R17 is 4K omega, and the resistance values of the resistors R1-R7 are all 1K omega.
The display driving integrated circuit 8 is an LM3914, and a port 5 of the display driving integrated circuit 8 is connected with a resistor R7; the output port of the display driving integrated circuit 8 is sequentially connected with light emitting diodes D0-D7, and the light emitting diodes D0-D7 are arranged in the protective shell 9; the protective shell 9 is rectangular as a whole, and the lower part of the protective shell 9 is bonded to the first electric plate layer 2; eight protection cavities 10 are formed in the protection shell 9 through partition plates, and light emitting diodes D0-D7 are sequentially arranged in the eight protection cavities 10; the protective shell 9 is made of transparent plastic; the upper surface of the protective shell 9 penetrates through the upper protective layer 1 and is exposed outside the label.
The light-emitting diodes D0-D7 are arranged in the protective shell 9, so that the damage of the light-emitting diodes in the storage or use process of the label can be effectively prevented, and the normal use of the label is prevented from being influenced.
The single-chip microcomputer STC15F104W carries out address input on three address input ports A, B, C of a 3-8 decoder 7 with the model 74LS138, information represented on the 3 data lines is converted into 8 possible conditions to be output by the decoder 774LS138, output voltage is adjusted through resistor strings connected with the decoder 774LS138, namely different address input data cause different output ports of the decoder 7, and different voltage values are output through different resistors connected with each output port.
The timing method based on the photovoltaic timing label for the medical reagent and the food comprises the following steps:
first, the light-shielding tape 13 covering the dye-sensitized solar cells 14(DSSCs) is removed, and the dye-sensitized solar cells 14 absorb low-intensity indoor light and convert the light into electric energy, and provide +5V voltage to supply power to five parts of the timing device, including: the display driver comprises an STC15F104W singlechip, a decoder 774LS138, resistor strings R1-R7 connected with the decoder and a display driver integrated circuit 8LM 3914.
Ports P3.4, P3.5 and P3.0 of the STC15F104W singlechip are respectively connected with tact switches 11S0, S1 and S2 for selecting a timing mode, and ports P3.3, P3.2 and P3.1 are respectively connected with a port A, B, C of a decoder 774LS138 for inputting data addresses;
the selection of the timing mode is carried out through the adjustment of the tact switches 11S0, S1 and S2;
it should be noted that no matter what timing mode is selected, when the address input of the decoder 774LS138 is 111 at the beginning of operation, the output voltage of the corresponding Y7 port is 1V at the pin 5 of the display driver ic 8 through the resistor R17, and at this time, the 8 leds D0-D7 are in full bright state.
When the timing mode is selected, the single-chip microcomputer STC15F104W stops for three seconds after the timing mode is selected and outputs data address information, so that the completion of the selection process is ensured, and the error judgment of the timing mode by a circuit is prevented; the selection and timing of the tact switch 11 are shown in table 1:
TABLE 1 relationship between selection of tact switch 11 and timing mode
As can be seen from Table 1, when the timing mode of 8 days needs to be selected for timing, the switch S0 is closed, the switch S1 and the switch S2 are opened, the STC15F104W single chip microcomputer executes a clock program for timing according to the day, namely, the output of the ports P3.3, P3.2 and P3.1 of the STC15F104W singlechip or the data address information input by the A, B, C port of the decoder 774LS138 are changed once every day, the change of the address information follows the sequence of 111-, because different data output ports are connected with different resistors, the voltage at the 5 pins of the display driving integrated circuit 8LM3914 controlled by the data output ports is reduced by 0.125V at a time according to the changing sequence of the data output ports; when the voltage at the pin 5 of the display driving circuit LM3914 is reduced by 0.125V, correspondingly extinguishing one light emitting diode in the protective shell 9 according to the sequence of D7-D6-D5-D4-D3-D2-D1-D0; according to a certain extinguishing sequence, one light emitting diode is extinguished every other day, so that the function of time prompt is achieved.
Example 2: the structure of the label in embodiment 2 is basically the same as that of the label in embodiment 1, and the description of the same parts is omitted, except that the thickness of the label is 5 mm.
Example 3: the structure of the label in embodiment 4 is basically the same as that of the label in embodiment 1, and the description of the same parts is omitted, except that the thickness of the label is 8 mm.
Example 4: application example 1
Application of photovoltaic timing labels in the medical field:
in the medical field, for example, during surgery, medical staff can inject anesthetic agents into patients needing surgery to make the whole or part of the patients lose consciousness temporarily due to the treatment requirement, so that the surgery can be performed smoothly. However, depending on the requirements of the operation, the medical staff may inject the anesthetic into different parts of the patient in several times, and the time for using the anesthetic is strictly required. If a doctor observes the body surface characteristics of a patient and observes the time of a watch or a mobile phone to determine the anesthetic using time interval, the precise control of the injection time interval is difficult to realize, and therefore, the photovoltaic timing label with a plurality of time prompt functions is effectively attached to medical supplies such as anesthetic and the like.
As shown in fig. 5, before the anesthetic is used, a label is adhered to the needle tube wall through an adhesive layer 5; when the shading adhesive tape 13 covered on the surface of the dye-sensitized solar cell 14 is taken down, the power supply 12 starts to work to provide +5V voltage for the whole circuit, and the light-emitting diodes D0-D7 are all bright; then, the timing mode is selected through the three tact switches 11, when the timing mode is determined, the circuit system starts to time according to the set time, and the light-emitting diodes are also extinguished one at every set time correspondingly; for example: and simultaneously closing the switches S0 and S1 and opening S2, wherein the timing time of the timing label is 80 minutes, the timing unit is 10 minutes, namely, one light-emitting diode is turned off every 10 minutes in the timing mode, and when the light-emitting diodes are completely turned off, the timing of 80 minutes is finished, so that the effect of gradual change and multiple time prompt is achieved, and the anesthetic degraded by the medicine is prevented from being generated due to the fact that the usage time exceeds the effective usage time and even changes in the aspects of the structure, the composition, the clinical titer and the like of the medicine and the reagent are prevented from being used.
Example 5: application example 2
Application of photovoltaic timing labels in the field of food:
in the food field, in order to find out the deliciousness of food, the enjoyment period is very short, and particularly, the dairy products with short enjoyment period need to be eaten or used within a strict time range to ensure the taste and nutrition; in addition, the shelf life of some fresh foods is short, and after the shelf life exceeds the specified shelf life, components which cannot be desorbed and absorbed by a human body can be generated or decomposition and denaturation of protein can be generated to generate harmful substances, nitrite and other substances which are harmful and carcinogenic to the human body, so that the application of the photovoltaic timing label in the aspects of food safety and health is very important.
As shown in fig. 6, before the milk is unsealed, a label is adhered on the milk box, and after the light-shielding adhesive tape 13 covered on the surface of the dye-sensitized solar cell 14 is removed, the power supply 12 starts to work to provide +5V voltage for the whole circuit, and the light-emitting diodes D0-D7 are all bright; then, the timing mode is selected by three tact switches 11, when the timing mode is determined, the circuit system starts to time according to the set time, and the light-emitting diodes D0-D7 are all on, and are also turned off one by one at the set time, for example: and simultaneously closing the switches S0 and S2 and opening the switch S1, wherein the timing time of the timing label is 8 hours, the timing unit is 1 hour, namely, one light-emitting diode is turned off every 1 hour in the timing mode, and when the light-emitting diodes are completely turned off, the timing of 8 hours is finished, so that the effect of gradual change and multiple time prompt is achieved, and the condition that the human body is injured by using the milk which exceeds the shelf life is prevented.
The above-described embodiments are merely preferred embodiments of the present invention, and not intended to limit the scope of the invention, so that equivalent changes or modifications in the structure, features and principles described in the present invention should be included in the claims of the present invention.