就是这样,您的传感器现在已校准并可以使用。 Arduino代码 电路构建完成后,将以下草图上传到Arduino。 #define MQ3pin 8intsensorValue;//variable to store sensor valuevoidsetup(){Serial.begin(9600);// sets the serial port to 9600Serial.println("MQ3 warming up!");delay(20000);// allow the...
Serial.print(sensorValue);// Determine the statusif (sensorValue) {Serial.println(" | Alcohol...
[] = "fRgyO8sX1W6CjpMiY8gp65I2_0yX-t4E"; //Enter Authentication code sent by Blynk char ssid[] = "DESKTOP"; //Enter WIFI Name char pass[] = "asdfghjkl"; //Enter WIFI Password SimpleTimer timer; int mq2 = A0; // Alcohol sensor MQ -3 is connected with the analog pin A0 ...
Specifications: Material: Mixture Usage: Gas Sensor Theory: MQ135 MQ2 MQ3 MQ5 MQ7 Smart Electronics: Switch And Sensor For Arduino STM Output: Analog Sensor Applicable Scenarios: Kidde Co And Gas Detector, G37 Fuel Level Sensor, Gas Detection Device, Methane Gas Detector, Air Quality Sensor ...