He still has some of the code functioning in his brain. Thats how he could sense them. And when he stopped them, it was with smaller EMP which is why he now is in a coma. Thats why the other guy who now has the Smith code in him is also in a coma since he was the one that triggered the EMP to early.