

A basic graphing application – SensorGraph.A simple slider GUI test application – Slider.This blog outlines the setup of four upgrdman Java applications in Eclipse (on OS X): These were simple enough to do.įinally, this morphed into upgrdman‘s (way more sophisticated) TelemetryViewer, which took me three attempts and a week to get running… Seeing as I had now got Eclipse IDE running for Java and Arduino, see Eclipse for Arduino, I decided to first tackle a simple GUI test application and then the Java Graphing application for the Arduino serial monitor, as outlined by upgrdman‘s excellent videos. Serial.print(pIRChar->getUUID().toString().c_str()) Serial.print("Notify callback for IR characteristic ") Serial.print(pZChar->getUUID().toString().c_str()) Serial.print("Notify callback for Z characteristic ") Tft.drawString(String(*pYData), 200, 70) Serial.print(pYChar->getUUID().toString().c_str()) Serial.print("Notify callback for Y characteristic ") Serial.print(pXChar->getUUID().toString().c_str()) Serial.print("Notify callback for X characteristic ")

Tft.drawString(String(*pTData), 200, 10) Serial.print("compteur temperatureNotif圜allback \t")

Serial.print(pTChar->getUUID().toString().c_str()) Serial.print("Notify callback for temperature characteristic ") static BLERemoteCharacteristic* pIRChar

static BLERemoteCharacteristic* pXChar The characteristic of the remote service we are interested in. The remote service we wish to connect to. //Take an average of IR readings at power up //the plotter with 500 of an average reading from the sensor //Arduino plotter auto-scales annoyingly. tup(ledBrightness, sampleAverage, ledMode, sampleRate, pulseWidth, adcRange) //Configure sensor with these settings 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.
