Monday, April 3, 2017

The MeinEnigma Enigma Machine Kit - Overview


Introduction

I recently had the opportunity to build a beta version of a new kit, the MeinEnigma, a replica of the famous Enigma cipher machine, designed and offered by Peter Sjoberg.

In this, and some future blog posts, I will describe the kit, how it works, assembly of the unit, and the hardware and software behind it.

What Was The Enigma?


The Enigma machines were a series of electro-mechanical encryption devices developed to protect commercial and military communications. Most notably, they were used by Nazi Germany during Word War II.

Due to some weaknesses in the design, as well as procedural flaws in how they were used, the Allied were eventually able to find a way to break the encryption (which had to be done every day as the encryption settings were changed daily), which is believed to have been a significant factor in winning the war. Much of this work was done in England at Bletchley Park by a team that included Alan Turing, someone well known to most computer scientists. This story has been described in many books and documentary films, including the popular 2014 film The Imitation Game.

While as many as 100,000 Enigma machines are believed to have been made, most were destroyed and only a few hundred exist today. An original machine can be worth well over $100,000 and most are in museums. I've personally seen two: one in the Canadian War Museum in Ottawa and another in the Spy Museum in Washington, DC.

That puts a real Enigma machine outside the reach of most collectors or enthusiasts. There are software simulators, but it is more fun to have a device which physically looks and works like the original Enigma machine.

Kit Features


MeinEnigma is an electronic version of an Enigma machine, with a similar size and controls to the original, but using modern electronics rather than mechanical parts to implement the encryption functions.

The design is based around the popular and low-cost Arduino microcontroller, allowing the software to be easily modified by the user. The software is open source and can emulate a number of different models of Enigma machine. As well as the controls on the board, the unit can be controlled through the Arduino's USB serial interface.

It has a similar physical size and controls as the original Enigma machine. It has a 26 alphabetic keys and 26 indicator LEDs as well as four rotatable rotors that are similar to the original Enigma.


It also has a four character alphanumeric LED display with four buttons and a function switch. There is a speaker which is used for sound output, including authentic rotor rotation sounds and speech output for the encoded characters and operating functions.

A buzzer can optionally produce Morse code output (the original encoded Enigma messages were sent by radio using Morse code).

A real-time clock chip with battery backup allows the system to be used as a clock when not in use for encryption.


Like the original Enigma, the front panel features a plugboard with 26 positions and 10 patch cables. It can be powered by 2 AA batteries or from the USB port on the Arduino.


The unit will be sold as a kit that the user assembles. The kit includes all parts and should be buildable by anyone with some basic experience with soldering and identifying components.


It is built on three printed circuit boards (PCBs) that are interconnected by cables.


The kit is planned to be sold in three versions. The SMT version will use all Surface Mount Technology components (with the exception of parts like the Arduino, sound module, and real-time clock). This will require experience with SMD soldering, which is doable by hand using a soldering iron. The TH version will use through-hole components, with three ICs that are only available as SMT parts being already soldered in for you.


A hybrid version be the same as the TH, but the user will need to solder in the three surface mount ICs. This is the version I built. All three versions use the same PCB.

The kit will include several manuals. While this could still change, my understanding is that it will include an Assembly Guide, User's Guide, Enigma History Guide, and a Modification Guide.

Summary


There are some other Enigma kits on the market, or that have been offered in the past. They range from electronic versions like the MeinEnigma, to accurate mechanical replicas of the original Enigmas which can sell for tens of thousands of dollars. I haven't personally tried any of them, but this kit offers a number of advantages and nice features, most notably a design which features a similar size and rotors, keyboard, lamps, and plugboard that resemble the original Enigma machines. The Arduino controller makes it very easy to modify the software. It also has support built in for future expansion and user modifications.

I hope as the number of users of this kit expands, a community will form around it to enhance the software, support each other, and find interesting applications for it.

In the next blog post I plan to cover my experience assembling the kit.

References

1. MeinEnigma website: http://meinenigma.com
2. Source code: https://github.com/lpaseen/meinEnigma
3. Facebook group: https://www.facebook.com/MeinEnigma
4. Wikipedia article: https://en.wikipedia.org/wiki/Enigma_machine

22 comments:

nivedhitha said...

very nice article macine learning

360DigiTMG said...

I really enjoy simply reading all of your weblogs. Simply wanted to inform you that you have people like me who appreciate your work. Definitely a great post. Hats off to you! The information that you have provided is very helpful.
data science course
data analytics training in hyderabad
business analytics course

Maneesha said...

Actually I read it yesterday but I had some thoughts about it and today I wanted to read it again because it is very well written.
360DigiTMG data science course

Anonymous said...


Such a very useful article. Very interesting to read this article.I would like to thank you for the efforts you had made for writing this awesome article.
business analytics course
data analytics course
data science course

Anonymous said...


Very useful Information
business analytics course
data analytics training in hyderabad
data science course in hyderabad

data analytics course hyderabad said...

Trying to say thanks won't simply be adequate, for the fantasti c clarity in your composition. I will immediately get your rss channel to remain educated regarding any updates.
data scientist training hyderabad

EXCELR said...

Im really impressed by it.I am happy for sharing on this blog its awesome blog I really impressed. thanks for sharing. Great efforts. data science training

Excelr Tuhin said...

I've read this post and if I could I desire to suggest you some interesting things or suggestions. Perhaps you could write next articles referring to this article. I want to read more things about it!
data science training in Hyderabad

dataanalyticscourse said...

Thank you for always speaking up in team meetings and providing a unique perspective.
https://360digitmg.com/course/certification-program-on-big-data-with-hadoop-spark

dataanalyticscourse said...

You always find a way to get it done – and done well!
https://360digitmg.com/course/certification-on-industrial-revolution-4-0

Maneesha said...

This is my first time I visit here. I found so many engaging stuff in your blog, particularly its conversation. From the huge loads of remarks on your articles, I surmise I am by all account not the only one having all the recreation here! Keep doing awesome. I have been importance to compose something like this on my site and you have given me a thought.
data scientist training and placement

Unknown said...

I have been fascinated by the enigma machine for quite some time. The incredible and far reaching effects that this early cryptology has had in influencing the modern computers of today is simply amazing. I've also been trying to acquire a kit so I could construct an electronic replica for my own enjoyment. This article is very insightful of the MeinEnigma kit. I really like functioning rotor wheels of this kit. Well written and informative. Thank-you. I sure hope they make more kits in the near future.

Maneesha said...

I'm hoping you keep writing like this. I love how careful and in depth you go on this topic. Keep up the great work
data scientist course in hyderabad

Ravi Varma said...

Google Ads has to be handled carefully with proper knowledge of the platform just because it involves money and you invest real cash for your business growth. Google Adwords when used right can give you amazing results for your business.

data scientist course said...

The writer is enthusiastic about purchasing wooden furniture on the web and his exploration about the best wooden furniture has brought about the arrangement of this article.
data scientist training and placement in hyderabad

Mallela said...

Thanks for posting the best information and the blog is very important.artificial intelligence course in hyderabad

Mallela said...

Thanks for posting the best information and the blog is very important.data science institutes in hyderabad

data scientist course said...

Just pure brilliance from you here. I have never expected something less than this from you and you have not disappointed me at all. I suppose you will keep the quality work going on.
data scientist training in hyderabad

Kavya said...

Superb. I really enjoyed very much with this article here. Really it is an amazing article I had ever read. I hope it will help a lot for all. Thank you so much for this amazing posts and please keep update like this…

AWS Training in Hyderabad

Data Science Course in Faridabad - 360DigiTMG said...

Thanks for bringing such innovative content which truly attracts the readers towards you. Certainly, your blog competes with your co-bloggers to come up with the newly updated info. Finally, kudos to you.

Data Science Course in Varanasi

cloud computing course in jaipur said...

Extremely overall quite fascinating post. I was searching for this sort of data and delighted in perusing this one. Continue posting. A debt of gratitude is in order for sharing. data scientist course in delhi

data science said...


Great to become visiting your weblog once more, it has been a very long time for me. Pleasantly this article i've been sat tight for such a long time. I will require this post to add up to my task in the school, and it has identical subject along with your review. Much appreciated, great offer. data science course in nagpur