### ##### ## ## ## ## ## ## ## ## ### ##
___ |_ _| | | | | |___|
_ ( \ | ( | | | | | | | (____/\ (_______/
__ __ \ \ / / \ \_/ / \ / | | |_|
_____ | __ \ | |__) | | _ / | | \ \ |_| \_\
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 could not recompile the firmware from MegaTune1.0.30rc3 with "MY_CONF += -D KNOCK_OSC=16" in my_make (or without), so I used firmware_1.0.23. '''Q:''' Is a certain firmware recommended when useing knock-sensor and MegaTune1.0.30rc3? '''Q:''' Any one who got knock-sensor/indicator working? ------------ I'm setting op the knock-sensor but I only got a 16MHz crystal with the board, and I see 4MHz is the normal setup. '''Q''' The "knock-chip" has a programmable-divider so it can also use a 16MHz crystal if it is set up, but where to set up/program this divider? If you have a few days time (and controller not clamped yet), fire an order to WebShop for a 4MHz crystal (select a resistor, or the knockkit since empty cart cannot be checked out.) Select IBAN method, you get for free. Please '''always''' use comments for every post. Otherwise your commits might get purged together with the attack. '''A''': You need to recompile firmware with the following line added to my_make: "MY_CONF += -D KNOCK_OSC=16", then the knock chip is initalized with the correct divider for the 16MHz crystal. Thanks.. ------------ Knock-frequency around 7KHz.. from about 6,2-7,8KHz. http://www.vems.hu/files/HansK/Knock_d1.jpg Engine: VW 1800 8v. 81mm bore, 86,4mm stroke. ---------- http://www.vems.hu/files/HansK/Sensor-con.JPG http://www.vems.hu/files/HansK/KnockChip.jpg I have connected the shield to GND outside the box, and connected the two wires to "knock 1 and -" ("ch. 0" in MegaTune). ---------- '''knock-config''' knock_conf=FF #0xFF=Enable knock detection and ignition retard. # MegaTune change it to: knock_conf=FC knock_sampling_window=e2 knock1_frequency=29 #6.94kHz knock1_gain=14 knock1_integrator=11 knock2_frequency=00 #Disabled..? knock2_gain=00 knock2_integrator=00 knock_threshold=50 #Threshold fore what? knock_noise_scale=10 knock_max_retard=18 #6 degrees knock_default_retard=08 #2 degress knock_retard_step=04 #1 degree knock_retard_delay=10 #240ms knock_advance_step=02 #0,5degree knock_advance_delay=10 #240ms knock_minrpm=0F #1500rpm knock_maxrpm=32 #5000rpm ---------- MembersPage/HansK 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.