04-17-2020, 11:11 AM
Hallo!
I have to do an experiment with a copper pipe and a magnet, which consist of showing its constant velocity motion.
I thought something like this: I start the magnetometer toghether with the acoustic stopwatch and then measure the time of flight by taking:
the istant it passes close to the magnetometer, by measuring the peak of che magnetic field, and the istant it reaches the ground with the acoustic stopwatch (and maybe correct with the velocity of the sound).
So I need to put toghether the magnetometer and the acoustic stopwatch and synchronize them.
But the problem is when I try to work out the acoustic stopwatch: when I try to load it to the editor and then download it back (without even modifying it) to my phone, it doesn't work again: when I start the experiment it doesn't count the time (i tried also with my tablet so I suppose it's not matter of phone).
I tried this with magnetometer and i had no problem, even modifying his code: and it works again on the phone.
How can i fix this?
I have to do an experiment with a copper pipe and a magnet, which consist of showing its constant velocity motion.
I thought something like this: I start the magnetometer toghether with the acoustic stopwatch and then measure the time of flight by taking:
the istant it passes close to the magnetometer, by measuring the peak of che magnetic field, and the istant it reaches the ground with the acoustic stopwatch (and maybe correct with the velocity of the sound).
So I need to put toghether the magnetometer and the acoustic stopwatch and synchronize them.
But the problem is when I try to work out the acoustic stopwatch: when I try to load it to the editor and then download it back (without even modifying it) to my phone, it doesn't work again: when I start the experiment it doesn't count the time (i tried also with my tablet so I suppose it's not matter of phone).
I tried this with magnetometer and i had no problem, even modifying his code: and it works again on the phone.
How can i fix this?