【正文】
voltage signal. Operational amplifier A connected as a voltage follower with resistors R7 and regulator D1 make up the voltage regulator circuit to supply power for the bridge. In order to the voltage adapt to the A/D converter, the voltage is amplified by opamp B, and the magnification can be adjusted through resistor R11.Fig. 2 Gas concentration signal acquisition circuitFig. 3 Temperature pensation circuitTemperature pensation circuit. The resistance of Rs is greatly affected by temperature. In order to improve system accuracy, the results must be temperature pensated or temperature system, using temperature sensor DS1820 to collect temperature signal, and using software method for temperature correction.Wireless transmission module. Wireless transceiver is achieved by a singlechip RF transceiver nRF905. MCU and nRF905 realize data and mands interaction through the SPI typical application schematic is shown in Figure 4. The antenna part is 50Ω singleended munication frequency is 433MHz, and operating voltage is . The value of resistors,capacitors and inductor is determined by the datasheet of nRF905.GSM short message unit. The interface circuit of TC35i and MCU is shown in Figure 5. Themunication between MCU and TC35i is via serial, and the rate is 9600bps. Communicationsmode is 8bit asynchronous with a start bit, 8 data bits, and 1 stop bit. But the serial input of TC35i requires CMOS level, and serial output of 89C52 requires TTL level. In order to achieve the voltage conversion the system use the way of resistors sharing voltage.Fig. 4 nRF905 Application SchematicFig. 5 TC35i and MCU interface circuitSoftware DesignThe software system includes data acquisition module, temperature pensation module, and wireless transceiver moduleWireless sending program. NRF905 data sending process is as follows:1) When having data to send, the microcontroller send the receiver39。該系統(tǒng)由兩部分組成:一個主和奴隸。無線傳輸是通過無線收發(fā)芯片nRF905實現(xiàn)。目前,如何快速、準確地監(jiān)測有害氣體是一個重要的問題。該設備具有溫度補償算法,大大提高了系統(tǒng)的檢測能力和精度,并能及時發(fā)送報警信息通過GSM網絡到用戶的手機上。信號可以被放大和調理電路的穩(wěn)定。主機接收數(shù)據(jù)并將其顯示在LED。的電導率是由TGS813在空氣中的可燃氣體濃度的影響,濃度越大,較高的電導率。圖2氣體濃度信號采集電路圖3溫度補償電路溫度補償電路;RS電阻受溫度的影響較大。單片機和nRF905實現(xiàn)數(shù)據(jù)和命令的交互通過SPI接口。的電阻值,電容器和電感器是由nRF905芯片的數(shù)據(jù)表確定GSM短消息單元;TC35i和單片機的接口電路如圖5所示。為了實現(xiàn)電壓轉換系統(tǒng)使用電阻共享電壓的方式圖4 nRF905應用示意圖圖5 TC35i模塊與單片機的接口電路軟件設計軟件系統(tǒng)包括數(shù)據(jù)采集模塊、溫度補償模塊和無線收發(fā)模塊無線發(fā)送程序,nRF905發(fā)送數(shù)據(jù)的過程如下:1)當有數(shù)據(jù)要發(fā)送,單片機把收信人的地址和數(shù)據(jù)以nRF905按時間順序的