Speeduino is now on Github Sponsors (Rather than Patreon): https://github.com/sponsors/noisymime
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 am
I 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 130 times

logs are going to be needed. Zip them :) the inje[…]

12V hall sensor

http://i.imgur.com/CdNYxlU.gif?1 Note in that W[…]

no spark

at tdc my crank sensor is in the centre of the mis[…]

PCB for BMW m52 engine

A few posts ago Pazi mentioned the VSS input optio[…]

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