Page 1 of 2

ULN2803 output random cutout

Posted: Sun Apr 18, 2021 8:15 am
by jackscr
Hello,
I've got an output setup through the ULN2803 for 10sec timer that is really giving me problems
First I tried it with just one condition to activate when rpm was higher or equal than 500 but that turned on and off randomly for whatever reason... than I added a second condition just after 10s from power on to turn on the output... That seemed to work fine but after driving along I saw that it still cut out for a split second and turn immediately on ... what the f is going on?
Any suggestions to solve this? ,please

Re: ULN2803 output random cutout

Posted: Mon Apr 19, 2021 12:47 am
by theonewithin
Is that for wideband?

Just use the Fuel pump output.

Unless you are using a completely useless controller, there is no need to mess around with timers or anything.

Also. Your actual tune and a log would be needed to see what is happening.

Re: ULN2803 output random cutout

Posted: Mon Apr 19, 2021 6:01 am
by jackscr
Yes it is for wideband but also a power steering controller. And I am using an innovate controller that powers on the heating immediately as power is supplied to it which means that any condensation formed will damage the sensor, this is especially important for lsu 4.9 sensors but 4.2 are affected as well. Read the bosch recommendation and you will see this is true.
But this is besides the point I need to set up a timer for the EPAS anyway.. and speeduino is so far not cooperating , I do not think expecting for a programmable output to work as intended is too much to ask.
I will log it when it happens but as I've said it is very sporadic and I just encountered this problem.
I will try with just the Seconds condition active and see if it works.

Re: ULN2803 output random cutout

Posted: Mon Apr 19, 2021 9:28 am
by theonewithin
The thing is it may be working "as intended".

What you think it is meant to do may not be what is intended.

You could have a pin conflict with something else but you haven't given many details to know this.

Hence a log and your tune is needed to ensure all is well first.

Oh and condensation issue is over rated.

The majority of Speeduino's just use FP power for their WB and there is no massive number of failures of O2 sensors.

Re: ULN2803 output random cutout

Posted: Mon Apr 19, 2021 11:41 am
by SilentBob
Which board is it? 47 on the 0.4 boards is fan output, there might be a conflict with tunerstudio

Re: ULN2803 output random cutout

Posted: Mon Apr 19, 2021 1:09 pm
by theonewithin
SilentBob wrote: Mon Apr 19, 2021 11:41 am Which board is it? 47 on the 0.4 boards is fan output, there might be a conflict with tunerstudio
This is why the tune is needed ;)

Re: ULN2803 output random cutout

Posted: Mon Apr 19, 2021 5:17 pm
by jackscr
Yes it is board 0.4.3c and yes pin 47 is fan output, but I switched the fan output to pin 53 and turned it off, it seemed to work fine with other outputs doing it this way. It would be kind of weird for the output to work 99.9% of the time and the other time be in conflict, wouldn't it?
I attached a tune file.

Re: ULN2803 output random cutout

Posted: Mon Apr 19, 2021 8:12 pm
by theonewithin
I have read somewhere from memory that the programmable outputs may not work correctly on outputs that are set a board defaults.

You may have to try changing the code so the board defaults for fan is something else and test.

Alternatively try the good old EEPROM clear and firmware/basetune/ your tune reload.

Re: ULN2803 output random cutout

Posted: Mon Apr 19, 2021 9:29 pm
by LPG2CV
Try setting your programable output to 53 and fan back to default

Re: ULN2803 output random cutout

Posted: Tue Apr 20, 2021 6:33 am
by jackscr
theonewithin wrote: Mon Apr 19, 2021 8:12 pm I have read somewhere from memory that the programmable outputs may not work correctly on outputs that are set a board defaults.

You may have to try changing the code so the board defaults for fan is something else and test.

Alternatively try the good old EEPROM clear and firmware/basetune/ your tune reload.
Yeah I know I read that too, but it seemed to work fine, I guess it's not that easy.. :(
Thank you for all your suggestions I will try everything in order of most easy to change to more involved.