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.

Double acoustic stopwatch and speed of sound
Hello Gautier.

My last version for you. I had a problem to send the threshold value to Arduino from smartphone, but it works now. I do not understand "PhyphoxBLE::configHandler=&receivedData;" and I add to the reinitialization simply "receivedData();"  (timer_dec30d.ino).

Now the experiment works so: 2 claps (1 over the Arduino, one over the smartphone, or vice versa) to measure the sound speed; 30 seconds the Arduino builtin led blinks and then remains in on state (the time you enjoy the results); 2 claps to return both watches to the initial state (the builtin led is off). No need to touch neither the Arduino nor the smartphone.

I think that it would be nice to control the Arduino (nano 33 ble sense) by light of different colors ( ..

I would be happy to see your version of the sound speed experiment.

with Brest regards

Attached Files
.txt   timer_dec30d.ino.txt (Size: 4.42 KB / Downloads: 423)
.phyphox   acoustic_stop_mIv4.phyphox (Size: 11.47 KB / Downloads: 476)

Messages In This Thread
RE: Double acoustic stopwatch and speed of sound - by solid - 01-04-2021, 09:03 PM

Forum Jump: