Its not a do it your self job .Its a time consuming task.The part costs between $150-200 from the dealer, but it is the labor that is all the money. It is buried down in the valley between the cylinder heads. This requires removal of the intake plenum and intake manifold. Also the timing belt will need to be removed. This is two full days of work. When knock sensor fails, you can obd error code P0325 in scan test of car.
-------------
The car will not start?
Car will not crank?
Car has no spark?
How to troubleshoot car battery?
How to test starter solenoid?
http://schematicsdiagram.blogspot.com/2011/06/how-to-test-starter-solenoid.html
--------------------
How to test cars starter?
http://schematicsdiagram.blogspot.com/2011/06/how-to-test-cars-starter.html
How to replace starter in car?
http://schematicsdiagram.blogspot.com/2011/06/how-to-replace-starter-in-car.html
This will help.
-------------
For more car related problem troubleshooting:---
This are the sections, you can go through and click the link to read its troubleshooting.
---------
The car will not start?
-----------------
Car will not crank?
-----------
Car has no spark?
-------------
How to troubleshoot car battery?
-----------------