You should have done a search on defending your position before you chose to go to trial as this topic has been discussed over and over again.
I've done this myself, in fact but could've referred you to a fairly reasonable paralegal firm.
If the case was in Toronto, chances are your trial might have been delayed beyond 8 months and if over 10, you stood a good chance of having it indefinitely stayed as a result of the Crown's violation of Section 11(b) of the Charter for infringing on your rights to a prompt trial.
To do it, you file a motion or Form 4F being Notice of Constitutional Question pleading your case before the trial begins, served on the court and the Attorney Generals of Ontario and Canada at least 15 days before the trial.
Here's a link to help you in case you need to do this in the future:
http://www.magma.ca/~fyst/
p.s. I've used this defence 3 times and got off the 1st time as the cop didn't show up, the 2nd and 3rd time the cop was there but my motion prevailed and the Prosecution claimed that 'they have no evidence against the defendant' - in other words, they didn't want others to hear my defence lest they throw more cases out of court - sneaky eh?