CN104684146A - Electric torch circuit - Google Patents

Electric torch circuit Download PDF

Info

Publication number
CN104684146A
CN104684146A CN201310625887.9A CN201310625887A CN104684146A CN 104684146 A CN104684146 A CN 104684146A CN 201310625887 A CN201310625887 A CN 201310625887A CN 104684146 A CN104684146 A CN 104684146A
Authority
CN
China
Prior art keywords
main control
control chip
output
module
gps
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201310625887.9A
Other languages
Chinese (zh)
Inventor
周明杰
杨小军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Oceans King Lighting Science and Technology Co Ltd
Shenzhen Oceans King Lighting Engineering Co Ltd
Original Assignee
Oceans King Lighting Science and Technology Co Ltd
Shenzhen Oceans King Lighting Engineering Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Oceans King Lighting Science and Technology Co Ltd, Shenzhen Oceans King Lighting Engineering Co Ltd filed Critical Oceans King Lighting Science and Technology Co Ltd
Priority to CN201310625887.9A priority Critical patent/CN104684146A/en
Publication of CN104684146A publication Critical patent/CN104684146A/en
Pending legal-status Critical Current

Links

Landscapes

  • Circuit Arrangement For Electric Light Sources In General (AREA)

Abstract

The embodiment of the invention discloses an electric torch circuit. The electric torch circuit comprises a main control chip, a triode, an LED (Light Emitting Diode) lamp, a constant-current chip, a GPS (Global Position System) module, a wireless receiving module and a display module, wherein a PWM (Pulse-Width Modulation) output end of the main control chip is connected with a base electrode of the triode and an emission electrode of the triode is connected with an anode of the LED lamp; the constant-current chip is connected with the LED lamp in parallel; a GPS signal receiving end of the main control chip is connected with the GPS module; a first input end of the main control chip is connected with a first output end of the wireless receiving module; a second input end of the main control chip is connected with a second output end of the wireless receiving module; the output end of the main control chip is connected with the display module. With the adoption of the electric torch circuit, the longitude and latitude of a current position can be displayed on a PWM light-dimming electric torch and the low electric quantity promotion is realized, so that the user experience of outdoor exercise is improved.

Description

A kind of electric torch circuit
Technical field
The present invention relates to electronic technology field, particularly relate to a kind of electric torch circuit.
Background technology
Along with the rise of outdoor exercises, increasing outdoor equipment arises at the historic moment.Wherein, the flashlight played a role in lighting is even more important.But the function singleness of existing flashlight, often cannot meet all kinds of demands of outdoor subscriber, such as: GPS location etc.
Summary of the invention
Embodiment of the present invention technical problem to be solved is, a kind of electric torch circuit is provided, realize the longitude and latitude prompting showing current location on the flashlight of PWM light modulation, improve experience when user moves out of doors, and have the advantages that circuit is simple, cost is low.
In order to solve the problems of the technologies described above, embodiments provide a kind of electric torch circuit, comprise main control chip, triode, LED, the first constant current chip, the second constant current chip, GPS module, wireless receiving module and display module, wherein:
The PWM output of described main control chip is connected with described transistor base, the emitter of described triode is connected with the anode of described LED, described first constant current chip is connected with the anode of described LED with the input of described second constant current chip, described first constant current chip is connected with the negative electrode of described LED with the output of described second constant current chip, the gps signal receiving terminal of described main control chip is connected with described GPS module, the first input end of described main control chip is connected with the first output of described wireless receiving module, second input of described main control chip is connected with the second output of described wireless receiving module, the output of described main control chip is connected with described display module,
Described wireless receiving module controls the output level of the first output and the second output according to the wireless signal received, described main control chip controls described LED when the first output of described wireless receiving module exports high level luminous, the latitude and longitude information that described GPS module is sent is shown on display module when the second output of described wireless receiving module exports high level.
Implement the embodiment of the present invention, there is following beneficial effect: the embodiment of the present invention is by integrated GPS module in PWM dimming electric torch, and receive gps signal by main control chip, display module is utilized to demonstrate the longitude and latitude of current location, strengthen the function of PWM dimming electric torch, improve experience when user moves out of doors.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the circuit theory diagrams of a kind of electric torch circuit that the embodiment of the present invention provides.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
The electric torch circuit that the embodiment of the present invention provides, can be applied to various lighting apparatus, such as vehicle-mounted illuminating lamp, Portable lamp etc., and in the present embodiment, above-mentioned lighting apparatus can be flashlight.
Fig. 1 is the circuit theory diagrams of a kind of electric torch circuit in the embodiment of the present invention.Electric torch circuit as shown in the figure in the embodiment of the present invention comprises main control chip, triode, LED, the first constant current chip, the second constant current chip, GPS module, LED button, GPS button, wireless receiving module and display module, wherein:
The PWM output of main control chip is connected with transistor base, the emitter of triode is connected with the anode of LED, first constant current chip is connected with the anode of LED with the input of the second constant current chip, first constant current chip is connected with the negative electrode of LED with the output of the second constant current chip, the gps signal receiving terminal of main control chip is connected with GPS module, the first input end of main control chip is connected with the first output of wireless receiving module, second input of main control chip is connected with the second output of wireless receiving module, the output of main control chip is connected with display module,
Wireless receiving module controls the output level of the first output and the second output according to the wireless signal received, it is luminous that main control chip controls LED when the first output of wireless receiving module exports high level, and the latitude and longitude information of GPS module being sent when the second output of wireless receiving module exports high level shows on display module.
Optionally, electric torch circuit also comprises wireless sending module, LED button and GPS button, wherein:
Wireless sending module is connected with wireless receiving module by radio communication, and wireless sending module is connected with LED button, GPS button respectively.
Optionally, electric torch circuit also comprises rheostat, and wherein, rheostatic variable resistance end is connected with the light modulation end of display module, and rheostatic one end is connected with the light modulation end of display module, rheostatic other end ground connection.
Optionally, display module comprises the display screen that model is LCD1602.
Optionally, electric torch circuit also comprises reset circuit, clock circuit, and wherein, reset circuit is connected with the reset terminal of main control chip, and clock circuit is connected with the clock end of main control chip.
Further, reset circuit comprises current-limiting resistance, reset switch and the first filter capacitor and the second filter capacitor, wherein, one end of current-limiting resistance is connected with the reset terminal of main control chip, the other end access power supply of current-limiting resistance, reset switch, the first filter capacitor are connected with the reset terminal of main control chip with the one end after the second filter capacitor parallel connection, the other end ground connection after parallel connection.
Further, clock circuit comprises crystal oscillator, the first oscillating capacitance and the second oscillating capacitance, wherein, crystal oscillator is connected with the clock end of main control chip, one end of crystal oscillator is connected with one end of the first oscillating capacitance, the other end of crystal oscillator is connected with one end of the second oscillating capacitance, the other end ground connection of the first oscillating capacitance, the other end ground connection of the second oscillating capacitance.
Refer to Fig. 1, in the embodiment of the present invention, main control chip is U1, triode is Q1, and LED is D1, and GPS module is P1, display module is U2, rheostat is R2, and LED button is S2, GPS button is S3, first constant current chip is U3, second constant current chip is U4, and wireless receiving module is P3, and wireless sending module is P2.In addition, in the reset circuit of the minimum system of main control chip and clock circuit, current-limiting resistance is R1, and reset switch is S1, and the first filter capacitor is C2, and the second filter capacitor is C3, and crystal oscillator is Y1, and the first oscillating capacitance is C1, and the second oscillating capacitance is C2.
Especially, main control chip U1 can be the single-chip microcomputer of ATMEGA16 for model, and the model of GPS module P1 can be the model of EC-916, wireless receiving module P3 is JF24D-RX, and the model of wireless sending module P2 is JF24D-TX.
After electric torch circuit powers on, start working after main control chip U1, GPS module P1 and display module U2 reset.
The specific implementation process of PWM dimming function is:
When LED button closes, the information that LED button is closed is sent to wireless receiving module P3 by radio communication by wireless sending module P2, and the first output B4 of wireless receiving module P3 exports high level, wherein:
If LED button S2 is closed and closing time does not reach Preset Time, namely the first input end PB4 of main control chip U1 receives high level and the time receiving high level does not reach Preset Time, then the PWM output PB0 output signal of main control chip U1 makes LED D1 be in the first work light state;
If LED button S2 is closed and closing time meets or exceeds Preset Time, namely the first input end PB4 of main control chip U1 receives high level and the time receiving high level meets or exceeds Preset Time, then the PWM output PB0 output signal of main control chip U1 makes LED D1 be in the second work light state;
If LED button S2 disconnects, then the first input end PB4 of main control chip U1 is unsettled, and now the PWM output PB0 of main control chip U1 does not output signal, and LED D1 is not luminous.
It is to be noted, above-mentioned Preset Time can be arranged by technical staff, such as 3 seconds, in addition, the electric current that namely above-mentioned first work light state flows through LED after pwm pulse signal modulation remains on 250mA, and the electric current that namely above-mentioned second work light state flows through LED after pwm pulse signal modulation remains on 700mA.Concrete, when system electrification works, two constant current chip U3 and U4 maximum electric currents producing 700mA in parallel, if press S2, PB0 exports pwm pulse signal and carrys out light modulation, and making the D1 after triode Q1 be operated in electric current is under the work light of 250mA; If press S2 to 3 second long, PB0 exports another pwm pulse signal and carrys out light modulation, and making the D1 after triode Q1 be operated in electric current is under the work light of 700mA.Obviously, the brightness of the second work light is better than the brightness of the first work light.
The specific implementation process of GPS function is:
When GPS button closes, the information that GPS button is closed is sent to wireless receiving module P3 by radio communication by wireless sending module P2, and the second output B5 of wireless receiving module P3 exports high level, wherein:
When GPS button S3 closes, namely the second input PB5 of main control chip U1 receives low level, the gps signal receiving terminal PD0 of main control chip U1 receives the latitude and longitude information that GPS module P1 sends, and latitude and longitude information shows by the output PC0 ~ PC7 of main control chip U1 on display module U2;
When GPS button S3 disconnects, namely the second input PB5 of main control chip U1 is unsettled, and the gps signal receiving terminal PD0 of main control chip U1 does not receive the latitude and longitude information that GPS module P1 sends.
Display comparison degree regulatory function implementation procedure is:
The resistance that rheostat R2 accesses display module U2 light modulation end V0 is larger, and the electric current of the light modulation end V0 of display module U2 is less, and the contrast of display module U2 is lower;
The resistance that rheostat R2 accesses display module U2 light modulation end V0 is less, and the electric current of the light modulation end of display module U2 is larger, and the contrast of display module U2 is higher.
The embodiment of the present invention is by integrated GPS module in PWM dimming electric torch, and receive gps signal by main control chip, display module is utilized to demonstrate the longitude and latitude of current location, strengthen the function of PWM dimming electric torch, improve experience when user moves out of doors, and have the advantages that circuit is simple, cost is low.
Above disclosedly be only present pre-ferred embodiments, certainly can not limit the interest field of the present invention with this, therefore according to the equivalent variations that the claims in the present invention are done, still belong to the scope that the present invention is contained.

Claims (10)

1. an electric torch circuit, is characterized in that, described electric torch circuit comprises main control chip, triode, LED, the first constant current chip, the second constant current chip, GPS module, wireless receiving module and display module, wherein:
The PWM output of described main control chip is connected with described transistor base, the emitter of described triode is connected with the anode of described LED, described first constant current chip is connected with the anode of described LED with the input of described second constant current chip, described first constant current chip is connected with the negative electrode of described LED with the output of described second constant current chip, the gps signal receiving terminal of described main control chip is connected with described GPS module, the first input end of described main control chip is connected with the first output of described wireless receiving module, second input of described main control chip is connected with the second output of described wireless receiving module, the output of described main control chip is connected with described display module,
Described wireless receiving module controls the output level of the first output and the second output according to the wireless signal received, described main control chip controls described LED when the first output of described wireless receiving module exports high level luminous, the latitude and longitude information that described GPS module is sent is shown on display module when the second output of described wireless receiving module exports high level.
2. electric torch circuit as claimed in claim 1, it is characterized in that, described electric torch circuit also comprises wireless sending module, LED button and GPS button, wherein:
Described wireless sending module is connected with described wireless receiving module by radio communication, described wireless sending module is connected with described LED button, GPS button respectively, the first output that described LED button is used for controlling when pressing described wireless receiving module exports high level, and the second output that described GPS button is used for controlling when pressing described wireless receiving module exports high level.
3. electric torch circuit as claimed in claim 2, it is characterized in that, when described LED button closes, the information that described LED button is closed is sent to described wireless receiving module by radio communication by described wireless sending module, first output of described wireless receiving module exports high level, wherein:
If described LED button is closed and closing time does not reach Preset Time, namely the first input end of described main control chip receives high level and the time receiving high level does not reach described Preset Time, then the PWM output output signal of described main control chip makes LED be in the first work light state;
If described LED button is closed and closing time meets or exceeds described Preset Time, namely the first input end of described main control chip receives high level and the time receiving high level meets or exceeds described Preset Time, then the PWM output output signal of described main control chip makes LED be in the second work light state;
If described LED button disconnects, then the first input end of described main control chip is unsettled, and now the PWM output of described main control chip does not output signal, and LED is not luminous.
4. electric torch circuit as claimed in claim 2, it is characterized in that, when described GPS button closes, the information that described GPS button is closed is sent to described wireless receiving module by radio communication by described wireless sending module, second output of described wireless receiving module exports high level, wherein:
When described GPS button closes, namely the second input of described main control chip receives high level, the gps signal receiving terminal of described main control chip receives the latitude and longitude information that described GPS module is sent, and described latitude and longitude information shows by the output of described main control chip on display module;
When described GPS button disconnects, namely the second input of described main control chip is unsettled, and the gps signal receiving terminal of described main control chip does not receive the latitude and longitude information that described GPS module is sent.
5. electric torch circuit as claimed in claim 1, it is characterized in that, described electric torch circuit also comprises rheostat, wherein, described rheostatic variable resistance end is connected with the light modulation end of described display module, described rheostatic one end is connected with the light modulation end of described display module, described rheostatic other end ground connection.
6. electric torch circuit as claimed in claim 5, it is characterized in that, the resistance that described rheostat accesses described display module light modulation end is larger, and the electric current of the light modulation end of described display module is less, and the contrast of described display module is lower;
The resistance that described rheostat accesses described display module light modulation end is less, and the electric current of the light modulation end of described display module is larger, and the contrast of described display module is higher.
7. electric torch circuit as claimed in claim 1, it is characterized in that, described display module comprises the display screen that model is LCD1602.
8. electric torch circuit as claimed in claim 1, it is characterized in that, described electric torch circuit also comprises reset circuit, clock circuit, wherein, described reset circuit is connected with the reset terminal of described main control chip, and described clock circuit is connected with the clock end of described main control chip.
9. electric torch circuit as claimed in claim 8, it is characterized in that, described reset circuit comprises current-limiting resistance, reset switch and the first filter capacitor and the second filter capacitor, wherein, one end of described current-limiting resistance is connected with the reset terminal of described main control chip, the other end access power supply of described current-limiting resistance, described reset switch, the first filter capacitor are connected with the reset terminal of described main control chip with the one end after the second filter capacitor parallel connection, the other end ground connection after parallel connection.
10. electric torch circuit as claimed in claim 8, it is characterized in that, described clock circuit comprises crystal oscillator, the first oscillating capacitance and the second oscillating capacitance, wherein, described crystal oscillator is connected with the clock end of described main control chip, and one end of described crystal oscillator is connected with one end of described first oscillating capacitance, and the other end of described crystal oscillator is connected with one end of described second oscillating capacitance, the other end ground connection of described first oscillating capacitance, the other end ground connection of described second oscillating capacitance.
CN201310625887.9A 2013-11-28 2013-11-28 Electric torch circuit Pending CN104684146A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310625887.9A CN104684146A (en) 2013-11-28 2013-11-28 Electric torch circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310625887.9A CN104684146A (en) 2013-11-28 2013-11-28 Electric torch circuit

Publications (1)

Publication Number Publication Date
CN104684146A true CN104684146A (en) 2015-06-03

Family

ID=53318563

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310625887.9A Pending CN104684146A (en) 2013-11-28 2013-11-28 Electric torch circuit

Country Status (1)

Country Link
CN (1) CN104684146A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110500519A (en) * 2019-07-31 2019-11-26 翁维佳 Polychromatic light gear switches flashlight

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110500519A (en) * 2019-07-31 2019-11-26 翁维佳 Polychromatic light gear switches flashlight

Similar Documents

Publication Publication Date Title
JP3177497U (en) LED decorative lighting device
CN203872414U (en) LED lamp with information interaction function
CN100490596C (en) Method and device for supplying power to LEDs
CN106793245B (en) Light-operated LED car headlight control device
CN104684146A (en) Electric torch circuit
CN104684142A (en) Electric torch circuit
CN202385369U (en) Light-operated desk lamp
CN104684159A (en) Electric torch circuit
CN205510463U (en) LED fluorescent tube of single bi -polar of complete compatible self -adaptation of wide voltage
CN104684157A (en) Electric torch circuit
CN104676273A (en) Flashlight circuit
CN104676270A (en) Flashlight circuit
CN201844286U (en) Desk lamp with automatic brightness control function
CN203675379U (en) LED intelligent controlling terminal
CN104684196A (en) Circuit for electric torch
CN203378089U (en) Remote control LED lamp
CN107734787B (en) Multifunctional OLED intelligent control lighting device
CN104684151A (en) Electric torch circuit
CN104684150A (en) Electric torch circuit
CN104684145A (en) Electric torch circuit
CN104684162A (en) Electric torch circuit
CN202551431U (en) Drive circuit and system of remote control lamp
CN104684148A (en) Electric torch circuit
CN104684158A (en) Electric torch circuit
CN104684149A (en) Electric torch circuit

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20150603