Arduino as ECU? - Page 15 - Miata Turbo Forum - Boost cars, acquire cats.

Welcome to Miataturbo.net   Members
 


ECUs and Tuning Discuss Engine Management, Tuning, & Programming

Reply
 
 
 
LinkBack Thread Tools Search this Thread
Old 01-20-2015, 11:51 AM   #281
Senior Member
iTrader: (1)
 
Join Date: Apr 2011
Location: Columbia, SC
Posts: 1,342
Total Cats: 78
Default

Quote:
Originally Posted by flyingchameleon View Post
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   Reply With Quote
Old 01-20-2015, 08:16 PM   #282
Junior Member
 
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   Reply With Quote
Old 01-21-2015, 06:43 AM   #283
Newb
 
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   Reply With Quote
Old 06-14-2015, 10:14 PM   #284
Newb
 
Join Date: Jun 2015
Posts: 35
Total Cats: 7
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   Reply With Quote
Old 06-15-2015, 04:02 PM   #285
Senior Member
iTrader: (8)
 
Join Date: Jan 2012
Location: Azusa, CA
Posts: 1,376
Total Cats: 80
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   Reply With Quote
Old 08-23-2015, 09:29 AM   #286
Newb
 
Join Date: Jun 2015
Posts: 35
Total Cats: 7
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   Reply With Quote
Old 08-25-2015, 11:30 AM   #287
Junior Member
 
Join Date: Mar 2012
Location: UK, South
Posts: 110
Total Cats: 12
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   Reply With Quote
Old 09-30-2015, 03:15 AM   #288
Newb
 
Join Date: Jun 2015
Posts: 35
Total Cats: 7
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 11:10 PM.
noisymime is offline   Reply With Quote
Old 09-30-2015, 11:12 AM   #289
Elite Member
iTrader: (1)
 
Join Date: Jun 2014
Location: Austin, TX
Posts: 2,842
Total Cats: 271
Default

Quote:
Originally Posted by noisymime View Post
FTFY.
Girz0r is offline   Reply With Quote
Old 09-30-2015, 05:19 PM   #290
Newb
 
Join Date: Jun 2015
Posts: 35
Total Cats: 7
Default

Quote:
Originally Posted by Girz0r View Post
FTFY.
Well, don't I feel stupid.
Thanks!
noisymime is offline   Reply With Quote
Old 12-13-2015, 08:32 AM   #291
Newb
 
Join Date: Jun 2015
Posts: 35
Total Cats: 7
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   Reply With Quote
Old 12-15-2015, 01:43 PM   #292
Senior Member
 
Join Date: Oct 2013
Location: NorthWest NJ
Posts: 1,061
Total Cats: 48
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   Reply With Quote
Old 12-15-2015, 04:01 PM   #293
Newb
 
Join Date: Jun 2015
Posts: 35
Total Cats: 7
Default

Quote:
Originally Posted by x_25 View Post
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   Reply With Quote
Old 12-26-2015, 08:14 AM   #294
Newb
 
Join Date: Jun 2015
Posts: 35
Total Cats: 7
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   Reply With Quote
Old 02-13-2016, 11:05 PM   #295
Newb
 
Join Date: Jun 2015
Posts: 35
Total Cats: 7
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   Reply With Quote
Old 03-31-2016, 11:55 AM   #296
Newb
 
Join Date: Jun 2015
Posts: 35
Total Cats: 7
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   Reply With Quote
Old 03-31-2016, 12:02 PM   #297
Senior Member
iTrader: (8)
 
Join Date: Jan 2012
Location: Azusa, CA
Posts: 1,376
Total Cats: 80
Default

Nice Work! I didn't read through everything but this is an open source project?
cyotani is offline   Reply With Quote
Old 03-31-2016, 12:10 PM   #298
Newb
 
Join Date: Jun 2015
Posts: 35
Total Cats: 7
Default

Quote:
Originally Posted by cyotani View Post
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   Reply With Quote
Old 03-31-2016, 01:51 PM   #299
Elite Member
iTrader: (3)
 
AbeFM's Avatar
 
Join Date: Aug 2006
Location: San Diego, CA
Posts: 3,048
Total Cats: 8
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   Reply With Quote
Old 03-31-2016, 05:53 PM   #300
Newb
 
Join Date: Jun 2015
Posts: 35
Total Cats: 7
Default

Quote:
Originally Posted by AbeFM View Post
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   Reply With Quote
 
 
Reply

Related Topics
Thread Thread Starter Forum Replies Last Post
Raleigh: Fiberglass headlight scope, 1.6L ECU, AFM, Hardtop latches, more bigmackloud Miata parts for sale/trade 13 09-22-2017 01:34 PM
3rd Time's a Charm...hopefully. zephyrusaurai Meet and Greet 2 09-28-2015 11:59 PM
Are my coils failing? viriiguy General Miata Chat 5 09-28-2015 08:39 PM
ME221 Now has Autotune and Long Term Fuel Trim Tables Motorsport-Electronics ECUs and Tuning 0 09-05-2015 09:02 AM


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -4. The time now is 04:07 AM.