Excuse me, the pressure sensor passes the signal to the monolithic integrated circuit, the monolithic integrated circuit produces the signal control, the alarm circuit's principle is what? Preferably with a circuit diagram.
Silent, you call the alarm circuit with a buzzer, you have to use the transistor to enlarge, or else can not drive, as for pressure sensors, first converted to 0-5V voltage signal, and then AD to the microcontroller. I don't know what you're going to do
The pressure sensor output analog signal (some pressure sensors can also be output digital signal), the MCU receives the signal AD conversion, and to determine the size of the pressure on the sensor, alarm when more than a certain value.
Pressure sensor signals can not be directly transmitted to the microcontroller, nor is it as LS said directly to the AD conversion. Because the electrical signals produced by the sensors are weak, amplification must be made.Now let me give you more details. First, what is the pressure sensor, the pressure sensor is the pressure values are converted into electrical signal equipment, that is measured to a certain pressure value, voltage or current signal will output a certain value, generally proportional to the electrical signals, the greater the pressure the greater the output. Second, the signal output of the pressure sensor is weak, must use the amplifier module, can generally be used in the design of operational amplifier circuit, or instrumentation amplifier (a chip), if the demand is not high with operational amplifier. Third, after the amplification of electrical signals to the microcontroller, microcontroller corresponding to the electrical signal AD conversion value to determine the pressure size. Fourth, the size of the pressure value according to the MCU, see pressure warning of your value is how much, such as pressure, you want more than 3MPa is the value of risk, you can write microcontroller program, to judge the value, if more than this value will alarm. The alarm circuit can be connected with the buzzer or the LED light through the IO port of the singlechip. SCM write programs and the like, you estimate know the concept, I will not say more. Ha-ha