Skip to content

MarcoResidori/ArduinoEnigmaMachine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Arduino Enigma Machine

Arduino sketch that implements a very simplified version of the enigma machine with 3 rotors.

image 1

Hardware Setup

  • Arduino Uno
  • DFRobot LCD Keypad Shield
  • Buzzer
  • USB Cable

Usage

Phase 1 - Set the rotors

  • Turn on the Arduino board
  • Press the buttons 'left' and 'right' to select a rotor
  • Press the buttons 'up' and 'down' to set the initial rotor value
    image 2

Phase 2 - Set the value to be encrypted/decrypted

  • Move the cursor to the first position of the LCD display's second line
  • Press the buttons 'up' and 'down' to set the value to be encrypted/decrypted
    image 3

Phase 3 - Encrypt/decrypt

  • Press the button 'select' to encrypt/decrypt the selected value
    Please note that the rotors may change value (rotation) when 'select' is pressed
    image 4

Repeat the procedure for each value of your 'secret' message.

Example

Initial rotor values: R1=D, R2=E, R3=F
Message to encrypt: HELLOWORLD
Encrypted message: STGALBRCEW

About

Arduino Enigma Machine

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages