11-23-2022, 02:37 PM
|
#171 (permalink)
|
EcoModding Beginner
Join Date: Oct 2022
Location: Oklahoma
Posts: 30
WJ - '03 Jeep Grand Cherokee Laredo Team E85 90 day: 17.28 mpg (US) ZJ - '94 Jeep Grand Cherokee Laredo
Thanks: 17
Thanked 11 Times in 10 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.
|
|
|
Today
|
|
|
Other popular topics in this forum...
|
|
|
11-24-2022, 03:46 PM
|
#172 (permalink)
|
MPGuino Supporter
Join Date: Oct 2010
Location: Hungary
Posts: 1,808
iNXS - '10 Opel Zafira 111 Anniversary Suzi - '02 Suzuki Swift GL
Thanks: 831
Thanked 709 Times in 457 Posts
|
Quote:
Originally Posted by FlashStopFall
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
|
|
|
11-27-2022, 03:22 AM
|
#173 (permalink)
|
EcoModding Beginner
Join Date: Oct 2022
Location: Oklahoma
Posts: 30
WJ - '03 Jeep Grand Cherokee Laredo Team E85 90 day: 17.28 mpg (US) ZJ - '94 Jeep Grand Cherokee Laredo
Thanks: 17
Thanked 11 Times in 10 Posts
|
Quote:
Originally Posted by t vago
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 03:30 AM..
|
|
|
12-01-2022, 09: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.
|
|
|
The Following User Says Thank You to Fastvan67 For This Useful Post:
|
|
12-09-2022, 12:42 AM
|
#175 (permalink)
|
EcoModding Beginner
Join Date: Oct 2022
Location: Oklahoma
Posts: 30
WJ - '03 Jeep Grand Cherokee Laredo Team E85 90 day: 17.28 mpg (US) ZJ - '94 Jeep Grand Cherokee Laredo
Thanks: 17
Thanked 11 Times in 10 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.
|
|
|
The Following 2 Users Say Thank You to FlashStopFall For This Useful Post:
|
|
12-31-2022, 02:21 AM
|
#176 (permalink)
|
EcoModding Beginner
Join Date: Oct 2022
Location: Oklahoma
Posts: 30
WJ - '03 Jeep Grand Cherokee Laredo Team E85 90 day: 17.28 mpg (US) ZJ - '94 Jeep Grand Cherokee Laredo
Thanks: 17
Thanked 11 Times in 10 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.
Last edited by FlashStopFall; 12-31-2022 at 02:46 AM..
|
|
|
12-31-2022, 11:55 AM
|
#177 (permalink)
|
MPGuino Supporter
Join Date: Oct 2010
Location: Hungary
Posts: 1,808
iNXS - '10 Opel Zafira 111 Anniversary Suzi - '02 Suzuki Swift GL
Thanks: 831
Thanked 709 Times in 457 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.
|
|
|
The Following User Says Thank You to t vago For This Useful Post:
|
|
12-31-2022, 04:00 PM
|
#178 (permalink)
|
EcoModding Beginner
Join Date: Oct 2022
Location: Oklahoma
Posts: 30
WJ - '03 Jeep Grand Cherokee Laredo Team E85 90 day: 17.28 mpg (US) ZJ - '94 Jeep Grand Cherokee Laredo
Thanks: 17
Thanked 11 Times in 10 Posts
|
Quote:
Originally Posted by t vago
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.
|
|
|
12-31-2022, 04:04 PM
|
#179 (permalink)
|
EcoModding Beginner
Join Date: Oct 2022
Location: Oklahoma
Posts: 30
WJ - '03 Jeep Grand Cherokee Laredo Team E85 90 day: 17.28 mpg (US) ZJ - '94 Jeep Grand Cherokee Laredo
Thanks: 17
Thanked 11 Times in 10 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.
|
|
|
The Following User Says Thank You to FlashStopFall For This Useful Post:
|
|
03-18-2023, 12:14 PM
|
#180 (permalink)
|
MPGuino Supporter
Join Date: Oct 2010
Location: Hungary
Posts: 1,808
iNXS - '10 Opel Zafira 111 Anniversary Suzi - '02 Suzuki Swift GL
Thanks: 831
Thanked 709 Times in 457 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.
|
|
|
The Following User Says Thank You to t vago For This Useful Post:
|
|
|