Design of automatic switch for gas stove based on single chip control

The hardware design senses the pressure through the pressure sensor, and then amplifies the signal through the operational amplifier, and the analog-to-digital conversion is sent to the single-chip processing. When there is no pressure or the pressure does not reach the predetermined value, the solenoid valve and the pulse igniter do not work. Since the pressure sensor is to avoid the effects of temperature, the pressure sensor is placed on the foot of the gas stove in contact with the table top.

This part consists of two parts: relay and pulse igniter. Following the design of automatic switch for gas stove based on single-chip control Hu Zhiqiang Yang Yihua (School of Information Engineering, Nanchang Aviation University, Nanchang 330063, China) The gas stove automatic switch design based on single-chip control is used to realize weak current control of strong electricity, the purpose of which is to reduce the pulse igniter The effect of the generated high voltage pulse on the microcontroller. The operation of the pulse igniter also requires external power supply.

This part controls the relay through the output signal of the single-chip microcomputer to control the switch of the solenoid valve. Control electromagnetic also requires external power supply. Since the solenoid valve is either fully open or fully closed, the size of the gas is controlled by the rotatable valve of the gas stove. The valve opened by the system is opened 50% by default. The size of the fire is manually controlled, and the valve is adjusted by rotating the valve on the gas stove. the size of.

This section is checked by a thermocouple temperature sensor. The thermocouple feels the temperature at the fire place of the gas stove, and the corresponding output value is converted by the operational amplifier amplification analog-digital conversion, and sent to the single-chip microcomputer for processing. If ignited, the thermocouple output value is higher than the value set by the software, the pulse igniter does not work; if it is not ignited, the thermocouple output value is lower than the value set by the software, the pulse igniter continues to ignite until it ignites.

The analog-to-digital conversion part is realized by the ADC0809 chip. Its function is to convert the analog signal outputted by the pressure sensor and the thermocouple temperature sensor into a digital signal for processing by the single-chip microcomputer. The entire circuit is shown in Figure 2.

The function of this part is to determine which part works or not by the light-off of the LED.

3 software design 3.1 This system uses C language to write various data types (unsigned integer, unsigned character type) required to define the program, define the I/O port of the required microcontroller and peripheral circuit connection.

The delay function is written to be called for the delay part required later.

The programming of the analog-to-digital conversion part. Since the system has two analog signals (pressure sensor signal, thermocouple temperature sensor signal), it is necessary to write two analog-to-digital conversions. Its writing needs to be written according to the timing of ADC0809.

The main function is written. The purpose of this section is to process the values ​​obtained from the previous analog-to-digital conversion. When the value of the obtained pressure sensor is greater than or equal to a certain value, the output of the I/O port is performed, and the relay is controlled to control the solenoid valve and the pulse igniter; when the obtained thermocouple temperature sensor value is greater than or equal to a certain value , the I/O output is executed, and the relay is controlled to control the pulse igniter. When the pressure value reaches the set value, since the solenoid valve and the pulse igniter need to work at intervals, it is necessary to call the delay function for delay processing.

The author tested the system. When there is no heavy object on it, the solenoid valve is closed and the pulse igniter does not work. When a heavy object is pressed on the gas stove, the solenoid valve in the system is opened to supply gas to the gas stove, and the post-pulse igniter operates. When the temperature detected by the thermocouple reaches the set value when ignited, the pulse igniter stops ignition. When the weight is removed from the gas stove, the solenoid valve is closed. The system flow is shown in Figure 3.

4 Conclusion According to the original design of the product, this product can achieve the following functions: First, this product can reduce the burden of people, without the need of artificial rotating button to ignite, convenient to use gas stoves; Second, this product can be very efficient Ignite the gas stove to save the user's time and facilitate the user of the gas stove. Thirdly, it can prevent the leakage of gas and protect the personal safety of the user.

Sports Backpack

The ideal size for a small running bag is 30 liters, which is big enough to hold the ten essentials and extras for a personal climb. running bag can be as small as 10 liters or as large as 40 to 50 liters. If you are a frequent leader or carry a teammate (or a child), you may need a running backpack of 40 liters or more. In most cases, a travel backpack capacity of 30 liters is a standard capacity and the most popular choice. But if your activities range from hiking in summer to skiing in winter, you may need more than one shoulder backpacks. Consider your needs to determine your shoulder sling bags choice.

Sports Backpack,Polo Sport Backpack,Running Backpack,Running Bag

Zhejiang Yinglin Luggage Co. Ltd , https://www.yllcluggages.com

Posted on