v2.881 release

Forum for discussing how to install MicroSquirt(TM), choose and troubleshoot sensors, wiring, and communications for MicroSquirt (TM) and MicroSquirt Module(TM).
Forum rules
Read the manual to see if your question is answered there before posting. If you have questions about MS1/Extra or MS2/Extra or other non-B&G code configuration or tuning, please post them at http://www.msextra.com The full forum rules are here: Forum Rules, be sure to read them all regularly.
grippo
MegaSquirt Guru
Posts: 921
Joined: Mon Feb 16, 2004 6:55 pm

v2.881 release

Post by grippo »

This v2.881 release has two changes from v2.88:

1. When you load fresh code, the fuel pump and led will toggle on and off every second in addition to MT rpm bouncing from 0 to 8000. This makes it more obvious to users that soemthing needs to be done (set ECU Type), and after Bruce flashes code to new microsquirts, it lets him know the code is running correctly.

2. I also found and fixed some code problems in dual spark at very low rpms.

No ini changes are required.
Attachments
Monitor_v2.881.abs.zip
(34.88 KiB) Downloaded 62 times
main_v2.881.zip
(73.4 KiB) Downloaded 92 times
tubefan
MegaSquirt Newbie
Posts: 10
Joined: Fri Aug 31, 2007 8:51 am
Location: Munich / Germany

no access to VE and AFR tables

Post by tubefan »

Hi,

I have loaded the newest firmware into my brandnew MicroSquirt. But I have no access to the basic tables via Megatune 2.25p1.

Communication to MicroSquirt works. ECU type is set, Injection control parameters are also set except of the 'Engine type', which is not accessible too. See attached screenshots.
Attachments
Shot2.jpg
Shot2.jpg (177.36 KiB) Viewed 2108 times
Shot1.jpg
Shot1.jpg (79.77 KiB) Viewed 2109 times
Bernard Fife
Super Squirter
Posts: 1009
Joined: Mon Feb 16, 2004 3:15 pm

Post by Bernard Fife »

Be sure to get the latest code and INIs from here:

http://www.megamanual.com/ms2/code.htm

and follow the directions on that page (Al meant no INI changes are required if you are moving from the 2.88 code).

Lance.
tubefan
MegaSquirt Newbie
Posts: 10
Joined: Fri Aug 31, 2007 8:51 am
Location: Munich / Germany

no access to VE and AFR tables

Post by tubefan »

Hi,

the megasquirt-II.2.8, the settings.ini are the latest version 2.881 (just fetched them today).
I am moving not from the 2.88 version, but from 2.867 which was delivered with the MicroSquirt.

Would you suggest to start frm 2.88?

Strange is also that the software does not see the cam trigger signals (Hall sensors). The hardware is ok.
Bernard Fife
Super Squirter
Posts: 1009
Joined: Mon Feb 16, 2004 3:15 pm

Post by Bernard Fife »

tubefan,

Make sure the setting.ini is in the project \mtCfg\ sub folder. Have a look in the audit.log file in the prject directory, it will tell you which files are being used. It will be something like:

Code: Select all

r settings.ini
   + C:/Program Files/MegaSquirt/2.88/mtCfg/settings.ini
   settings.ini:0018 #group CODE_VARIANT
      settings.ini:0019 unset DFI                  (false)
      settings.ini:0020 unset DUAL_TABLE           (false)
     .....
If the correct file location is being used, then open the settings.ini file and look for two lines:

Code: Select all

#unset MAPbaro
#unset n2o
If they are not there, you might add them.

However, if they are not there, then it is very likely the megasquirt-II.ini isn't the right one (since ECUType isn't being found). So I would redownload it (you may be downloading a cached version), and either:

- rename it to megasquirt-II.ini and copy it to the project folder,

or

- download it to the C:\Program Files\MegaSquirt\MegaTune2.25\mtCfg folder, and acrtivate it using the configurator.

If you download and rename the file in the project folder, don't then activate megasquirt-II.ini.2.8 in the configurator, as this will use the old megasquirt-II.ini.2.8 from the \MegaTune2.25\mtCfg\ folder.

Lance.
tubefan
MegaSquirt Newbie
Posts: 10
Joined: Fri Aug 31, 2007 8:51 am
Location: Munich / Germany

Post by tubefan »

Lance,

that was the perfect hint. In my settings.ini the MAPbaro was set. So it was an easy fix. The tables are accessible now.

But one problem still exists: The MicroSquirt does not see the tach trigger signals, neither via OPTION+/- nor via VRIN.

Via OPTION the Hall signal toggles between 1.8V/0V. That's what I expect for a 4k7 pullup to 5V, controlled by a Hall sensor with open collector. So the hardware seems to be fine.

The wires of the VRIN are ok. But I just can check them up to the AMP connector.

What else I could check?

Tubefan
Bruce Bowling
Site Admin
Posts: 285
Joined: Mon Feb 16, 2004 4:25 pm
Location: Baltimore, MD

Post by Bruce Bowling »

tubefan wrote:Lance,

that was the perfect hint. In my settings.ini the MAPbaro was set. So it was an easy fix. The tables are accessible now.

But one problem still exists: The MicroSquirt does not see the tach trigger signals, neither via OPTION+/- nor via VRIN.

Via OPTION the Hall signal toggles between 1.8V/0V. That's what I expect for a 4k7 pullup to 5V, controlled by a Hall sensor with open collector. So the hardware seems to be fine.

The wires of the VRIN are ok. But I just can check them up to the AMP connector.

What else I could check?

Tubefan
For a Hall source, you should use the opto circuit (incorrectly named option on the wires).

Here is a quick way to check the opto circuit - tie opt+ to +12V and tap the opto- wire to ground, each tap is a tach pulse and you should see tach activity.

- Bruce
tubefan
MegaSquirt Newbie
Posts: 10
Joined: Fri Aug 31, 2007 8:51 am
Location: Munich / Germany

Post by tubefan »

Bruce,

That works.

So I have learned, that 1mA (5V / 4k7 Ohms) ist not enough to drive the Optocoupler MOC205. Can you tell me the threshold current?

Can you also tell me the threshold voltages of the VRIN and the VRIN2?

Tubefan
tubefan
MegaSquirt Newbie
Posts: 10
Joined: Fri Aug 31, 2007 8:51 am
Location: Munich / Germany

Post by tubefan »

Bruce, Lance,

Now I have applied 12V to the OPTO and VRIN2 and everything works fine. For the VRIN I am surprised that such a high trigger voltage is necessary.

Thanks for your endurance.

Tubefan
Bruce Bowling
Site Admin
Posts: 285
Joined: Mon Feb 16, 2004 4:25 pm
Location: Baltimore, MD

Post by Bruce Bowling »

tubefan wrote:Bruce, Lance,

Now I have applied 12V to the OPTO and VRIN2 and everything works fine. For the VRIN I am surprised that such a high trigger voltage is necessary.

Thanks for your endurance.

Tubefan
The VRIN2 input (the second one) has a threshold voltage of 1.8V, there is a note on this on the top of the schematic page:

http://www.microsquirt.info/schm4.gif

This should be high enough for the hall sensor. However, the saturation voltage drop of the hall's C-E needs to go below this point, it looks like the +12V source with the resulting on-current value produced this.

For the opto, it does need more than 1ma to operate. And, the LED and series diode (on the uS) drops probably 3.5 volts. Again, +12V gave the added headroom.

Also, for the opto setup, you can run the hall transistor as a series switch - since it is an open-collector (emitter grounded) you can hook the opto+ lead to +12V and the opto- lead to the collector of the hall sensor. But it sounds like you have the tach working, which is excellent!

- Bruce
Post Reply