### ## ##### ## ## ##
______ | ___| | |_ | _| | | \_|
## ## ## ## ## ## ##### ## #####
____ / ___| | | _ | |_| | \____|
_ | | _ | | | |_| | \___/
IMPORTANT: enter the case-INsensitive alphabetic (no numbers) code AND WRITE SOME SHORT summary of changes (below) if you are saving changes. (not required for previewing changes). Wiki-spamming is not tolerated, will be removed, so it does NOT even show up in history. Spammers go away now. Visit Preferences to set your user name Summary of change: I found that speed sensor option more useful for me than PS2 keyboard. I have made same RC filter as for hall sensor on triggers (R48 R91 D27 C33), but for INT6 MCU pin. It is possible to use stock hall sensor. There is one config variable - signal frequency (Hz) for 100kph. Interrupt disabled every time after sample captured for save cpu time (calc freq 10Hz but sensor freq may be 200Hz) Speed calc routine is calls from main loop every 100ms and contains division 32/16. Also gear detection possible, but with some notes: sensor should measure driven wheel and gear incorrect while clutch pressed or neutral. Plan to use for boostcontroller and/or antirev. There are 6 config vars for 6gears, speed for each gear at 5000rpm (it can be easy scaled fron any rpm). For unused gears select 255. Some notes about my gear boost (it is different from default). Each row in boostdc(rpm,kpa) table is reused for gears, bottom row is first gear. Pid use the same rows as reference value. Five gear mults used for pid target downscale. So first tune DC rows in openloop simple mode (disable adc input too) for each gear, after set targetVSrpm table (for last gear - max boost) and target downscale for gears and tune pid coeff. targetVStps could not work, because it is not affect to DC, only to target, and we have small pid coeff. http://www.vems.hu/files/MembersPage/Andrey/SpeedConfig.JPG http://www.vems.hu/files/MembersPage/Andrey/SpeedGears.JPG Optional: Add document to category: Wiki formatting: * is Bullet list ** Bullet list subentry ... '''Bold''', ---- is horizontal ruler, <code> preformatted text... </code> See wiki editing HELP for tables and other formatting tips and tricks.