We have created the Arduino library “phyphox BLE” to easily plot data from your Arduino or ESP32 in phyphox or receive sensor data from phyphox for your Arduino project.
In the most simple example, you only need few lines to submit a value to be plotted in phyphox.
#include <phyphoxBle.h>
void setup() {
PhyphoxBLE::start();
}
void loop() {
float value = analogRead(A0);
PhyphoxBLE::write(value);
delay(50);
PhyphoxBLE::poll();
}
This example simply creates random numbers and plots them in phyphox. This could be the voltage of an analog input, the distance from a range finder or any other sensor or vital data of your microcontroller.
Learn more on github.
