This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

icon for experiments
#1
Question 
Hi,
I'm working with an Arduino 33BLE Sense at school, and I'm getting all the datas on Phyphox (bluetooh+qrcode) . OK, that works fine.
However, I'd like to use the same icon as Phyphox for the 9 axis inertial sensor for the accelerometer, etc.
In the .phyphox file, I have this :
Code:
<icon>Acc</icon>
<color>009297</color>

How can I get the real icon ? Is there a list of all available icons ?

The sensors are 9 axis inertial sensor (acc+mag+gyr), humidity and temperature sensor, barometric sensor, etc.
For most sensors, there is already the good icon in Phyphox.

Thanks,
Bruno

*** French ***

Bonjour,
Je travaille avec un Arduino 33BLE Sense au lycée et je récupère les données sur Phyphox (bluetooh+qrcode à flasher), ça fonctionne.
J'aimerais pouvoir utiliser les mêmes icones que Phyphox pour les capteurs de la carte.
Dans les fichiers .phyphox j'ai ça :
Code:
<icon>Acc</icon>
<color>009297</color>

Comment avoir la vraie icone ? Existe-t-il une liste des icones disponibles ?
Pour la plupart des capteurs, la bonne icone existe déjà dans Phyphox.
Merci,
Bruno
Reply
#2
Hello,

You can open the originalphyphox experiment, and copy paste the <icon format="base64"> .... </icon> there, and paste it in place of the <icon>Acc</icon> line in your BLE experiment file. The original experiment files can be donlowed easily from the web editor (https://phyphox.org/editor/ click on "load experiment, then choose the source file of the experiment. Do not load it in the web editor, it tends to add some graphic related info in the file as fas as I gathered -- there may be an easiest way of getting the origninal files ?)

I attached below the icon in a text format from the acceleration without g phyphox experiment. Just copy it and replace the <icon>Acc</icon> line in your BLE experiment.

To make your own icon, you need a square png file with a trasparent background, and convert it to base64 format (with a tool such as https://onlinepngtools.com/convert-png-to-base64). It will generate the things you need to copy paste between the <icon format="base64"> .... </icon>.

If you are using the experiments we made to interact with the Arduino 33 BLE, the most recent update has some decent icons now, and a more phyphox-ike look.

Cheers,

Fred

---------------

(French available on request, but let us try to keep on in English)


Attached Files
.txt   accerometer icon.txt (Size: 4.48 KB / Downloads: 136)
Reply
#3
Thank you, Fred, for the quick answer.

There is a repository of all .phyphox files at https://github.com/phyphox/phyphox-experiments and there is a brief explanation of the icon element at https://phyphox.org/wiki/index.php/Phyph...k:_phyphox (entire documentation of the XML format is on the same page).
Reply
#4
Thanks a lot for these answers !!!
I'll see how to use it.
Reply
#5
Hello,
I just wanted to thank you again ; I'm including as much as possible phyphox icons to the .phyphox files for the nano 33 BLE sense card - experiments I've found on www.physicsreimagined.com, thanks again Fred Bouquet !!!
For the temperature and humidity experiments, I'll try to draw something (c'est pas gagné ! ^^).
For the analog input, I'll use one form an acoustic experiment to make something nice (I'll try to !).

OK, here's my first attempt, for "analog input" (the sine wave, half of it digital, with the binary code for "ok") and "temperature and humidity".
I plan to use both for the nano 33 ble sense.
Bruno


Attached Files Thumbnail(s)
       
Reply


Forum Jump: