2020-05-27 01:44 AM
Hi!
I am using the SensorTile.box together with Algobuilder. Since 2.6 there is the feature that pressing the user-button triggers data collection.
Unfortunately this does not seem to work with SensorTile.box. I am using the Example13_SensorTile.box_SDCard that comes along with Algobuilder. Setup is working fine. Everything works if I use Unicleo GUI. By pressing "Start" in the UI the blue led starts to blink and a file is generated on the SD Card.
But the problem is pressing the User Button just turns the led on (with low brightness level,) but no blinking. I can see in Unicleo that the "Start" and "Stop" buttons are enabled and disabled. Problem is that nothing is written on the SD Card.
I tried to display a graph at the same time:
By pressing the user button, Unicleo shows the data in the graph. However, the led is again not blinking and nothing is written on the SD card.
Is there anything that I have to change to make this work? I really would like to collect some data when not connected via USB to a PC running Unicleo.
Best wishes,
Dominik
Solved! Go to Solution.
2020-05-27 03:34 AM
Hello,
I'm sorry for the inconvenience, indeed it is a bug. So far there are two possible workarounds:
1) Connect to PC through USB and press the "Start" button in Unicleo, then you can disconnect the SensorTile.box, the logging will continue and you can start and stop it by the user Button.
2) Replace the main.c file by the one in attachment. The best way is to replace it in the directory where AlgoBuilder is installed and then re-initialize firmware for your project, recompile, program, ....
We are going to release official bug fix in coming days.
2020-05-27 03:34 AM
Hello,
I'm sorry for the inconvenience, indeed it is a bug. So far there are two possible workarounds:
1) Connect to PC through USB and press the "Start" button in Unicleo, then you can disconnect the SensorTile.box, the logging will continue and you can start and stop it by the user Button.
2) Replace the main.c file by the one in attachment. The best way is to replace it in the directory where AlgoBuilder is installed and then re-initialize firmware for your project, recompile, program, ....
We are going to release official bug fix in coming days.
2020-05-27 04:59 AM
Thanks a lot! I tried with the new main.c and it works.