Simple code that turns Arduino into morse code transmitter. Both sound and light broadcasts are supported.
The project was used in an outdoor game for scouts during summer camp, and this was the main purpose of its existence.
arduino_morse_code_sender.mp4
- Connect electronics to Arduino like on scheme below (it shows Arduino Uno, but for other Arduinos it is very similar). You can change pins by modyfing constans in the code (default: 2 - error, 4 - broadcast light, 7 - broadcast sound). Remember to select correct resistors for diodes
2. Copy / download the code
3. Put your message in line 26
- Upload to Arduino using Arduino IDE