ESP32 Starter Kit
8.5.4 Project 3SOS Distress Device
1. Description
Arduino SOS device is able to emit distress signals, which coincides with the principle of Morse code. It is convenient
for emergencies.
2. Wiring Diagram
3. Test Code
What we should clear firstly is how SOS distress light blinks: LED quickly blinks 3 times for “S” and slowly blinks
3times for “O”. And then, we control the blinking times and duration via “for” statement and set interval time among
letters.
/*
keyestudio ESP32 Inventor Learning Kit
Project 3SOS Distress Device
http://www.keyestudio.com
*/
int ledPin = 5; //Define pin as IO5
(continues on next page)
8.5. Arduino Project 51