Page 1 of 1
Lambda fuel injection controller
Posted: Tue Sep 04, 2012 6:02 am
by jjw
Hi,
Just wondering has anybody done program in Flowcode for wideband fuel injection controller, (Bosch LSU Lambda sensor)?
Regards,
jjw
Re: Lambda fuel injection controller
Posted: Tue Sep 04, 2012 12:38 pm
by Steve001
not done a flowcode one, but a friend has built a ECU take a look here .
http://www.megasquirt.info/
steve
Re: Lambda fuel injection controller
Posted: Wed Nov 15, 2017 12:50 pm
by jjw
Hi Martin,
I’ve an old project there I should use 7-segment display instead of LCD. I can’t get it work can you help me.
Wbr,
jjw
Re: Lambda fuel injection controller
Posted: Wed Nov 15, 2017 2:29 pm
by medelec35
Hi jjw,
I have had a look at the flowchart you sent via PM.
As using LCD, 3 x 7seg and ADC:
For your project to work you will require 16 outputs (DP not connected) and 1 input (must be ADC)
As you're using 16F1825, it only has 11 outputs/inputs and 1 input only which is not ADC, Project will not work.
The common pins of LED display must have their own separate pins.
Its the A - G & DP which all can be connected together.
There are various other issues with flowchart that will require sorting out.
Best to sort out a more suitable target device first, then we can take it from there.
@Steve that does look interesting.
How is the ECU working for your mate?
Martin
Re: Lambda fuel injection controller
Posted: Wed Nov 15, 2017 2:52 pm
by jjw
Hi Martin,
OK target device would be 18f252 it has enough pins.... ECU is working fine Lambda display still missing...
Wbr,
jjw
Re: Lambda fuel injection controller
Posted: Wed Nov 15, 2017 4:08 pm
by medelec35
Yes it has enough pins.
However you configured 16F1825 to use an internal oscillator.
Unfortunately 18F252 does not have one.
Are you going to change device, or use crystal or resonator instead?
Martin
Re: Lambda fuel injection controller
Posted: Wed Nov 15, 2017 5:22 pm
by jjw
I'm going to have crystal in this new situation.
Wbr,
jjw
Re: Lambda fuel injection controller
Posted: Wed Nov 15, 2017 5:46 pm
by Docara
Wow Megasquirt is still going - great piece of kit
Re: Lambda fuel injection controller
Posted: Wed Nov 15, 2017 7:55 pm
by medelec35
So how do you want the 3 x 7seg display to work.
For example if you have 22.32V showing on the LCD, what has the LED need to display?
Re: Lambda fuel injection controller
Posted: Wed Nov 15, 2017 8:04 pm
by jjw
There is no need to show more than one digit after dp 22.3 is enough in our purpose.
Wbr,
jjw
Re: Lambda fuel injection controller
Posted: Wed Nov 15, 2017 8:11 pm
by medelec35
jjw wrote:There is no need to show more than one digit after dp 22.3 is enough in our purpose.
You had the d.p disconnected(you also had seg g disconnected:
I will connect it as it only uses one more pin (i already connected g when mentioned how many pins required).
Martin
Re: Lambda fuel injection controller
Posted: Thu Nov 16, 2017 11:03 pm
by medelec35
Hi JJW,
I have sent you an updated flowchart via pm.
jjw wrote: Noticed at the very beginning that I couldn’t change the pin orientation in FC as it was in scheme. Is it even possible to have different ports for 7-segment display?
You can only have a whole port for the segments with Flowcode V5.
With V7 you can set each segment with any pin:
Martin
Re: Lambda fuel injection controller
Posted: Fri Nov 17, 2017 7:35 am
by jjw
Hi Martin,
Thanks for the updated Flowcode it works as fine as expected.
Wbr,
Jukka
Re: Lambda fuel injection controller
Posted: Thu Nov 23, 2017 10:35 pm
by medelec35
Hi Jukka,
Glad its working for you.
Thanks for the update.
Martin