ECUs and Tuning Discuss Engine Management, Tuning, & Programming

Arduino as ECU?

Thread Tools
 
Search this Thread
 
Old 10-23-2011, 01:36 PM
  #241  
Boost Pope
iTrader: (8)
 
Joe Perez's Avatar
 
Join Date: Sep 2005
Location: Chicago. (The less-murder part.)
Posts: 33,038
Total Cats: 6,604
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  
Old 10-23-2011, 10:26 PM
  #242  
Elite Member
 
JasonC SBB's Avatar
 
Join Date: Jul 2005
Posts: 6,420
Total Cats: 84
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  
Old 10-23-2011, 10:43 PM
  #243  
Elite Member
iTrader: (10)
 
Jeff_Ciesielski's Avatar
 
Join Date: Oct 2008
Location: Rhode Island
Posts: 1,770
Total Cats: 31
Default

Originally Posted by Joe Perez
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  
Old 01-06-2012, 08:44 PM
  #244  
Newb
 
downix's Avatar
 
Join Date: Jan 2012
Posts: 1
Total Cats: 0
Default

Originally Posted by ctxspy
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  
Old 01-06-2012, 08:49 PM
  #245  
Junior Member
 
JustinHoMi's Avatar
 
Join Date: Jul 2005
Location: Hillsborough, NC
Posts: 273
Total Cats: 1
Default

Originally Posted by blade8r
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  
Old 01-28-2012, 07:21 AM
  #246  
Newb
 
blade8r's Avatar
 
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  
Old 03-20-2013, 03:35 PM
  #247  
Newb
 
91luckymiata's Avatar
 
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  
Old 03-20-2013, 03:53 PM
  #248  
Junior Member
 
bloodline's Avatar
 
Join Date: Sep 2010
Location: London, England
Posts: 91
Total Cats: 0
Default

Originally Posted by 91luckymiata
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  
Old 03-20-2013, 04:08 PM
  #249  
Elite Member
iTrader: (1)
 
Leafy's Avatar
 
Join Date: Jun 2012
Location: NH
Posts: 9,479
Total Cats: 104
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  
Old 03-20-2013, 04:12 PM
  #250  
Elite Member
iTrader: (3)
 
AbeFM's Avatar
 
Join Date: Aug 2006
Location: San Diego, CA
Posts: 3,047
Total Cats: 12
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  
Old 03-20-2013, 08:03 PM
  #251  
Junior Member
 
bloodline's Avatar
 
Join Date: Sep 2010
Location: London, England
Posts: 91
Total Cats: 0
Default

Originally Posted by downix
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  
Old 05-14-2013, 05:09 AM
  #252  
Newb
 
Beghemas's Avatar
 
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
Leave a poscat -1 Leave a negcat
Old 01-14-2014, 10:10 AM
  #253  
Junior Member
 
bloodline's Avatar
 
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  
Old 02-25-2014, 08:20 AM
  #254  
Newb
 
whizbang18T's Avatar
 
Join Date: Jun 2009
Location: Houston, TX
Posts: 17
Total Cats: 0
Default

Arduino Blog » Blog Archive » An electronic diesel engine controlled with Arduino Mega
whizbang18T is offline  
Old 06-14-2014, 07:48 AM
  #255  
Newb
 
mrhrholden's Avatar
 
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  
Old 06-14-2014, 11:05 AM
  #256  
Elite Member
 
JasonC SBB's Avatar
 
Join Date: Jul 2005
Posts: 6,420
Total Cats: 84
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  
Old 06-14-2014, 08:47 PM
  #257  
Newb
 
mrhrholden's Avatar
 
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  
Old 06-15-2014, 07:31 AM
  #258  
Newb
 
mrhrholden's Avatar
 
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  
Old 09-10-2014, 02:50 PM
  #259  
Newb
 
klax187bz's Avatar
 
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  
Old 09-10-2014, 03:15 PM
  #260  
Elite Member
iTrader: (9)
 
TurboTim's Avatar
 
Join Date: Jun 2006
Location: Chesterfield, NJ
Posts: 6,898
Total Cats: 399
Default

y=mx+b
TurboTim is offline  


Quick Reply: Arduino as ECU?



All times are GMT -4. The time now is 12:31 AM.