Originally posted by ivconic
View Post
Hi Ivconi
My analysis for the choice of the peak:
At frequency 8.66kz period T takes 115us
The sampling time period lasts half 57us
For geb there a setting range of 9us to start sampling
For ferrous there a setting range of 24us to start sampling
if the PIC has a 20MHz quartz (16F) its internal frequency is 5MHz therefore between 0.2 us instructions
it gives 45 position for Geb (enough?) and 120 to the other setting
a 48MHz (18F2550) so it gives 108 position adjustment for Geb and 288 for other settings
opinions and comments are welcome
Comment