Arduino as ECU? - Page 13 - 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 10-23-2011, 02:36 PM   #241
Boost Pope
iTrader: (8)
 
Joe Perez's Avatar
 
Join Date: Sep 2005
Location: Delicious and Moist.
Posts: 26,328
Total Cats: 1,926
Default

Propeller is a pretty cool chip. I've actually had a devboard sitting here for about a year, and haven't gotten around to doing anything with it.
Joe Perez is offline   Reply With Quote
Old 10-23-2011, 11:26 PM   #242
Elite Member
 
Join Date: Jul 2005
Posts: 6,454
Total Cats: 80
Default

MAP to MAF conversion.

Search for my post with the mathematical curve fit, for a 99 motor. MAF voltage is a fucntion of MAP and RPM.
JasonC SBB is offline   Reply With Quote
Old 10-23-2011, 11:43 PM   #243
Elite Member
iTrader: (10)
 
Join Date: Oct 2008
Location: Seattle, Wa
Posts: 1,780
Total Cats: 30
Default

Quote:
Originally Posted by Joe Perez View Post
Propeller is a pretty cool chip. I've actually had a devboard sitting here for about a year, and haven't gotten around to doing anything with it.
I was hoping to get started playing with mine this weekend, but in trying to modify my ftdi breakout board to work with both 3 and 5 volt systems, I managed to rip the super tiny 3v smt pad right off the board . Looks like I'll start next weekend :(
Jeff_Ciesielski is offline   Reply With Quote
Old 01-06-2012, 09:44 PM   #244
Newb
 
Join Date: Jan 2012
Posts: 1
Total Cats: 0
Default

Quote:
Originally Posted by ctxspy View Post
http://lmgtfy.com/?q=what+does+a+cas+do+on+a+miata

are you just trying to build up your post count??
having read your other posts (all on this thread) I can only imagine you're a non-miata guy and you joined this forum because of this thread. That said, please spend 5 minutes before posting questions to do basic research.
Egads, you just made me feel bad a year later for just joining these forums because of this thread. (building myself a Locost 7 using many Miata parts off of a wrecked non-turbo, a way to save a great car which served me well for many years)

But I do have an Arduino, three of them in fact (a Mega and two Uno) and am a hardware guy. I was reading this thread and got interested.
downix is offline   Reply With Quote
Old 01-06-2012, 09:49 PM   #245
Junior Member
 
Join Date: Jul 2005
Location: Hillsborough, NC
Posts: 273
Total Cats: 0
Default

Quote:
Originally Posted by blade8r View Post
the rpm enrichment is probably a mechanical design. the wind that is passes through the afm will kick back the plate initially further then the air that is passing through was suppose to be at. it's all inertia i would assume. because it levels out real quick

i'm mean we are talking about a small albeit minor flac that the afm

also a question for whoever had made this graph... did you swap into a full range tps? also can you get us a read out of what it looks like to be 3 k rpm 5th gear cruising down the freeway. i think that's the most important thing about our cars.
Sorry... 6 months later and I just noticed the response. No, that is the OEM 1.6 TPS. I modified the code so that it reads like a three-way switch: 0-50-100% (no throttle-partial throttle-full throttle). Do you still need data from cruising down the highway?
JustinHoMi is offline   Reply With Quote
Old 01-28-2012, 08:21 AM   #246
Newb
 
Join Date: Apr 2010
Posts: 10
Total Cats: 0
Default

woot sorry for the late response myself. i decided to give up on the arduino as an ecu subject. it seems the capability of the unit itself is limited. i also don't have the knowledge to write the code for it. i guess i was just brain storming to see if it's possible. i actually was more interested in it as afm eliminator.

but however i still have no experience in coding.
blade8r is offline   Reply With Quote
Old 03-20-2013, 04:35 PM   #247
Newb
 
Join Date: Mar 2013
Posts: 1
Total Cats: 0
Default Is this thread still alive?

I happened to stumble across this forum and post way too late in dev, I have a 91 miata I am trying to use an arduino to control or replace my ecu all together, I have roughly read all of the posts but got lost alittle here and there... so did bloodline loose all interest in using the arduino altogether
91luckymiata is offline   Reply With Quote
Old 03-20-2013, 04:53 PM   #248
Junior Member
 
Join Date: Sep 2010
Location: London, England
Posts: 91
Total Cats: 0
Default

Quote:
Originally Posted by 91luckymiata View Post
I happened to stumble across this forum and post way too late in dev, I have a 91 miata I am trying to use an arduino to control or replace my ecu all together, I have roughly read all of the posts but got lost alittle here and there... so did bloodline loose all interest in using the arduino altogether
Like most unpaid complex projects, real life got in the way. My final code used the ATMega328's counter/timers to generate the spark timing, so left a lot of CPU time free for more complex stuff like interpolation between points in the timing and fuelling tables... I will have to dig the code out when I get some more free time and think more seriously about building some hardware for it
bloodline is offline   Reply With Quote
Old 03-20-2013, 05:08 PM   #249
Elite Member
iTrader: (1)
 
Leafy's Avatar
 
Join Date: Jun 2012
Location: NH
Posts: 9,093
Total Cats: 90
Default

Reading a good bit of this thread before I realized it was ancient got me thinking. Trying to use an arduino as a full ecu seems like a bit of a stretch and we're already got good affordable solutions for that already. If there was an arduino variant with 4 high current pwm drivers and 4 vr/hall inputs it would be interesting to try to make a motorsports abs/traction control system with it. Race logic traction control's price isnt too outrageous, but a motorsports abs system is around $10k.
Leafy is offline   Reply With Quote
Old 03-20-2013, 05:12 PM   #250
Elite Member
iTrader: (3)
 
AbeFM's Avatar
 
Join Date: Aug 2006
Location: San Diego, CA
Posts: 3,048
Total Cats: 8
Default

As Jason said, check out DIYEFI - there's something with a lot of groundwork laid, a few running cars, and all very, very open source.
AbeFM is offline   Reply With Quote
Old 03-20-2013, 09:03 PM   #251
Junior Member
 
Join Date: Sep 2010
Location: London, England
Posts: 91
Total Cats: 0
Default

Quote:
Originally Posted by downix View Post
Egads, you just made me feel bad a year later for just joining these forums because of this thread. (building myself a Locost 7 using many Miata parts off of a wrecked non-turbo, a way to save a great car which served me well for many years)

But I do have an Arduino, three of them in fact (a Mega and two Uno) and am a hardware guy. I was reading this thread and got interested.
Hey Nate, it's been a long time since I've seen you, not since the Amiga.org days
bloodline is offline   Reply With Quote
Old 05-14-2013, 06:09 AM   #252
Newb
 
Join Date: May 2013
Posts: 1
Total Cats: -1
Default

Welcome
I'm new here, I read the whole topic and do not understand the arduino inputs and outputs: (maybe someone could write about?
Beghemas is offline   Reply With Quote
Old 01-14-2014, 11:10 AM   #253
Junior Member
 
Join Date: Sep 2010
Location: London, England
Posts: 91
Total Cats: 0
Default

Latest 8bit Arduino code here:

https://sourceforge.net/projects/mia...ataBrain_v3.1/

Will post up 32bit ARM code at some point.
bloodline is offline   Reply With Quote
Old 02-25-2014, 09:20 AM   #254
Newb
 
Join Date: Jun 2009
Location: Dallas, TX
Posts: 17
Total Cats: 0
Default

whizbang18T is offline   Reply With Quote
Old 06-14-2014, 08:48 AM   #255
Newb
 
Join Date: Jun 2014
Posts: 3
Total Cats: 0
Default

Hi Guys would just like to know how many crank angle sensor pulses to cam sensor like 4 crank pulses to 1 cam pulse? i am having trouble getting my prototype board running right leds arnt flashing right and d13 is flashing thanks my version of code is the lastest 3.1 thanks
mrhrholden is offline   Reply With Quote
Old 06-14-2014, 12:05 PM   #256
Elite Member
 
Join Date: Jul 2005
Posts: 6,454
Total Cats: 80
Default

NA and NB motors have different cam pulse patterns.
NA are like the old Mitsu motors that have 4 crank pulses per crank revolution.
Search this forum for my posts on the VVT setup. The NB non-VVT and VVT have the same cam pattern, just that the latter moves around.
JasonC SBB is offline   Reply With Quote
Old 06-14-2014, 09:47 PM   #257
Newb
 
Join Date: Jun 2014
Posts: 3
Total Cats: 0
Default arduino crank and cam simulator

thanks mate just programing another arduino as the crank angle sensor to trigger the arduino efi
thanks will have a look


QUOTE=JasonC

SBB;1139942]NA and NB motors have different cam pulse patterns.
NA are like the old Mitsu motors that have 4 crank pulses per crank revolution.
Search this forum for my posts on the VVT setup. The NB non-VVT and VVT have the same cam pattern, just that the latter moves around.[/QUOTE]
mrhrholden is offline   Reply With Quote
Old 06-15-2014, 08:31 AM   #258
Newb
 
Join Date: Jun 2014
Posts: 3
Total Cats: 0
Default arduino crank simulator

Hi i have been playing around with a arduino simulating a crank and cam signals to drive this ecu and just cant seem to get the code right does anybody have a arduino code that cold help me out thanks
mrhrholden is offline   Reply With Quote
Old 09-10-2014, 03:50 PM   #259
Newb
 
Join Date: Sep 2014
Posts: 3
Total Cats: 0
Default

Hi, does anybody know what formula you can use for calculating the time injection using Arduino as an ECU?
Many thanks in advance.
klax187bz is offline   Reply With Quote
Old 09-10-2014, 04:15 PM   #260
Elite Member
iTrader: (9)
 
TurboTim's Avatar
 
Join Date: Jun 2006
Location: Chesterfield, NJ
Posts: 6,485
Total Cats: 248
Default

y=mx+b
TurboTim 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 11:40 PM.