Disclosure of Invention
An object of the utility model is to prior art not enough, provide a flashlight based on 2.4G wireless communication dimming control circuit to solve current flashlight and be key switch, press the inefficacy easily for a long time and intake, and can not fine satisfy the problem of occasions user demand such as field, mining area.
In order to achieve the above purpose, the utility model adopts the following technical scheme: a flashlight based on a 2.4G wireless communication dimming control circuit comprises a lamp holder, a barrel body and a lamp tail cover, wherein a touch switch, a voice broadcasting hole and a color display lamp are arranged outside the barrel body, a control circuit board is arranged inside the barrel body, the control circuit board comprises a single chip processor, and a water immersion sensor, a touch switch, a 3-axis acceleration sensor, a 2.4G wireless communication module, a GPS positioning module, an interphone chip, a voice driving module, an LED driving module, an electric quantity detection module, a power on-off control circuit and a memory which are electrically connected with the single chip processor, the input end of the power on-off control circuit is connected with a power module, the input end of the power module is connected with a battery, the input end of the battery is connected with a charging circuit, the output end of the power module is connected with the electric quantity detection module and the LED driving module, the input end of, the output ends of the voice driving module and the LED driving module are respectively connected with the voice playing module and the LED module.
Preferably, the charging circuit is a charging circuit based on an SLM6150 chip.
Preferably, the touch switch is a touch switch based on a TTP223 chip.
Preferably, the 3-axis acceleration sensor is model mpu6500 or mpu 6050.
Preferably, the 2.4G wireless communication module is a 2.4G Bluetooth communication module of models HM-BT4502, HM-BT4502B or HM-BT 2201.
Preferably, the model of the interphone chip is RDA 1845.
Preferably, the voice driving module is an ISD4004 chip.
Preferably, the LED driving module includes a PNP triode Q1A, an emitter of the PNP triode Q1A is connected to the battery positive electrode BAT +, a base of the PNP triode Q1A is connected to the control module through a resistor R23, a resistor R4 is connected between the emitter of the PNP triode Q1A and the base, a collector of the PNP triode Q1A is connected to the LED light emitting diodes LED1-8 through resistors R1, R3, R5 and R7, respectively, wherein the resistor R1 is connected to the LED1-2, the resistor R2 is connected to the LED3-4, the resistor R3 is connected to the LED5-6, and the resistor R4 is connected to the LED 7-8.
Preferably, the power supply module is a voltage stabilizing circuit based on a BL8053-3.3 chip.
Preferably, the electric quantity detection module is an LTC2943 battery electric quantity test chip.
The utility model has the advantages that:
the utility model discloses a singlechip processor adjusts the luminance and the display mode of flashlight through the signal that detects 2.4G bluetooth module output or the signal of touch switch output, and convenient operation does not have the problem that the button pressed mechanical wear out of work for a long time, long service life. In addition, the flashlight has the following other functions besides the lighting function, and meets the use requirements of various occasions such as the field and the mining area. The sensor that soaks can detect the flashlight and whether intake, and when detecting the signal of intaking, singlechip control power on-off control circuit makes singlechip treater outage, avoids whole circuit to intake back short circuit damage when electrified, realizes the protection to the circuit. The 3-axis acceleration sensor is used for detecting whether the flashlight falls or not, or whether a person carrying the flashlight falls or not, such as an old person, and can play a certain falling early warning role. The electric quantity test chip is used for detecting the electric quantity of the battery, and when the electric quantity is low, the electric quantity test chip gives an alarm through the voice playing module. The interphone chip and the voice acquisition module (the miniature microphone) are designed to realize the intercommunication at a short distance, and the interphone is suitable for conversation between partners in field trip or other short-distance conversation occasions. The GPS module realizes the positioning of the position of a flashlight carrier, and is convenient to search, for example, the flashlight carrier is convenient to search when getting lost outdoors.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are exemplary and intended to be used for explaining the present invention, and should not be construed as limiting the present invention.
In the description of the present invention, it is to be understood that the terms "length", "width", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", and the like indicate orientations or positional relationships based on those shown in the drawings, and are merely for convenience of description and simplicity of description, and do not indicate or imply that the device or element being referred to must have a particular orientation, be constructed and operated in a particular orientation, and thus, should not be construed as limiting the present invention.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of the present invention, "a plurality" means two or more unless specifically limited otherwise.
In the embodiments of the present invention, unless otherwise explicitly specified or limited, the terms "mounted," "connected," and "fixed" are to be construed broadly, e.g., as fixed or detachable connections or as an integral part; can be mechanically or electrically connected; either directly or indirectly through intervening media, either internally or in any other relationship. The specific meaning of the above terms in the present invention can be understood according to specific situations by those skilled in the art.
As shown in fig. 1 and 2, a flashlight based on a 2.4G wireless communication dimming control circuit comprises a lamp holder 1, a barrel body and a lamp tail cover 5, wherein a touch switch 2, a voice playing hole 3 and a color display lamp 4 are arranged outside the barrel body, a control circuit board is arranged inside the barrel body, the control circuit board comprises a single chip processor, and a water immersion sensor, a touch switch, a 3-axis acceleration sensor, a 2.4G wireless communication module, a GPS positioning module, an interphone chip, a voice driving module, an LED driving module, an electric quantity detection module, a power on-off control circuit and a memory which are electrically connected with the single chip processor, the input end of the power on-off control circuit is connected with a power supply module, the input end of the power supply module is connected with a battery, the input end of the battery is connected with a charging circuit, the output end of the power supply module is connected, the input end of the interphone chip is connected with the voice acquisition module, and the output ends of the voice driving module and the LED driving module are respectively connected with the voice playing module and the LED module.
In this embodiment, the charging circuit is a charging circuit based on an SLM6150 chip. The SLM6150 is a complete single lithium ion battery employing a constant current/constant voltage linear charger. The SOP8/MSOP package with heat sink on the bottom and the smaller number of external components make SLM6150 a desirable choice for portable applications. SLM6150 may be adapted to operate with USB power supplies and adapter power supplies. Because an internal PMOSFET architecture is adopted and a reverse charging prevention circuit is added, an external isolation diode is not needed. The thermal feedback allows for automatic adjustment of the charging current to limit the chip temperature under high power operation or high ambient temperature conditions. The charging voltage is fixed at 4.2V, and the charging current can be externally set by one power. When the charging current drops to the set point 1/10 after reaching the final float voltage, the SLM6150 will automatically terminate the charging cycle. The charging circuit based on the SLM6150 chip is shown in FIG. 4.
In this embodiment, the touch switch is a touch switch based on a TTP223 chip. The output of the TTP223N-BA6 is asserted high or low via AHLB pin, and asserted direct or toggle via TOG pin, with Q pin being CMOS output, as shown in FIG. 3.
In this embodiment, the model of the 3-axis acceleration sensor is mpu6500 or mpu 6050. The 3-axis acceleration sensor is used for detecting whether the flashlight falls or not, or whether a person carrying the flashlight falls or not, such as an old person, and can play a certain falling early warning role.
In this embodiment, the 2.4G wireless communication module is a 2.4G bluetooth communication module of model numbers HM-BT4502, HM-BT4502B or HM-BT 2201. The communication with the mobile phone is realized through the Bluetooth module, and the control of the working mode of the flashlight by the mobile phone is realized.
In this embodiment, the model of the interphone chip is RDA 1845. The chip adopts an FM modulation mode, breaks through the frequency range of Chinese interphones of 409.75 MHz-409.9875 MHz, can support the frequency band of 300 MHz-500 MHz broad, realizes the simultaneous support of two modes of broadband/narrowband, meets the high-quality requirement of commercial interphones, and can be widely applied to various handheld terminal products. As shown in fig. 2, the input end of the interphone chip is connected to a voice collecting module (a miniature microphone) to collect and convert the voice signal into an electrical signal, and the electrical signal is output to the interphone chip.
In this embodiment, the voice driver module is an ISD4004 chip. The ISD4004 series has 3V working voltage, single-chip recording and playing time of 8-16 min, high sound quality and is suitable for use in mobile phone and other portable electronic product. The chip adopts CMOS technology and comprises an oscillator, an anti-aliasing filter, a smoothing filter, an audio amplifier, an automatic noise-reduction and high-density multi-level flash memory array. In fig. 2, the voice playing module is a micro speaker connected to the output end of the ISD4004 chip, and the voice playing module is provided with a voice playing hole 3 for playing voice.
In this embodiment, the LED driving module includes a PNP triode Q1A, an emitter of the PNP triode Q1A is connected to a battery positive electrode BAT +, a base of the PNP triode Q1A is connected to the control module through a resistor R23, a resistor R4 is connected between the emitter and the base of the PNP triode Q1A, a collector of the PNP triode Q1A is connected to LED light emitting diodes LED1-8 through resistors R1, R3, R5, and R7, respectively, wherein the resistor R1 is connected to the LED1-2, the resistor R2 is connected to the LED3-4, the resistor R3 is connected to the LED5-6, and the resistor R4 is connected to the LED7-8, as shown in fig. 7,
in this embodiment, the power supply module is a voltage stabilizing circuit based on a BL8053-3.3 chip. As shown in fig. 5, the power module realizes the voltage stabilization of 5V of the battery to be converted into 3.3V required by the single chip microcomputer.
In this embodiment, as shown in fig. 8, the power detection module is an LTC2943 battery power test chip. The device can measure the accumulated charge and discharge capacity of the battery, the working range of 3.6V to 20V can be suitable for various battery applications, the 14-bit ADC is responsible for measuring the voltage, the current and the temperature of the battery, the voltage, the current and the charging accuracy are 1%, the voltage range is detected by +50mV, the device is suitable for universal measurement IC/SMBu interfaces of any battery chemical composition and capacity, and alarm output/charging completion input can be configured.
The utility model discloses a theory of operation is:
the utility model discloses a singlechip processor adjusts the luminance of flashlight through the signal that detects 2.4G bluetooth module output or the signal of touch switch output. The flashlight is acquiescent to be in a shutdown mode, the touch switch and the mobile phone can realize dimming and mode adjusting functions through a Bluetooth 2.4G wireless communication function, the touch switch sensor is operated in a mechanical mode, and the Bluetooth 2.4G wireless communication technology is that the flashlight can be remotely controlled through the mobile phone in a close-range wireless mode to be dimmed and switched. The touch switch transmits signals to the MCU through a human body induction capacitance control principle, the MCU distinguishes dimming or dimming modes through signals (short-time touch/long-time touch) transmitted in a touch mode, stepless dimming can be achieved through dimming, the dimming mode is from dark to bright, and circular dimming can be achieved by keeping a touch state for a long time. The short touch 1 time is on/off, and the short touch 2 times is burst mode. The function of bluetooth wireless realization is the same as touch switch, and the difference is that one is touch, a short distance wireless control. The traditional mobile lighting equipment cannot realize wireless control and is operated by mechanical keys.
When the mobile phone is successfully matched with the 2.4G Bluetooth module, the mobile phone sends a control instruction to the 2.4G Bluetooth module, and the 2.4G Bluetooth module outputs signals, the single-chip processor gradually increases the brightness of the flashlight until the flashlight is brightest by detecting the signal A (if the signals are kept all the time, the brightness is adjusted circularly). When the touch switch outputs a signal, the brightness of the flashlight is gradually increased to the brightest by detecting the B signal (the brightness is adjusted in a circulating mode if the signal is kept all the time). As shown in fig. 7, the PWM output end of the STM8S003F3 microcontroller controls the output of the PWM wave with varying frequency, and when the pulse width (negative voltage) of the PWM wave control transistor Q1A is wider, the LED module is also brighter, and conversely, lower.
Secondly, as shown in fig. 6, the single chip microcomputer is respectively connected with the cathodes of the light emitting diodes LED1-LED8, wherein the LEDs 1 and LED2 are white light, the LEDs 3 and LED4 are red light, the LEDs 5 and LED6 are green light, the LEDs 7 and LED8 are blue light, the LEDs 1 and LED2 are located in the lamp holder 1, the LEDs 3-LED8 are located in the color display lamp 4, when lighting is needed, pins connected with the LEDs 1 and LED2 of the single chip microcomputer are at low level, pins connected with the LEDs 3-LED8 of the single chip microcomputer are at high level, and the LEDs 1 and LED2 light the LEDs 3-LED8 out, and the stepless dimming is added to achieve lighting brightness adjustment. When early warning or indoor atmosphere adjustment is needed, pins connected with the LED1 and the LED2 of the single chip microcomputer are high level, pins connected with the LED3-LED8 of the single chip microcomputer are low level, the LED1 and the LED2 turn off the LED3-LED8 to be lightened, and the stepless dimming is added to achieve brightness adjustment of other functions. In addition, the flashing mode is realized by intermittently outputting low level to the negative electrodes of the LEDs 1-8 through the circulation of the single chip microcomputer.
In addition, the sensor that soaks can detect whether the flashlight intakes, for example in the field, perhaps the flashlight falls in the river or drenches with rain carelessly, when detecting the signal of intaking, singlechip control power on-off control circuit (as shown in fig. 9), send high level signal through resistance R3 to triode Q's base, triode Q switches on and then relay K circular telegram work, the normally closed contact (for relay K state before circular telegram in the figure) disconnection of relay, and then the singlechip treater outage, short circuit damage after avoiding intaking when whole circuit is electrified, realize the protection to the circuit. In addition, the type of the sensor for soaking is not particularly limited, and the sensor is an existing common sensor and is arranged outside the flashlight. The 3-axis acceleration sensor is used for detecting whether the flashlight falls or not, or whether a person carrying the flashlight falls or not, such as an old person, and can play a certain falling early warning role. The electric quantity test chip is used for detecting the electric quantity of the battery, and when the electric quantity is low, the electric quantity test chip gives an alarm through the voice playing module. The interphone chip and the voice acquisition module (the miniature microphone) are designed to realize the intercommunication at a short distance, and the interphone is suitable for conversation between partners in field trip or other short-distance conversation occasions. The GPS module realizes the positioning of the position of a flashlight carrier, and is convenient to search, for example, the flashlight carrier is convenient to search when getting lost outdoors.
The above-mentioned embodiments are only one of the preferred embodiments of the present invention, and the ordinary changes and substitutions performed by those skilled in the art within the technical scope of the present invention should be included in the protection scope of the present invention.