Introduction - If you have any usage issues, please Google them yourself
AT89C51 single-chip 2KHz the square wave generated by its port P3.2 output, when the square wave for a wave crest, it is NPN-type transistor conduction, horn-driven sound, when its trough, then the transistor cut-off, speakers not to issue voice.