PICs aren't suited for every application you come across... and for many applications they need help...
If you need to detect 40kHz... try an old, tried and tested and very cheap NE567... it will tell you when you've got 40kHz... and it only takes a small handfull of components to detect a Sine-wave from other waveforms.
You need to boil water to make coffee... you get a PIC, plus temperature sensor, plus heating element plus triac plus... plus... plus... or... you just pick up a kettle and plug it in the wall...




Bookmarks