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.

sensor statistics + nano 33 ble sense
#1
Hello,
I am trying to learn xml programming in order to build educational laboratory experiences for my students.
Using the solution from Sensor_Statistics (https://phyphox.org/wiki/index.php/Sensor_Statistics) and Gautier Creutzer's solution for nano 33 ble sense, I wrote a program to read the pressure sensor statistically.
I am attaching the sketch and the phyphox file, to find out if there are errors. 
Thanks.

https://raw.githubusercontent.com/Andrea...x_vAD3.ino

https://raw.githubusercontent.com/Andrea...a2.phyphox


Attached Files Thumbnail(s)
   

.zip   nano_phyphox_vAD3 - Copia.zip (Size: 2.8 KB / Downloads: 248)
Reply
#2
Hello Andrea,
Pressure sensor of Arduino Nano Sense has a problem. See https://phyphox.org/forums/showthread.ph...70#pid2470
For a correct statistics you should not activate the motion sensor.
Reply
#3
Some version which may be useful. Only pressure sensor is activated in Arduino...

   


Attached Files
.phyphox   bar_arduino_nano2_stat.phyphox (Size: 5.43 KB / Downloads: 352)
.txt   bar_arduino_nano_fast.ino.txt (Size: 1.09 KB / Downloads: 351)
Reply
#4
Thanks for your help. But
I prefer to use a single sketch for multiple experiments.
As you suggested, I disabled the accelerometers (IMU.end ()) while reading the pressure.
Thank you again.


Attached Files Thumbnail(s)
   

.txt   nano_phyphox_vAD4.txt (Size: 9.84 KB / Downloads: 375)
Reply


Forum Jump: