matzkon86
Newbie level 3
I want to build an ultrasonic generator (variable frequency if possible-if not at 40kHz) with the use of a 89c51 for use in ultrasonic cleaning tank. The reason for the selection of the specific MCU is that i have some experience in programming it with Assembly language in other projects.
My thought is to use one of the controller timers in order to produce the 40kHz continuous pulse. I am thinking to use Timer 2 in PWM mode. I am also thinking to use a D/A converter in order to convert the output of the MCU and then a combination of a CMOS NAND gate , 2 NPN tranzistors and 8 CMOS inverters in order to drive the signal with enough power to the transducer.
I want to ask if the way I am thinking is the proper one.
Secondly what type of MCU clock should I use in order to take the 40kHz signal. 12MHz will be enough?
If someone has other proposals I like to hear them.
Thanks
My thought is to use one of the controller timers in order to produce the 40kHz continuous pulse. I am thinking to use Timer 2 in PWM mode. I am also thinking to use a D/A converter in order to convert the output of the MCU and then a combination of a CMOS NAND gate , 2 NPN tranzistors and 8 CMOS inverters in order to drive the signal with enough power to the transducer.
I want to ask if the way I am thinking is the proper one.
Secondly what type of MCU clock should I use in order to take the 40kHz signal. 12MHz will be enough?
If someone has other proposals I like to hear them.
Thanks