Page 1 of 1

Datalogging LCD project

Posted: Fri May 07, 2010 11:15 am
by zed65
Hi, I'm trying to build a datalogging LCD display.
I have some trouble with the update rate of the display.
I'm sending 'a 0 6' to Megasquirt and collect the data then pause 1sec and start over again.
If I want to increase the update rate (lower the pause) the data seems to freeze for 5sek with random intervals.
What is the maximum speed I can send 'a 0 6' and is it right to send 'a 0 6' ?

Another thing is that if the rpm is around 120prm (cranking) it works with only 100ms pause, but if the rpm is
increased to over 1000rpm the data starts to freeze :(

Image

/Alex

Re: Datalogging LCD project

Posted: Fri May 07, 2010 8:10 pm
by LT401Vette
It varies with firmware and other factors like trigger type and rpm. But under pretty much any conditions you can do better than 100ms.

Check your data logs with TunerStudio and you can pretty much always get 15 record/sec which = 66.6ms. With all in order some setups can do closer to 40 reads /sec

If you want to see exactly what is getting written and read, turn on Comm Debug from the Communications menu and then look in the TunerStudioLogFile.txt. It will contain all byte values written and received along with the time stamps for all.

Re: Datalogging LCD project

Posted: Fri May 14, 2010 12:39 pm
by zed65
Thanks LT401Vette!
Problem is solved! I had to send "a" delay1ms "0" delay1ms "6".

/Alex

Re: Datalogging LCD project

Posted: Sun Apr 08, 2012 10:02 am
by zed65
Long time since the last update.
Now the display works flawless :D

Image

http://www.youtube.com/watch?v=M9OyzI9J ... e=youtu.be

/Alex