Voltage Output for use with Megasquirt

Support forum for the Lambda Shield designed to connect Bosch LSU 4.9 wideband oxygen sensors to Arduino projects.
Post Reply
Paulo
Posts: 2
Joined: 04 Nov 2021 20:17

Voltage Output for use with Megasquirt

Post by Paulo » 04 Nov 2021 20:28

Hi,

I´m already successfully running the Lamdashield 2 with a display in my car. Now I need a 0-5V Signal from the shield to connect to my Megasquirt (KDFI) ECU. In an older topic I´ve read that you can get the signal from A0, is that still the case?
Also I have to calibrate the controller in the Software (TunerStudio). Can you please tell me the AFR value for two points of Voltage, for Example 1V and 4V? Is the sensor linear?

Thank you very much in advance!

Paul

User avatar
Christian_Bylund
Posts: 270
Joined: 07 Mar 2015 18:09

Re: Voltage Output for use with Megasquirt

Post by Christian_Bylund » 07 Nov 2021 23:46

Hello Paulo,

You will find all you need in this post.

Good luck!
Best Regards,
Christian Bylund
Bylund Automotive AB

Paulo
Posts: 2
Joined: 04 Nov 2021 20:17

Re: Voltage Output for use with Megasquirt

Post by Paulo » 04 Dec 2021 23:40

Hi Christian,

thanks for your reply. I implemented the lines from your previous post to your GUI code from Github and wired up a resistor (470R) and a capacitor (220uF) to pin 3 according to your sketch. But i still don`t get a good signal. Unfortunately to measure the output, I only have a standard multi-meter available. It sometimes shows 0,2V for a split of a second, then 0V from there on.
Do you have an idea what I am doing wrong?

Your help is very appreciated, thank you!

Paul

Post Reply