Morse Code for YYZ on Arduino Uno R4. You could easily use an Arduino Uno R3 for this project and it would work.
The +ve of the buzzer is connected to pin 3 on the Arduino The base of the transistor is connected to pin 9 on the Arduino The transistor is a s8050 c331 NPN transistor