Notices
E85 / Ethanol This section is dedicated to tuning with ethanol.

E85 Gauge w/ output for under $100

Thread Tools
 
Search this Thread
 
Old Jan 27, 2017 | 06:43 PM
  #76  
mrb00st's Avatar
Thread Starter
Evolving Member
 
Joined: Jan 2008
Posts: 122
Likes: 15
From: Ohio
i did as well on it. the resister placement is key. has to be exactly like it is in the photo. i will try to post a photo of mine tomorrow.

Last edited by mrb00st; Jan 27, 2017 at 09:12 PM.
Reply
Old Jan 28, 2017 | 11:09 AM
  #77  
ant_turbo's Avatar
Evolved Member
15 Year Member
Photogenic
Liked
iTrader: (8)
 
Joined: Apr 2006
Posts: 779
Likes: 9
From: Cali to Colorado
Hey im getting this message when programming .. I'm trying to reprogram the arduino. because the 1st time I did it I used a different LCD library,, and I'm thinking that's why it not working correct,, this is what it saying
Thanks,

Arduino: 1.8.1 (Windows 10), Board: "Arduino/Genuino Uno"

In file included from C:\Users\miked\Documents\Arduino\sketch_jan28a\ske tch_jan28a.ino:9:0:

C:\Users\miked\Documents\Arduino\libraries\LCD/LCD.h:20:22: fatal error: WProgram.h: No such file or directory

#include "WProgram.h"

^

compilation terminated.

exit status 1
Error compiling for board Arduino/Genuino Uno.

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
Reply
Old Jan 28, 2017 | 01:42 PM
  #78  
mrb00st's Avatar
Thread Starter
Evolving Member
 
Joined: Jan 2008
Posts: 122
Likes: 15
From: Ohio
Originally Posted by ant_turbo
Hey im getting this message when programming .. I'm trying to reprogram the arduino. because the 1st time I did it I used a different LCD library,, and I'm thinking that's why it not working correct,, this is what it saying
Thanks,

Arduino: 1.8.1 (Windows 10), Board: "Arduino/Genuino Uno"

In file included from C:\Users\miked\Documents\Arduino\sketch_jan28a\ske tch_jan28a.ino:9:0:

C:\Users\miked\Documents\Arduino\libraries\LCD/LCD.h:20:22: fatal error: WProgram.h: No such file or directory

#include "WProgram.h"

^

compilation terminated.

exit status 1
Error compiling for board Arduino/Genuino Uno.

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
It looks to be a issue with that LCD library. What made you change from the first one? Alot of LCD library have been edited by people and are not the same
Reply
Old Jan 28, 2017 | 02:02 PM
  #79  
ant_turbo's Avatar
Evolved Member
15 Year Member
Photogenic
Liked
iTrader: (8)
 
Joined: Apr 2006
Posts: 779
Likes: 9
From: Cali to Colorado
Ok I got it to load the sketch,, I got 1 an error,, about,, #include <../Wire/Wire.h> I googled the error and someone said to look at the I2CIO.cpp file. If it really says, <../Wire/Wire.h> and change it to #include <Wire.h> So I did and it programed no problem,, Just want to know if these library's I used will work fine,,
The LCD that I have is a SainSmart IIC/I2C/TWI 1602 Serial LCD Module Display for Arduino UNO MEGA R3 *Blue on White*, I down loaded the library's from Sainsmart they have a link on this page when you order it,,, I will include the library I used can u see if these library's i used will work,
http://www.sainsmart.com/new-sainsma...o-mega-r3.html
Attached Files
File Type: rar
libraries.rar (438.2 KB, 0 views)
Reply
Old Jan 29, 2017 | 12:33 PM
  #80  
ant_turbo's Avatar
Evolved Member
15 Year Member
Photogenic
Liked
iTrader: (8)
 
Joined: Apr 2006
Posts: 779
Likes: 9
From: Cali to Colorado
The way I got it to work the 1st time was with the libraries I attached... Maybe I was saving the LCD files wrong ?? How do you download and save them..
Thanks
Originally Posted by mrb00st
It looks to be a issue with that LCD library. What made you change from the first one? Alot of LCD library have been edited by people and are not the same
Reply
Old Jan 29, 2017 | 01:57 PM
  #81  
wizzo 8's Avatar
Evolved Member
20 Year Member
Photogenic
Liked
Loved
iTrader: (35)
 
Joined: Mar 2005
Posts: 3,836
Likes: 14
From: Chicago suburbs
I already have a flex fuel sensor and a Zeitronix display installed in my Evo. I'm assuming I can still hook up the Arduino Uno to this to get map switching? Or does the Arduino Uno need the display listed to work properly? I'm assuming not. Sorry if I missed it but where does the wire from pin 11 of the Arduino Uno tap into the ecu? Is it the same for evo 8 and 9? Last question is does the Arduino Uno come with the wire connectors to plug into the board? Thanks!
Reply
Old Jan 29, 2017 | 03:05 PM
  #82  
ant_turbo's Avatar
Evolved Member
15 Year Member
Photogenic
Liked
iTrader: (8)
 
Joined: Apr 2006
Posts: 779
Likes: 9
From: Cali to Colorado
Pin 11 on the Arduino regardless of EVO 8/9 goes to the ECU for map switching ,,
An original Arduino does not come with wires or usb plug,, You can buy an Arduino clone works same just cost less,,, You can get the wires a Frys Electronics or Radio shack Male to female type//
https://www.amazon.com/gp/product/B0...?ie=UTF8&psc=1
https://www.amazon.com/gp/product/B0...?ie=UTF8&psc=1

Originally Posted by wizzo 8
I already have a flex fuel sensor and a Zeitronix display installed in my Evo. I'm assuming I can still hook up the Arduino Uno to this to get map switching? Or does the Arduino Uno need the display listed to work properly? I'm assuming not. Sorry if I missed it but where does the wire from pin 11 of the Arduino Uno tap into the ecu? Is it the same for evo 8 and 9? Last question is does the Arduino Uno come with the wire connectors to plug into the board? Thanks!
Reply
Old Jan 29, 2017 | 03:20 PM
  #83  
wizzo 8's Avatar
Evolved Member
20 Year Member
Photogenic
Liked
Loved
iTrader: (35)
 
Joined: Mar 2005
Posts: 3,836
Likes: 14
From: Chicago suburbs
Originally Posted by ant_turbo
Pin 11 on the Arduino regardless of EVO 8/9 goes to the ECU for map switching ,,
Yes I realize that. I just know which pin that is. Thanks for the links
Reply
Old Jan 29, 2017 | 04:03 PM
  #84  
wizzo 8's Avatar
Evolved Member
20 Year Member
Photogenic
Liked
Loved
iTrader: (35)
 
Joined: Mar 2005
Posts: 3,836
Likes: 14
From: Chicago suburbs
Mrboost do you have a code to exclude the display portion?
Reply
Old Jan 30, 2017 | 10:09 AM
  #85  
butte's Avatar
Evolving Member
 
Joined: Oct 2013
Posts: 175
Likes: 8
From: Phoenix, AZ
Anyone have any ideas on how to make the LCD a little more presentable? I don't really want to move the clock screen out. Do they make cases for these things anywhere?
Reply
Old Jan 30, 2017 | 12:03 PM
  #86  
evo8tanner's Avatar
Newbie
iTrader: (1)
 
Joined: Jul 2013
Posts: 79
Likes: 0
From: Long Beach, Ca
You could 3-d print a simple box if you have access to one. That's my plan but not for a bit. or get creative with smaller/random box items or containers laying around the house lol
Reply
Old Jan 30, 2017 | 04:38 PM
  #87  
ant_turbo's Avatar
Evolved Member
15 Year Member
Photogenic
Liked
iTrader: (8)
 
Joined: Apr 2006
Posts: 779
Likes: 9
From: Cali to Colorado
Do you have to have every thing all wired up and connected in the car before you program it.. or does the arduino need to be programmed before with out the LCD and wired up and connected to the laptop for
Reply
Old Jan 30, 2017 | 05:55 PM
  #88  
deylag's Avatar
Evolved Member
15 Year Member
Liked
Loved
Community Favorite
iTrader: (23)
 
Joined: Jul 2010
Posts: 1,830
Likes: 148
From: Milpitas, CA
Originally Posted by wizzo 8
I already have a flex fuel sensor and a Zeitronix display installed in my Evo. I'm assuming I can still hook up the Arduino Uno to this to get map switching?
Yes from what I can tell from the code the Arduino will output a signal to the ECU for map switching. I tried to show the part that does it, however the calculations for the variable are in another block of code found earlier in the script. Its possible to test it out with a led and a breadboard. If you manually set the ethanol percentage in the code and see if the led lights up or not.

Code:
if (ethanol > 99) // Avoid overflow in PWM
{ethanol = 99;}

  expectedv = ((((HZ-50.0)*0.01)*4)+0.5);
  //Screen calculations
  pwm_output = 1.11 * (255 * (expectedv/5.0)); //calculate output PWM for NEMU
  
  lcd.setCursor(12, 0);
  lcd.print(ethanol);
  
  lcd.setCursor(2, 1);
  lcd.print(HZ);
  
  lcd.setCursor(12, 1); 
  lcd.print(fahr); //Use this for celsius

  //PWM output
  analogWrite(outPin, pwm_output); //write the PWM value to output pin

  delay(1000);  //make screen more easily readable by not updating it too often

  Serial.println(ethanol);
  Serial.println(pwm_output);
  Serial.println(expectedv);
  Serial.println(HZ);
  delay(1000);
Originally Posted by wizzo 8
Last question is does the Arduino Uno come with the wire connectors to plug into the board? Thanks!
It does not come with wire connectors. You will need these most likely.

https://www.sparkfun.com/products/10897
Reply
Old Jan 30, 2017 | 07:41 PM
  #89  
b boy's Avatar
Evolving Member
Veteran: Air Force
iTrader: (3)
 
Joined: May 2006
Posts: 181
Likes: 0
From: South Burb of Chicago
Originally Posted by wizzo 8
I already have a flex fuel sensor and a Zeitronix display installed in my Evo. I'm assuming I can still hook up the Arduino Uno to this to get map switching? Or does the Arduino Uno need the display listed to work properly? I'm assuming not. Sorry if I missed it but where does the wire from pin 11 of the Arduino Uno tap into the ecu? Is it the same for evo 8 and 9? Last question is does the Arduino Uno come with the wire connectors to plug into the board? Thanks!
Hey buddy, am in the south burb of chicago and very interested in making one for my evo if you want to work on it together bro. Please let me know. B
Reply
Old Jan 31, 2017 | 12:59 PM
  #90  
ant_turbo's Avatar
Evolved Member
15 Year Member
Photogenic
Liked
iTrader: (8)
 
Joined: Apr 2006
Posts: 779
Likes: 9
From: Cali to Colorado
I'm assuming this this ur setup found it on youtube, So from the looks of it where 5V is on the ARDUINO you put the 4.7 RESISTOR directly in the 5v pin on the ARDUINO and then tapped ur wires in it right after the RESISTOR for pin 8,, more close to the arduino,,,




Originally Posted by mrb00st
i did as well on it. the resister placement is key. has to be exactly like it is in the photo. i will try to post a photo of mine tomorrow.
Reply



All times are GMT -7. The time now is 05:36 PM.