Summary of the invention
An object of the present invention is to provide that a kind of cost performance is high, the optical fiber conjury stick of environmental protection.
The invention provides a kind of optical fiber conjury stick, comprising: power module, single-chip microcomputer, key circuit, control circuit, music playing circuit, circuit of light sources and optical fiber; Described power module connects described single-chip microcomputer, music playing circuit and circuit of light sources; Described single-chip microcomputer connects described key circuit, control circuit, music playing circuit and circuit of light sources; Described circuit of light sources connects described optical fiber.
Further, described single-chip microcomputer adopts STC98C52 single-chip microcomputer.
Further, the sandwich layer of described optical fiber is that polystyrene, polymethyl methacrylate or Merlon are wherein a kind of, and the coat material of described optical fiber is PMMA or fluoroplastics, and described optical fiber is the plastic optical fiber set of a branch of different length.
Further, adopt passive buzzer as music device in described music playing circuit.
Further, adopt LED light emitting diode as light source in described circuit of light sources.
Beneficial effect of the present invention is, a kind of optical fiber conjury stick provided by the invention can change the flash model of LED and the broadcasting of different music by SCM Based circuit, by the guide-lighting principle of the total reflection of optical fiber, can produce good visual effect after lamp is opened, its flicker style freely can be designed by software systems.This design cost is lower, is also applicable to a large amount of production.Party in the past, party in red-letter day and theatrical performances etc. all need to use a large amount of lighting rods, but all can only supply single use, this lighting rod be made into optical fiber is higher relative to sexual valence, the more important thing is that it is environmentally friendly, can not endanger the health of children as toy for children.
Detailed description of the invention
Hereafter will describe the specific embodiment of the invention in detail in conjunction with concrete accompanying drawing.It should be noted that the combination of technical characteristic or the technical characteristic described in following embodiment should not be considered to isolated, they can mutually be combined thus be reached better technique effect.
As shown in Figure 1, the invention provides a kind of optical fiber conjury stick, comprising: power module 2, single-chip microcomputer 1, key circuit 3, control circuit 4, music playing circuit 5, circuit of light sources 6 and optical fiber 7; Power module 2 connects single-chip microcomputer 1, music playing circuit 5 and circuit of light sources 6; Single-chip microcomputer 1 connects key circuit 3, control circuit 4, music playing circuit 5 and circuit of light sources 6; Circuit of light sources 6 connecting fiber 7.
Further, single-chip microcomputer 1 adopts STC98C52 single-chip microcomputer, and it comprises 40 pins, compatible MCS51 instruction system, 8K can Flash erase/write ROM, 256x8bit internal RAM repeatedly, 32 two-way I/O ports, 3 16 programmable Timer/counters, 2 serial intermits, 2 exterior interrupt, UART serial-port able to programme, 3 grades of encrypted bits, software can arrange sleep and arousal function, have low power idle and power-down mode, clock frequency is at 0 ~ 24MHz.
Further, the sandwich layer of optical fiber 7 is that polystyrene, polymethyl methacrylate or Merlon are wherein a kind of, and the coat material of optical fiber 7 is PMMA or fluoroplastics, and optical fiber 7 is the plastic optical fiber set of a branch of different length.Plastic optical fiber has excellent hot strength, durability and the little feature that takes up room.
Further, in music playing circuit 5, adopt passive buzzer as music device, adopt the mode of timer interruption to produce different tones.
Further, in circuit of light sources 6, adopt LED light emitting diode as light source, each one of the red, yellow, and green light emitting diode of the preferred 3mm of the present invention, by the light emitting diode combined of three different colours, conjury stick can be allowed to produce good flicker effect.
A kind of optical fiber conjury stick provided by the invention can change the flash model of LED by SCM Based circuit, by the guide-lighting principle of the total reflection of optical fiber, can produce good visual effect after lamp is opened, its flicker style freely can be designed by software systems.This design cost is lower, is also applicable to a large amount of production.Party in the past, party in red-letter day and theatrical performances etc. all need to use a large amount of lighting rods, but all can only supply single use, this lighting rod be made into optical fiber is higher frequently relative to sexual valence, the more important thing is that it is environmentally friendly, can reuse, the health of children can not be endangered as toy for children.
Although give some embodiments of the present invention, it will be understood by those of skill in the art that without departing from the spirit of the invention herein, can change embodiment herein.Above-described embodiment is exemplary, should using embodiment herein as the restriction of interest field of the present invention.