Hello. I’m new on this forum and I have a question.
I want to use my airRohr device with a battery power supply and measure air during my bike to work. Is it possibile to change sampling time of the device (1 sample every 10 sec for example?)
Regards
Paolo (ITALY)
You can do but please uncheck “send to Madavi” and “send to Sensor.Community”. Remember the projet and the server are free to use… Don’t overload them. The SC sensor is no mobile device but you can find quite a lot of examples to build some on the internet.
Actually I don’t understand: do you have a screen on your sensor ? Can you reach a WiFi router on the whole path ?
I’m going to create an hotspot and use it during my biketowork.
I know it’s not a mobile device but why not to try to find something new.
Thanks for your suggestions
This won’t change the sampling frequency, only the browser refresh rate.
I’m not sure about times <30seconds but you can definitely lower the default 145 seconds through the web interface of your sensor (well, the board it’s connected to).
But as already stated by @pjg it wouldn’t be very nice to add the extra burden onto the project. Using your own server to fetch data from the sensor would be a more elegant solution. I have used a Linux phone to this end with positive results. (I also needed a mobile solution)
Edit: made some erroneous assumptions that I fixed.
You can use all apps on your phone as well as on the pc. The maps.sensor.community and the grafana.com websites work also on the phone. Just use the same links like on your pc…
@Ben21 I don’t think what is what @Paolo_Gaffurini means - I think he means collect data from the sensor through an API of sorts.
I used a linux phone for this for a reason: it’s got a battery (it’s a phone!) and it runs Linux so I can programme all sorts of scripts and even have a web interface going since I have root access to the device. I’m sure you can do something similar on Android too but I don’t know how.
Thanks all for your help. At this moment I think that the solution you suggested are out of my ability. So I will try to find a solution to create a mobile air quality measure device
Ofcourse you can adjust sampling interval inside web interface of airrohr firmware. But I aware you to set it less than 30 sec - you may hang up device. Also you can use smartphone as a router. We made such a lot of times - it works.
Other way you may install ESP-Easy firmware to ESP and measure continiously, but you will see data only in web brouser or on physical LCD/OLED screen connected to ESP. The issue is how to send data from ESP-Easy to some server.