E85 Gauge w/ output for under $100
#151
Evolving Member
Thread Starter
I've had mine up and running for awhile, only issue is out of the car the readings are fine, but in the car my temp values are nonsensical and jump around while the ethanol % is pretty stable but will sometimes jump to random numbers.
It's odd because the function all seems to be fine, even verified against the test tube method, but something in the car is causing it to go haywire. Even switched to a shielded wire for signal from the sensor
It's odd because the function all seems to be fine, even verified against the test tube method, but something in the car is causing it to go haywire. Even switched to a shielded wire for signal from the sensor
#152
Evolving Member
What kind of coupler did you guys use to fit a 5/16" line on to the (1/4"?) fuel rail return line? I tried fitting it yesterday afternoon but it seems like 5/16" is too big to clamp down on there.
#153
I am having close to the same issue. Start up in the morning and it will read just fine. then later will read bonkers. sometimes will even show 0%... I can force it happening by rolling the windows up, then pressing up on the switch to put a load on the alt, and it will make the gauge read 0%. It will do it with my oled screen as well. so i know its not a issue with code, has to be some kind of voltage issue with something, somewhere
R
#157
Here is a video of the set up running in my car. The car is fueled with 93 octane, and I am cruising on the highway. It seems to hover at 10% then bounce around, returning to 10%. I will have to put a multimeter on the output to make sure it is putting out the right voltage.
Any other thoughts?
Please excuse the camera orientation.
Any other thoughts?
Please excuse the camera orientation.
#159
EvoM Community Team Leader
maybe a better power supply for the arduino? Maybe some protection on its input, like a decoupling capacitor, and a zener to protect from voltage spikes.
#162
EvoM Guru
iTrader: (2)
Got my arduino programmed and the LCD working tonight. This is the first time I've ever done any sort of coding and it wasn't bad. Just had to get used to how the arduino software works.
Some notes to help anyone who goes through with this:
- I used the libraries and code from the OP. The two libraries in the zipped folder you download there are for the LCD. Be sure to change the - to a _ in the LiquidCrystal-I2C (change to LiquidCrystal_I2C) library. The software had trouble identifying this library properly before changing it. And change the LiquidCrystal library's name to LCD, as this will also help the arduino software properly find this library.
- The third library needed is the wire library. I had to go online to find this one (link: https://github.com/esp8266/Arduino/t...libraries/Wire) and just copied the code and made a new library. Open notepad and copy the code for the .h file and save it as wire.h. Do the same for the .cpp file and save it as wire.cpp. Lastly, (not sure if it's actually needed but I did it anyway) copy the keywords file and save it as keywords.txt. Put all of these 3 files into a folder and name the folder Wire. Move this folder into your libraries folder.
- I used the scanner that MrBoost linked a couple pages ago to get the I2C address as mine was different from what's in the code. Link: https://playground.arduino.cc/Main/I2cScanner
After getting that stuff squared away it displays as it should. I still have to wire up the sensor and make an enclosure for the arduino but that's easy. Hoping to be able to test it out sometime in the next week or so. I'll report back when I have some results. Thanks to everyone who helped push this project along!
Some notes to help anyone who goes through with this:
- I used the libraries and code from the OP. The two libraries in the zipped folder you download there are for the LCD. Be sure to change the - to a _ in the LiquidCrystal-I2C (change to LiquidCrystal_I2C) library. The software had trouble identifying this library properly before changing it. And change the LiquidCrystal library's name to LCD, as this will also help the arduino software properly find this library.
- The third library needed is the wire library. I had to go online to find this one (link: https://github.com/esp8266/Arduino/t...libraries/Wire) and just copied the code and made a new library. Open notepad and copy the code for the .h file and save it as wire.h. Do the same for the .cpp file and save it as wire.cpp. Lastly, (not sure if it's actually needed but I did it anyway) copy the keywords file and save it as keywords.txt. Put all of these 3 files into a folder and name the folder Wire. Move this folder into your libraries folder.
- I used the scanner that MrBoost linked a couple pages ago to get the I2C address as mine was different from what's in the code. Link: https://playground.arduino.cc/Main/I2cScanner
After getting that stuff squared away it displays as it should. I still have to wire up the sensor and make an enclosure for the arduino but that's easy. Hoping to be able to test it out sometime in the next week or so. I'll report back when I have some results. Thanks to everyone who helped push this project along!
The following users liked this post:
Project_Broke (Nov 14, 2017)
#163
EvoM Community Team Leader
http://www.st.com/content/ccc/resour...CD00181783.pdf How to setup your electronics to survive in automotive.
The following users liked this post:
butte (Mar 23, 2019)
#164
EvoM Guru
iTrader: (2)
Made an enclosure for the arduino as well as a prototype bracket to mount the sensor on the back of the intake manifold. Confirmed bracket fitment earlier today and should be cutting one out of metal later this week. I'll post up some pictures of the finished setup when I'm done with it. Just need to finish wiring everything up and I should be good to go then.