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

Reply  Post New Thread
 
Submit Tools LinkBack Thread Tools
Old 11-23-2022, 01:37 PM   #171 (permalink)
EcoModding Beginner
 
Join Date: Oct 2022
Location: Oklahoma
Posts: 28

WJ - '03 Jeep Grand Cherokee Laredo
Team E85
90 day: 17.28 mpg (US)

ZJ - '94 Jeep Grand Cherokee Laredo
Thanks: 17
Thanked 10 Times in 9 Posts
Could someone point out where build instructions for an mpguino are posted? I'd love to start this project with a nano, but I can't seem to even find a pinout.

  Reply With Quote
Alt Today
Popular topics

Other popular topics in this forum...

   
Old 11-24-2022, 02:46 PM   #172 (permalink)
MPGuino Supporter
 
t vago's Avatar
 
Join Date: Oct 2010
Location: Hungary
Posts: 1,807

iNXS - '10 Opel Zafira 111 Anniversary

Suzi - '02 Suzuki Swift GL
Thanks: 828
Thanked 708 Times in 456 Posts
Quote:
Originally Posted by FlashStopFall View Post
Could someone point out where build instructions for an mpguino are posted? I'd love to start this project with a nano, but I can't seem to even find a pinout.
You can start here -> https://ecomodder.com/wiki/MPGuino
  Reply With Quote
Old 11-27-2022, 02:22 AM   #173 (permalink)
EcoModding Beginner
 
Join Date: Oct 2022
Location: Oklahoma
Posts: 28

WJ - '03 Jeep Grand Cherokee Laredo
Team E85
90 day: 17.28 mpg (US)

ZJ - '94 Jeep Grand Cherokee Laredo
Thanks: 17
Thanked 10 Times in 9 Posts
Quote:
Originally Posted by t vago View Post
You can start here ->
That page is outdated and poorly labeled. It links to your mpguino code, but not it’s own? (v0.86 was the last maintained I presume, and I was hoping to look at that code). It should really be rewritten. Anyway, I understand the schematic, I was just hoping someone had better instructions, or maybe a documented build thread with some newer hardware. And maybe some simpler code. I guess it’s not that big a deal though, I’m just going to try to build one with a raspi pico from scratch.

Last edited by FlashStopFall; 11-27-2022 at 02:30 AM..
  Reply With Quote
Old 12-01-2022, 08:38 AM   #174 (permalink)
EcoModding Lurker
 
Join Date: Jan 2009
Location: Mount hermon, La
Posts: 2
Thanks: 1
Thanked 1 Time in 1 Post
FlashStopFall, please do share your progress.
  Reply With Quote
The Following User Says Thank You to Fastvan67 For This Useful Post:
FlashStopFall (12-08-2022)
Old 12-08-2022, 11:42 PM   #175 (permalink)
EcoModding Beginner
 
Join Date: Oct 2022
Location: Oklahoma
Posts: 28

WJ - '03 Jeep Grand Cherokee Laredo
Team E85
90 day: 17.28 mpg (US)

ZJ - '94 Jeep Grand Cherokee Laredo
Thanks: 17
Thanked 10 Times in 9 Posts
So, I’ve made a decent amount of progress. I’m using a raspberry pi Pico running Micropython for my mpg gauge. I’ve got enough code written for just instant mpg to appear on the screen, and everything should work when I hook it up to my car this weekend. I’ll have to rewrite the frame buffer code for this screen library before I can display any more characters. Using PIO, I can get the frequency and duration of the injector pulse, and also the frequency of the VSS pulse. It’s working on my test bench, just waiting for diodes to arrive.
Attached Thumbnails
Click image for larger version

Name:	image.jpg
Views:	38
Size:	63.6 KB
ID:	33093  
  Reply With Quote
The Following 2 Users Say Thank You to FlashStopFall For This Useful Post:
Fastvan67 (12-09-2022), t vago (12-31-2022)
Old 12-31-2022, 01:21 AM   #176 (permalink)
EcoModding Beginner
 
Join Date: Oct 2022
Location: Oklahoma
Posts: 28

WJ - '03 Jeep Grand Cherokee Laredo
Team E85
90 day: 17.28 mpg (US)

ZJ - '94 Jeep Grand Cherokee Laredo
Thanks: 17
Thanked 10 Times in 9 Posts
So I’m ready to start testing the MPiG thing I made. I hooked it up and got an injector open duration, but only about half the time, and only when idling, not when changing rpm’s. I bought a cheap oscilloscope and found out the waveform looks like this (image attached). I think that first; I have it programmed to read low to high which is backwards but more importantly; I think the voltage spike coming from the injector coil field collapsing is messing up my readings. My wiring is just like in the mpguino schematic, but with different resistors to get me down to around 3 volts. I’d slap a diode on there but I’ve read that can make the injector stay open too long. Do you guys have any ideas for either 1: hardware to get rid of the spike or 2: programming to read it better? Or would you mind explaining how the mpguino does it?

Upon further inspection, that signal is actually 14v, and isn’t being dropped down to 3v, yikes! So that’s problem #1, but I think my other two problems still exist.
Attached Thumbnails
Click image for larger version

Name:	E5D0C6D3-E835-401C-B88B-9F820761E46D.jpg
Views:	44
Size:	65.1 KB
ID:	33143  

Last edited by FlashStopFall; 12-31-2022 at 01:46 AM..
  Reply With Quote
Old 12-31-2022, 10:55 AM   #177 (permalink)
MPGuino Supporter
 
t vago's Avatar
 
Join Date: Oct 2010
Location: Hungary
Posts: 1,807

iNXS - '10 Opel Zafira 111 Anniversary

Suzi - '02 Suzuki Swift GL
Thanks: 828
Thanked 708 Times in 456 Posts
the MPGuino code uses two interrupts to measure fuel injection pulses. The leading edge is measured in an input capture interrupt which is separate from the trailing edge. For late model Chrysler products, the leading edge should be a falling edge (InjTrig = 0) due to how the auto shutdown relay powers the injectors and ignition coils, and how the PCM completes ground on each injector to fire them.

Yah, 0.86 isn't all that capable compared to later versions. I'm in the process of completely re-writing my own fork. My code now includes a serial terminal interface which can easily be interfaced to bluetooth or USB, which of course is still in work.
  Reply With Quote
The Following User Says Thank You to t vago For This Useful Post:
FlashStopFall (12-31-2022)
Old 12-31-2022, 03:00 PM   #178 (permalink)
EcoModding Beginner
 
Join Date: Oct 2022
Location: Oklahoma
Posts: 28

WJ - '03 Jeep Grand Cherokee Laredo
Team E85
90 day: 17.28 mpg (US)

ZJ - '94 Jeep Grand Cherokee Laredo
Thanks: 17
Thanked 10 Times in 9 Posts
Quote:
Originally Posted by t vago View Post
the MPGuino code uses two interrupts to measure fuel injection pulses. The leading edge is measured in an input capture interrupt which is separate from the trailing edge. For late model Chrysler products, the leading edge should be a falling edge (InjTrig = 0) due to how the auto shutdown relay powers the injectors and ignition coils, and how the PCM completes ground on each injector to fire them.

Yah, 0.86 isn't all that capable compared to later versions. I'm in the process of completely re-writing my own fork. My code now includes a serial terminal interface which can easily be interfaced to bluetooth or USB, which of course is still in work.
t_vago, that’s awesome. Thanks for the help too.
  Reply With Quote
Old 12-31-2022, 03:04 PM   #179 (permalink)
EcoModding Beginner
 
Join Date: Oct 2022
Location: Oklahoma
Posts: 28

WJ - '03 Jeep Grand Cherokee Laredo
Team E85
90 day: 17.28 mpg (US)

ZJ - '94 Jeep Grand Cherokee Laredo
Thanks: 17
Thanked 10 Times in 9 Posts
So I forgot to plug my hardware into the injector wire, I was just measuring the injector ground. This is how the signal actually looks, and it looks good, so I think my code is the problem.
Attached Thumbnails
Click image for larger version

Name:	1E7566AB-470D-4614-AD03-B04FDEE25396.jpg
Views:	52
Size:	56.5 KB
ID:	33145  
  Reply With Quote
The Following User Says Thank You to FlashStopFall For This Useful Post:
t vago (03-18-2023)
Old 03-18-2023, 11:14 AM   #180 (permalink)
MPGuino Supporter
 
t vago's Avatar
 
Join Date: Oct 2010
Location: Hungary
Posts: 1,807

iNXS - '10 Opel Zafira 111 Anniversary

Suzi - '02 Suzuki Swift GL
Thanks: 828
Thanked 708 Times in 456 Posts
Started adding USB support, researched a faster square root algorithm, and started merging the SWEET64 trace functionality into the serial debugging monitor terminal.

The first page of this thread contains the latest description of my MPGuino fork.

  Reply With Quote
The Following User Says Thank You to t vago For This Useful Post:
FlashStopFall (03-18-2023)
Reply  Post New Thread


Tags
mpguino, peak and hold





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