was successfully added to your cart.

Arduino + MQ3 酒精传感器之代码实现
int mq3_analogPin = A0; // connected to the output pin of MQ3 

void setup()
  Serial.begin(9600); // open serial at 9600 bps

void loop()
  // give ample warmup time for readings to stabilize
  int mq3_value = analogRead(mq3_analogPin);
  delay(100); //Just here to slow down the output.

Leave a Reply