I’ve been working with the Particle Photon for the past few months and would like to take continuous readings from a sensor on the device at about 200 Hz, for a few hours at a time. Power consumption concerns aside, what do you think is the best way to go about doing this? I was thinking of using particle.publish() to publish a new event to the cloud every 1/200 seconds, but the documentation says that I can only publish once per second, with a max burst of four per second. So this won’t work.
I also tried using particle.variable() to register a variable with the cloud, and then calling the variable using the Command Line Interface within Terminal, using particle get [variable]. But there is close to a one second delay every time I do this, even if I automate the script.
I’m out of ideas at this point, but there definitely has to be a way to read data at a relatively low frequency of 200 Hz. Anyone know what I could try next? Thanks!