Hello...
i'm working on a trigger tooth simulator based on attiny2313... And i need to know tooth count of which types accepting by firmware (r600)
For example 60-2 or 36-1 or different??
Everything about Trigger (shaft position sensors)
- AndreyB
- Site Admin
- Posts: 14292
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: Everything about Trigger (shaft position sensors)
The primary trigger in r600 as is would be Ford Aspire trigger, that's a dual Hall type camshaft position sensor:
That's if you compile the source code without changing anything.
If you 'comment out' (i.e. add //) in front of the Aspire line in https://svn.code.sf.net/p/rusefi/code/trunk/firmware/config/engines/engines.h you should be able to switch to 36-1 or to 60-2.
But anyway, why are you writing a trigger simulator in the first place? Thing is we already have build-in simulators for the triggers we support. The simulated signal lives on PD1 & PD2 (see arro_board.h for more info) - if you put a jumper wire from PD1 to PC6 and from PD2 to PA5 you would see the simulated input & the output in the dev console
That's if you compile the source code without changing anything.
If you 'comment out' (i.e. add //) in front of the Aspire line in https://svn.code.sf.net/p/rusefi/code/trunk/firmware/config/engines/engines.h you should be able to switch to 36-1 or to 60-2.
But anyway, why are you writing a trigger simulator in the first place? Thing is we already have build-in simulators for the triggers we support. The simulated signal lives on PD1 & PD2 (see arro_board.h for more info) - if you put a jumper wire from PD1 to PC6 and from PD2 to PA5 you would see the simulated input & the output in the dev console
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
Re: Everything about Trigger (shaft position sensors)
This is engine.h in firmware... i see #define EFI_ENGINE_FORD_ASPIRE TRUE definition... This mean firmware configured for Ford Aspire ???
Code: Select all
engines.h 37 lines (27 with data), 531 Bytes
/*
* engine.h
*
* @date Aug 30, 2013
* @author Andrey Belomutskiy, (c) 2012-2013
*/
#ifndef ENGINE_H_
#define ENGINE_H_
#include "boards.h"
/**
* 1996 1.3 Ford Aspire
*/
#define EFI_ENGINE_FORD_ASPIRE TRUE
/**
* 36-1 toothed wheel engine
*/
//#define EFI_ENGINE_FORD_FIESTA TRUE
//#define EFI_ENGINE_SNOW_BLOWER TRUE
/**
* 5 cylinder engine!
*/
//#define EFI_ENGINE_AUDI_AAN TRUE
/**
* 60-2 toothed wheel engine
*/
//#define EFI_ENGINE_DENISVAK TRUE
#endif /* ENGINE_H_ */
- AndreyB
- Site Admin
- Posts: 14292
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: Everything about Trigger (shaft position sensors)
Yes.izmirliss wrote:This is engine.h in firmware... i see #define EFI_ENGINE_FORD_ASPIRE TRUE definition... This mean firmware configured for Ford Aspire ???
We definitely need to makes things more user-friendly in the future, but now you need to change the engine.h and recompile the firmware to switch to another engine. Since I would guess your car is something different - not Aspire not Neon not Primera - we would need to create you a default configuration. Ideally you should start a thread in 'Your car & your engine' and put as much technical info about your particular vehicle as you can
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
- AndreyB
- Site Admin
- Posts: 14292
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: Everything about Trigger (shaft position sensors)
Status update: I have changed the code and now you can have multiple vehicles defined in the firmware simultaneously, more on this in the commands thread.
I have also added some description of the trigger decoder algorithm to http://rusefi.com/docs/html/index.html
I have also added some description of the trigger decoder algorithm to http://rusefi.com/docs/html/index.html
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute