Welcome to the North American Subaru Impreza Owners Club Friday September 24, 2021
Home Forums Images WikiNASIOC Products Store Modifications Upgrade Garage
NASIOC
Go Back   NASIOC > NASIOC Technical > Engine Management & Tuning

Welcome to NASIOC - The world's largest online community for Subaru enthusiasts!
Welcome to the NASIOC.com Subaru forum.

You are currently viewing our forum as a guest, which gives you limited access to view most discussions and access our other features. By joining our community, free of charge, you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is free, fast and simple, so please join our community today!

If you have any problems with the registration process or your account login, please contact us.







* As an Amazon Associate I earn from qualifying purchases. 
* Registered users of the site do not see these ads. 
Reply
 
Thread Tools Display Modes
Old 07-16-2021, 09:50 PM   #351
Fino
Scooby Newbie
 
Member#: 417685
Join Date: Apr 2015
Chapter/Region: Tri-State
Location: Pennsylvania
Vehicle:
'03 V7 EJ207, 6MT
Sonic Yellow

Default

Thanks for the guide. Since my 207 doesn't have TGV's I wired the +12V and signal both off the rear O2 sensor. Tuned it using the Carberry ROM and have been running flex fuel for the past year with no problems.
* Registered users of the site do not see these ads.
Fino is offline   Reply With Quote
Sponsored Links
* Registered users of the site do not see these ads.
Old 07-29-2021, 12:29 PM   #352
BartNJ
Scooby Newbie
 
Member#: 448544
Join Date: Jun 2016
Default

I'm just curious what is your failure rate with "Flex Fuel Sensor GM Part Number 13577429".

First one died after 3 years. The replacement didn't last too long (about 5 months). It actually died during track day. Driving home 100miles was fun! It looks like this should be a spare part I should always have with me.
BartNJ is offline   Reply With Quote
Old 07-29-2021, 02:34 PM   #353
Rexy18
Visiting NASIOC Timeout
 
Member#: 500337
Join Date: Apr 2019
Default

Make sure you buy original conti sensor from gm. Not china made copies.

Mine is lasting still, 39k miles and counting. I made it in 2019 so 2.5yrs so far.

Not one issue. I got two for sale by the way, if anyone interested. Old production, cleaning my diy bench so I found them. PM if interested. Does NOT include flex sensor which can be had for 50-60$ on rockauto or amazon. But it does include fuel lines for fa20dit.
Rexy18 is offline   Reply With Quote
Old 07-29-2021, 08:03 PM   #354
BartNJ
Scooby Newbie
 
Member#: 448544
Join Date: Jun 2016
Default

During this particular track day two aftermarket sensors died: Ethanol and OIL Pressure by AEM. Temps were way up there in 265F for oil. It was hot!!! That lead me to believe, operating temps played the role. I may try to move E sensor away from engine bay...

I bought E sensors from amazon by amazon, so I assume it's legit.....
BartNJ is offline   Reply With Quote
Old 08-03-2021, 09:54 AM   #355
Homemade WRX
Scooby Guru
 
Member#: 33782
Join Date: Mar 2003
Chapter/Region: MAIC
Location: Mooresville, NC
Vehicle:
96 3MI Racing
search FIRST, then PM!!!

Default

Quote:
Originally Posted by BartNJ View Post
During this particular track day two aftermarket sensors died: Ethanol and OIL Pressure by AEM. Temps were way up there in 265F for oil. It was hot!!! That lead me to believe, operating temps played the role. I may try to move E sensor away from engine bay...

I bought E sensors from amazon by amazon, so I assume it's legit.....
Also take vibration into consideration.
Homemade WRX is offline   Reply With Quote
Old 08-04-2021, 11:20 AM   #356
BartNJ
Scooby Newbie
 
Member#: 448544
Join Date: Jun 2016
Default

Quote:
Originally Posted by Homemade WRX View Post
Also take vibration into consideration.
That's a good point. I'll try to mount it better way, as it's pretty much not attached to anything other that fuel lines itself.

Thanks
BartNJ is offline   Reply With Quote
Old 09-16-2021, 10:11 PM   #357
Bara83
Scooby Newbie
 
Member#: 397052
Join Date: Jul 2014
Location: Ohio, USA
Default

Would someone help me with the arduino side please? My Arduino IDE will not get through the compiling. Throws following:

Arduino: 1.8.16 (Windows Store 1.8.51.0) (Windows 10), Board: "Arduino NANO 33 IoT"





















E85:53:5: error: expected constructor, destructor, or type conversion before '(' token

ISR(TIMER1_CAPT_vect) // PULSE DETECTED! (interrupt automatically triggered, not called by main program)

^

E85:59:5: error: expected constructor, destructor, or type conversion before '(' token

ISR(TIMER1_OVF_vect) // counter overflow/timeout

^

C:\Users\rbara\OneDrive\818C\Ethanol sensor\E85\E85.ino: In function 'void setupTimer()':

E85:46:3: error: 'TCCR1A' was not declared in this scope

TCCR1A = 0; // normal mode

^~~~~~

C:\Users\rbara\OneDrive\818C\Ethanol sensor\E85\E85.ino:46:3: note: suggested alternative: 'TCC1'

TCCR1A = 0; // normal mode

^~~~~~

TCC1

E85:47:3: error: 'TCCR1B' was not declared in this scope

TCCR1B = 132; // (10000100) Falling edge trigger, Timer = CPU Clock/256, noise cancellation on

^~~~~~

C:\Users\rbara\OneDrive\818C\Ethanol sensor\E85\E85.ino:47:3: note: suggested alternative: 'TCC1'

TCCR1B = 132; // (10000100) Falling edge trigger, Timer = CPU Clock/256, noise cancellation on

^~~~~~

TCC1

E85:48:3: error: 'TCCR1C' was not declared in this scope

TCCR1C = 0; // normal mode

^~~~~~

C:\Users\rbara\OneDrive\818C\Ethanol sensor\E85\E85.ino:48:3: note: suggested alternative: 'TCC1'

TCCR1C = 0; // normal mode

^~~~~~

TCC1

E85:49:3: error: 'TIMSK1' was not declared in this scope

TIMSK1 = 33; // (00100001) Input capture and overflow interupts enabled

^~~~~~

C:\Users\rbara\OneDrive\818C\Ethanol sensor\E85\E85.ino:49:3: note: suggested alternative: 'MISO1'

TIMSK1 = 33; // (00100001) Input capture and overflow interupts enabled

^~~~~~

MISO1

E85:50:3: error: 'TCNT1' was not declared in this scope

TCNT1 = 0; // start from 0

^~~~~

C:\Users\rbara\OneDrive\818C\Ethanol sensor\E85\E85.ino:50:3: note: suggested alternative: 'TCC1'

TCNT1 = 0; // start from 0

^~~~~

TCC1

C:\Users\rbara\OneDrive\818C\Ethanol sensor\E85\E85.ino: At global scope:

E85:53:4: error: expected constructor, destructor, or type conversion before '(' token

ISR(TIMER1_CAPT_vect) // PULSE DETECTED! (interrupt automatically triggered, not called by main program)

^

E85:59:4: error: expected constructor, destructor, or type conversion before '(' token

ISR(TIMER1_OVF_vect) // counter overflow/timeout

^

C:\Users\rbara\OneDrive\818C\Ethanol sensor\E85\E85.ino: In function 'void setPwmFrequency(int, int)':

E85:152:7: error: 'TCCR0B' was not declared in this scope

TCCR0B = TCCR0B & 0b11111000 | mode;

^~~~~~

C:\Users\rbara\OneDrive\818C\Ethanol sensor\E85\E85.ino:152:7: note: suggested alternative: 'TCC0'

TCCR0B = TCCR0B & 0b11111000 | mode;

^~~~~~

TCC0

E85:154:7: error: 'TCCR1B' was not declared in this scope

TCCR1B = TCCR1B & 0b11111000 | mode;

^~~~~~

C:\Users\rbara\OneDrive\818C\Ethanol sensor\E85\E85.ino:154:7: note: suggested alternative: 'TCC1'

TCCR1B = TCCR1B & 0b11111000 | mode;

^~~~~~

TCC1

E85:167:5: error: 'TCCR2B' was not declared in this scope

TCCR2B = TCCR2B & 0b11111000 | mode;

^~~~~~

C:\Users\rbara\OneDrive\818C\Ethanol sensor\E85\E85.ino:167:5: note: suggested alternative: 'TCC2'

TCCR2B = TCCR2B & 0b11111000 | mode;

^~~~~~

TCC2

Multiple libraries were found for "LiquidCrystal.h"

Used: C:\Users\rbara\Documents\Arduino\libraries\LiquidC rystal

Not used: C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.51.0_x 86__mdqgnx93n4wtt\libraries\LiquidCrystal

exit status 1

expected constructor, destructor, or type conversion before '(' token



This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
Bara83 is offline   Reply With Quote
Old 09-17-2021, 05:00 PM   #358
fbi
Scooby Specialist
 
Member#: 236464
Join Date: Jan 2010
Chapter/Region: E. Canada
Location: Ontario, Canada!
Vehicle:
2005 Forester XT
Blue Regal Pearl

Default

Quote:
Originally Posted by Bara83 View Post
Would someone help me with the arduino side please? My Arduino IDE will not get through the compiling.
Possible copy and paste fail?
fbi is offline   Reply With Quote
Old 09-17-2021, 08:53 PM   #359
Bara83
Scooby Newbie
 
Member#: 397052
Join Date: Jul 2014
Location: Ohio, USA
Default

Hi fbi, this is the fail. The whole thing I posted basically.
Bara83 is offline   Reply With Quote
Old 09-17-2021, 08:57 PM   #360
Bara83
Scooby Newbie
 
Member#: 397052
Join Date: Jul 2014
Location: Ohio, USA
Default

Arduino: 1.8.16 (Windows Store 1.8.51.0) (Windows 10), Board: "Arduino NANO 33 IoT"





















E85:53:5: error: expected constructor, destructor, or type conversion before '(' token

ISR(TIMER1_CAPT_vect) // PULSE DETECTED! (interrupt automatically triggered, not called by main program)

^

E85:59:5: error: expected constructor, destructor, or type conversion before '(' token

ISR(TIMER1_OVF_vect) // counter overflow/timeout

^

C:\Users\rbara\OneDrive\818C\Ethanol sensor\E85\E85.ino: In function 'void setupTimer()':

E85:46:3: error: 'TCCR1A' was not declared in this scope

TCCR1A = 0; // normal mode

^~~~~~

C:\Users\rbara\OneDrive\818C\Ethanol sensor\E85\E85.ino:46:3: note: suggested alternative: 'TCC1'

TCCR1A = 0; // normal mode

^~~~~~

TCC1

E85:47:3: error: 'TCCR1B' was not declared in this scope

TCCR1B = 132; // (10000100) Falling edge trigger, Timer = CPU Clock/256, noise cancellation on

^~~~~~

C:\Users\rbara\OneDrive\818C\Ethanol sensor\E85\E85.ino:47:3: note: suggested alternative: 'TCC1'

TCCR1B = 132; // (10000100) Falling edge trigger, Timer = CPU Clock/256, noise cancellation on

^~~~~~

TCC1

E85:48:3: error: 'TCCR1C' was not declared in this scope

TCCR1C = 0; // normal mode

^~~~~~

C:\Users\rbara\OneDrive\818C\Ethanol sensor\E85\E85.ino:48:3: note: suggested alternative: 'TCC1'

TCCR1C = 0; // normal mode

^~~~~~

TCC1

E85:49:3: error: 'TIMSK1' was not declared in this scope

TIMSK1 = 33; // (00100001) Input capture and overflow interupts enabled

^~~~~~

C:\Users\rbara\OneDrive\818C\Ethanol sensor\E85\E85.ino:49:3: note: suggested alternative: 'MISO1'

TIMSK1 = 33; // (00100001) Input capture and overflow interupts enabled

^~~~~~

MISO1

E85:50:3: error: 'TCNT1' was not declared in this scope

TCNT1 = 0; // start from 0

^~~~~

C:\Users\rbara\OneDrive\818C\Ethanol sensor\E85\E85.ino:50:3: note: suggested alternative: 'TCC1'

TCNT1 = 0; // start from 0

^~~~~

TCC1

C:\Users\rbara\OneDrive\818C\Ethanol sensor\E85\E85.ino: At global scope:

E85:53:4: error: expected constructor, destructor, or type conversion before '(' token

ISR(TIMER1_CAPT_vect) // PULSE DETECTED! (interrupt automatically triggered, not called by main program)

^

E85:59:4: error: expected constructor, destructor, or type conversion before '(' token

ISR(TIMER1_OVF_vect) // counter overflow/timeout

^

C:\Users\rbara\OneDrive\818C\Ethanol sensor\E85\E85.ino: In function 'void setPwmFrequency(int, int)':

E85:152:7: error: 'TCCR0B' was not declared in this scope

TCCR0B = TCCR0B & 0b11111000 | mode;

^~~~~~

C:\Users\rbara\OneDrive\818C\Ethanol sensor\E85\E85.ino:152:7: note: suggested alternative: 'TCC0'

TCCR0B = TCCR0B & 0b11111000 | mode;

^~~~~~

TCC0

E85:154:7: error: 'TCCR1B' was not declared in this scope

TCCR1B = TCCR1B & 0b11111000 | mode;

^~~~~~

C:\Users\rbara\OneDrive\818C\Ethanol sensor\E85\E85.ino:154:7: note: suggested alternative: 'TCC1'

TCCR1B = TCCR1B & 0b11111000 | mode;

^~~~~~

TCC1

E85:167:5: error: 'TCCR2B' was not declared in this scope

TCCR2B = TCCR2B & 0b11111000 | mode;

^~~~~~

C:\Users\rbara\OneDrive\818C\Ethanol sensor\E85\E85.ino:167:5: note: suggested alternative: 'TCC2'

TCCR2B = TCCR2B & 0b11111000 | mode;

^~~~~~

TCC2

Multiple libraries were found for "LiquidCrystal.h"

Used: C:\Users\rbara\Documents\Arduino\libraries\LiquidC rystal

Not used: C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.51.0_x 86__mdqgnx93n4wtt\libraries\LiquidCrystal

exit status 1

expected constructor, destructor, or type conversion before '(' token



This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
Bara83 is offline   Reply With Quote
Old 09-17-2021, 08:58 PM   #361
Bara83
Scooby Newbie
 
Member#: 397052
Join Date: Jul 2014
Location: Ohio, USA
Default

Arduino: 1.8.16 (Windows Store 1.8.51.0) (Windows 10), Board: "Arduino NANO 33 IoT"





















E85:53:5: error: expected constructor, destructor, or type conversion before '(' token

ISR(TIMER1_CAPT_vect) // PULSE DETECTED! (interrupt automatically triggered, not called by main program)

^

E85:59:5: error: expected constructor, destructor, or type conversion before '(' token

ISR(TIMER1_OVF_vect) // counter overflow/timeout

^

C:\Users\rbara\OneDrive\818C\Ethanol sensor\E85\E85.ino: In function 'void setupTimer()':

E85:46:3: error: 'TCCR1A' was not declared in this scope

TCCR1A = 0; // normal mode

^~~~~~

C:\Users\rbara\OneDrive\818C\Ethanol sensor\E85\E85.ino:46:3: note: suggested alternative: 'TCC1'

TCCR1A = 0; // normal mode

^~~~~~

TCC1

E85:47:3: error: 'TCCR1B' was not declared in this scope

TCCR1B = 132; // (10000100) Falling edge trigger, Timer = CPU Clock/256, noise cancellation on

^~~~~~

C:\Users\rbara\OneDrive\818C\Ethanol sensor\E85\E85.ino:47:3: note: suggested alternative: 'TCC1'

TCCR1B = 132; // (10000100) Falling edge trigger, Timer = CPU Clock/256, noise cancellation on

^~~~~~

TCC1

E85:48:3: error: 'TCCR1C' was not declared in this scope

TCCR1C = 0; // normal mode

^~~~~~

C:\Users\rbara\OneDrive\818C\Ethanol sensor\E85\E85.ino:48:3: note: suggested alternative: 'TCC1'

TCCR1C = 0; // normal mode

^~~~~~

TCC1

E85:49:3: error: 'TIMSK1' was not declared in this scope

TIMSK1 = 33; // (00100001) Input capture and overflow interupts enabled

^~~~~~

C:\Users\rbara\OneDrive\818C\Ethanol sensor\E85\E85.ino:49:3: note: suggested alternative: 'MISO1'

TIMSK1 = 33; // (00100001) Input capture and overflow interupts enabled

^~~~~~

MISO1

E85:50:3: error: 'TCNT1' was not declared in this scope

TCNT1 = 0; // start from 0

^~~~~

C:\Users\rbara\OneDrive\818C\Ethanol sensor\E85\E85.ino:50:3: note: suggested alternative: 'TCC1'

TCNT1 = 0; // start from 0

^~~~~

TCC1

C:\Users\rbara\OneDrive\818C\Ethanol sensor\E85\E85.ino: At global scope:

E85:53:4: error: expected constructor, destructor, or type conversion before '(' token

ISR(TIMER1_CAPT_vect) // PULSE DETECTED! (interrupt automatically triggered, not called by main program)

^

E85:59:4: error: expected constructor, destructor, or type conversion before '(' token

ISR(TIMER1_OVF_vect) // counter overflow/timeout

^

C:\Users\rbara\OneDrive\818C\Ethanol sensor\E85\E85.ino: In function 'void setPwmFrequency(int, int)':

E85:152:7: error: 'TCCR0B' was not declared in this scope

TCCR0B = TCCR0B & 0b11111000 | mode;

^~~~~~

C:\Users\rbara\OneDrive\818C\Ethanol sensor\E85\E85.ino:152:7: note: suggested alternative: 'TCC0'

TCCR0B = TCCR0B & 0b11111000 | mode;

^~~~~~

TCC0

E85:154:7: error: 'TCCR1B' was not declared in this scope

TCCR1B = TCCR1B & 0b11111000 | mode;

^~~~~~

C:\Users\rbara\OneDrive\818C\Ethanol sensor\E85\E85.ino:154:7: note: suggested alternative: 'TCC1'

TCCR1B = TCCR1B & 0b11111000 | mode;

^~~~~~

TCC1

E85:167:5: error: 'TCCR2B' was not declared in this scope

TCCR2B = TCCR2B & 0b11111000 | mode;

^~~~~~

C:\Users\rbara\OneDrive\818C\Ethanol sensor\E85\E85.ino:167:5: note: suggested alternative: 'TCC2'

TCCR2B = TCCR2B & 0b11111000 | mode;

^~~~~~

TCC2

Multiple libraries were found for "LiquidCrystal.h"

Used: C:\Users\rbara\Documents\Arduino\libraries\LiquidC rystal

Not used: C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.51.0_x 86__mdqgnx93n4wtt\libraries\LiquidCrystal

exit status 1

expected constructor, destructor, or type conversion before '(' token



This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
Bara83 is offline   Reply With Quote
Old 09-17-2021, 09:06 PM   #362
benflynn
Scooby Specialist
 
Member#: 515308
Join Date: Jun 2020
Default

I think the interrupt version of the code to be easiest to get wrong. Why do u need the interrupt?
benflynn is offline   Reply With Quote
Old 09-17-2021, 09:08 PM   #363
Bara83
Scooby Newbie
 
Member#: 397052
Join Date: Jul 2014
Location: Ohio, USA
Default

I copied this code from the first page from here, wanted to write it to the arduino, so I can make the flex fuel converter. I dont do programming, Im a technician. Nobody seems to complain about the code not working, so I dont understand what im doing wrong. Could you guys help me please?
Bara83 is offline   Reply With Quote
Old 09-17-2021, 09:37 PM   #364
fbi
Scooby Specialist
 
Member#: 236464
Join Date: Jan 2010
Chapter/Region: E. Canada
Location: Ontario, Canada!
Vehicle:
2005 Forester XT
Blue Regal Pearl

Default

Quote:
Originally Posted by Bara83 View Post
I copied this code from the first page from here, wanted to write it to the arduino, so I can make the flex fuel converter. I dont do programming, Im a technician. Nobody seems to complain about the code not working, so I dont understand what im doing wrong. Could you guys help me please?
I see the end error, as (
Possibly meaning there's a missing bracket. I was wondering if you missed or added something with a bad copy and paste.
fbi is offline   Reply With Quote
Old 09-17-2021, 10:11 PM   #365
benflynn
Scooby Specialist
 
Member#: 515308
Join Date: Jun 2020
Default

There is a much simpler code halfway through this thread. Pm me your email and I will send you one of the versions I use.

Did you load the library definitions?
benflynn is offline   Reply With Quote
Old 09-18-2021, 09:30 AM   #366
Bara83
Scooby Newbie
 
Member#: 397052
Join Date: Jul 2014
Location: Ohio, USA
Default

I messaged You. What library am I loading?
Bara83 is offline   Reply With Quote
Old 09-18-2021, 10:07 AM   #367
Bara83
Scooby Newbie
 
Member#: 397052
Join Date: Jul 2014
Location: Ohio, USA
Default

Arduino nano iot 33 is not compatible, because its not an AVR board anymore. FIgured it out! Went and bought a regular nano. Also hooked up the 12+ and gnd backwards on the ethanol sensor. After reversing and re soldering the board, it started reading. Sadly im getting 99% in the serial monitor ( arduino is powered through TGV 5V ). I guess I could have killed the sensor. Great success!

Last edited by Bara83; 09-18-2021 at 09:41 PM.
Bara83 is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

All times are GMT -4. The time now is 03:01 AM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.
Powered by Searchlight © 2021 Axivo Inc.
Copyright ©1999 - 2019, North American Subaru Impreza Owners Club, Inc.

As an Amazon Associate I earn from qualifying purchases.