Any general discussion around the firmware, what is does, how it does it etc.
User avatar
By rixtronix
#51146
Dear Members,

I want to blink LED when ignition happened,
Which function is related with ignition and injection ?

I saw this at scheduler.ino :
//Ignition schedulers use Timer 5
void setIgnitionSchedule1(void (*startCallback)(), unsigned long timeout, unsigned long duration, void(*endCallback)())
{
//debug with built in LED .....
}

or on other functions ?

Any ideas ?
Thanks
By theonewithin
#51175
Why?

You could always change the firmware to trigger the onboard LED of the mega though if you really must see a blinking light.

I would just love ad the blink sketch myself for that.
By miker
#51924
The code is complex, what you're trying to do would be achieved easier with either attaching a led to the corresponding ignition channel on the mega board (defined in init.into I think) or buying a cheap 8 channel logic monitor and plugging it into the Arduino and your pc (it's how I did development and track too the nano second spark events).

( The ignition code is done within an interrupt and I can't remember which code has it in)
User avatar
By PSIG
#51930
rixtronix wrote: Fri Jun 18, 2021 9:58 amI want to blink LED when ignition happened,
I assume you want to light an LED when an ignition event is calculated to occur? That result is on the existing outputs, and you can take the signal from any of many locations just as the current Speeduino boards do (see example schematic below).

If instead you wish to blink an LED when a spark actually occurs (IGf/DME firing confirmation signal); you can read it with a shunt resistor in the coil ground wire and log it, or trigger an output (LED) with the AUX inputs and outputs (see IGNSENSP output example here).

If you are actually after something different, please be specific to your needs or goals.

When the ignition output goes high, it signals the coil driver and also an LED:
Ignitor output v03-v04.jpg
Ignitor output v03-v04.jpg (26.64 KiB) Viewed 4730 times

Hi, I am trying to assign Signed values to the x-a[…]

Vr Conditioner Noise when cranking

New version 202305 don't fix the issue. Now after[…]

blitzbox

I've finally figured out why MAP and Lambda weren'[…]

Hello, I bring news!! Let me tell you that after […]

Still can't find what you're looking for?