Welcome to the North American Subaru Impreza Owners Club Tuesday May 26, 2020
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 03-23-2020, 12:18 PM   #326
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 daniellib View Post
Hi fbi,

I'll try your code tonight. Sorry, im pretty at coding arduino, I can only follow the basic instructions,

My device is arduino nano and a 0.91 OLED screen,

I'm hoping I can get this working, thanks again
The dimensions in the code might need to be changed, and the address of the screen. It's been a long time since I've look at the code.

B
* Registered users of the site do not see these ads.
fbi is offline   Reply With Quote
Sponsored Links
* Registered users of the site do not see these ads.
Old 03-24-2020, 12:40 PM   #327
daniellib
Scooby Newbie
 
Member#: 488951
Join Date: Jul 2018
Default

Been up all night trying to get this to work, Cant even compile it,

Here are the errors;

Arduino: 1.8.12 (Windows 10), Board: "Arduino Nano, ATmega328P (Old Bootloader)"

Flexfuel:26:72: error: no matching function for call to 'Adafruit_SSD1306::Adafruit_SSD1306(int, int, TwoWire*, int)'

Adafruit_SSD1306 display(SCREEN_WIDTH, SCREEN_HEIGHT, &Wire, OLED_RESET);

^

In file included from C:\Users\Daniel\Documents\Arduino\Flexfuel\Flexfue l.ino:15:0:

C:\Users\Daniel\Documents\Arduino\libraries\0.91In ch_OLED_Demo/Adafruit_SSD1306.h:148:3: note: candidate: Adafruit_SSD1306::Adafruit_SSD1306(int8_t)

Adafruit_SSD1306(int8_t RST = -1);

^~~~~~~~~~~~~~~~

C:\Users\Daniel\Documents\Arduino\libraries\0.91In ch_OLED_Demo/Adafruit_SSD1306.h:148:3: note: candidate expects 1 argument, 4 provided

C:\Users\Daniel\Documents\Arduino\libraries\0.91In ch_OLED_Demo/Adafruit_SSD1306.h:147:3: note: candidate: Adafruit_SSD1306::Adafruit_SSD1306(int8_t, int8_t, int8_t)

Adafruit_SSD1306(int8_t DC, int8_t RST, int8_t CS);

^~~~~~~~~~~~~~~~

C:\Users\Daniel\Documents\Arduino\libraries\0.91In ch_OLED_Demo/Adafruit_SSD1306.h:147:3: note: candidate expects 3 arguments, 4 provided

C:\Users\Daniel\Documents\Arduino\libraries\0.91In ch_OLED_Demo/Adafruit_SSD1306.h:146:3: note: candidate: Adafruit_SSD1306::Adafruit_SSD1306(int8_t, int8_t, int8_t, int8_t, int8_t)

Adafruit_SSD1306(int8_t SID, int8_t SCLK, int8_t DC, int8_t RST, int8_t CS);

^~~~~~~~~~~~~~~~

C:\Users\Daniel\Documents\Arduino\libraries\0.91In ch_OLED_Demo/Adafruit_SSD1306.h:146:3: note: candidate expects 5 arguments, 4 provided

C:\Users\Daniel\Documents\Arduino\libraries\0.91In ch_OLED_Demo/Adafruit_SSD1306.h:144:7: note: candidate: constexpr Adafruit_SSD1306::Adafruit_SSD1306(const Adafruit_SSD1306&)

class Adafruit_SSD1306 : public Adafruit_GFX {

^~~~~~~~~~~~~~~~

C:\Users\Daniel\Documents\Arduino\libraries\0.91In ch_OLED_Demo/Adafruit_SSD1306.h:144:7: note: candidate expects 1 argument, 4 provided

C:\Users\Daniel\Documents\Arduino\libraries\0.91In ch_OLED_Demo/Adafruit_SSD1306.h:144:7: note: candidate: constexpr Adafruit_SSD1306::Adafruit_SSD1306(Adafruit_SSD130 6&&)

C:\Users\Daniel\Documents\Arduino\libraries\0.91In ch_OLED_Demo/Adafruit_SSD1306.h:144:7: note: candidate expects 1 argument, 4 provided

C:\Users\Daniel\Documents\Arduino\Flexfuel\Flexfue l.ino: In function 'void setup()':

Flexfuel:140:21: error: could not convert 'display.Adafruit_SSD1306::begin(2, 60, true)' from 'void' to 'bool'

if (!display.begin(SSD1306_SWITCHCAPVCC, 0x3C)) { //

~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~

Flexfuel:140:48: error: in argument to unary !

if (!display.begin(SSD1306_SWITCHCAPVCC, 0x3C)) { //

^

exit status 1
no matching function for call to 'Adafruit_SSD1306::Adafruit_SSD1306(int, int, TwoWire*, int)'

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.


Please help,
Here is the manual for the screen;
https://www.mcielectronics.cl/websit..._Manual_EN.pdf

Thanks in advance

Daniel
daniellib is offline   Reply With Quote
Old 03-24-2020, 01:44 PM   #328
fbi
Scooby Specialist
 
Member#: 236464
Join Date: Jan 2010
Chapter/Region: E. Canada
Location: Ontario, Canada!
Vehicle:
2005 Forester XT
Blue Regal Pearl

Default

You'll need to add the Arduino drivers for adafruit.

See here.

https://learn.adafruit.com/monochrome-oled-breakouts/arduino-library-and-examples
fbi is offline   Reply With Quote
Old 03-24-2020, 10:22 PM   #329
daniellib
Scooby Newbie
 
Member#: 488951
Join Date: Jul 2018
Default

Okay, I'll give that website a try, thanks for your help!
daniellib is offline   Reply With Quote
Old 03-24-2020, 10:58 PM   #330
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 daniellib View Post
Okay, I'll give that website a try, thanks for your help!
Your screen is smaller, too. So that will need to be changed later. However, fix the errors first haha. Install the drivers as Shown on that website.

B
fbi is offline   Reply With Quote
Old 03-25-2020, 08:53 AM   #331
daniellib
Scooby Newbie
 
Member#: 488951
Join Date: Jul 2018
Default

Hey Fbi,

I got it too work! Fixed the errors like you said by installing the drivers. I also had to change the wiring from pin D13 (SCK) to A5 (SCL). Once I did that, Bingo she worked!

I changed the display size also, but I'm just wondering, How do I get it too display "Flex Fuel" on Boot?

Also, I noticed a few posts down from your code, goldfingerfif mentioned about adding a bit of code to display Temperature?

Your help is much appreciated, I couldn't have done it without your help! Thanks again
daniellib is offline   Reply With Quote
Old 03-25-2020, 12:50 PM   #332
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 daniellib View Post
Hey Fbi, <br />
<br />
I got it too work! Fixed the errors like you said by installing the drivers. I also had to change the wiring from pin D13 (SCK) to A5 (SCL). Once I did that, Bingo she worked!<br />
<br />
I changed the display size also, but I'm just wondering, How do I get it too display &quot;Flex Fuel&quot; on Boot?<br />
<br />
Also, I noticed a few posts down from your code, goldfingerfif mentioned about adding a bit of code to display Temperature?<br />
<br />
Your help is much appreciated, I couldn't have done it without your help! Thanks again
<br />
You're very welcome!<br />
I don't recall temperature, I wasn't sure if my GM sensor could do that.<br />
The original boot display is my wife's sweet knockers. I believe I've commented where the boot display sequence is. <br />
I believe I used something like this.<br />
<br />
http://www.majer.ch/lcd/adf_bitmap.php<br />
Designed my own image with Photoshop, saved as 2 bit BMP and converted it.<br />
<br />
B

Edit: this is the site I used
https://javl.github.io/image2cpp/

Last edited by fbi; 03-25-2020 at 01:05 PM.
fbi is offline   Reply With Quote
Old 03-26-2020, 02:17 PM   #333
daniellib
Scooby Newbie
 
Member#: 488951
Join Date: Jul 2018
Default

Sweet,

Thanks again! Got it all working pretty sweet. Your code even does fuel temperature! Bonus!

I ordered a bigger screen also (the exact same one, just bigger), this one is slightly too small
daniellib is offline   Reply With Quote
Old 03-26-2020, 02:38 PM   #334
standardtranny
Scooby Specialist
 
Member#: 450713
Join Date: Jul 2016
Chapter/Region: Tri-State
Location: Super bowl LII champs
Vehicle:
2017 WRX Stage 3ish
world rally blue

Default

Quote:
Originally Posted by daniellib View Post
Sweet,

Thanks again! Got it all working pretty sweet. Your code even does fuel temperature! Bonus!

I ordered a bigger screen also (the exact same one, just bigger), this one is slightly too small
what year/model did you get it to work on?
standardtranny is offline   Reply With Quote
Old 03-27-2020, 12:52 AM   #335
porkchop
Scooby Specialist
 
Member#: 12288
Join Date: Nov 2001
Chapter/Region: BAIC
Location: Under a car @ GST Motorsports
Vehicle:
02 WRX
Silver

Default

I read through the thread and have all the parts on order, but came across iWire's flex fuel harness and got a bit confused. Has anyone attempted this with the 16bit ecu (02 wrx)?

https://www.iwireservices.com/produc...for-16-bit-ecu

It looks like it pipes the input back to the ecu via rear 02, so will I need to do this and use the other pins to power the arduino? or will my 3pin tgv signal wire work as directed in this thread?

Thanks!
porkchop is offline   Reply With Quote
Old 03-27-2020, 08:51 AM   #336
daniellib
Scooby Newbie
 
Member#: 488951
Join Date: Jul 2018
Default

Quote:
Originally Posted by standardtranny View Post
what year/model did you get it to work on?
2015 wrx sti premium to rear o2 with o2 sensor itself disconnected. Tuned with ecutek
daniellib is offline   Reply With Quote
Old 03-27-2020, 07:55 PM   #337
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 porkchop View Post
I read through the thread and have all the parts on order, but came across iWire's flex fuel harness and got a bit confused. Has anyone attempted this with the 16bit ecu (02 wrx)? <br />
<br />
<a href="https://www.iwireservices.com/product-page/flex-fuel-conversion-harness-for-16-bit-ecu" target="_blank">https://www.iwireservices.com/product-page/flex-fuel-conversion-harness-for-16-bit-ecu</a><br />
<br />
<br />
It looks like it pipes the input back to the ecu via rear 02, so will I need to do this and use the other pins to power the arduino? or will my 3pin tgv signal wire work as directed in this thread?<br />
<br />
Thanks!
<br />
I have not.<br />
The rear o2 is for power only. Main were having inconsistencies with the TGV voltage and were unable to power the Arduino probably.<br />
The signal is sent via tgv and the Cobb v3 interprets as alcohol.<br />
<br />
B

Edit:
I could be completely wrong. Email Brian @ iwire, smart dude and plenty helpful.
fbi is offline   Reply With Quote
Old 03-29-2020, 02:43 PM   #338
porkchop
Scooby Specialist
 
Member#: 12288
Join Date: Nov 2001
Chapter/Region: BAIC
Location: Under a car @ GST Motorsports
Vehicle:
02 WRX
Silver

Default

Quote:
Originally Posted by fbi View Post
<br />
I have not.<br />
The rear o2 is for power only. Main were having inconsistencies with the TGV voltage and were unable to power the Arduino probably.<br />
The signal is sent via tgv and the Cobb v3 interprets as alcohol.<br />
<br />
B

Edit:
I could be completely wrong. Email Brian @ iwire, smart dude and plenty helpful.
Thanks for the help!

after digging around some more, it seems that the accessport for 16bit ecu might not have the code/option to enable flex fuel, so the work around is to use the input from the rear o2.
porkchop is offline   Reply With Quote
Old 04-30-2020, 05:18 PM   #339
jdl1527
Scooby Newbie
 
Member#: 506099
Join Date: Sep 2019
Default

I will add to that the code will not work on the new Nano Every, the new nano uses a different cpu and the code calls for registers not present on its cpu, hope this saves someone time from using a non supported board. But if someone wants to get this working on the Nano Every, that would be awesome.

I am also working on adding a MCP4725 DAC to this so it will output a true analog signal instead of PWM signal, my application, Nismotronics does not work with the PWM signal. I currently have a low pass filter setup but this still is not working great. The MCP4725's are really cheap, like a 4 pack on Amazon for 7.50 so will not add much expense to this at all.
jdl1527 is offline   Reply With Quote
Old 05-01-2020, 12:38 PM   #340
migueralliart
Scooby Newbie
 
Member#: 449818
Join Date: Jun 2016
Default

Anyone here attempted this on a 2015+ wrx (FA20DIT)?

Do you have any source sites to get the fittings and hoses to make the fuel lines and install the sensor?
migueralliart is offline   Reply With Quote
Old 05-08-2020, 04:48 AM   #341
Koltonburdett13
Scooby Newbie
 
Member#: 457193
Join Date: Oct 2016
Default

Looks cool!
Koltonburdett13 is offline   Reply With Quote
Old 05-20-2020, 01:45 PM   #342
Jakek969
Scooby Newbie
 
Member#: 477328
Join Date: Nov 2017
Default

Hey Everyone,

Just wanted to say I have been building something similar to this for some folks on FB recently, and if you might be interested feel free to PM me! My name is Jake Krapf, and I do this as a hobby in an effort to get more people on that sweet corn fuel!

I've got some cool boxes, and all the parts. Always open to answer questions

Here are a few pictures of a kit for an 07 STI:

https://imgur.com/a/jTWhKwE

Here is my FB ad if you'd like to read more

Last edited by Jakek969; 05-23-2020 at 10:00 PM. Reason: fixing link text
Jakek969 is offline   Reply With Quote
Old 05-21-2020, 06:57 AM   #343
WMTwrx15
Scooby Newbie
 
Member#: 501927
Join Date: May 2019
Default

Quote:
Originally Posted by Jakek969 View Post
Hey Everyone,

Just wanted to say I have been building something similar to this for some folks on FB recently, and if you might be interested feel free to PM me! My name is Jake Krapf, and I do this as a hobby in an effort to get more people on that sweet corn fuel!

I've got some cool boxes, and all the parts. Always open to answer questions

Here are a few pictures of a kit for an 07 STI:

https://imgur.com/a/jTWhKwE

Sent you a pm
WMTwrx15 is offline   Reply With Quote
Old 05-22-2020, 01:30 AM   #344
Rev_srgl
Scooby Newbie
 
Member#: 514974
Join Date: May 2020
Default Outputting 71.2 precent with no signal from sensor

So im trying to figure out why im getting a random pwm output and also why my sensor isnt being received by the arduino. I might have killed the arduino but i wanted to check and see if anyone else had the same issue or has a solution
Rev_srgl is offline   Reply With Quote
Old 05-23-2020, 10:24 PM   #345
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 Rev_srgl View Post
So im trying to figure out why im getting a random pwm output and also why my sensor isnt being received by the arduino. I might have killed the arduino but i wanted to check and see if anyone else had the same issue or has a solution

Random Power output?

I'm not sure what you mean by that.
If it's a new problem -- you might've broke something -- or something broke itself.
If it's never worked -- sure there could be a hardware issue, but it's most likely something you've done.
The Arduino neved a ground or something like that if it's powered by the car and you're using a USB to a laptop. someone wrote about it in one of these pages. in this Thread.


B
fbi is offline   Reply With Quote
Old Yesterday, 08:20 PM   #346
Rev_srgl
Scooby Newbie
 
Member#: 514974
Join Date: May 2020
Default

Quote:
Originally Posted by fbi View Post
Random Power output?

I'm not sure what you mean by that.
If it's a new problem -- you might've broke something -- or something broke itself.
If it's never worked -- sure there could be a hardware issue, but it's most likely something you've done.
The Arduino neved a ground or something like that if it's powered by the car and you're using a USB to a laptop. someone wrote about it in one of these pages. in this Thread.


B
Turns out if you use 3.3 and 4.7 ohm instead of 3.3k and 4.7k ohm resistors thats what happens
Rev_srgl is offline   Reply With Quote
Old Yesterday, 10:09 PM   #347
Rev_srgl
Scooby Newbie
 
Member#: 514974
Join Date: May 2020
Default Fluctuating reading

So after idiling for a bit it seems to stabilize but for a while when it starts the reading seems to jump all over and while driving it can spike withing 5-10 precent. Is this normal and if not does anyone have a solution
Rev_srgl 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 01:35 PM.


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

As an Amazon Associate I earn from qualifying purchases.