Go Back   EcoModder Forum > EcoModding > Instrumentation > OpenGauge / MPGuino FE computer
Register Now
 Register Now
 

Reply  Post New Thread
 
Submit Tools LinkBack Thread Tools
Old 07-09-2008, 12:21 AM   #71 (permalink)
EcoModding Apprentice
 
cmags's Avatar
 
Join Date: Apr 2008
Location: Marietta, GA
Posts: 139

Scoob - '05 Subaru Impreza Outback Sport SE
90 day: 25.28 mpg (US)
Thanks: 0
Thanked 0 Times in 0 Posts
^^ Yes, it can be changed, but will still require a little re-wiring. As both dcb and I mentioned, the LCD4Bit library is coded such that the 4 arduino pins for the LCD *must be consecutive* and the way dcb wired the 'duino for his own code was not consecutive. Didn't get a chance to test it tonight, but I will load up the code and see what's up, hopefully tomorrow.

  Reply With Quote
Alt Today
Popular topics

Other popular topics in this forum...

   
Old 07-09-2008, 09:10 AM   #72 (permalink)
OBDuino coder
 
Magister's Avatar
 
Join Date: Jun 2008
Location: Montréal, QC
Posts: 212

Titine - '13 Hyundai Sonata Hybrid
Thanks: 3
Thanked 10 Times in 8 Posts
Thanks guys for testing the LCD thing, as the 4bits library is already written I wanted to use it, I don't know if it's better to adapt the .h or use the lib dcb wrote?

For the MAP thing yeah I put a comment in the code for the moment
__________________
2013 Hyundai Sonata Hybrid
  Reply With Quote
Old 07-09-2008, 09:32 AM   #73 (permalink)
dcb
needs more cowbell
 
dcb's Avatar
 
Join Date: Feb 2008
Location: ÿ
Posts: 5,038

pimp mobile - '81 suzuki gs 250 t
90 day: 96.29 mpg (US)

schnitzel - '01 Volkswagen Golf TDI
90 day: 53.56 mpg (US)
Thanks: 158
Thanked 267 Times in 210 Posts
It depends on your goals. If you want to appeal to the largest audience then code that is just cut and paste is the way to go. This was part of the phiolosophy behind mpguino, to make it as simple and straight forward as possible for the end user so the most people will benefit from it. You have to remove yourself from what you already know about "how easy this stuff is" in order to see that other folks will be stretching things to get this up and running. It is easy enough once you know all the technical details, but we are just trying to get instrumentation in as many cars as possible with as few obsticals as possible.

It would be cool if you could reuse the mpguino pinout and we would have a "standard computer" between obduino and mpguino that folks could write cut and paste applications for (without needing a degree in arduino). Three buttons, and a display and a processor at known pinouts simplifies that more than you may realize, and at least WE won't have an arbitrary hardware branch because of a lazy LCD library. Is anyone willing to fix the 4 bit library?

The pin selections for the mpguino were not arbitrary. They were carefully chosen. You guys have to decide what is best for the project so I won't keep harping on this, but it is something of a compromise between easy on developers and easy on the end users.

Here is what magister has put together for the wiring. I suggest that you agree on the hardware layout and decide on who the target audience is and how much code futzing they can manage to adopt to arbitrary wiring changes.

__________________
WINDMILLS DO NOT WORK THAT WAY!!!
  Reply With Quote
Old 07-09-2008, 09:34 AM   #74 (permalink)
OBDuino coder
 
Magister's Avatar
 
Join Date: Jun 2008
Location: Montréal, QC
Posts: 212

Titine - '13 Hyundai Sonata Hybrid
Thanks: 3
Thanked 10 Times in 8 Posts
ok I'll change the OBDuino code to remove the 4bits lib and re-use your code!

EDIT: done, the code is in the trunk.

jmonroe: I installed a full cygwin environment on my windows box and use svn in bash to commit/update. There is a "Tortoise" GUI but I never used it.
__________________
2013 Hyundai Sonata Hybrid

Last edited by Magister; 07-09-2008 at 09:40 AM..
  Reply With Quote
Old 07-09-2008, 10:33 AM   #75 (permalink)
dcb
needs more cowbell
 
dcb's Avatar
 
Join Date: Feb 2008
Location: ÿ
Posts: 5,038

pimp mobile - '81 suzuki gs 250 t
90 day: 96.29 mpg (US)

schnitzel - '01 Volkswagen Golf TDI
90 day: 53.56 mpg (US)
Thanks: 158
Thanked 267 Times in 210 Posts
Ok, that's fine but some discussion on it is ok too. There is no car that the obduino works with that the mpguino wouldn't also work with, so it may be that the goals for obduino are a little different. And the mpguino code is a moving target (which is why libraries are nice). So it could be fruitful to have some discussion about what you want to accomplish with obduino.
__________________
WINDMILLS DO NOT WORK THAT WAY!!!
  Reply With Quote
Old 07-09-2008, 10:54 AM   #76 (permalink)
OBDuino coder
 
Magister's Avatar
 
Join Date: Jun 2008
Location: Montréal, QC
Posts: 212

Titine - '13 Hyundai Sonata Hybrid
Thanks: 3
Thanked 10 Times in 8 Posts
True

With the OBDuino I want to display information, preferably 4, user chosen, like for instance fuel consumption, vss, rpm, load, etc. in the 4 LCD corners. 16x2 is a little bit small and a 20x2 could have been better however.

Also a nice thing is MIL code retrieving and/or clearing, I am working on it a little bit, it's not complicated.

Having the same libraries as you for LCD and even for buttons management and for parameters management is a +, we should put all the common code in the same place like in the end of our sketch or in a separate source file. The end user should only have to do one (or more?) copy/paste then compile and upload to his board.

Having the same hardware layer (at least for the LCD) than the mpguino is definitively a + too in case someone want to make a *duino/lcd/buttons PCB all-in-one board in Eagle. I use pin D2 and D3 and you use pin D2, D3 and A0, everything else is common. Then the communication interface (VSS+inj or ISO) is another little PCB extension.

There is still a lot of work to do for parameters load/save and menu navigation, there is no menu anyway for the moment lol
__________________
2013 Hyundai Sonata Hybrid
  Reply With Quote
Old 07-09-2008, 11:56 AM   #77 (permalink)
SuperMID designer
 
Yoshi's Avatar
 
Join Date: Mar 2008
Location: Yokohama, JAPAN
Posts: 37
Thanks: 0
Thanked 13 Times in 2 Posts
Quote:
Originally Posted by dcb View Post
Is anyone willing to fix the 4 bit library?
Posted my proposal to the LCD thread.
http://ecomodder.com/forum/showthrea...html#post42364

Yoshi
  Reply With Quote
Old 07-09-2008, 06:43 PM   #78 (permalink)
EcoModding Lurker
 
Join Date: Jun 2008
Location: ohio
Posts: 41

The Civic - '99 Honda Civic
90 day: 40.41 mpg (US)
Thanks: 1
Thanked 0 Times in 0 Posts
I have it fully assembled and ready to test. Unfortunetly I just found out that the only car I have that is ISO uses a MAP sensor and will not work with this code. If anyone wants to add in the code to read a MAP, I will gladly try it out.
  Reply With Quote
Old 07-09-2008, 09:00 PM   #79 (permalink)
OBDuino coder
 
Magister's Avatar
 
Join Date: Jun 2008
Location: Montréal, QC
Posts: 212

Titine - '13 Hyundai Sonata Hybrid
Thanks: 3
Thanked 10 Times in 8 Posts
At least try to plug it to see if it initialize properly, I never tested it :-/
__________________
2013 Hyundai Sonata Hybrid
  Reply With Quote
Old 07-09-2008, 10:00 PM   #80 (permalink)
EcoModding Lurker
 
Join Date: Jun 2008
Location: ohio
Posts: 41

The Civic - '99 Honda Civic
90 day: 40.41 mpg (US)
Thanks: 1
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Magister View Post
At least try to plug it to see if it initialize properly, I never tested it :-/
I forgot the 510 ohm resistor and cant seem to find one to scavenge

  Reply With Quote
Reply  Post New Thread


Tags
obd2

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
MPGuino release one workspace dcb OpenGauge / MPGuino FE computer 1061 01-17-2020 01:37 AM
Just some quick info on Scangauge vs. MPGuino NoCO2 OpenGauge / MPGuino FE computer 4 06-01-2015 04:58 PM
All New Nissan Models to Feature Fuel Efficiency Gauge MetroMPG General Efficiency Discussion 6 11-18-2008 04:57 PM
Vacuum gauge problems :( DifferentPointofView Instrumentation 3 05-14-2008 11:04 PM
Will Scan Gauge work on mine? bennelson Instrumentation 9 02-19-2008 10:04 PM



Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.
Content Relevant URLs by vBSEO 3.5.2
All content copyright EcoModder.com