CN104955202A - Electric torch circuit with function of calculator - Google Patents

Electric torch circuit with function of calculator Download PDF

Info

Publication number
CN104955202A
CN104955202A CN201410123764.XA CN201410123764A CN104955202A CN 104955202 A CN104955202 A CN 104955202A CN 201410123764 A CN201410123764 A CN 201410123764A CN 104955202 A CN104955202 A CN 104955202A
Authority
CN
China
Prior art keywords
module
termination
control module
output
constant current
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.)
Granted
Application number
CN201410123764.XA
Other languages
Chinese (zh)
Other versions
CN104955202B (en
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 CN201410123764.XA priority Critical patent/CN104955202B/en
Publication of CN104955202A publication Critical patent/CN104955202A/en
Application granted granted Critical
Publication of CN104955202B publication Critical patent/CN104955202B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Circuit Arrangement For Electric Light Sources In General (AREA)
  • Input From Keyboards Or The Like (AREA)

Abstract

The invention discloses an electric torch circuit with the function of a calculator, and the circuit comprises a reset module which is used for data reset. The circuit also comprises a matrix keyboard module which is used for inputting digits and a four arithmetic operation signal, an on/off module which is used for controlling the on/off of the lamp, a control module, a constant current module which is used for providing a constant current, and a display module which is used for displaying an input signal of the matrix keyboard module and an output signal of the control module. The matrix keyboard module is used for inputting digits and the four arithmetic operation signal, and then the control module carries out the converting and processing of the inputted digits and four arithmetic operation signal and outputs the processed signals to the display module for displaying. Meanwhile, the on/off module transmits an on/off signal to the control module, thereby enabling the control module to change the amplitude of the current of the constant current module, and achieving the control of the brightness and on/off of the lamp. Therefore, the circuit has a function of conventional illumination, and also has the function of the calculator.

Description

With the electric torch circuit of calculator function
Technical field
The present invention relates to electric torch circuit, particularly relate to a kind of electric torch circuit with calculator function.
Background technology
The development of portable lighting instrument can trace back to the initial stage of human social development---primitive society.Since drilling wood to make fire in human asm, portable lighting experienced by from fire, oil, candle to the development course of torch.Portable lighting instrument lives through countless changes, occurs that torch, oil lamp, candle, kerosene lamp are to incandescent lamp bulb torch, Xe lamp bulb torch, developed into a feast for the eyes LED flashlight etc.Oil lamp have passed through and repeatedly improves.Oil lamp oil changes vegetable oil into from animal oil, is finally replaced by kerosene again.In order to prevent wind from fire is blown out, people add cover to oil lamp, and stick with paste cover from early stage paper and use cloche instead finally, wind is not afraid of by such oil lamp, are convenient to outdoor moving illumination.While making to illuminate by oil lamps, the mankind are still finding other portable lighting method.The function of then simple flashlight is too dull, is not enough to meet diversified user's request.
Summary of the invention
Based on this, be necessary to provide a kind of electric torch circuit with calculator function.
With an electric torch circuit for calculator function, comprise the reseting module for reseting data; Also comprise the matrix keyboard module for inputting numeral and arithmetic signal, for control light fixture light with the switch module extinguished, control module, for providing the constant flow module of constant current and for showing the display module that described matrix keyboard module input signal and described control module output signal;
Described matrix keyboard module comprises eight outputs, and eight output correspondences of described matrix keyboard module connect eight data input pins of described control module; The reset terminal of control module described in the output termination of described reseting module; The input termination light fixture positive pole of described constant flow module and the constant current end of described control module, the output termination light fixture negative pole of described constant flow module; The data output end of control module described in the input termination of described display module; The power supply termination input power of the power end of described control module, the power end of described reseting module, described display module; The switch terminals of control module described in the output termination of described switch module;
The numeral of the input of described matrix keyboard module and arithmetic signal, after described control module is changed and processed, output to described display module, the numbers and symbols that described display module display is digital and arithmetic signal is corresponding; Described switch module is used for described control module transmit button signal, and described control module controls the size of current of described constant flow module according to described switching signal, thus controls the light fixture brightness of lighting and extinguishing; Described reseting module is used for the data reset of described control module.
Wherein in an embodiment, described reseting module comprises resistance R1, switch S 1, electric capacity C3 and electric capacity C4; Described resistance R1 mono-termination input power, the other end is the output of described reseting module, the output of reseting module described in described electric capacity C3 mono-termination, and other end ground connection, described electric capacity C4 is in parallel with described electric capacity C3, and described switch S 1 is in parallel with described electric capacity C3.
Wherein in an embodiment, described matrix keyboard module comprises 4 × 4 matrix keyboards.
Wherein in an embodiment, described constant flow module comprises constant current chip U3 and constant current chip U4; The output of described constant current chip U3 and the output of described constant current chip U4 connect the negative pole of light fixture simultaneously, the points of common connection of the power end of described constant current chip U3 and the power end of described constant current chip U4 is the input of described constant flow module, the earth terminal of described constant current chip U3 and the equal ground connection of earth terminal of described constant current chip U4.
Wherein in an embodiment, described switch module comprises switch S 18, described switch S 18 one end ground connection, the switch terminals of control module described in another termination.
Wherein in an embodiment, described display module comprises display chip U2 and adjustable resistance R2, the output of control module described in the input termination of described display chip U2, one end ground connection of described adjustable resistance R2, the power end of display chip U2 described in another termination.
Wherein in an embodiment, described control module comprises single-chip microcomputer U1, triode Q1 and electric capacity C5, eight data input pins of described single-chip microcomputer U1 connect eight outputs of described matrix keyboard module, the output of reseting module described in the reset termination of described single-chip microcomputer U1, the data output end of described single-chip microcomputer U1 connects the input of described display module, the output of switch module described in the switch termination of described single-chip microcomputer, the base stage of triode Q1 described in the constant current termination of described single-chip microcomputer U1, the collector electrode of described triode Q1 connects input power, the emitter of described triode Q1 connects the input of described constant flow module, the power supply termination input power of described single-chip microcomputer U1, the reference voltage end of single-chip microcomputer U1 described in described electric capacity C5 mono-termination, other end ground connection.
Wherein in an embodiment, also comprise crystal oscillator module, described crystal oscillator module comprises crystal oscillator Y1, electric capacity C1 and electric capacity C2, described crystal oscillator Y1 two ends connect XTAL1 end and the XTAL2 end of described single-chip microcomputer U1 respectively, the XTAL1 end of single-chip microcomputer U1 described in described electric capacity C1 mono-termination, other end ground connection, described electric capacity C2 connects the XTAL2 end of described single-chip microcomputer U1, other end ground connection.
The electric torch circuit of above-mentioned band calculator function, by arranging matrix keyboard module input numeral and arithmetic signal, then to be changed the numeral of input and arithmetic signal by control module and exports to display module display after processing.Meanwhile, switch module passes through to control module transmit button signal, thus makes control module change the size of current of constant flow module, and then reaches the effect controlling lamp brightness and extinguishing.Therefore, the electric torch circuit of above-mentioned band calculator function not only has conventional lights illumination functions, also has calculator function.
Accompanying drawing explanation
Fig. 1 is the module map of the electric torch circuit of band calculator function;
Fig. 2 (a) is the schematic diagram of matrix keyboard module;
The partial schematic diagram of the electric torch circuit of Fig. 2 (b) with calculator function;
The schematic diagram that Fig. 2 (c) is display module.
Embodiment
As shown in Figure 1, for being with the module map of the electric torch circuit of calculator function.
With an electric torch circuit for calculator function, comprise for reseting data reseting module 106, for input numeral and arithmetic signal matrix keyboard module 101, for control light fixture light with the switch module 103 extinguished, control module 102, for providing the constant flow module 104 of constant current and for showing the display module 105 that described matrix keyboard module 101 input signal and described control module 102 output signal.
Described matrix keyboard module 101 comprises eight outputs, and eight output correspondences of described matrix keyboard module 101 connect eight data input pins of described control module 102; The reset terminal of control module 102 described in the output termination of described reseting module 106; The input termination light fixture positive pole of described constant flow module 104 and the constant current end of described control module 102, the output termination light fixture negative pole of described constant flow module 104; The data output end of control module 102 described in the input termination of described display module 105; The power supply termination input power of the power end of described control module 102, the power end of described reseting module 106, described display module 105; The switch terminals of control module 102 described in the output termination of described switch module 103.
The numeral of the input of described matrix keyboard module 101 and arithmetic signal, after described control module 102 is changed and processed, output to described display module 105, and described display module 105 shows digital and that arithmetic signal is corresponding numbers and symbols; Described switch module 103 is for described control module 102 transmit button signal, and described control module 102 controls the size of current of described constant flow module 104 according to described switching signal, thus controls brightness that light fixture lights and extinguishing; Described reseting module 106 is for the data reset by described control module 102.
Electric torch circuit with calculator function also comprises crystal oscillator module 107, for arranging the data processing time of control module 102.
Matrix keyboard module 101 is for inputting numeral and arithmetic signal, and eight output combination of two of matrix keyboard module 101 export 16 kinds of data-signals.
Control module 102 for the input signal of receiving matrix Keysheet module 101, and carries out data processing according to the digital signal of input and the arithmetic signal of input, the data after process is exported to display module 105 simultaneously.Control module 102 also for the output signal of receiving key module 103, and adjusts according to the electric current of switching signal to constant flow module 104 that switch module 103 exports, and then reaches the luminance regulating light fixture.
Concrete, when switch module 103 sends switching signal first, the electric current that control module 102 controls constant flow module 104 output makes light fixture send the low light level.When switch module 103 second time sends switching signal, the electric current that control module 102 controls constant flow module 104 output makes light fixture send high light.Switch module 103 third time, when sending switching signal, the electric current that control module 102 controls constant flow module 104 output made light fixture be in quick-fried sudden strain of a muscle state.When switch module 103 sends switching signal the 4th time, control module 102 controls constant flow module 104 and stops output current, and light fixture extinguishes.
Incorporated by reference to Fig. 2 (a)-(c).
Reseting module 106 comprises resistance R1, switch S 1, electric capacity C3 and electric capacity C4; Described resistance R1 mono-termination input power, the other end is the output of described reseting module 106, the output of reseting module 106 described in described electric capacity C3 mono-termination, other end ground connection, described electric capacity C4 is in parallel with described electric capacity C3, and described switch S 1 is in parallel with described electric capacity C3.
Matrix keyboard module 101 comprises 4 × 4 matrix keyboards.Switch S 2-S17 represents digital 0-9 and operational sign of four fundamental rules respectively.
Constant flow module 104 comprises constant current chip U3 and constant current chip U4; The output of described constant current chip U3 and the output of described constant current chip U4 connect the negative pole of light fixture simultaneously, the points of common connection of the power end of described constant current chip U3 and the power end of described constant current chip U4 is the input of described constant flow module 104, the earth terminal of described constant current chip U3 and the equal ground connection of earth terminal of described constant current chip U4.
The model of constant current chip U3 and constant current chip U4 is AMC7135.
Switch module 103 comprises switch S 18, described switch S 18 one end ground connection, the switch terminals of control module 102 described in another termination.
Display module 105 comprises display chip U2 and adjustable resistance R2, the output of control module 102 described in the input termination of described display chip U2, one end ground connection of described adjustable resistance R2, the power end of display chip U2 described in another termination.The model of display chip U2 is LCD1602.
Control module 102 comprises single-chip microcomputer U1, triode Q1 and electric capacity C5, eight data input pins of described single-chip microcomputer U1 connect eight outputs of described matrix keyboard module 101, the output of reseting module 106 described in the reset termination of described single-chip microcomputer U1, the data output end of described single-chip microcomputer U1 connects the input of described display module 105, the output of switch module 103 described in the switch termination of described single-chip microcomputer, the base stage of triode Q1 described in the constant current termination of described single-chip microcomputer U1, the collector electrode of described triode Q1 connects input power, the emitter of described triode Q1 connects the input of described constant flow module 104, the power supply termination input power of described single-chip microcomputer U1, the reference voltage end of single-chip microcomputer U1 described in described electric capacity C5 mono-termination, other end ground connection.
The model of single-chip microcomputer U1 is ATMEGA16.
Electric torch circuit with calculator function also comprises crystal oscillator module 107, described crystal oscillator module 107 comprises crystal oscillator Y1, electric capacity C1 and electric capacity C2, described crystal oscillator Y1 two ends connect XTAL1 end and the XTAL2 end of described single-chip microcomputer U1 respectively, the XTAL1 end of single-chip microcomputer U1 described in described electric capacity C1 mono-termination, other end ground connection, described electric capacity C2 connects the XTAL2 end of described single-chip microcomputer U1, other end ground connection.
Based on above-mentioned all embodiments, the operation principle of the electric torch circuit of band calculator function is as follows:
When the switch of 4 × 4 matrix keyboards is pressed, corresponding meeting is to single-chip microcomputer U1 outputting data signals.Single-chip microcomputer U1 receives and after processing, exports to display chip U2 and show.After repeatedly having inputted, single-chip microcomputer U1 can carry out arithmetic and operation result exported to display chip U2 showing according to the numeral of input and arithmetic signal.Regulate the resistance of adjustable resistance R2, the contrast shown of display chip U2 can be changed.
When pressing switch S 18 first, namely single-chip microcomputer U1 first time receives the switching signal of switch S 18, and single-chip microcomputer U1 controls constant current chip U3 and constant current chip U4 and exports 250mA electric current, makes light fixture be in low light level state.When second time presses switch S 18, single-chip microcomputer U1 controls constant current chip U3 and constant current chip U4 and exports 500mA electric current, makes light fixture be in high light state.Third time press and for long by switch S 18 time, single-chip microcomputer U1 controls the electric current that constant current chip U3 and constant current chip U4 exports and light fixture can be made to be in quick-fried sudden strain of a muscle state, and quick-fried sudden strain of a muscle frequency is 1-2Hz.When pressing switch S 18 the 4th time, single-chip microcomputer U1 controls constant current chip U3 and constant current chip U4 and stops output current, and light fixture is extinguished.
The electric torch circuit of above-mentioned band calculator function inputs numeral and arithmetic signal by arranging matrix keyboard module 101, then to be changed the numeral inputted and arithmetic signal by control module 102 and export to display module 105 after processing to show.Meanwhile, switch module 103 passes through to control module 102 transmit button signal, thus makes control module 102 change the size of current of constant flow module 104, and then reaches the effect controlling lamp brightness and extinguishing.Therefore, the electric torch circuit of above-mentioned band calculator function not only has conventional lights illumination functions, also has calculator function.
The above embodiment only have expressed several execution mode of the present invention, and it describes comparatively concrete and detailed, but therefore can not be interpreted as the restriction to the scope of the claims of the present invention.It should be pointed out that for the person of ordinary skill of the art, without departing from the inventive concept of the premise, can also make some distortion and improvement, these all belong to protection scope of the present invention.Therefore, the protection range of patent of the present invention should be as the criterion with claims.

Claims (8)

1. the electric torch circuit with calculator function, comprises the reseting module for reseting data; It is characterized in that, also comprise the matrix keyboard module for inputting numeral and arithmetic signal, for control light fixture light with the switch module extinguished, control module, for providing the constant flow module of constant current and for showing the display module that described matrix keyboard module input signal and described control module output signal;
Described matrix keyboard module comprises eight outputs, and eight output correspondences of described matrix keyboard module connect eight data input pins of described control module; The reset terminal of control module described in the output termination of described reseting module; The input termination light fixture positive pole of described constant flow module and the constant current end of described control module, the output termination light fixture negative pole of described constant flow module; The data output end of control module described in the input termination of described display module; The power supply termination input power of the power end of described control module, the power end of described reseting module, described display module; The switch terminals of control module described in the output termination of described switch module;
The numeral of the input of described matrix keyboard module and arithmetic signal, after described control module is changed and processed, output to described display module, the numbers and symbols that described display module display is digital and arithmetic signal is corresponding; Described switch module is used for described control module transmit button signal, and described control module controls the size of current of described constant flow module according to described switching signal, thus controls the light fixture brightness of lighting and extinguishing; Described reseting module is used for the data reset of described control module.
2. the electric torch circuit of band calculator function according to claim 1, is characterized in that, described reseting module comprises resistance R1, switch S 1, electric capacity C3 and electric capacity C4; Described resistance R1 mono-termination input power, the other end is the output of described reseting module, the output of reseting module described in described electric capacity C3 mono-termination, and other end ground connection, described electric capacity C4 is in parallel with described electric capacity C3, and described switch S 1 is in parallel with described electric capacity C3.
3. the electric torch circuit of band calculator function according to claim 1, is characterized in that, described matrix keyboard module comprises 4 × 4 matrix keyboards.
4. the electric torch circuit of band calculator function according to claim 1, is characterized in that, described constant flow module comprises constant current chip U3 and constant current chip U4; The output of described constant current chip U3 and the output of described constant current chip U4 connect the negative pole of light fixture simultaneously, the points of common connection of the power end of described constant current chip U3 and the power end of described constant current chip U4 is the input of described constant flow module, the earth terminal of described constant current chip U3 and the equal ground connection of earth terminal of described constant current chip U4.
5. the electric torch circuit of band calculator function according to claim 1, is characterized in that, described switch module comprises switch S 18, described switch S 18 one end ground connection, the switch terminals of control module described in another termination.
6. the electric torch circuit of band calculator function according to claim 1, it is characterized in that, described display module comprises display chip U2 and adjustable resistance R2, the output of control module described in the input termination of described display chip U2, one end ground connection of described adjustable resistance R2, the power end of display chip U2 described in another termination.
7. the electric torch circuit of band calculator function according to claim 1, is characterized in that, described control module comprises single-chip microcomputer U1, triode Q1 and electric capacity C5, eight data input pins of described single-chip microcomputer U1 connect eight outputs of described matrix keyboard module, the output of reseting module described in the reset termination of described single-chip microcomputer U1, the data output end of described single-chip microcomputer U1 connects the input of described display module, the output of switch module described in the switch termination of described single-chip microcomputer, the base stage of triode Q1 described in the constant current termination of described single-chip microcomputer U1, the collector electrode of described triode Q1 connects input power, the emitter of described triode Q1 connects the input of described constant flow module, the power supply termination input power of described single-chip microcomputer U1, the reference voltage end of single-chip microcomputer U1 described in described electric capacity C5 mono-termination, other end ground connection.
8. the electric torch circuit of band calculator function according to claim 7, it is characterized in that, also comprise crystal oscillator module, described crystal oscillator module comprises crystal oscillator Y1, electric capacity C1 and electric capacity C2, described crystal oscillator Y1 two ends connect XTAL1 end and the XTAL2 end of described single-chip microcomputer U1 respectively, the XTAL1 end of single-chip microcomputer U1 described in described electric capacity C1 mono-termination, other end ground connection, described electric capacity C2 connects the XTAL2 end of described single-chip microcomputer U1, other end ground connection.
CN201410123764.XA 2014-03-28 2014-03-28 Electric torch circuit with calculator function Active CN104955202B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410123764.XA CN104955202B (en) 2014-03-28 2014-03-28 Electric torch circuit with calculator function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410123764.XA CN104955202B (en) 2014-03-28 2014-03-28 Electric torch circuit with calculator function

Publications (2)

Publication Number Publication Date
CN104955202A true CN104955202A (en) 2015-09-30
CN104955202B CN104955202B (en) 2019-06-14

Family

ID=54169453

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410123764.XA Active CN104955202B (en) 2014-03-28 2014-03-28 Electric torch circuit with calculator function

Country Status (1)

Country Link
CN (1) CN104955202B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20060052195A (en) * 2004-10-12 2006-05-19 린나이코리아 주식회사 Apparatus for remote controling
CN101294965A (en) * 2008-06-19 2008-10-29 中国科学院力学研究所 Miniature non-mark protein chip detecting system
CN102052568A (en) * 2009-10-28 2011-05-11 王家伟 Electric torch

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20060052195A (en) * 2004-10-12 2006-05-19 린나이코리아 주식회사 Apparatus for remote controling
CN101294965A (en) * 2008-06-19 2008-10-29 中国科学院力学研究所 Miniature non-mark protein chip detecting system
CN102052568A (en) * 2009-10-28 2011-05-11 王家伟 Electric torch

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
645578078: "atmega16开发板电路图", 《百度文库》 *

Also Published As

Publication number Publication date
CN104955202B (en) 2019-06-14

Similar Documents

Publication Publication Date Title
CN205480263U (en) Led lamp and led control circuit
EP3328161A1 (en) Plug-in multifunctional led power system
CN102665320B (en) Portable electric appts and flash control circuit thereof
CN203135987U (en) Mobile terminal
CN204131801U (en) A kind of Intelligent LED lamp of low-power consumption Bluetooth control
CN204026504U (en) Many wicks wave electric candle
CN204404024U (en) A kind of intelligence light modulation rechargeable LED lamp with oneself
CN104955202A (en) Electric torch circuit with function of calculator
CN201142777Y (en) Classroom illumination electricity saving controller
CN203927678U (en) A kind of Multifunctional learning type LED desk lamp
CN208719916U (en) It is a kind of can be with the desk lamp of touch control
CN205356773U (en) Intelligence circuit in a poor light of universal meter
CN202735922U (en) Notebook computer with illuminating device
CN201813032U (en) Multifunctional light dimming switch socket
CN207980432U (en) A kind of multi-functional seven-piece puzzle toy lamp
CN104089200A (en) Remote control lamp
CN202815831U (en) Electronic calculator with night vision function
CN206004983U (en) Christmas lamp controller
CN108012393A (en) A kind of billboard light automatically turns on control system
CN205142626U (en) LED eyeshield desk lamp control circuit
CN204733427U (en) Portable color-adjustable LED
CN203015217U (en) Voice-control color-changing table lamp
CN204829314U (en) Precious multifunction flashlight that charges is removed in emergent desk lamp illumination
CN205546056U (en) Two accuse LED time delay lamp circuit
CN207094260U (en) A kind of lighting apparatus

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant