Speeduino Discussion about Speeduino.

Speeduino - FM 36-2 Trigger Wheel Setup

Thread Tools
 
Search this Thread
 
Old 02-21-2024, 12:29 PM
  #21  
Junior Member
Thread Starter
 
SimBa's Avatar
 
Join Date: Oct 2022
Location: Idaho
Posts: 392
Total Cats: 67
Default

You mean just the .cpp/.h files? Wouldn't be compiled at that point but I could do that no problem.
SimBa is offline  
Old 02-21-2024, 05:34 PM
  #22  
Junior Member
Thread Starter
 
SimBa's Avatar
 
Join Date: Oct 2022
Location: Idaho
Posts: 392
Total Cats: 67
Default

I've attached the FW files to this post. Assuming that I did that correctly, the files can be compiled in the Arduino IDE.
The "Time" Library needs to be included/installed for the project to compile. In Arduino IDE's library manager you can find this by typing in "Timelib". The library is written by Michael Margolis.

The only changes in here as far as I'm aware are the Cam profile and the overflow fix. Other than that it should be the same as the October 2023 release.
Attached Files
File Type: zip
MiataCamFW.zip (2.68 MB, 3 views)
SimBa is offline  
Old 02-24-2024, 03:18 PM
  #23  
Newb
 
adam86's Avatar
 
Join Date: May 2013
Location: Quebec
Posts: 33
Total Cats: 9
Default

Thx SimBa for the good info, I merged the modifications for the +1 cam in the new firmware but I can't test it my car is in the middle of a turbo iunstall.
Here is the *.HEX file I compiled
You can flash your Arduino Mega directly with this program https://github.com/binaryupdates/xLoader
you will have to change the *.ini file in your Tuner Studio project with the one included.
I will test it as soon as I can, if someone tests it and it is good plz let me know.


EDIT: I removed the attached file it was not working

Last edited by adam86; 04-26-2024 at 11:44 AM.
adam86 is offline  
Old 02-24-2024, 04:22 PM
  #24  
Senior Member
iTrader: (2)
 
Alejo_NIN's Avatar
 
Join Date: Jan 2007
Posts: 588
Total Cats: 19
Default

was this not added to Feb release?

https://github.com/noisymime/speedui...q8cgPn54pVMmF4

i didn't see anything on the release notes :/

still will try it for the **** of it.
Alejo_NIN is offline  
Old 02-24-2024, 04:25 PM
  #25  
Newb
 
adam86's Avatar
 
Join Date: May 2013
Location: Quebec
Posts: 33
Total Cats: 9
Default

no not added, I will ask around in the discord
adam86 is offline  
Old 02-24-2024, 05:41 PM
  #26  
Senior Member
iTrader: (2)
 
Alejo_NIN's Avatar
 
Join Date: Jan 2007
Posts: 588
Total Cats: 19
Default

whats their discord?
Alejo_NIN is offline  
Old 02-24-2024, 07:03 PM
  #27  
Newb
 
adam86's Avatar
 
Join Date: May 2013
Location: Quebec
Posts: 33
Total Cats: 9
Default

https://speeduino.com/home/ under the community tab
adam86 is offline  
Old 02-24-2024, 07:15 PM
  #28  
Senior Member
iTrader: (2)
 
Alejo_NIN's Avatar
 
Join Date: Jan 2007
Posts: 588
Total Cats: 19
Default

I’m in. Thanks.

Originally Posted by adam86
https://speeduino.com/home/ under the community tab
Alejo_NIN is offline  
Old 02-25-2024, 01:33 AM
  #29  
Junior Member
Thread Starter
 
SimBa's Avatar
 
Join Date: Oct 2022
Location: Idaho
Posts: 392
Total Cats: 67
Default

I messaged Mike, the creator of the Cam pattern, but he doesn't seem very active on Discord. A week or so ago he asked about how it was working for me, and how much testing I did. He still hasn't responded to my last message. I'm guessing he'll try to get it pulled in once he sees my message, especially if there's more people testing it.

I will probably try to patch the Cam FW over the latest master at some point, but I'm fine with what I've got at this point. Plenty of other things to focus on for me.
SimBa is offline  
Old 02-25-2024, 09:44 AM
  #30  
Newb
 
adam86's Avatar
 
Join Date: May 2013
Location: Quebec
Posts: 33
Total Cats: 9
Default

I will probably try to patch the Cam FW over the latest master at some point, but I'm fine with what I've got at this point.
This is what I did. See post #23, I implemented the new cam trigger pattern to the new master. The code is compiled ready to test, I have tested it on a spare mega and a simulator and seems to work.
adam86 is offline  
Old 02-25-2024, 10:03 AM
  #31  
Junior Member
Thread Starter
 
SimBa's Avatar
 
Join Date: Oct 2022
Location: Idaho
Posts: 392
Total Cats: 67
Default

Awesome! I misread that post earlier.

I'm still going to hold off for a bit as I've been chasing the 36-2 FW issue and that misfire issue for a while, and my car is finally stable. Once I have my tune fully dialed and I need something to tinker with then I'll try it out.
Again, like I told Mike, I see no reason to stop using this trigger setup.
SimBa is offline  
Old 04-26-2024, 11:41 AM
  #32  
Newb
 
adam86's Avatar
 
Join Date: May 2013
Location: Quebec
Posts: 33
Total Cats: 9
Default

I finished installing the turbo on my car and wiring sequential ignition. Got it running on wasted spark and pared injection. After that I tried sequential injection and ignition with the +1 cam trigger code from Mike but it only sync correctly half of the time. SimBa got it working because if you run wasted spark but sequential injection, the car will run anyway the fuel is just injected when the valves are closed on the wrong phase. As soon as the valves open the fuel is there waiting.
So I modified the decoder code to sync correctly every time on the right phase of the engine. I use the poll level method I look at the cam signal at a specific crank teeth. The miata cam trigger as one tooth larger than the other so it works very well.
You need to run the car (or crank) and take a composite log. As you can see the level of the cam trigger is different from tooth 8 to 14. So the polling can be done on tooth 8 to 14



Here are my settings, you should set the level of the first phase high if your cas has not been rotated 180°. if the car is not starting change it to low.



I attached the Xloader software to upload the compiled speeduino code (speeduino.ino.hex) to the ecu.
It is simple juste open Xloader.exe, go find speeduino.ino.hex, choose the right board, choose the COM port the ecu is on, clic upload. It will take about 45s



Please get back to this thread with the result if this is working for you, I made a pull request to Speeduino and I need feedback.
Attached Files
adam86 is offline  
Old 04-26-2024, 12:14 PM
  #33  
Junior Member
Thread Starter
 
SimBa's Avatar
 
Join Date: Oct 2022
Location: Idaho
Posts: 392
Total Cats: 67
Default

Good work figuring that one out Adam. Is this based on the latest master firmware as of April 2024?
SimBa is offline  
Old 04-26-2024, 05:35 PM
  #34  
Newb
 
adam86's Avatar
 
Join Date: May 2013
Location: Quebec
Posts: 33
Total Cats: 9
Default

Thx, it was my goal to use the stock cas as a secondary trigger for the miata. I didn't want to cut a tooth from my stock trigger.
The code has been implemented on the current dev firmware.
adam86 is offline  
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
Jerrygp
MEGAsquirt
4
12-12-2021 09:16 PM
Blysccr
General Miata Chat
27
11-30-2020 07:57 AM
jiinxy
MEGAsquirt
6
11-20-2020 06:59 PM
swimming108
Adaptronic
25
02-13-2014 12:48 PM
kday
MEGAsquirt
27
08-15-2009 01:57 PM



Quick Reply: Speeduino - FM 36-2 Trigger Wheel Setup



All times are GMT -4. The time now is 06:02 PM.