When you click on links to various merchants on this site and make a purchase, this can result in this site earning a commission. Affiliate programs and affiliations include, but are not limited to, the eBay Partner Network.
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,
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,
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
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
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
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!
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!
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?
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
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
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.
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
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.