Bench Test Decoder

For discussing and developing different RPM/Position decoders using our superior modular architecture! One thread per pattern, please.
User avatar
sim
LQFP112 - Up with the play
Posts: 112
Joined: Thu Jun 02, 2011 8:17 pm

Re: Bench Test Decoder

Post by sim »

The tracker issue:
http://issues.freeems.org/view.php?id=248

Short version:
The decoder produces an extra or part of an extra cycle.
<@TekniQue> but in the end, it's code that makes a computer useful
User avatar
Fred
Moderator
Posts: 15431
Joined: Tue Jan 15, 2008 2:31 pm
Location: Home sweet home!
Contact:

Re: Bench Test Decoder

Post by Fred »

Sim, thank you very much, stellar effort there!

MegaTunix now has a UI available for testing the tester. If anyone wants to give it a shot, please report back to Dave about it in the appropriate forum section (not here).
DIYEFI.org - where Open Source means Open Source, and Free means Freedom
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!
User avatar
Fred
Moderator
Posts: 15431
Joined: Tue Jan 15, 2008 2:31 pm
Location: Home sweet home!
Contact:

Re: Bench Test Decoder

Post by Fred »

http://issues.freeems.org/view.php?id=194 - issue closed, thanks Dave! :-) I tested it last night with a portable scope and it does indeed work nicely!
DIYEFI.org - where Open Source means Open Source, and Free means Freedom
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!
User avatar
Fred
Moderator
Posts: 15431
Joined: Tue Jan 15, 2008 2:31 pm
Location: Home sweet home!
Contact:

Re: Bench Test Decoder

Post by Fred »

http://www.youtube.com/watch?v=Ec80QrdIrB0 - Some real world use in Canada by Sim, cool! :-)
DIYEFI.org - where Open Source means Open Source, and Free means Freedom
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!
User avatar
Fred
Moderator
Posts: 15431
Joined: Tue Jan 15, 2008 2:31 pm
Location: Home sweet home!
Contact:

Re: Bench Test Decoder

Post by Fred »

Tonight I added a lock out that rejects requests if already running and a stop packet so you can turn it off from a UI and a jog/bump/inc packet so you can make it run just a little longer, nice! :-) Dave won't put them in MTX until I document, which is fair enough, but it's a low priority at this point.
DIYEFI.org - where Open Source means Open Source, and Free means Freedom
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!
User avatar
Fred
Moderator
Posts: 15431
Joined: Tue Jan 15, 2008 2:31 pm
Location: Home sweet home!
Contact:

Re: Bench Test Decoder

Post by Fred »

Dave did some work on this recently and added stop and bump functions. He also added button lockout logic and a timer that increments accurately with the bump button and finishes at the same time as the test does. Nice!
DIYEFI.org - where Open Source means Open Source, and Free means Freedom
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!
User avatar
Fred
Moderator
Posts: 15431
Joined: Tue Jan 15, 2008 2:31 pm
Location: Home sweet home!
Contact:

Re: Bench Test Decoder

Post by Fred »

My JimStim is broken, and I can't get any noise from Jean or Jerry, so I added a hacky missing tooth mode to the bench test decoder to allow me to use one freeems to test another...

Image

Details on RPM performance are in my diary thread here: viewtopic.php?p=20967#p20967

This mode is selected by setting one, and only one, PW Source value to 3. More generates and error, larger values under the cut off generate an error, less does what it used to.

Fred.
DIYEFI.org - where Open Source means Open Source, and Free means Freedom
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!
User avatar
Fred
Moderator
Posts: 15431
Joined: Tue Jan 15, 2008 2:31 pm
Location: Home sweet home!
Contact:

Re: Bench Test Decoder

Post by Fred »

Upgraded the hack for variable RPM and got John to help me write a little utility to control it:

Image

Get the util from:

https://github.com/johnhowe/Lacerated-Pempheridae/ (once he brings it up to date in a few hours, my fork before that)

Bench test firmware is all you need, outputs are on PT2 and PT3.

Fred.
DIYEFI.org - where Open Source means Open Source, and Free means Freedom
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!
User avatar
Fred
Moderator
Posts: 15431
Joined: Tue Jan 15, 2008 2:31 pm
Location: Home sweet home!
Contact:

Re: Bench Test Decoder

Post by Fred »

Upgraded the hack for 0 to 5 missing teeth, works perfectly in testing so far. Place the 3 in the slot with then number of the number you want missing. 0 through 5. Nothing much more to say on this.
DIYEFI.org - where Open Source means Open Source, and Free means Freedom
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!
User avatar
Fred
Moderator
Posts: 15431
Joined: Tue Jan 15, 2008 2:31 pm
Location: Home sweet home!
Contact:

Re: Bench Test Decoder

Post by Fred »

2 things:

1) LP + BT FW need 5beb5d6b4 & 0fc4cbc87 or newer, respectively, or both nee d to be older.
2) If it won't go to a low enough RPM for you, you can lower the speed of the firmware by changing the value of PTPSR in init.c near line 545. Useful for low res simulations such as Andy's and Presto's and Mine.

Fred.
DIYEFI.org - where Open Source means Open Source, and Free means Freedom
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!
Post Reply