Datalogging LCD project

For discussing Phil Tobin's MegaLogViewer datalog viewing, analysis, and tuning software.

Moderator: LT401Vette

Post Reply
zed65
MegaSquirt Newbie
Posts: 3
Joined: Tue Sep 09, 2008 10:55 am

Datalogging LCD project

Post 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
LT401Vette
Master Squirter
Posts: 481
Joined: Sat Jul 16, 2005 7:07 am
Location: Charlotte, NC
Contact:

Re: Datalogging LCD project

Post 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.
Phil Tobin
EFI Analytics, helping to simplify EFI with Next Generation tuning software.
http://www.tunerstudio.com/
http://www.efiAnalytics.com/MegaLogViewer/
Android Shadow Dash MS: http://tunerstudio.com/index.php/shadowdashmsmenu
zed65
MegaSquirt Newbie
Posts: 3
Joined: Tue Sep 09, 2008 10:55 am

Re: Datalogging LCD project

Post by zed65 »

Thanks LT401Vette!
Problem is solved! I had to send "a" delay1ms "0" delay1ms "6".

/Alex
zed65
MegaSquirt Newbie
Posts: 3
Joined: Tue Sep 09, 2008 10:55 am

Re: Datalogging LCD project

Post 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
Post Reply