RomRaider Logo

RomRaider

Open Source ECU Tools
 FAQ •  Register •  Login 

RomRaider

Documentation

Community

Developers

It is currently Tue Dec 23, 2025 2:11 pm

All times are UTC - 5 hours [ DST ]





Post new topic Reply to topic  [ 23 posts ]  Go to page Previous  1, 2
Author Message
 Post subject: Re: APSX wideband help
PostPosted: Thu Aug 13, 2020 12:01 pm 
Offline
Experienced

Joined: Fri Nov 07, 2014 9:05 pm
Posts: 127
Location: Halifax, Canada
I'm currently trying to do more or less the opposite of this thread - Trying to run an APSX D1 display from an Innovate LC-1 0-5v analog output.

There's nothing in the listing on APSX's site to suggest that it takes a serial input, so when I ordered it, I was operating off the assumption it was also 0-5v.

It does come with a white wire instead of green, so that makes it a little confusing when they say it needs a serial input but say the white wire is 0-5v analog.

I have tried to use an arduino nano to convert the signal into 9600 baud 8N1 serial, single byte 90-190 (as AFR*10) but the gauge simply turns off (ex: https://streamable.com/sgfspe) when this happens.

I've verified with Realterm that it is outputting what I want.

I tried adding the "start up code" above and it seems to flash randomly (ex. https://streamable.com/uirepa ). Not sure if that is an improvement or not.

Code:
void setup() {
  Serial.begin(9600);

  Serial.write(17); //This is just a poor implementation of the startup code. I'm sure there's a better way to do it but it's fine for now.
  Serial.write(28);
  Serial.write(35);
  Serial.write(3);
  Serial.write(17);
  Serial.write(28);
  Serial.write(35);
  Serial.write(3);
  Serial.write(17);
  Serial.write(28);
  Serial.write(35);
  Serial.write(3);
  Serial.write(17);
  Serial.write(28);
  Serial.write(36);
  Serial.write(140);
  Serial.write(17);
  Serial.write(28);
  Serial.write(37);
  Serial.write(150);
  Serial.write(17);
  Serial.write(28);
  Serial.write(38);
  Serial.write(90);
  Serial.write(17);
  Serial.write(28);
  Serial.write(39);
  Serial.write(190);
  Serial.write(190);
  Serial.write(190);
  Serial.write(190);
  Serial.write(190);
  Serial.write(190);
}

void loop() {
  float serialValue = 10*((2 * 0.0049*analogRead(A0)) + 9); //converting 0-1024 0-5v voltage to serial AFR
   
  Serial.write(100);        //for testing
 
  //delay(30); // tried a delay from 10-200ms, doesn't seem to help.
  //Serial.write((uint8_t) serialValue); //actual reporting function

}


Edit, tried to use Software.Serial to flip the TTL, but it didn't make any difference.

Looking for a sanity check.


Top
 Profile  
 
 Post subject: Re: APSX wideband help
PostPosted: Thu May 27, 2021 7:50 am 
Offline
Newbie

Joined: Thu May 27, 2021 12:57 am
Posts: 7
Potentially quick question.

I can see AFR data from my AEM UEGO on putty. When I close putty to free up the com port RR logger says it is connected (when I set the com port next to the ECU check box) but does not display any values when 'External Sensors > AEM UEGO 9600 is checked and AFR Gasoline selected from the drop down. I have tried it with and without the ECU box checked in the logging tab and the com port set correctly both next to the ECU check box and in the Plugin.
I am sure I am doing something basic wrong??

RR 0.7.2 build 952
Java 1.8 (32 bit)


Top
 Profile  
 
 Post subject: Re: APSX wideband help
PostPosted: Thu May 27, 2021 7:15 pm 
Offline
RomRaider Developer

Joined: Wed May 20, 2009 9:49 pm
Posts: 7314
Location: Canada eh!
Set the COM port in the Plugins menu.


Top
 Profile  
 
 Post subject: Re: APSX wideband help
PostPosted: Fri May 28, 2021 3:18 pm 
Offline
Newbie

Joined: Thu May 27, 2021 12:57 am
Posts: 7
Quote:
I have tried it with and without the ECU box checked in the logging tab and the com port set correctly both next to the ECU check box and in the Plugin.


Anything else obvious left?


Top
 Profile  
 
 Post subject: Re: APSX wideband help
PostPosted: Fri May 28, 2021 9:05 pm 
Offline
RomRaider Developer

Joined: Wed May 20, 2009 9:49 pm
Posts: 7314
Location: Canada eh!
What vehicle are you trying to log along with the WBO2?


Top
 Profile  
 
 Post subject: Re: APSX wideband help
PostPosted: Sat May 29, 2021 12:12 am 
Offline
Newbie

Joined: Thu May 27, 2021 12:57 am
Posts: 7
It is a off road flat 4 using a 2000s era Bosch (I think) ECU with no OBD2 port.
Only the WBO2 is connected.


Top
 Profile  
 
 Post subject: Re: APSX wideband help
PostPosted: Sat May 29, 2021 7:15 pm 
Offline
RomRaider Developer

Joined: Wed May 20, 2009 9:49 pm
Posts: 7314
Location: Canada eh!
If all you wish to log is the WBO2 then you will need to uncheck the ECU box, set the correct COM port in the Plugins menu. This will allow logging External sensors without an ECU connection.


Top
 Profile  
 
 Post subject: Re: APSX wideband help
PostPosted: Tue Jun 01, 2021 6:06 am 
Offline
Newbie

Joined: Thu May 27, 2021 12:57 am
Posts: 7
Thanks, I think I had tried that but will give it another look.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 23 posts ]  Go to page Previous  1, 2

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Style based on FI Subsilver by phpBBservice.nl