Arduino serial plotter scale1/6/2023 byte ledMode = 3 //Options: 1 = Red only, 2 = Red + IR, 3 = Red + IR + Green byte ledBrightness = 0x1F //Options: 0=Off to 255=50mA //Setup to sense a nice looking saw tooth on the plotter Serial.println("MAX30105 was not found. if (!particleSensor.begin(Wire, I2C_SPEED_FAST)) //Use default I2C port, 400kHz speed //initialisation from Example4_HeartBeatPlotter ![]() ![]() Serial.println("Arduino XYZT peripheral device is now active, waiting for connections.") ![]() SensorService.addCharacteristic(IRChar) Serial.println("BLE failed to Initiate") īLE.setLocalName("Arduino XYZT (peripheral)") initialisation of the temperature sensor Serial.println("Failed to initialize IMU!") BLEUnsignedIntCharacteristic IRChar("2107", BLERead | BLENotify) int irBLE=floor(irSensor*pow(10,d_ir)+0.5) īLEUnsignedIntCharacteristic XChar("2101", BLERead | BLENotify) īLEUnsignedIntCharacteristic YChar("2102", BLERead | BLENotify) īLEUnsignedIntCharacteristic ZChar("2103", BLERead | BLENotify) īLEUnsignedIntCharacteristic TChar("2104", BLERead | BLENotify) ![]() Int const d_t=0 //number of decimal to keep for the temperature * created from sketch_nanoBLEsense33_BLE_acc_T_peripheral_v9_MAX30102 * The values of the integrated temperature sensor and Here is my program on the Arduino nano /* I have noticed that if I have more than 3 characteristic I get the message Malloc Failed. My final goal is to use the Wio Terminal as a BLE receiver to display data measured on an Arduino nano BLE 33 Sense.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |