adding a knock sensor to DIYPnP 1.6 - Page 4 - Miata Turbo Forum - Boost cars, acquire cats.

Welcome to Miataturbo.net   Members
 


MEGAsquirt A place to collectively sort out this megasquirt gizmo

Reply
 
 
 
LinkBack Thread Tools
Old 01-17-2012, 01:30 PM   #61
Baz
Junior Member
 
Join Date: Jun 2009
Posts: 126
Total Cats: 4
Default

Quote:
Originally Posted by yank View Post
Just ordered a Turboxs knocklite last night. In for this solution. Thanks for doing the leg work Baz.
You're welcome. I just hope we can get it all working, its so close......
Barry
Baz is offline   Reply With Quote
Old 01-17-2012, 03:42 PM   #62
Elite Member
iTrader: (10)
 
Join Date: Oct 2008
Location: Seattle, Wa
Posts: 1,780
Total Cats: 30
Default

You could try something like this:



When the knocklite pulls down the base of the PNP, it passes its current through to the NPN's base and charges the capacitor. While the NPN is active, it drains the pullup (the MS gets the low/knock signal) and is kept open for a short time by the cap even after the knocklite returns to a positive voltage (allowing the MS to grab the signal)

The graph on the right is the base of the PNP getting pulled down, the graph on the left is the output the MS would see.
Attached Thumbnails
adding a knock sensor to DIYPnP 1.6-knocklite_delay.png   adding a knock sensor to DIYPnP 1.6-pushswitch.png  
Jeff_Ciesielski is offline   Reply With Quote
Old 01-17-2012, 04:07 PM   #63
Baz
Junior Member
 
Join Date: Jun 2009
Posts: 126
Total Cats: 4
Default

Thanks Jeff appreciate that, could something like this be built in the proto area of the diypnp? I will try to get someone here in the UK to help me build it (give me something mechanical and I'm OK!).
Barry
Baz is offline   Reply With Quote
Old 01-17-2012, 04:12 PM   #64
Elite Member
iTrader: (10)
 
Join Date: Oct 2008
Location: Seattle, Wa
Posts: 1,780
Total Cats: 30
Default

Quote:
Originally Posted by Baz View Post
Thanks Jeff appreciate that, could something like this be built in the proto area of the diypnp? I will try to get someone here in the UK to help me build it (give me something mechanical and I'm OK!).
Barry
Absolutely.

You might have to play with the values a bit to get it to hold down the signal for the correct amount of time. I used a 4.7k pullup on the MS, a 100uf cap, and a 100 ohm between the cap and ground.
Jeff_Ciesielski is offline   Reply With Quote
Old 01-17-2012, 04:25 PM   #65
Baz
Junior Member
 
Join Date: Jun 2009
Posts: 126
Total Cats: 4
Default

Brilliant, knowing the knocklite offers 2 warnings, amber for light knock and red for severe knock I suppose the information I now need from TurboXS is:

What is the 5v - 0v pull down time for both warnings.

We would also need to know the minimum 5v - 0v pull down time MS needs to accept the drop in voltage.

If we know these 2 things then I assume the circuit could be built to allow 2 different timing pull rates, say 5 degrees for amber and 10 degrees for severe?

Does that make sense?
Barry
Baz is offline   Reply With Quote
Old 01-17-2012, 06:12 PM   #66
Baz
Junior Member
 
Join Date: Jun 2009
Posts: 126
Total Cats: 4
Default

Does anyone know the minimum time that MS2 recognises the 5v - 0v pull down in the knock circuit to activate timing retard?
Baz is offline   Reply With Quote
Old 01-17-2012, 06:30 PM   #67
Elite Member
iTrader: (1)
 
Join Date: Jun 2006
Location: Warrington/Birmingham
Posts: 2,658
Total Cats: 39
Default

Not a clue, but it's definitely worth asking on MSExtra, those guys must know for sure!
richyvrlimited is offline   Reply With Quote
Old 01-18-2012, 12:06 PM   #68
Supporting Vendor
 
Matt Cramer's Avatar
 
Join Date: Sep 2006
Posts: 2,264
Total Cats: 51
Default

Quote:
Originally Posted by Baz View Post
Does anyone know the minimum time that MS2 recognises the 5v - 0v pull down in the knock circuit to activate timing retard?
A good safe minimum time would be 10 to 15 ms.
Matt Cramer is offline   Reply With Quote
Old 01-18-2012, 12:43 PM   #69
Baz
Junior Member
 
Join Date: Jun 2009
Posts: 126
Total Cats: 4
Default

Thanks Matt. Would you know what causes the MS to pull the timing in increments, ie 3,6 or 10 degrees, is it the time delay between 5v-0v-5v or is it dependant on the level of the voltage drop? I assume it is the time that there is zero volts?
Barry
Baz is offline   Reply With Quote
Old 01-18-2012, 04:25 PM   #70
Supporting Vendor
 
Matt Cramer's Avatar
 
Join Date: Sep 2006
Posts: 2,264
Total Cats: 51
Default

It keeps backing the timing off until it stops seeing knock or hits the maximum knock retard. See this link for details.

http://www.msextra.com/doc/ms2extra/...ware.htm#knock
Matt Cramer is offline   Reply With Quote
Old 01-18-2012, 04:48 PM   #71
Baz
Junior Member
 
Join Date: Jun 2009
Posts: 126
Total Cats: 4
Default

Thank you Matt....
Baz is offline   Reply With Quote
Old 01-21-2012, 02:11 AM   #72
Elite Member
iTrader: (10)
 
Join Date: Oct 2008
Location: Seattle, Wa
Posts: 1,780
Total Cats: 30
Default

Better idea:

Invert the output from a 555 timer with a transistor and a pullup:


1k resistor and 10uF cap should net 10ms output.
Attached Thumbnails
adding a knock sensor to DIYPnP 1.6-knocklite_delay_555.jpg  
Jeff_Ciesielski is offline   Reply With Quote
Old 01-21-2012, 02:43 AM   #73
Baz
Junior Member
 
Join Date: Jun 2009
Posts: 126
Total Cats: 4
Default

Brilliant Jeff!! I will get the parts and build this on a circuit board outside of the MS to confirm it all works then I can build it in the proto area. Thanks for your help bud..
Barry
Baz is offline   Reply With Quote
Old 01-26-2012, 08:16 AM   #74
Baz
Junior Member
 
Join Date: Jun 2009
Posts: 126
Total Cats: 4
Default

Baz is offline   Reply With Quote
Old 06-22-2012, 01:30 PM   #75
Junior Member
iTrader: (2)
 
Join Date: Oct 2011
Posts: 207
Total Cats: -14
Default

Do you guys recommend using megasquirts automatic knock retard timing feature? Retards 2 degrees at first knock then 1 degree for each additional knock

Thanks
TheDriver is offline   Reply With Quote
 
 
Reply

Related Topics
Thread Thread Starter Forum Replies Last Post
Back to Stock Part Out!! Turbo Parts, MS2 Enhanced 01-05, Suspension, and MOAR! StratoBlue1109 Miata parts for sale/trade 16 10-02-2015 10:39 AM
Going back to stock. Need some 1.6 parts. Trent WTB 2 10-01-2015 01:15 PM
Time to start learning and play with tuning The Gleas MEGAsquirt 3 10-01-2015 10:30 AM


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -4. The time now is 06:56 PM.