Discord Bot which translate text and flashes morse code from a LED lamp.
Morse-lamp takes input from a Discord text channel and uses GPIO on Raspberry Pi to output morse code.
Special thanks to Geeks4Geeks for the Text-Morse code translation code
Morse Lamp in action (video)
To run Morse-lamp you will need a Raspberry Pi with GPIO Pins
-
Then install the following libraries:
- Discord.py
pip install discord.py
- gpiozero
pip install gpiozero
- Discord.py
-
Connect the LED light to the GPIO pin
Positive to pin 12 Negative to pin 6 *Reminder that the longer end is positive
-
Run main.py
python main.py
Currently Morse-lamp only has the following commands
!morse
which replies with the message in morse code!lamp
sends the morse code of the message to the LED
Text filter list and message recipt when message is broadcasted will be added soon.
2/15/2021 - Filter added 2/11/2021 - Initial Release