Posts: 2
Threads: 1
Joined: Jun 2022
Institution: Frankfurt University of Applied Science
Hi
does anyone know or is there any tutorial of how to send sensor Data from Phyphox to Arduino Nano 33 IoT ?
Thank you
Posts: 52
Threads: 0
Joined: Aug 2018
Institution: RWTH Aachen University
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
Posts: 2
Threads: 1
Joined: Jun 2022
Institution: Frankfurt University of Applied Science
06-17-2022, 02:37 PM
(This post was last modified: 06-17-2022, 04:40 PM by Dounia.)
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
Posts: 52
Threads: 0
Joined: Aug 2018
Institution: RWTH Aachen University
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
Posts: 11
Threads: 1
Joined: Jun 2019
Institution: none
The opposite ( from standard arduino to android) i easy using standard bluetooth serial module, in case anyone interested.
arduino sends data to android using 1sheeld, using the android notification
tasker can then parse this and redirect it to the localhost post address of the phyphox webserver
using this method i used a standard sonar module to record distance and map using phyphx against angle.
which looked very much like the non radial sonar devices used in WW2.