Man Overboard Light

Building a SOS Man Overboard light is easy here are the instructions

Here is a video of a Man Overboard Light I made using a Arduino Nano a 1w LED driver, Mercury Switch and battery pack
https://youtu.be/siBOnRW3g4Q

 

Here is a parts list and the Arduino code along with some photos

SOS Light Arduino DIY SOS Light Arduino DIY 7 SOS Light Arduino DIY 6 SOS Light Arduino DIY 5 SOS Light Arduino DIY 4 SOS Light Arduino DIY 3 SOS Light Arduino DIY SOS Light Arduino DIY

Man Overboard Light

Man Overboard Light

Man Overboard Light

 

 

Here is the wiring diagram

Note: In my program I use the Arduino Digital pin 4 to control the LED but you can use whatever digital pin you want but you will need to change the code to reflect the pin in this line

int led=4;

 

Now I have moved it from the breadboard to a prototype.  I have switched from the Arduino Nano to a Arduino MiniPro in order to make the final circuit smaller. I still need to ad the Mercury Switch I envision this all going into a Plastic Tube I am still trying to decide on the final DIY design for the light housing.  Any suggestions?

I had an adapter to  upload the code to the Mini Pro

 

Parts List

Arduino MOB SOS Light Parts List

1 NEW FT232RL FT232 USB to Serial adapter module USB TO

232 For Arduino pro mini https://www.ebay.com/itm/NEW-

FT232RL-FT232-USB-to-Serial-adapter-module-USB-TO-232-

For-Arduino-pro-mini/132111930303
$2.16
1 Arduino Pro Mini Board Free with Headers ATMEGA328P

16MHz 5V ATMEGA328 https://www.ebay.com/itm/5X-Arduino-

Pro-Mini-Board-Free-with-Headers-ATMEGA328P-16MHz-5V-

ATMEGA328/382557228840
$2.60
1 Mercury Switch https://www.ebay.com/itm/10pcs-6mm-

Mercury-Switch-Angle-Tilt-Switch-0-5A-20V-PZ-101-Alarm-

Motion-Hot-

Sale/163985490933?hash=item262e4c03f5:g:g2EAAOSwwl1an3wy
$0.92

1 1 watt LED https://www.ebay.com/itm/1W-3W-High-Power-

warm-white-cool-3000k-4000k-6000k-10000K-25000K-30000K-

LED-CHIP/231609103852?var=530843776676
$0.08

1 1 watt LED Driver 1W LED 350mA PWM Dimming Input 5-35V

DC-DC Buck Constant Current Module

https://www.ebay.com/itm/1PC-A58-1W-LED-350mA-PWM-

Dimming-Input-5-35V-DC-DC-Buck-Constant-Current-

Module/303431412893
$2.69

1 6 Volt DC Battery Holder 4 x AA Cells

https://www.ebay.com/itm/6-Volt-DC-Battery-Holder-4-x-

AA-Cells-NEW-B20/233543764181?

hash=item36604b08d5:g:YLkAAOSwT6pVxow1
$1.18

1 Part of a pc board https://www.ebay.com/itm/13pc-DIY-

Prototyping-Board-PCB-Printed-Circuit-Prototype-

Breadboard-Stripboard/382559370619?

hash=item591250bd7b:g:QMcAAOSw95BcYaB5
$0.50

Total Parts WO Case $10.13 ($7.98 WITHOUT USB to Serial

adapter module USB TO 232 For Arduino pro mini)
1 Water proof case still to be designed or found

 

 

Arduino Code

int led=3;
int dot=250;
int dash=750;
int offTime=250;
int letterPause=1000;
int pause=6000;
void setup() {
// put your setup code here, to run once:

pinMode(led,OUTPUT);

}

void loop() {
// put your main code here, to run repeatedly:
digitalWrite(led,LOW);
delay(dot);
digitalWrite (led,HIGH);
delay (offTime);
digitalWrite(led,LOW);
delay(dot);
digitalWrite (led,HIGH);
delay (offTime);
digitalWrite(led,LOW);
delay(dot);
digitalWrite (led,HIGH);
delay (letterPause);
// now dashes:
digitalWrite(led,LOW);
delay(dash);
digitalWrite (led,HIGH);
delay (offTime);
digitalWrite(led,LOW);
delay(dash);
digitalWrite (led,HIGH);
delay (offTime);
digitalWrite(led,LOW);
delay(dash);
digitalWrite (led,HIGH);
delay (letterPause);
// now dots again:
digitalWrite(led,LOW);
delay(dot);
digitalWrite (led,HIGH);
delay (offTime);
digitalWrite(led,LOW);
delay(dot);
digitalWrite (led,HIGH);
delay (offTime);
digitalWrite(led,LOW);
delay(dot);
digitalWrite (led,HIGH);
delay (pause);
}