Not periodic refresh of data displayed using V memory values - Printable Version +- Virtuino Forum (https://virtuino.com/forum) +-- Forum: Virtuino (https://virtuino.com/forum/forumdisplay.php?fid=1) +--- Forum: Virtuino 6 (https://virtuino.com/forum/forumdisplay.php?fid=3) +--- Thread: Not periodic refresh of data displayed using V memory values (/showthread.php?tid=1054) |
Not periodic refresh of data displayed using V memory values - wilmar.ochoa - 09-13-2022 Hi, I am using Virtuino 6 to display in my android mobile 15 temperature and current sensors, using Virtual memories and bluetooth connection (HC05). If I have in the panel 2 or 3 sensors the data refresh is constant (as per server settings -refresh time), however when I add more sensors displayed, their values are not updated periodically, some variables do but others do not. I have tried changing the bluetooth speed, the BT serial time out,type of variables, type of widget without success. Any advise would be welcomed, thanks RE: Not periodic refresh of data displayed using V memory values - iliaslamprou - 09-14-2022 Hi, I think problems like this are due to miscommunication and serial errors. If you could upload some screens from the terminal we might be able to see the problem. RE: Not periodic refresh of data displayed using V memory values - wilmar.ochoa - 10-06-2022 (09-14-2022, 07:20 PM)iliaslamprou Wrote: Hi, Hi, Thanks to Ilias' support I did the following actions: I changed Tx and Rx cables (shorther and separated as possible with other conductors), however this change didn't have any impact on refresh rate. I released SRAM memory reducing serial print instructions as well using int variables instead float ones when possible. the refresh rate had a little improvement. Finally I found theh by disabling the I2C request for data instruction (specifically sensor DS18B20.requestTemperatures) the refresh data was as expected. I tried different solutions without success, just a "work-around" : Only executing this request once each 256 main program cycles, and it works fine for my final purpose. |