Miata Turbo Forum - Boost cars, acquire cats.

Miata Turbo Forum - Boost cars, acquire cats. (https://www.miataturbo.net/)
-   ECUs and Tuning (https://www.miataturbo.net/ecus-tuning-54/)
-   -   Arduino as ECU? (https://www.miataturbo.net/ecus-tuning-54/arduino-ecu-50695/)

jstck 04-01-2016 05:57 AM

For this to be more accessible to people (lots of car hackers may not be electronic hackers), I think there would need to be something pretty easy to assemble. Like a ready-made PCB that fits as a shield on the Arduino, and with "PNP" connectors/adapters for some common cars (i.e. Miatas).

I saw someone in Sweden bulk-buying boards, I'll try to get one from him to build a "lab unit" to at least play around with.

noisymime 04-01-2016 06:02 AM


Originally Posted by jstck (Post 1320078)
For this to be more accessible to people (lots of car hackers may not be electronic hackers), I think there would need to be something pretty easy to assemble. Like a ready-made PCB that fits as a shield on the Arduino, and with "PNP" connectors/adapters for some common cars (i.e. Miatas).

That's exactly what is coming. It'll be a full SMD board that comes assembled with (at first) the 48-pin Miata/MX5 connector. Optionally it'll come with a case similar to the one in my picture and the Arduino attached. Hoping to hit somewhere around $200USD for the whole thing, but there's a lot yet to be confirmed for that.

AbeFM 04-02-2016 05:34 PM

I was thinking it'd be nice to make a board with the processor on it (what's on a UNO card aside from 3 chips?)... You're going with a processor only card?

noisymime 04-02-2016 06:02 PM

Yeah for the moment I'm sticking with the external Arduino board, though a couple of guys have made their own boards with the processor on them.

The bizarre economics of Chinese mass production means I can't even buy the 2560 processor chip for the price I can get an entire Arduino Mega for. And the mega board includes the USB-serial interface as well.

noisymime 07-04-2016 07:52 PM

1 Attachment(s)
In case anyone here is still interested, I've recently finished the design work on the 48-pin PNP version of Speeduino and sent off for a test batch of these. Plan is that once tested, I will be having a run of these assembled and will be selling them as a complete unit in case etc. This board will become the next version of the general Speeduino, but for ease of testing for myself I decided to do a NA6 PNP version first. Will have a few of the extra Speeduino features that the earlier boards didn't such as an easy bluetooth interface, flex input etc.

https://www.miataturbo.net/attachmen...ine=1467676379

jstck 07-05-2016 03:19 AM

Cool stuff! Looks like the TO-220 MOSFETs and the voltage regulator have all been replaced with IC's, I guess that makes the arduino+speeduino stack a bit thinner. I have a Speeduino 0.3.2 that I initially tried to fit inside the original ECU case, but it was a little bit too tall. Also, having cables on screw terminals at both ends + a simple adapter pcb on the 48-pin connector made it a basically impossible fit (so I'm making a simple case out of plywood or something). This is for a Mazda 323 BG, but it seems to have the same ECU as the NA6, at least physical dimensions.

What I'm getting at is, this thing could fit nicely inside the stock ECU case. Removing the board out of that is just a matter of a few screws, and would make a really nice way of mounting the Speeduino. Will need a couple holes drilled for the vacuum line + whatever extra cables there are, but that's a pretty easy deal.

noisymime 07-05-2016 07:00 PM


Originally Posted by jstck (Post 1343737)
What I'm getting at is, this thing could fit nicely inside the stock ECU case. Removing the board out of that is just a matter of a few screws, and would make a really nice way of mounting the Speeduino. Will need a couple holes drilled for the vacuum line + whatever extra cables there are, but that's a pretty easy deal.

It wasn't specifically designed for this, but it may well be possible. Once I've got a board actually assembled and in my hands I'll pull out a case and see how it goes. There may be some issues with the shape, in particular around the connector.

jstck 07-06-2016 03:55 AM

Yeah, I think the geometry is a bit wrong to fit in the case, with the 48-pin connector on top of the speeduino board and the arduino under it. It would also be difficult to make neat access to the USB port on the arduino board, being just under the connector.

I've made a couple custom enclosures before with a 3D-printed frame (with holes in the right places for connectors and cables), and top and bottom from plywood or acrylic (laser-cut or just plain squares of it). It can be really sturdy and pretty nice looking. Wouldn't be too hard to make something like that with brackets to be able to mount it properly in the same place.

noisymime 01-01-2017 06:38 PM

Been a while between updates, but so much happening on this project for anyone interested. First Miata running full sequential is now out and about and there's been a bunch of new features such flex fuel support etc added over the last few months.

I ran into a few design issues with the PNP boards, but they're back on track now and hopefully the final test boards are on their way now. I'm hoping to have a design completed for the 64-pin plug shortly soon too, so if anyone wants to test one of those just let me know.

huesmann 01-03-2017 03:54 PM

What s/w are you using to tune?

noisymime 01-03-2017 04:39 PM


Originally Posted by huesmann (Post 1384507)
What s/w are you using to tune?

It's all through Tuner Studio, so you get most of the features that it comes with in terms of logging, offline tuning, autotune etc.

huesmann 01-06-2017 11:51 AM

Are you running a wideband with it?

noisymime 01-06-2017 04:20 PM


Originally Posted by huesmann (Post 1385102)
Are you running a wideband with it?

Yep. I'm personally running a 14point7 unit, but have used an Innovate in the past as well. There's a whole heap of calibrations available for different wideband units.

huesmann 01-08-2017 11:17 AM

Assuming the testing works out, what kind of price point are you looking at?

noisymime 01-08-2017 02:17 PM


Originally Posted by huesmann (Post 1385489)
Assuming the testing works out, what kind of price point are you looking at?

Will be under $200 USD for an assembled unit (ie in case etc), but just not quite sure how far under $200 at this stage.

noisymime 03-01-2017 09:47 PM

2 Attachment(s)
Ok, so slow progress, but things are getting there. My car is up and running now on one of these units and I've mocked up the casing etc that will be used in the final version. Still a bit of testing to do, but it's definitely getting there.
Attachment 237248
Completed, fully functional board.

Attachment 237249
Mockup of the enclosure and faceplate. This is an early 3d printed faceplate just for testing, but the final version will be a laser cut alloy piece.

Number34 03-02-2017 05:21 AM

Wow
I'm really impressed
Can't wait to see the development, it can the sostitute of my old MS, great!

Drezi 04-18-2017 04:19 PM

Any update to this?
ETA?

I am willing to be a guinea pig if you need one. I'll even pay the $200 for the opportunity to possibly blow a non-finalized one up.

noisymime 04-24-2017 10:32 AM

Final testing on the current board was done today and everything checked out except the clutch input. I have to double check tomorrow that this wasn't caused by the trans neutral switch though.

Next step will be a small run of fully assembled boxes. Probably 5-10 of these depending on interest and price is still TBA, but will definitely under $200. They've had a lot of testing on 2 vehicles now and are proving to be rock solid reliable, but I need a wider audience to test with at this point.

I'll update again shortly when I'm about the send the run for production.

Ali Masood 05-23-2017 10:29 AM

did you get anywhere with this?

ridethecliche 05-23-2017 11:44 AM


Originally Posted by Ali Masood (Post 1416646)
did you get anywhere with this?

There are a few other open source ecu's floating around too. I know there are a few members on here working on rusefi.

noisymime 06-11-2017 10:35 PM

1 Attachment(s)
OK, the beta run is now in production! Just a small run of 10 units for those willing to do some testing and, I would recommend, have played with something like Megasquirt before.
Price will be $150USD plus shipping for something that looks roughly like this (Although with a black enclosure):
Attachment 237116

The production units price will be a little higher, but not a lot.
Production is likely to take 3-4 weeks, after which time I'll post back if anyone is interested.

The documentation is still a bit sparse, but I'm working through it over the next few weeks if anyone wants a read: https://speeduino.com/Speeduino_mx5.pdf
(Or alternatively the wiki version: https://speeduino.com/wiki/index.php/MX5_PNP)

Ohhh and the launch control input is working now too, as suspected I did have to disconnect the neutral switch.

Drezi 06-11-2017 10:47 PM

I am interested in buying a test unit. x)

What is the connector you are using for tuning? looks like a printer cable. hopefully that means a more secure connection over a db9. (and by secure i mean not falling out while driving.

noisymime 06-11-2017 10:55 PM


Originally Posted by Drezi (Post 1421158)
I am interested in buying a test unit. x)

What is the connector you are using for tuning? looks like a printer cable. hopefully that means a more secure connection over a db9. (and by secure i mean not falling out while driving.

You mean the USB one for connecting to a laptop? It's just standard USB-B, same as you get on many different peripherals (Printers included).

Drezi 06-11-2017 11:45 PM

Just different from the mega squirt and hydra ecus which are the only two i have used. I will probably prefer a usb-b anyway. :)

Will an order page be on the website for the beta runs soon?

ghia nut 06-19-2017 12:27 PM

noisymime, you have a pm :)

Drezi 07-08-2017 07:58 PM

Has the beta production run been finished or is it close? Any updates?

noisymime 07-09-2017 08:17 AM

1 Attachment(s)

Originally Posted by Drezi (Post 1426489)
Has the beta production run been finished or is it close? Any updates?

The boards arrived last Friday and I'm just doing some quick testing before finalising orders for them :)

Assuming there's no issues, I'll do a much larger batch within a few months. Everything has been running great on my car for a while now though, so hopefully there shouldn't be any major issues.

Not very exciting, but I finished up all the faceplates the other day :D

Attachment 237089

bhop_alex 07-17-2017 02:31 PM

I'm interested, are the beta slots filled?

ghia nut 07-18-2017 07:56 AM

Still interested here as well. Money is ready to go!

noisymime 07-18-2017 12:08 PM

I'm just finalising things at the moment and prodding people who had mentioned they were interested previously to make sure they're actually going to pay. I'll post back in about a week, but there will be a few available.

noisymime 07-23-2017 08:00 AM

1 Attachment(s)
Hardware all set and ready to go. I'll be making the final firmware changes over the next day or so and then will be contacting those who have expressed interest.

Attachment 237084

Assuming all goes well in the beta testing, a larger run will be coming in around 2 months.

esper 07-24-2017 06:57 AM

I'm interested in buying one! This looks great!

I like your documentation so far. Its a simple thing, but it shows your attention to detail and understanding of the end-user. It makes me think the rest of it will be that way too. In the absence of any other evidence so far. :bigtu: I'm still willing to be an early adopter, though.

Reading this thread from the beginning, I didn't guess that you'd make them for the rest of us. Thanks.

ghia nut 08-02-2017 10:33 AM

?
 
Any updates?

noisymime 08-02-2017 10:51 AM

Ok, I've replied to all those that have expressed interest now with the details.

I have 1 unit left from someone who decided not to order until the production units are ready, so if there's anyone else interested just shoot me a PM :)

noisymime 08-02-2017 10:52 AM

Ohhh and as an update on the actual units, the first of these went out last week and 1 user is up and running already!

ghia nut 08-02-2017 10:58 AM

Ordered and paid.

crash12190 09-26-2017 10:53 AM

Intrested in Early Adoption
 
I am also interested in early adoption or purchasing one outright, I like the arduino over the MegaSquirt

noisymime 10-16-2017 10:25 PM

Just a quick update. Everything seems to have gone fairly well with the initial beta run. I believe most people are now up and running (at least out of those that have tested it) :skid:

I've decided to do a second beta run though, just to improve a few things here and there. The differences are:
  • Fuel pump circuit has been changed and now uses a beefed up smart FET. The circuit in the Beta 1 units works fine, but the polyfuse I had added to try and prevent damage if someone forgets to remove the ST_SIG fuse hasn't worked as intended. This change should mean that the circuit remains protected in that instance
  • A dedicated fan control circuit has been added
  • Cuttable traces added to allow conversion to sequential fuel for anyone who wants to run the wires
These have been sent off this week for production, meaning they're probably about 3 weeks away. It'll be another run of 10, but assuming no issues I will begin a much larger production run shortly after that.
If anyone is interested in one of these, shoot me a PM and I'll reserve one for you. Price will be $180USD + postage
(I've decided the final retail price will be $200USD, so the beta runs are slightly cheaper than this)

Vengeful Frog 10-26-2017 10:41 PM

Cool stuff, nice to see this isn't dead.
Have you had any issues with the speed limit of 16Mhz?
Thought of going ARM?

PAdutch 10-27-2017 10:14 AM


Originally Posted by noisymime (Post 1446037)
Just a quick update. Everything seems to have gone fairly well with the initial beta run. I believe most people are now up and running (at least out of those that have tested it) :skid:

I've decided to do a second beta run though, just to improve a few things here and there. The differences are:
  • Fuel pump circuit has been changed and now uses a beefed up smart FET. The circuit in the Beta 1 units works fine, but the polyfuse I had added to try and prevent damage if someone forgets to remove the ST_SIG fuse hasn't worked as intended. This change should mean that the circuit remains protected in that instance
  • A dedicated fan control circuit has been added
  • Cuttable traces added to allow conversion to sequential fuel for anyone who wants to run the wires
These have been sent off this week for production, meaning they're probably about 3 weeks away. It'll be another run of 10, but assuming no issues I will begin a much larger production run shortly after that.
If anyone is interested in one of these, shoot me a PM and I'll reserve one for you. Price will be $180USD + postage
(I've decided the final retail price will be $200USD, so the beta runs are slightly cheaper than this)

I am amazed at the progress of this. I am not a computer guy so this stuff really boggles my mind. This is some great work noisymime.

Have any of the beta unit cars been fully tuned/in use/etc?

noisymime 10-27-2017 04:05 PM


Originally Posted by PAdutch (Post 1448129)
I am amazed at the progress of this. I am not a computer guy so this stuff really boggles my mind. This is some great work noisymime.

Have any of the beta unit cars been fully tuned/in use/etc?

Not sure if any have gone to the dyno for tuning, but I know at least 2 of them are being used on daily drivers. I did a lot of work over the last 2 months to improve the starts etc, but it's quite civilised now for daily use :)

noisymime 10-27-2017 04:59 PM


Originally Posted by Vengeful Frog (Post 1448072)
Cool stuff, nice to see this isn't dead.
Have you had any issues with the speed limit of 16Mhz?
Thought of going ARM?

Not really, just a matter or writing things carefully.

That said, the code is cross compilable for the Kinetis (K65) MCUs (Think Teensy 3.5) and support is being added for stm32 currently (Though these are a bit more limited). As it stands though, there aren't any extra features for those as there's nothing the Mega can't run.

Vengeful Frog 11-01-2017 10:33 PM

I think that's damn impressive then for what you have it doing, you're a far better coder than I am. Well done.

noisymime 01-02-2018 05:46 PM

So after a couple of delays (Thanks Customs!) the beta 2 units are finally ready to go. I've sent an email out to those who were on the beta list, so these should be all going out shortly.

Simply because the question of ARM procs was asked above, this might be of interest:

Drezi 01-02-2018 06:11 PM


Originally Posted by noisymime (Post 1459650)
So after a couple of delays (Thanks Customs!) the beta 2 units are finally ready to go. I've sent an email out to those who were on the beta list, so these should be all going out shortly.

Was it a batch of 10 again? Also how many have been claimed out of how many produced? I may be interested in another unit some time in the near future. I also have had a bunch of people who are also interested. You should definitely update the speeduino website with a page to post progress, sign up for mailing, post info, etc.

noisymime 01-08-2018 10:56 PM


Originally Posted by Drezi (Post 1459655)
Was it a batch of 10 again? Also how many have been claimed out of how many produced? I may be interested in another unit some time in the near future. I also have had a bunch of people who are also interested. You should definitely update the speeduino website with a page to post progress, sign up for mailing, post info, etc.

Yes, just another small batch to verify the changes (Which all seem to be fine in my own personal testing).
I'm preparing the design files for a larger run now and will pull the trigger on this as soon as I get some feedback on this batch.

Send me through a PM as I've got 1-2 of these spare if you're interested.

huesmann 01-10-2018 03:44 PM

Question: do you need a wideband to get one of these running?

noisymime 01-10-2018 04:12 PM


Originally Posted by huesmann (Post 1461131)
Question: do you need a wideband to get one of these running?

No, but it does help immensely with tuning. Given the prices of them these days (You can get a controller and sensor for $100 USD) I would strongly recommend it, but there certainly not mandatory.

UrbanSoot 01-10-2018 04:42 PM

Just saw this for the first time and this is awesome! Will be following the project and waiting for v2 :party:

ghia nut 01-21-2018 08:23 PM

So initially installed speeduino, wife laid off and needed her Miata to get through the layoff and I put the stock ecu back in.
just reinstalled and after working with the unit a bit it idles ok.
Original idle was Stoopid pig ass rich, like so rich i may have to clean the plugs.
So far I'm really pleased with it.
My friend that's a tuner, who would tell Jesus the correct way to make wine, is going to mess with it Tuesday so he may or may not complain about it.

So far from my perspective two thumbs up!!!

lsdlsd88 01-22-2018 06:25 AM

anyone would share a "roughly fine" MSQ for speeduino with 1.6 miata?

noisymime 01-23-2018 12:10 AM


Originally Posted by lsdlsd88 (Post 1462902)
anyone would share a "roughly fine" MSQ for speeduino with 1.6 miata?

There's a base tune for this setup included in the firmware bundle ('Base tunes' directory)

lsdlsd88 01-23-2018 12:47 PM


Originally Posted by ghia nut (Post 1462843)
Original idle was Stoopid pig ass rich, like so rich i may have to clean the plugs.

so is this behaviour to be expected on a base map and mostly stock engine?

Because the meaning of base map can be very different.

ghia nut 01-27-2018 02:37 PM

It's a bit rough
 

Originally Posted by lsdlsd88 (Post 1463172)
so is this behaviour to be expected on a base map and mostly stock engine?

Because the meaning of base map can be very different.

Having some interesting issues.
We tuned all day yesterday and got it running fantastic.
Adjusted spark tables. Had knock ears on. Very pleased with it. Pulled great. Responded well. Went home and cold or hot won't start for shit unless you peg the throttle bad.

The start up is an absolute nightmare on this currently and the ability to tune this is kinda wacky as the normal tables you would expect with a Ms are not the same.
My tuner tried to plug in correct values for the fuel injectors and it went South so I reverted it. I've gotten it to idle back so it's been touch and go.
Will report report back.
currently using Gm iat
Auto trans tb with v tps
spartan wb correctly setup
All wired per manual.

lsdlsd88 01-27-2018 03:08 PM

plugged in mine today also!

I think I will fiddle a little bit with the idle screw because right now it starts quickly if i press the throttle just a bit, but does not like starting with 0% tps.

about the mapping itself I still have to wire up the wideband, iat, and run the vacuum hose NOT through the passenger window so it will take me a while to get really ready ;)

ghia nut 01-27-2018 06:08 PM

Finally updated the firmware so we know how to do that now.

Think we may start back from scratch.
Im just happy we have it running again.

The biggest issue we have is start up and cranking settings as it is super duper pig rich.
WUE
Acceleration enrichment
Also any help info with idle control either the idle switch or idle air control valve.
We can take care of the rest of the tune.

noisymime 01-27-2018 07:23 PM

If you're able to post your current tune and a matching log of it starting, running, Accel enrich etc, that will give me an idea of what's going on.

Generally with the idle, I've found on the cars i've worked on that I haven't need to modify the screw too much, if at all. The IACV in these things is fairly easy to tune and I'd recommend going with open loop for it unless you really have a reason not to. You'll save yourself a heap of time. At 0% duty, the valve is partially open as a fail safe mechanism, and is not fully closed until about 35% DC. I've found that have 0% duty when cold, raising up to this 35-40% DC mark when warm works really well and should give an idle that drops from ~1100rpm when cold to about 800rpm once warmed up.

ghia nut 01-29-2018 12:36 PM

I think we made some base assumptions that bit us in the fanny on this one.
I just compared the original base tune to the new base tune from the Dec 17 firmware update.
There were some changes, small but hoping significant.
Also I'm now assuming this is to be used or started with the stock Miata afm in place right? Given that the new air intake vs stock is more efficient this would cause some headaches (running under load isn't horrible to tune due to ve analyze live, but anything down low may be problematic)
We started with a cold air intake and gm iat so this may have added to the learning curve on our end.

Going to write the new base tune with correct sensor scales and see what happens tonight then go from there.

noisymime 01-29-2018 04:42 PM


Originally Posted by ghia nut (Post 1464307)
Also I'm now assuming this is to be used or started with the stock Miata afm in place right? Given that the new air intake vs stock is more efficient this would cause some headaches (running under load isn't horrible to tune due to ve analyze live, but anything down low may be problematic)

Yes, that base tune was done on an essentially completely stock NA6. AFM remained in place and the original IAT was used, the only changes were the VTPS and the wideband. If you've changed your inlet then that will definitely account for some of the differences.


All times are GMT -4. The time now is 06:21 AM.


© 2024 MH Sub I, LLC dba Internet Brands