Utility model content
The utility model provides a kind of blue-tooth intelligence switch controller, easy to operate, more practical, product function multiplicity
Change.
In order to solve the above-mentioned technical problem, the utility model adopts the following technical solution: a kind of blue-tooth intelligence switch control
Device, comprising:
Master control U1, as control chip, integrates bluetooth communication module using AC6905B single-chip microcontroller;
Bluetooth antenna, 21 feet of master control U1 are connected and are connect after a capacitor C3 with Bluetooth antenna ANT1, bluetooth data communication
All thus Bluetooth antenna sends data and receives data;
Master control crystal oscillator unit, 23 feet, 24 feet of master control U1 are connected with two feet of master control crystal oscillator Y1, while each one in parallel
C1, C2 capacitor adjust the working frequency of master control;
Regular tap unit, including key K1,15 feet and key K1 of master control U1 are connected to ground, detect key;
ADC converting unit, including temperature sensor R6,16 feet, the one filter capacitor C12 of parallel connection and pull-up electricity of master control U1
Resistance R3 is connected with temperature sensor R6, detects the temperature of temperature sensor;
RTC clock unit, including clock chip U2, clock chip U2 use AT8563T, 13 feet, 14 feet point of master control U1
It is not connected with 5 feet of clock chip U2,6 feet, the data communication as clock chip U2 and master control U1 is used;
Power supply converts power supply unit, including sequentially connected alternating voltage turns direct current 12V unit and DC voltage 12V turns straight
5V unit is flowed, DC voltage 12V turns direct current 5V unit output end and is connected with 18 feet of master control U1 power supply;Alternating voltage turns direct current
12V unit includes power supply chip U4 and rectifier bridge BR1, and power supply chip U4 uses Unisolated switch power supply constant pressure chip FT8400;
The sub- JT1 of alternating current 220V hot terminal is connected by insuring resistance R20 with 1 foot of varistor RZ1 and rectifier bridge BR1, alternating current
220V zero curve connecting terminal JT2 is connected with 2 feet of the other end of varistor RZ1 and rectifier bridge BR1;3 feet of rectifier bridge BR1 connect
Entire ground wire is connect, 4 feet, one electrolytic capacitor EC6 of parallel connection of rectifier bridge BR1 is connected with 5 feet of power supply chip U4 simultaneously to ground;Electricity
4 feet and 1 foot of inductance L1,1 foot of capacitor C22,1 foot of capacitor C23,1 foot of diode D7, power supply chip U4 of source chip U4
The connection of 2 feet, 2 feet of diode D7 connect with ground wire;1 foot of power supply chip U4 is connect with 1 foot of 2 feet of capacitor C23, R21;
3 feet of power supply chip U4 are connect with 1 foot of 2 feet of capacitor C22, diode D8,2 feet of diode D8 and 2 feet, the electricity of inductance L1
Hinder 2 feet of R21,1 foot of electrolytic capacitor EC8,1 foot of resistance R21, the 12V connection of voltage label, the EC8 and resistance of electrolytic capacitor
2 feet of R22 are connect with ground wire;
Load control unit, alternating voltage turn the output end of direct current 12V unit by the 2 of diode D9 and relay JDQ1
Foot is connected, while being connected with 1 foot of diode D10, and 1 foot of relay JDQ1 is connected with the collector of triode Q1, while with
2 feet of diode D10 are connected, and the emitter of triode Q1 is connected with ground wire;5 feet of master control U1 and identical label output route
Connection, series resistor R24 is connect with indicator light LED3, while series resistance R23 is connected with the base stage of triode Q1;Relay
3 feet of JDQ1 are connected with connecting terminal JT3, and connecting terminal JT3 is the wiring of load;4 feet and label LIN of relay JDQ1,
Connecting terminal JT1 is connected, and the firewire that connecting terminal JT1 is alternating current 220V accesses.
DC voltage 12V turns direct current 5V unit, and alternating voltage turns direct current 12V unit output end voltage label 12V parallel connection one
A capacitor C20 is connected with 3 feet of low pressure conversion chip U3, the 2 feet ground connection of low pressure conversion chip U3, and the 1 of low pressure conversion chip U3
Foot two capacitors C21, EC5 of parallel connection are to ground, while series diode D4 is main control chip U1 power supply.
1 foot, 2 feet of clock chip U2 link together with a low frequency crystal oscillator Y2, and low frequency crystal oscillator can be clock chip
Accurate system clock is provided, while 1 foot of clock chip U2 is connected in parallel with a capacitor C9 to ground, when can finely tune according to C9 capacitance
The system clock of clock chip.
RTC clock unit is also connected with standby battery unit, and standby battery unit includes reserve battery BT1, reserve battery
After BT1 anode series diode D2,8 feet of clock chip U2 are connected all the way, are grounded after another way connection capacitor C11 in parallel.
1 foot of master control U1 is connected by resistance R1 with LED1 indicator light, and 2 feet of master control U1 are indicated by resistance R2 and LED2
Lamp is connected, and 3 feet and 4 feet of master control U1 are the interface of upgrading or burning program.
12 feet of master control U1 are the electric pressure converter output pin built in master control, and an external capacitor C8 gives ADC to ground
Conversion provides reference voltage, is connected by diode D1 with 8 feet of clock chip U2, powers for clock chip U2.
8 feet, 9 feet of master control U1 are separately connected capacitor C6, C7 to ground, and filtering increases master control U1 anti-interference;Master control U1's
18 feet increase the anti-interference of master control U1 with for being connected in parallel with a capacitor C5 filtering while being electrically connected;19 feet of master control U1 are external
One capacitor C4 filtering, increases the anti-interference of master control U1;17 feet, 20 feet, 22 feet of master control U1 connect power ground.
Compared with the existing technology, after the switch controller access power supply and load of the utility model, connected by Bluetooth of mobile phone
It connects, function setting can be carried out after connection in cell phone application, be not necessarily to direct contact product, after setting by required function, equipment can
Directly run.If the external power supply of switch controller access disconnects, setting time of this equipment because internal battery powers without
It is impacted, still ensure that product function operates normally.It is configured with mobile phone app due to being, so display function is especially powerful,
It can be carried out password setting, also to avoid other people maloperation.The switch controller can also accomplish one-machine-multi-function, it has six big function
Can, it is controller for timing switch, switch controller of ringing a bell, temperature contact controller, cycling switch controller, timing+follow respectively
Ring controller and regular tap.
Embodiment: as shown in Figure 1, a kind of blue-tooth intelligence switch controller, comprising:
Master control U1 is used as control chip using the AC6905B single-chip microcontroller of Zhuhai Jie Li Science and Technology Ltd., totally 24 pins,
Integrated bluetooth communication module;
Bluetooth antenna, 21 feet of master control U1 are connected and are connect after a capacitor C3 with Bluetooth antenna ANT1, bluetooth data communication
All thus Bluetooth antenna sends data and receives data;
Master control crystal oscillator unit, 23 feet, 24 feet of master control U1 are connected with two feet of master control crystal oscillator Y1, while each one in parallel
C1, C2 capacitor adjust the working frequency of master control;
Regular tap unit, including key K1,15 feet and key K1 of master control U1 are connected to ground, detect key;
ADC converting unit, including temperature sensor R6,16 feet, the one filter capacitor C12 of parallel connection and pull-up electricity of master control U1
Resistance R3 is connected with temperature sensor R6, detects the temperature of temperature sensor;
RTC clock unit, including clock chip U2, clock chip U2 use AT8563T, 13 feet, 14 feet point of master control U1
It is not connected with 5 feet of clock chip U2,6 feet, the data communication as clock chip U2 and master control U1 is used;
Power supply converts power supply unit, including sequentially connected alternating voltage turns direct current 12V unit and DC voltage 12V turns straight
5V unit is flowed, DC voltage 12V turns direct current 5V unit output end and is connected with 18 feet of master control U1 power supply;Alternating voltage turns direct current
12V unit includes power supply chip U4 and rectifier bridge BR1, and power supply chip U4 uses the Unisolated switch power supply of Shenzhen brightness awns microelectronics
Constant pressure chip FT8400;The sub- JT1 of alternating current 220V hot terminal passes through insurance resistance R20 and varistor RZ1 and rectifier bridge BR1
1 foot be connected, alternating current 220V zero curve connecting terminal JT2 is connected with 2 feet of the other end of varistor RZ1 and rectifier bridge BR1;It is whole
3 feet for flowing bridge BR1 connect entire ground wire, 4 feet, one electrolytic capacitor EC6 of parallel connection of rectifier bridge BR1 to and meanwhile and power supply chip
5 feet of U4 are connected;4 feet of power supply chip U4 and 1 foot of inductance L1,1 foot of capacitor C22,1 foot of capacitor C23, diode D7
The 2 feet connection of 1 foot, power supply chip U4,2 feet of diode D7 are connect with ground wire;1 foot of power supply chip U4 and the 2 of capacitor C23
The 1 foot connection of foot, R21;3 feet of power supply chip U4 are connect with 1 foot of 2 feet of capacitor C22, diode D8,2 feet of diode D8
It connect, is electrolysed with 2 feet of inductance L1,2 feet of resistance R21,1 foot of electrolytic capacitor EC8,1 foot of resistance R21, voltage label 12V
2 feet of the EC8 and resistance R22 of capacitor are connect with ground wire;Alternating current 220V high pressure access switch electricity after rectifier bridge BR1 rectification
Source chip U4, switching power source chip are the non-isolated buck power switch of a high-performance, high-precision, low cost.It includes one
A special current-mode PFM controller and a high-voltage circuit breaker pipe.Arrange in pairs or groups capacitor C23, C22 for periphery, resistance R21, R22,
Inductance L1 is electrolysed EC8, and diode D7, D8 can stabilize the output voltage 12V.
Load control unit, alternating voltage turn the output end of direct current 12V unit by the 2 of diode D9 and relay JDQ1
Foot is connected, while being connected with 1 foot of diode D10, and 1 foot of relay JDQ1 is connected with the collector of triode Q1, while with
2 feet of diode D10 are connected, and the emitter of triode Q1 is connected with ground wire;5 feet of master control U1 and identical label output route
Connection, series resistor R24 is connect with indicator light LED3, while series resistance R23 is connected with the base stage of triode Q1;Relay
3 feet of JDQ1 are connected with connecting terminal JT3, and connecting terminal JT3 is the wiring of load;4 feet and label LIN of relay JDQ1,
Connecting terminal JT1 is connected, and the firewire that connecting terminal JT1 is alternating current 220V accesses.When 5 feet of master control U1 export high level, pass through
The base stage that R23 is triode Q1 is powered, and the collector of triode Q1 allows electric current to pass through to emitter after base stage saturation, relay
The coil of JDQ1, which is powered, to be attracted, and 3 feet of relay JDQ1 are connected with 4 feet, when 5 feet of master control U1 export low level, triode Q1
Base stage no current, the collector of triode Q1 is not allow current through to emitter, the coil blackout release of relay JDQ1,
3 feet of relay JDQ1 and 4 feet disconnect.
DC voltage 12V turns direct current 5V unit, and alternating voltage turns direct current 12V unit output end voltage label 12V parallel connection one
A capacitor C20 is connected with 3 feet of low pressure conversion chip U3, the 2 feet ground connection of low pressure conversion chip U3, and the 1 of low pressure conversion chip U3
Foot two capacitors C21, EC5 of parallel connection are to ground, while series diode D4 is main control chip U1 power supply.
1 foot, 2 feet of clock chip U2 link together with a low frequency crystal oscillator Y2, and low frequency crystal oscillator can be clock chip
Accurate system clock is provided, while 1 foot of clock chip U2 is connected in parallel with a capacitor C9 to ground, when can finely tune according to C9 capacitance
The system clock of clock chip.Clock chip U2 is Low-Power CMOS real-time clock/calendar chip, and built-in one includes century, year
Month day Hour Minute Second timer, play the role of clock and watch in circuit.
RTC clock unit is also connected with standby battery unit, and standby battery unit includes reserve battery BT1, reserve battery
After BT1 anode series diode D2,8 feet of clock chip U2 are connected all the way, are grounded after another way connection capacitor C11 in parallel.
1 foot of master control U1 is connected by resistance R1 with LED1 indicator light, and 2 feet of master control U1 are indicated by resistance R2 and LED2
Lamp is connected, and 3 feet and 4 feet of master control U1 are the interface of upgrading or burning program.
12 feet of master control U1 are the electric pressure converter output pin built in master control, and an external capacitor C8 gives ADC to ground
Conversion provides reference voltage, is connected by diode D1 with 8 feet of clock chip U2, powers for clock chip U2.
8 feet, 9 feet of master control U1 are separately connected capacitor C6, C7 to ground, and filtering increases master control U1 anti-interference;Master control U1's
18 feet increase the anti-interference of master control U1 with for being connected in parallel with a capacitor C5 filtering while being electrically connected;19 feet of master control U1 are external
One capacitor C4 filtering, increases the anti-interference of master control U1;17 feet, 20 feet, 22 feet of master control U1 connect power ground.
Master control U1 develops 6 functional program modules: time switch module, timing+loop module, is rung a bell at circulation control module
Device module, temperature controller module, regular tap module, can optionally one of functional program module as use, by bluetooth with
Cell phone application connection, is directly arranged required function and data on APP, and master control U1 runs corresponding modular program and controls output
High level or low level the energization or disconnected of load controlled by the actuation or release of the control relay JDQ1 of triode Q1
Electricity.
Time switch module: cell phone application is connect by bluetooth with intelligent switch controller, the operation selection timing on APP
Switching function is set as needed ETAD expected time of arrival and departure, closes time and week, after master control U1 receives timing data, according to clock chip
The real-time clock that U2 is provided, according to the switch time of setting, master control U1 controls the actuation or release of relay JDQ1, control load
Energization or power-off;
Circulation control module: cell phone application is connect by bluetooth with intelligent switch controller, the operation selection circulation control on APP
Function is set as needed circulation ETAD expected time of arrival and departure, closes the time, and after master control U1 receives loop-around data, master control U1 is followed according to setting
Ring switch time controls the actuation or release of relay JDQ1, controls the energization or power-off of load;
Periodically+loop module: cell phone application is connect by bluetooth with intelligent switch controller, the operation selection timing on APP
+ circulatory function is set as needed ETAD expected time of arrival and departure, closes time and week and recycle ETAD expected time of arrival and departure, close the time, and master control U1 receives timing
After+loop-around data, according to the real-time clock that clock chip U2 is provided, master control U1 is opened according to the ETAD expected time of arrival and departure section of setting, according to circulation
The actuation or release for closing control timer JDQ1, control the energization and power-off of load;
Bell-ringing device module: cell phone application is connect by bluetooth with intelligent switch controller, and operation selects function of ringing a bell on APP
Can, time of ringing a bell, duration of ringing a bell is set as needed, master control U1 is received ring a bell data after, according to clock chip U2 provide
Real-time clock, master control U1 control load according to the actuation or release of the ring a bell time and duration control relay JDQ1 of setting
It is powered and powers off;
Temperature controller module: it by the temperature sensor R6 of ADC converting unit, sends temperature data and gives master control U1, according to temperature
Degree setting, master control U1 control the actuation or release of relay JDQ1, control the energization or power-off of load;
Regular tap module: key switch state is detected by regular tap unit and sends data to master control U1, master control U1
The actuation or release for controlling relay JDQ1, control the energization or power-off of load;
When controlling operation to load control system, one of functional program module, other function program can only be run
Module can not be run simultaneously, but can mutually be switched.
The utility model is connected by dedicated cell phone application using Bluetooth Communication Technology, and APP sends order and passes by bluetooth
It is defeated to arrive main control chip, functional module required for user is set after main control chip resolve command, and corresponding functional module will be by
The control to load control system is realized according to the function of setting.