Page 3 of 3

Re: Idle control valve pin question

PostPosted:Mon Nov 30, 2020 11:35 am
by HugoW
Well, two sandwiches, one glass of milk and a modified blink sketch later; the blink sketch sets pin 5 high (5V) and low (0V) as it should. So, D5 on the Arduino is working and it reaches R50 because that is where I measured.

In some way, the Speeduino is not sending the signal to D5. Where to look next, where are the pins assigned? Some .ini file somewhere? I have no clue, I used SpeedyLoader to get the firmware on.

Cheers,

Hugo

Re: Idle control valve pin question

PostPosted:Mon Nov 30, 2020 5:35 pm
by LAV1000
For the program that runs the speeduino;
https://github.com/noisymime/speeduino/releases
maybe try an older release.

Pin mapping is find in the speeduino "init" part and for the V0.4 board it is at about 1300.
The "idle" part is also close to it.
You do need the Arduino IDE to run this

Re: Idle control valve pin question

PostPosted:Mon Nov 30, 2020 7:52 pm
by HugoW
Thanks.

Bummer: line 1323: "pinIdle1 = 5; //Single wire idle control" So that shouldn't be the problem. I'm running out of ideas.

Hugo

Re: Idle control valve pin question

PostPosted:Mon Nov 30, 2020 8:23 pm
by dazq
Check to make sure that no other feature/output or input is attached to pin 5 as that will change its behaviour.

You could also try a total eeprom erase then reload the firmware. This has shown in the past to strangely cure a strange symptom ..

Re: Idle control valve pin question

PostPosted:Mon Nov 30, 2020 8:56 pm
by HugoW
Well, here's something funny. I didn't change anything other then flashing the Adruino to the blink sketch and reloading Speeduino via Speedyloader afterwards, and now it works. I just put the ECU in the car to check something else and upon startup I heard an unfamiliar and rather anoying humm, and the IAC works. Changing the IAC percentage changes RPM, so it really does work. I don't get it, but I'm happy non the less. Maybe indeed it was the reload.

If anyone can explain do feel free, but I am just happy I can continue tuning, now.

Cheers,

Hugo

Re: Idle control valve pin question

PostPosted:Mon Nov 30, 2020 9:04 pm
by jonbill
I think that can happen if you don't load the base tune to start with. the base tune sets sane values for everything.

Re: Idle control valve pin question

PostPosted:Mon Nov 30, 2020 9:37 pm
by LPG2CV
Sounds like the eeprom had a spurious value in the byte thst set the idle pin.

Re: Idle control valve pin question

PostPosted:Mon Nov 30, 2020 9:44 pm
by PSIG
Not sure if it's clear, but you can open init.ino for a look in any text editor. Just right-click on the file and select to open with your favorite editor. Use the "find" feature in that editor to locate your board and its pin assignments, e.g. for the v0.4 series, they're under "case 3" in the boards section. Hope that helps make it easier.

Your choices may differ with your specific operating system:
Open_ino_with_text_ed.jpg
Open_ino_with_text_ed.jpg (43.71 KiB) Viewed 430 times

Find_board_txt_ed.jpg
Find_board_txt_ed.jpg (102.35 KiB) Viewed 430 times

Re: Idle control valve pin question

PostPosted:Mon Nov 30, 2020 9:58 pm
by PSIG
LPG2CV wrote:
Mon Nov 30, 2020 9:37 pm
Sounds like the eeprom had a spurious value in the byte thst set the idle pin.
+1. This rarely happens (usually old sketch junk left behind), but if you suspect it:
… If test results are poor, you have a Mega or code issue. Load and run EEPROM_Clear, then reload code. Try calibration and testing again. …
That sketch is in your Arduino IDE, and ensures all of your EEPROM is wiped clean before loading new or upgraded code.