Arduino-MQ131-driver icon indicating copy to clipboard operation
Arduino-MQ131-driver copied to clipboard

Bluetooth hc-05

Open EmbeddyE opened this issue 1 month ago • 0 comments

So everything it's fine when I'm using the Serial monitor on the arduino IDE, but when it comes to using bluetooth to show values into an android bluetooth receiver, there's no value output on my android terminal( I'm using Ardutooth). I'm using the following code: `#include <MQ131.h> #include <SoftwareSerial.h>

SoftwareSerial B(10, 11); // RX, TX

void setup() { Serial.begin(9600); B.begin(9600); // Bluetooth communication MQ131.begin(2, A0, LOW_CONCENTRATION, 1000000);
MQ131.calibrate(); }

void loop() { MQ131.sample(); B.print(MQ131.getO3(UG_M3)); B.print(" ug/m3"); B.print(";"); delay(20); } `

EmbeddyE avatar May 07 '24 13:05 EmbeddyE