phyphox Forums
Phyphox to Arduino - Printable Version

+- phyphox Forums (https://phyphox.org/forums)
+-- Forum: App-Feedback (https://phyphox.org/forums/forumdisplay.php?fid=6)
+--- Forum: Feature requests (https://phyphox.org/forums/forumdisplay.php?fid=8)
+--- Thread: Phyphox to Arduino (/showthread.php?tid=1574)



Phyphox to Arduino - Dounia - 06-12-2022

Hi

does anyone know or is there any tutorial of how to send sensor Data from Phyphox to Arduino Nano 33 IoT ?

Thank you


RE: Phyphox to Arduino - Dominik Dorsel - 06-13-2022

Hey,

unfortunately sending data from phyphox to the arduino with bluetooth is not very easy right now. Currently there is no "offset" paramter in the bluetooth-output available, which makes is difficult to send more than one value in one characteristic. However, if you build up the bluetoothserver by your own (and not using phyphoxBLE) you could use multiple characteristics (one for each value) to send the sendor data.

Cheers,
Dominik


RE: Phyphox to Arduino - Dounia - 06-17-2022

Hi

Thank you i really appreciate your quick reply.

1.Question: I did send one type of Sensor data (Accelometer Richtung x-Achse) from Phyphox to arduino through Bluetooth and it went fluently. now if i want to send the y-Values also how can i connect the bluetooth server to Phyphox ?.

2.Question: Now i have to do the same thing but through Wifi. is there any possibility to do this since in Phyphox-Editor there is no option to create an experiment that sends data through Wifi (there are only two output options: Bluetooth and Audio )?

kind regards
Dounia


RE: Phyphox to Arduino - Dominik Dorsel - 06-27-2022

Hey,


Quote:1.Question: I did send one type of Sensor data (Accelometer Richtung x-Achse) from Phyphox to arduino through Bluetooth and it went fluently. now if i want to send the y-Values also how can i connect the bluetooth server to Phyphox ?.

Unfortunately thats not easily possible with the ble-library. The easiest way would be to add another characteristic to the bluetooth-server and send the second axis this way. Sending multiple values from phyphox is on our todo list, but I dont know when we can work on this topic.


Quote:2.Question: Now i have to do the same thing but through Wifi. is there any possibility to do this since in Phyphox-Editor there is no option to create an experiment that sends data through Wifi (there are only two output options: Bluetooth and Audio )?


The phyphox-editor does not support all phyphox features. If you would like to create an network experiment you have to write in an normal text editor.  

Cheers,
Dominik