ECUs and Tuning Discuss Engine Management, Tuning, & Programming

Arduino as ECU?

Thread Tools
 
Search this Thread
 
Old 01-20-2015, 10:51 AM
  #281  
Senior Member
iTrader: (1)
 
Schuyler's Avatar
 
Join Date: Apr 2011
Location: Columbia, SC
Posts: 1,332
Total Cats: 87
Default

Originally Posted by flyingchameleon
I was attempting to contribute to the thread and not be a flamer and show the world what little value that is. yea, you are right, it might not land me a job from one project. I have other things under my belt. Yes i do believe it would help, it wont be the final say, but it may be the difference by saying i can do more than the average book worm.

but im guessing you are 30+ years older than me in a dead end career and not very aware or even care of the current economic situations or job markets and probably dont care. The one generation that could have helped but was too busy smoking weed. also i could give 2 nickels in your ******* to what my peers think because most aerospace graduates have their heads so far up their but its a wonder planes dont crash more often and why people hate on the few who actually tried really hard in school.

there are employers out there who want people with skills, and if you can show them something they dont see everyday they will hire you

seriously if you are a "senior member" and all you like to do is greet people with a **** poor attitude just because its the internet and your "anonymous" than get a better day job, like yelling at hobos or Mexicans or something. who knows you might be both

and... probably permaban... but either way, it just reminds me how much i hate politics and forums. just a bunch of epenor measuring.

also thanks for being a grammar ****. shows you care less for what is trying to be said than what you can measure yourself against... keep measuring, it only gets smaller
lol.

My profile will answer most of your questions with regards to my anonymity and social status. I apologize my engineering school taught English. I said my piece on the matter, best of luck on your future endeavors.
Schuyler is offline  
Old 01-20-2015, 07:16 PM
  #282  
Junior Member
 
bloodline's Avatar
 
Join Date: Sep 2010
Location: London, England
Posts: 91
Total Cats: 0
Default It's been a long time

Hi flyingchameleon,

The last code I posted is as far as I got with the Arduino. Using the on board timers and the timing/fuelling tables from the original ROM etc I was able to simulate engine Miata engine control at least as effectively as the original hardware. I then moved my code to the Teensy 3.1, which being ARM M4 based, gave far more had room for engine management. Unfortunately real life got in the way and I never managed to produce any actual hardware to interface with a real engine (which would have introduced some interesting problems). I'm currently restoring an Avro Vulcan, which you can imagine is more fun than a Miata.
bloodline is offline  
Old 01-21-2015, 05:43 AM
  #283  
Newb
 
ausmerican's Avatar
 
Join Date: Jan 2015
Posts: 1
Total Cats: 0
Default

Hey all,

I came across this today, looks like it's coming along: Speeduino Wiki
ausmerican is offline  
Old 06-14-2015, 09:14 PM
  #284  
Junior Member
 
noisymime's Avatar
 
Join Date: Jun 2015
Posts: 75
Total Cats: 11
Default

Hey all... In case anyone was still interested in an Arduino based ECU, I'm the author of the above linked Speeduino project and am currently in the process of fitting it to a '91 NA6.

Given the testing that has occurred to date on other engines, the NA6 should be a nice simple candidate to get up and running. The usual things apply for this setup (Namely the requirement for a variable TPS and IAT sensor when the AFM is deleted), but on the whole it's a lovely straightforward engine to work with.

Happy to answer any questions or anything if people are interested in the project, otherwise I'll report back with updates.
noisymime is offline  
Old 06-15-2015, 03:02 PM
  #285  
Senior Member
iTrader: (8)
 
cyotani's Avatar
 
Join Date: Jan 2012
Location: Azusa, CA
Posts: 1,407
Total Cats: 116
Default

<p>Nice work on this project! It's very impressive integration with tuner studio and has some nice potential. I love the documentation work as well. Keep it up. I'll be following your progress.&nbsp;</p>
cyotani is offline  
Old 08-23-2015, 08:29 AM
  #286  
Junior Member
 
noisymime's Avatar
 
Join Date: Jun 2015
Posts: 75
Total Cats: 11
Default

Quick update on my project in case anyone is interested. I've got my na6 up and running on this now, though the tune needs some work and I need to sort out things like the fans etc, but it's all running.

Obligatory quick and dirty video at

A number of other people have working setups with this now too, so its starting to become viable. I'll post back once the pnp boards for the na6 are all done.
noisymime is offline  
Old 08-25-2015, 10:30 AM
  #287  
Junior Member
 
sparkybean's Avatar
 
Join Date: Mar 2012
Posts: 110
Total Cats: 13
Default

I had a stab at this last year.


The engine is a subaru/robin ex13, about 125ccc making about 4hp. I tore the carb, intake and ignition coil off and replaced the coil with an inductive sensor.

3D printed an intake manifold and used a huge ball valve as a throttle. DONT DO THIS. 3d prints are porus and dont hold vacuum, and are weak as hell.

Used a Lm1815 for input conditioning (should have used a max998)
Cheap 3 pin map sensor for load sensing.
Injector was some small motorbike injector, yamaha i think. Drove it with a Mosfet.
Coil was some 2 pin unit that i had laying around, which i drove with a V3040P IGBT.

Wiring it all together was pretty simple, connected the output of the LM1815 into an inturrupt pin on the uno.


Programming the whole thing was a nightmare, but i am the worlds most useless coder at the moment. I would have liked spark to interpolate/extrapolate based on engine speed and fuelling interpolate based off the map sensor, but my coding-fu wasnt up to the task. In the end i just set the fuel and spark at set values and the engine ran like crap. Doesnt rev as you can see in the vid.


Probably an easy project if you can code. Would still be a nightmare to do on a boosted miata though....
sparkybean is offline  
Old 09-30-2015, 02:15 AM
  #288  
Junior Member
 
noisymime's Avatar
 
Join Date: Jun 2015
Posts: 75
Total Cats: 11
Default

If anyone is interested in what's capable using an arduino, I've just put together a video showing the current features of Speeduino. It's obviously not competing with the big name established commercial units, but it's starting to cover off most of the bases:

Last edited by noisymime; 09-30-2015 at 10:10 PM.
noisymime is offline  
Old 09-30-2015, 10:12 AM
  #289  
Moderator
iTrader: (1)
 
Girz0r's Avatar
 
Join Date: Jun 2014
Location: Austin, TX
Posts: 3,033
Total Cats: 324
Default

Originally Posted by noisymime
FTFY.
Girz0r is offline  
Old 09-30-2015, 04:19 PM
  #290  
Junior Member
 
noisymime's Avatar
 
Join Date: Jun 2015
Posts: 75
Total Cats: 11
Default

Originally Posted by Girz0r
FTFY.
Well, don't I feel stupid.
Thanks!
noisymime is offline  
Old 12-13-2015, 07:32 AM
  #291  
Junior Member
 
noisymime's Avatar
 
Join Date: Jun 2015
Posts: 75
Total Cats: 11
Default

Nothing too exciting to report, lots of progress on the project but nothing too specific to the MX5 / Miata world. The only thing around that is that the first style of interface board has arrived for the 48-pin NA6 connector. Testing has revealed there are some improvements to be made, but it is working no worries and plugged straight into the stock loom. It has screw connector inputs for TPS and CLT (Was meant to be IAT, I cocked this up).

In case anyone is interested, there's a shot of it at the end of this video:
noisymime is offline  
Old 12-15-2015, 12:43 PM
  #292  
Elite Member
 
x_25's Avatar
 
Join Date: Oct 2013
Location: NorthWest NJ
Posts: 1,821
Total Cats: 141
Default

Watching with interest. You wouldn't happen to be in the eastern PA area? One of my friends mentioned a year or two ago, that he was helping someone get a miata running on an Arduino.
x_25 is offline  
Old 12-15-2015, 03:01 PM
  #293  
Junior Member
 
noisymime's Avatar
 
Join Date: Jun 2015
Posts: 75
Total Cats: 11
Default

Originally Posted by x_25
Watching with interest. You wouldn't happen to be in the eastern PA area? One of my friends mentioned a year or two ago, that he was helping someone get a miata running on an Arduino.
Nope, over in Australia haha
noisymime is offline  
Old 12-26-2015, 07:14 AM
  #294  
Junior Member
 
noisymime's Avatar
 
Join Date: Jun 2015
Posts: 75
Total Cats: 11
Default

Out and about testing in the sun this evening. Wanted to see whether the gauges through Race Render would work from the log that is being produced.



The tune itself is still pretty terrible. Timing is very conservative and the fuel is a bit rubbish, but it's good for a drive and nicer than the stock ECU now.
noisymime is offline  
Old 02-13-2016, 10:05 PM
  #295  
Junior Member
 
noisymime's Avatar
 
Join Date: Jun 2015
Posts: 75
Total Cats: 11
Default

OK, so it's not the most professional looking thing, but all boxed up I don't think this comes out too badly:



There's 2 MX5/Miatas running with this now and another 2-3 in the works (Including a turbo). Looking into various options for a more automated manufacture friendly board at the moment which will hopefully help bring the pricing down. With the ECU connector and things included I'm hoping the price will land somewhere around $150-200 USD
Attached Thumbnails Arduino as ECU?-80-e51mo6nh_657912bc4a7bc56bcbb5ad854828d1c9606e815b.jpg  
noisymime is offline  
Old 03-31-2016, 10:55 AM
  #296  
Junior Member
 
noisymime's Avatar
 
Join Date: Jun 2015
Posts: 75
Total Cats: 11
Default

Have finished up all the testing and now boxed the unit up for permanent mounting:


Have been running this regularly without issue for about 6 weeks now. Used a 14point7 wideband to 'autotune' it in, which worked no worries.

Next board to be tested soon will be a surface mount design aimed at being easier/cheaper to produce in volume. Purely for my own simplicity, I'll probably do an initial run of these with a 48-pin connector on it, which will make it near plug and play (Normal TPS and fuel pump relay mods still needed). Will make these available if there's any interest.
Attached Thumbnails Arduino as ECU?-80-0ez3ezjl_a7152974f9945496b7e327b825e0de31e44f7448.jpg  
noisymime is offline  
Old 03-31-2016, 11:02 AM
  #297  
Senior Member
iTrader: (8)
 
cyotani's Avatar
 
Join Date: Jan 2012
Location: Azusa, CA
Posts: 1,407
Total Cats: 116
Default

Nice Work! I didn't read through everything but this is an open source project?
cyotani is offline  
Old 03-31-2016, 11:10 AM
  #298  
Junior Member
 
noisymime's Avatar
 
Join Date: Jun 2015
Posts: 75
Total Cats: 11
Default

Originally Posted by cyotani
Nice Work! I didn't read through everything but this is an open source project?
Definitely! Code and hardware are both open source.
noisymime is offline  
Old 03-31-2016, 12:51 PM
  #299  
Elite Member
iTrader: (3)
 
AbeFM's Avatar
 
Join Date: Aug 2006
Location: San Diego, CA
Posts: 3,047
Total Cats: 12
Default

Super awesome. Seem a lot of folks start ECU projects, the hard part is getting them into people's hands. Pretty excited to see it working out!
AbeFM is offline  
Old 03-31-2016, 04:53 PM
  #300  
Junior Member
 
noisymime's Avatar
 
Join Date: Jun 2015
Posts: 75
Total Cats: 11
Default

Originally Posted by AbeFM
Super awesome. Seem a lot of folks start ECU projects, the hard part is getting them into people's hands.
Yeah, this is certainly a challenge. Kits and DIY projects are great and there is definitely interest enough to move them (I think there's about 10 cars and multiple bikes/karts running this now), they are a lot of effort to prepare. What I am seeing is that people really want something that is more complete and can be sold as a largely ready to go solution. This is what I'm currently working on at the moment, but it all takes time.
noisymime is offline  


Quick Reply: Arduino as ECU?



All times are GMT -4. The time now is 08:21 PM.