Thanks Darrel, I will try it tomorrow with 16f877A which I have. But I would like to ask if this task can be made possible using a smaller PIC without an HPWM, I would like to use 16F676 if possible as it is very easily available and where I am and if this takes off then it will be economical as well.
In the mean time I am attaching the datasheet of the Chinese uC which is controlling the base of the NPN transistor connected to the piezo & coil. The signal comes out from PIN 2, which to me seems just an I/O pin.
Thanks
Bookmarks