GithubHelp home page GithubHelp logo

Won't detect trigger about speeduino HOT 12 CLOSED

noisymime avatar noisymime commented on July 30, 2024
Won't detect trigger

from speeduino.

Comments (12)

apollard avatar apollard commented on July 30, 2024

Started trying to figure out where in the code it is causing the FP to cycle on/off (ie, relay clicking) and more definition of exact conditions causing it. Put in serial prints to find area that is cycling pump. Learning a lot about the great programming done in the project.

from speeduino.

apollard avatar apollard commented on July 30, 2024

OK, so did some more testing, and I've narrowed this issue down to just the "basic Distributor" trigger.

Speedy works fine with other triggers (tried 36-1, 60-2, and GM 24X). You can delay the trigger signal as long as you like and it syncs fine with other wheels. You can also remove the trigger signal, then reapply it and Speedy will sync again.

With the basic distributor setting, the trigger must be there when Speedy boots up or it won't sync and it goes into a situation where it pulses the Fuel Pump approximately every second. If the trigger is removed, it won't re-sync when it is reapplied and FP starts the pulsing.

Now to figure out what is different about the Basic Distributor code that causes this.

from speeduino.

noisymime avatar noisymime commented on July 30, 2024

Thanks for the report and the investigation you've done into this!

I'm not immediately seeing this on a test setup, but will keep looking into it.

from speeduino.

noisymime avatar noisymime commented on July 30, 2024

Can you please post a tune file (msq) for your setup?

from speeduino.

DarrenInwood avatar DarrenInwood commented on July 30, 2024

from speeduino.

noisymime avatar noisymime commented on July 30, 2024

@apollard Does TS reconnect / disconnect when the problem occurs? If it is then the resetting mentioned by @DarrenInwood may be a consideration. If TS stays connected, then that can be rules out.

I pushed up a few small fixes just now. Would be worth trying them to see if they make any difference, but I'm still unable to reproduce the issue the way you're seeing it, so I wouldn't be confident they have fixed it.

from speeduino.

apollard avatar apollard commented on July 30, 2024

"fix Cranking Timing With Trigger" made no Difference.

However, with the Ardustim attached, I decided to change the filter I had (Weak) to none. That DOES show teeth in the logger. Below is the pattern I'm seeing (second image).

Since the Ardustim pattern is a 50% duty cycle square wave, the timing on each tooth should be very close, as shown by the image with sync (Tooth logger with sync - 8 cyl dizzy). The only change between these two images is that I power cycled the Speedy. Ardustim running with no change, so trigger was there on Speedy boot.

So something in code is throwing the timing of the trigger interrupt off ?
tooth logger with sync - 8 cyl dizzy
tooth logger with no sync - 8 cyl dizzy

from speeduino.

apollard avatar apollard commented on July 30, 2024

TS is not dropping connection, and the arduino stays operating (ie, not rebooting). Right now, I only have the FP relay hooked up in the boat, but not the FP. It isn't loosing power, since the ECU and FP relay are fed from different home runs to the main power point for the boat.

I am now simulating this on the bench with just an Mega 2560, a LED/resistor to show FP state and an Ardustim for trigger. So, no load at all really.

Current tune below - this is the one generating tooth logs above.

I'll download the commit and try it.

CurrentTune.zip

from speeduino.

apollard avatar apollard commented on July 30, 2024

WOOHOO!

No idea what you changed Josh, but the issue is gone with the latest commit. I can't replicate it on the bench. I'll try in the boat, but I could replicate it reliably on the bench, so I'm sure it's solved. :)

Just for info, here's how I replicated the issue - I used the Mar release and the Apr 17 download, either did the same:

  1. Start the Speedy with no trigger, using firmware above and .msq above.
  2. Anytime after the Speedy boots, start the trigger signal.
  3. No RPM shown in TS, sync flashes on and off, and FP cycles on and off.

Other condition:

  1. Start the Speedy with trigger present (either Ardustim or by cranking the engine immediately) , using firmware above and .msq above.
  2. RPM is shown in TS and FP stays on.
  3. Remove trigger (I did this by simply disconnecting jumper from Ardustim). TS shows no RPM, FP is turns off and stays off.
  4. Re-insert jumper from Ardustim. No RPM shown in TS, sync flashes on and off, and FP cycles on and off.

I may futz around to find what was happening, my curiosity is up. Or maybe I should just finish the install and run it...

from speeduino.

noisymime avatar noisymime commented on July 30, 2024

Hmmmm interesting. Almost certainly something to do with the filtering then based on your last 2 comments (and what I changed today). Anyway, glad to hear it's progress.

Happy to close this one or do you want to do more testing?

from speeduino.

apollard avatar apollard commented on July 30, 2024

I think you can close it. I was able to replicate on the bench so reliably that I'm 100% sure it will work on the boat.

from speeduino.

noisymime avatar noisymime commented on July 30, 2024

Fixed by bae708a

from speeduino.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.