The MegaSquirt Project has experienced explosive growth other the years, with hundreds of new MS installations occurring every week - a phenomenal success! MegaSquirt has been successfully used in all aspects of Internal Combustion engine applications including R&D, Industry, Race, and Research. The MS project has transformed itself from a simple R&D project into a full-featured mature engine control system. To reflect this the support structure has also changed to meet the needs of MegaSquirt Users.
Moving forward, the R&D forums for MegaSquirt project are in a read-only mode - no new forum posts are accepted.
However the forums will remain available for view, they still contain a wealth of information on how MegaSquirt works, how it is installed and used. Feel free to search the forums for information, facts, and overview. While the R&D forum traffic has slowed in recent years, this is not at all a reflection of Megasquirt users, which continue to grow year after year. What has changed is that the method of MegaSquirt support today has rapidly moved to Facebook, this is where the vast majority of interaction is happening now. For those not on Facebook the msextra forums is another place for product support. Finally, for product selection assistance, all of the MegaSquirt vendors are there to help you select a system, along with all of the required pieces to make it complete.
This forum is for discussion of MicroSquirt (TM) from Bowling and Grippo. The MicroSquirt information site is at www.usEasyDocs.com
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.
In the instructions on the ms2 board about the pwm idle, it states that 0% is no current, and 100% is full current. During stim testing mine appears to be reversed (@ 100% duty cycle my fidle led is not lit, and as you lower the duty cycle it gets brighter). Is there a paramter I can change to reverse that? I notice in the port settings, you can choose if making a statement "true" grounds a circuit, or "false" grounds a circuit. Can the same be done with pwm idle? If nothing is wrong with it, I can just go from 0% cold to 100% warm, instead of the other way around.
Are you using the standard FIdle transistor? Sometimes these work 'backwards' if the MegaSquirt has seen reverse voltage, even momentarily. this can happen from spikes in the 12V supply, or from accidentally touching the 9V battery the wrong way around to the connector (it won't snap into place, but can supply reverse voltage).
The problem is that while the damaged transistor is sufficient to operate an LED, it is not sufficient to drive a relay or PWM valve.
What I would do is set the idle control to On/Off, and verify that the FIdle LED works as expected. If it is still backwards, the transistor is very likely damaged.
I have tried it with 3 different transistors(1 in the proto area, and then when I moved it to the heat sink I didn't like the way my jumper wires looked, so I unsoldered it and the jumpers and went for a 3rd transistor). So if something is damaged i doubt it is the transitor. I am using a tp120 darlington for pwm. I guess maybe I need to hook it up to an actual idle valve and see if it works.
I just tried mine with 2.33 code and PWM selected, with 0 in the bottom bins, up to 100% at 160°F (and the standard transistors). This works as expected - the stim FIdle LED is brighter when 'warmer', dimmer when 'cooler'.
What do you have for % values in your bins? are they small at low temps, rising to 100% at high temps?
At 0% my light is on, and at 100% my light is off. Currently I have low numbers when cool, high numbers when warm. My concern is my circuit is behaving "backwards" of how it sounds yours is. I can make the light act like I want it, but if there is something wrong that will make it not capable of driving the IAC valve then I need to figure it out and fix it. I have checked and double checked this part of the install, changed transistors 3 times, and everything else appears to be working fine.
I think that the confusion is caused by the way PWM fidle valves work. The high side of the valve is connected to 12 volts, the low side to the collector of the filde transistor. The transistor grounds the valve when it is turned on, opening the valve. In this configuration the settings in the bins are in percent closed. I put 100% in the hottest bin and smaller numbers as the bins get cooler. With these settings the LED on the stim dims as the temperature rises.
Yes, it does sound backwards to mine. The docs describe the way mine behaves (I have tried this on a number of units, but haven't tried it with the TIP120 yet).
I think you'll have to try an actual valve to see if it works or not. There's no 'issue' with using high numer in low temp bins and vice-versa, some PWM valves require this. However, if there's a hardware problem, the valve won't move at all (which you'll find out very quickly on a real valve).
Hi,
i only tried in the car with 5 real PWM Idle valves.
All of them behaved equal.
When cranking, they are open 100%
After this, they shut down to about 20%
Ok till here.
But when the enginge gets hotter, the valve opens more, and when CLT is at 80°C, the PWM valve ist over 60% open -> 2500rpm in IDLE!!
I have changed anything in the settings, tried from 0 to 100%
100 to 0%
0 to 0% 100 to 100%
Didn't get any big change in behaviour.
Just tried it with generic port settings, and it behaved "as described". Set PM2 to fidle, coolant as the variable,greater than, threshold to 120 and hysterisis to 5. Trigger value to 1. With these settings when coolant went over 120 the light came on, so the logic isn't reversed. I have not hooked it up to a "real" valve yet though. I guess it is time to break down and drop the 60$ on my 3 bar map and put it in the car.