Embodiment
By best embodiment, the utility model is described in detail below
.
As Figure 1-3, bluetooth gas meter, flow meter, comprises housing 1, has and detect tongue tube 2, counter 3, alarm input socket 6 and IC card socket 7 in housing 1; Housing 1 installed in front has plastic casing 9, plastic casing 9 is provided with display panel, label 5 and battery case 8; In housing 1, controller circuit board 4 is also installed, controller circuit board 4 is provided with Bluetooth circuit, controller circuit board 4 linkage counter 3, alarm input socket 6, IC card socket 7 and battery case 8.
The utility model can also have following structure and function:
Control circuit board take single-chip microcomputer as core, coordinates display circuit (disp), card reading circuit, valve driving machine driving circuit, buzzer circuit, alarm input circuit, power circuit, voltage detection circuit, temperature sensing circuit, metering signal input circuit, the compositions such as Wifi communicating circuit.
Display circuit circuit: display is the LCD segment code type display disp of customization, and the driving circuit of LCD is integrated in single-chip microcomputer U1.
Card reading circuit: be made up of J3, V31, R32, R33, R34, R35, R36, R37 and deck.When card inserts deck, 4442-KEY low level, after single-chip microcomputer U1 detects 4442-KEY low level, during the output 4442-PWR low level of U1, card reading circuit is powered.Then drived control mouth is read and write IC-card.Carry out read-write card operation, start card reading module, and start Card Reader program.After Card Reader completes, close IC-card power supply.R34, R35, R36, R37 resistance protection internal circuit, at IC-card groove, can protect internal circuit to damage when inserting sheet metal.
Valve driving machine driving circuit: be made up of V51 ~ V56, R51 ~ R55, J5, exports control PD1, the low and high level state of PD2 by the I/O port of U1, carrys out drive motor and rotates forward, reverses.When PD1 high level, during PD2 low level, V51, V56, V54 conducting, motor rotates forward, valve opening; .When PD2 high level, when PD1 low level, V52, V55, V53 conducting, motor reversal, closes valve.After motor operation puts in place, motor is limited to rotate, and electric current increases, and exceedes the normal current value run, and by the voltage of 19 pin detections on R55 of U1, determines size of current, when electric current exceedes normal value, and shutdown switch valve.
Buzzer circuit: be made up of BU1, V61, R61, F, export control BEEP by the I/O port of U1 and hold, BEEP high level, hummer F rings; BEEP low level, hummer F not sound.
Power circuit: have four joints No. 5 dry cell power supplies, voltage 6V, through choked flow diode D21, U21(HT7150) after voltage stabilizing to 5V, charge to electric capacity C23, C23 is the large bulk capacitance of 1F, when taking off battery, the electricity that C23 stores can ensure the valve closing of gas meter, flow meter.Power supply is through U22(HT7133) after integrated regulator voltage stabilizing, export 3.3V voltage, for other circuit.
Voltage detection circuit: after R23, R24 dividing potential drop, the AD converter of input U1, detects voltage.When cell voltage is higher than 5.0V, normally work, when cell voltage is lower than 5.0V, represents that electricity is not enough, valve-off, stop air feed.Opening valve at cell voltage higher than just allowing during 5.0V, using combustion gas.
Temperature sensing circuit: after Rt, R81 dividing potential drop, the AD converter of input U1, detects voltage.When the temperature is changed, the resistance value of Rt changes, the magnitude of voltage change of detection.Calculated by software, obtain temperature value.
Gauge check circuit: gauge check circuit is made up of tongue tube K1, K2 of being arranged in water meter counter and auxiliary circuit R41, R42.When there being combustion gas to flow through gas meter, flow meter, counter rotates, and runner is equipped with permanent magnet, and time near magnet rotors to tongue tube, reed switch conduction, when magnet leaves tongue tube, tongue tube disconnects.K1, K2 are arranged on the both sides of magnet runner respectively, and during magnet rotors, K1, K2 will conductings in turn, and this signal is input to U1, and U1 carries out stored count to signal.When K1 or K2 connects, make CPU produce interrupt response, and CPU can be made to wake up from dormant state, enter duty, to input signal counting, after completing, CPU enters into dormant state again.
Last it is noted that obviously, above-described embodiment is only for the utility model example is clearly described, and the restriction not to embodiment.For those of ordinary skill in the field, can also make other changes in different forms on the basis of the above description.Here exhaustive without the need to also giving all embodiments.And thus the apparent change of amplifying out or variation be still among protection domain of the present utility model.