Aim: The aim of this project is to broadcast ‘SOS’ in Morse code

Hardware and software:

  • Raspberry Pi 3
  • Breadboard
  • 1 blue 5mm LED
  • 1 red male to female wire
  • 1 black male to female wire
  • 1 blue male to female wire
  • Resistor
  • Python 3

After the Raspberry Pi has been set up to the monitor, the LED was connected to the breadboard along with the resistor, the blue wire ,the black wire and the red wire(connected to 3.3V not to damage the LED).

GPIO Port used: 17

2.JPG1.JPG

diagram pic.JPG

Code:

code 1.JPGcode 2.JPGcode 3.JPG

Advertisements