corsepervita
corsepervita Reader
2/3/17 2:17 a.m.

I did get the megasquirt fired up tonight. Recognized, firmware updated, required fuel set, first fuel map set, injector firing set, and all the basic variables.

GPz11
GPz11 Reader
2/3/17 6:02 a.m.

Congrats, one step closer to hearing it fire up! Always a good feeling

corsepervita
corsepervita Reader
2/3/17 10:50 a.m.
GPz11 wrote: Congrats, one step closer to hearing it fire up! Always a good feeling

Definitely was a good feeling firing up the megasquirt and getting everything updated. Also, it's been a long time since I updated tuner studio. Man it looks all kinds of different now, i dig it!

Stefan
Stefan MegaDork
2/3/17 11:32 a.m.

In reply to corsepervita:

Some of the dashboards and gauges people have created are pretty awesome.

corsepervita
corsepervita Reader
2/3/17 11:42 a.m.
Stefan wrote: In reply to corsepervita: Some of the dashboards and gauges people have created are pretty awesome.

I really love tuner studio. I've seen that some people have apparently been experimenting with raspberry pi and arduino on gauges and what not, which is also pretty cool.

Stefan
Stefan MegaDork
2/3/17 12:01 p.m.

In reply to corsepervita:

Yeah, they run the IX version of TunerStudio on RPi with a small LCD screen.

So it boots up, loads TS which is configured to start fullscreen with the selected gauge set.

Harder than it sounds, but not too bad. I've played with it a little, but need to figure out how to get the java script to start automatically so that TS will run.

Since its so lightweight and has no spinning drives, its pretty robust and quick to boot. Add in a circuit to safely shut it down once the power is removed and you'll have less issues with corrupted SD cards.

Some have also looked at running Android on RPi so they could run MSDash.

Arduino would be faster to boot and great for specific gauges, but I'm not sure it would run TunerStudio or Android.

corsepervita
corsepervita Reader
2/3/17 12:05 p.m.
Stefan wrote: In reply to corsepervita: Yeah, they run the IX version of TunerStudio on RPi with a small LCD screen. So it boots up, loads TS which is configured to start fullscreen with the selected gauge set. Harder than it sounds, but not too bad. I've played with it a little, but need to figure out how to get the java script to start automatically so that TS will run. Since its so lightweight and has no spinning drives, its pretty robust and quick to boot. Add in a circuit to safely shut it down once the power is removed and you'll have less issues with corrupted SD cards. Some have also looked at running Android on RPi so they could run MSDash. Arduino would be faster to boot and great for specific gauges, but I'm not sure it would run TunerStudio or Android.

I would like to learn how to utilize the USB on mine. Or bluetooth. I've read that MS3 can do these things, and I have USB on my MS3, and a few other bells and whistles I've never seen or used before on megasquirt. I'll have to RTFM this weekend on it all.

corsepervita
corsepervita Reader
2/3/17 12:24 p.m.

Ok just RTFM'd on the USB bit, apparently it is actually a serial on the inside to USB, so it's basically it's own USB to serial built into the MS3 but still has a serial port for those who prefer it.

Going to try that when I get home because it's a lot better than my current serial adapter which has been errrrr... modified...

hhaase
hhaase Reader
2/3/17 12:24 p.m.

USB on mine was very easy. If you already have the MS3 firmware installed it should be able to just plug and go with the USB.

Bluetooth will require an additional module added on. Lots of options for that but I haven't done anything yet on mine for that.

corsepervita
corsepervita Reader
2/3/17 12:27 p.m.
hhaase wrote: USB on mine was very easy. If you already have the MS3 firmware installed it should be able to just plug and go with the USB. Bluetooth will require an additional module added on. Lots of options for that but I haven't done anything yet on mine for that.

Yeah I tried it /before/ the firmware was updated and couldn't figure it out. Then updated and used serial. I'll give it another go tonight. My main goal tonight once I get home is:

  • Glass of scotch
  • Wire sensors into harness
  • Wire up and test TPS
  • Smoke a cigar
  • Wire more sensors and test wideband
  • More scotch
  • Calibrate sensors
  • Maybe another cigar then play some video games.
thepope540
thepope540 Reader
2/3/17 2:31 p.m.

Be careful with firmware updates and rev limits. I turned an engine to mince meat after updating firmware once. The rest of the map still looked great but for some reason the rev limit reset itself to 16000 rpm. my valves met my pistons rather catastrophically at around 9k as I broke traction in 2nd gear and it spun faster than my brain reacted...

corsepervita
corsepervita Reader
2/3/17 3:04 p.m.
thepope540 wrote: Be careful with firmware updates and rev limits. I turned an engine to mince meat after updating firmware once. The rest of the map still looked great but for some reason the rev limit reset itself to 16000 rpm. my valves met my pistons rather catastrophically at around 9k as I broke traction in 2nd gear and it spun faster than my brain reacted...

Yowza!

codrus
codrus SuperDork
2/3/17 3:05 p.m.
corsepervita wrote: I really love tuner studio. I've seen that some people have apparently been experimenting with raspberry pi and arduino on gauges and what not, which is also pretty cool.

A friend and I have been building an MS3/arduino gauge display on my Miata. CANbus from the MS3 to an arduino, then that drives an itead "Nextion" display over serial. It works quite well, except that the display is hard to see in direct sunlight.

codrus
codrus SuperDork
2/3/17 3:07 p.m.
Stefan wrote: Arduino would be faster to boot and great for specific gauges, but I'm not sure it would run TunerStudio or Android.

An Arduino is an 8-bit micro controller with 8K of ram (and that's in the "mega" version). So no, it's not going to run TS or Android. :)

corsepervita
corsepervita Reader
2/3/17 3:20 p.m.
codrus wrote:
corsepervita wrote: I really love tuner studio. I've seen that some people have apparently been experimenting with raspberry pi and arduino on gauges and what not, which is also pretty cool.
A friend and I have been building an MS3/arduino gauge display on my Miata. CANbus from the MS3 to an arduino, then that drives an itead "Nextion" display over serial. It works quite well, except that the display is hard to see in direct sunlight.

See, now this is the kind of E36 M3 I just love. I love playing with microcontrollers. I've found NO ONE who can repair my Jaeger gauges, so I'm gutting mine out and doing a step motor speedometer driven off an arduino and GPS. I love hearing about other people and their projects.

That kind of DIY stuff is fascinating because there's so much you can do to customize.

Any pics?

codrus
codrus SuperDork
2/3/17 4:44 p.m.
corsepervita wrote: Any pics?

Sure. :)

Here's the Arduino in the case, with CAN board (top right), three thermocouple modules (bottom right, two of them are stacked vertically), real-time clock (left), and a teeny weeny power supply in the middle:

Here's the display mounted in the dash. The panel is acrylic, we cut it on the laser cutter at TechShop. The Arduino drives the display and the LEDs down the left, the center knob is for boost levels, and the one on the right is connected to the RaceLogic traction control system. The top-right button turns on the DL1 GPS/gyro/etc data logger.

corsepervita
corsepervita Reader
2/3/17 4:53 p.m.

That is so cool! It's very small and compact, I love it! I also love that you've got a "datalog" button in there.

Sanchinguy
Sanchinguy Reader
2/3/17 7:59 p.m.

Gotta ask: "kittens"?

corsepervita
corsepervita Reader
2/3/17 10:11 p.m.
Sanchinguy wrote: Gotta ask: "kittens"?

Huh?

Stefan
Stefan MegaDork
2/3/17 11:22 p.m.
corsepervita wrote:
Sanchinguy wrote: Gotta ask: "kittens"?
Huh?

Third LED down on the left.

codrus
codrus SuperDork
2/3/17 11:31 p.m.
Stefan wrote:
corsepervita wrote:
Sanchinguy wrote: Gotta ask: "kittens"?
Huh?
Third LED down on the left.

"Warning", "Critical", "Kittens". Seems like a logical progression to me. :)

I will admit that the traction control active LED is implicitly part of that sequence and it doesn't really fit in, but I didn't have anywhere else to put that LED.

(also, the miataturbo.net forum has a bit of cat fetish going on)

corsepervita
corsepervita Reader
2/4/17 12:43 a.m.

Wow I didn't even see that. LOL

Frank_and_Beans
Frank_and_Beans New Reader
2/4/17 8:47 a.m.

Since your MS3 should be able to drive ignition coils, why not ditch the rusty and questionable distributor, and use a set of GM V8 truck coil near plug coils? They can be had for relatively cheap at the junkyard (~$100-150 for a set of 8), are reliable, provide great spark, and are easy to hook up. Just need to make a custom bracket to attach them. They may be slightly ugly though.

I have converted both of my miatas to run on these coils.

corsepervita
corsepervita Reader
2/4/17 11:03 a.m.
Frank_and_Beans wrote: Since your MS3 should be able to drive ignition coils, why not ditch the rusty and questionable distributor, and use a set of GM V8 truck coil near plug coils? They can be had for relatively cheap at the junkyard (~$100-150 for a set of 8), are reliable, provide great spark, and are easy to hook up. Just need to make a custom bracket to attach them. They may be slightly ugly though. I have converted both of my miatas to run on these coils.

as I've mentioned before, using the stock ignition is just to get me by for dyno day. After that I'm going to do wasted spark. If things continue at this pace I'm looking at end of the week for dyno day.

corsepervita
corsepervita Reader
2/4/17 5:41 p.m.

Ok guys and gals. I GOT THE TRIGGER WORKING.

Finished rebuilding distributor, put in new pickup coil, checked signal... and found that by default, the megasquirt 3 has some preset trigger settings. I couldn't figure out why after 100pm it'd get out of rpm sync and stop reading it. Turns out that you need to go into the ignition/decoding settings, change the pickup type, change your trigger settings, powercycle the megasquirt after you burn them, and boom, it'll work.

So I tore the old connectors apart for the old distributor signal wire, took the connectors out, put new connectors in, wired up some new pigtails, wired it to the megasquirt... turned the distributor over by hand and whammo, signal.

Time for an afternoon glass of scotch and a cigar to celebrate. I got a lot done on it today.

You'll need to log in to post.

Our Preferred Partners
IlojaKD8j2ZlKLN60ipBfgUwZTuYCysuGBRG2OCl3TS1Z1NWc9ErLSVCOA8QI5sF