Dear freinds ... I am making an ultrasonic range finder ... i used timer1 to measure the time of flight ... I succeeded using pic16f877a with resoltion 0.76 mm ... i am trying to double the resolution using a faster processor ... I am trying pic18f452 ... i bought a crystal with "40.000 kds 2l" printed on the head ... i used a define instruction to tell pbp about this frequency "DEFINE OSC 40" .... i used tis crystal oscillator with 2 (22pf) on each pin ... But unfortunately the mcu failed to communicate serially with the pc software i use to test the functionality of my system ...Please let me know if i have to use different values for the capacitors ... What do you suggest ?
Bookmarks