Sentence Encryption Device
Sentence Encryption Device using morse code and Pico 2W
Author: Budu Octaivan-Andreis
GitHub Project Link: https://github.com/UPB-PMRust-Students/project-BUDU-Octavian-Andrei
Descriptionā
The Sentence Encryption Device is designed to automatically transmit entire words or sentences in encrypted Morse code using a Raspberry Pi Pico 2 W instead of manually and mechanically inputing each character. The idea here is to make use of the Wifi module on the raspberry pi as input, this way you can skip the painstaking process of introducing characters on the board. Then the pico takes this input and encodes it based on your desired encryption method (ex: Caesar, Vigenere, M-94, etc) then translates it from string/char to morse code, from there it is further processed in order to be GPIO compatible. The GPIO signal is used to modulate an oscillator/ transmitter circuit.
Motivationā
I chose this project because I am fan of 20th century history and I like the old school method of sending messages, I wanted to recreate one of the most famous encryption machines, engima, to the best of my ability to replicate it
Architectureā
- Browser (HTML/CSS/JS)
- Node.js bridge (HTTP + WebSocket + TCP)
- Pico W runs
embassy-rp
+embassy-net
, TCP client - SI4713 via I²C: tune FM & key its tone generator
Logā
Week 5 - 11 Mayā
Week 12 - 18 Mayā
Week 19 - 25 Mayā
Hardwareā
Device | Interface | Pico Pin(s) |
---|---|---|
SI4713 FM TX module | I²C | SDA = GP16, SCL = GP17 |
Reset (RST) | GP18 | |
GPO1 (key) | GP19 (tone on/off) | |
On-board LED (TX indicator) | GPIO | GP25 |
Pico W | USB power | 5 V ā 3.3 V regulator |
Wi-Fi (CYW43) | PIO-driven SPI (pins 24,25,29) |
Schematicsā
Place your KiCAD schematics here.
Bill of Materialsā
Device | Usage | Price |
---|---|---|
Raspberry Pi Pico 2W | The microcontroller | 39,66 RON |
Raspberry Pi Pico | The debugger | 22,49 RON |
SI4713 | The RF unit | 78,49 RON |
Softwareā
Crate / Library | Version | Role |
---|---|---|
[embassy-rp ] | 0.3.0 (git) | Pico RP2 async executor + GPIO/PIO |
[embassy-net ] | 0.7.0 (git) | DHCP + TCP client |
[cyw43 ] | 0.3.0 (git) | On-board Wi-Fi driver |
[panic-probe ] | 0.3.2 | Defmt RTT panic handler |
[defmt ] | 1.0 | Compact logging |