-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not the latest code #7
Comments
Hello @donfroula! Thanks for flagging the issue. Do you maybe have the latest version of the code? This is the version I received from S&T Geotronics a while ago. Since the download on the OpenEnigma site does not work anymore, I thought I'd host it here on GitHub. |
Hi, Markus,
Your repository was the only place I could locate the software, other than copying and pasting the code from the original Instructables article, I also found that all of the links on the Open Enigma site were dead, I was able to purchase a set of circuit boards and the front panels from Marc at S&G Geotronics. He then sent me the latest code along with an updated BOM and assembly instructions.
I sourced all of my own parts. It seems there are two versions of the main board for two different alphanumeric display types. I think the software is identical for both types, but am not 100% sure about this.
The latest code seems to have integrated the plugboard and non-plugboard versions. The code is written such that the plug board is read once the first time the "Plugs" mode is selected, never again until power cycling. If less than 10 patch cord are used, additional "software patch cords" may be used, but after the first read of the physical board, you need to power cycle to change the plug board settings.
My bug comment is not quite correct. Only the non-plugboard version of the code in your repository fails to operate any of the lamp field LEDs. There is also a lot of flicker on the LED displays indicating a slow multiplexing speed. The plugboard version does operate the lights. In fact, I diff'ed your Plugboard version and the version Marc sent. They are identical, except yours has the Serial debug statements uncommented.
I also noticed differences in the latest code from the YouTube video demos. In "Run" mode, the lamp board now illuminates only as long as the button is held down rather than latching the lamp "on". Also, the auto-repeat function on the rotor selection keyes was eliminated. There is now a selection function to select an M4 (four rotors with double stepping behavior), an M3 (three rotors with double stepping behavior), and an M4 (four rotors WITHOUT the double stepping behavior). This is selected in the power-up mode by the fourth rotor "up" button. Its effect is only seen at the end of the very long scrolling message. The new daughter board has a Bluetooth module set of holes that access the Serial3 UART on the Arduino Mega board. There are print statements and ESC formatting codes in the new code to support either wired or wireless serial printer operation to a specific brand of serial printer.
I modified the latest code somewhat to restore the press and hold-to-advance function of the rotor UP/DOWN keys and Mode Select key only. I moved the Machine Select function from the fourth rotor "UP" key to the Enter key. I also shortened the scrolling message and sped it up a bit to make the specific machine selected more obvious. I also added a power-on lamp test function at startup that illuminates all LED display segments, then the mode LEDs, and finally all of the lampfield LEDS each for 1 second, sequentially. The LEDs are scanned rapidly to minimize current draw. The effect is nice.
I did NOT touch any of the encode/decode logic whatever.
I'm including the code Marc semt, along with my modified code. You might like to give it a try. I like the way it operates much better than the original, especially not having to depress the rotor keys for every change. The only side effect is a very slight delay in the lamp extinguishing after a keyboard key is released. The extended debounce timer (for the rotor key repeat rate) also requires a slightly longer time to wait between key presses. I played with the debounce/key repeat timer and find the value I used optimal. Line 298 in my version contains the key debounce/repeat rate timer.
I wish S&G Geotronics would fix the web site to clarify all of the different board revisions, software versions, assembly guides, and parts lists. The project is not really open source in its present form. I must say, S&G has provided exceptional customer support, even though I only purchased a set of boards from them.
Best regards,
Don Froula
WD9DMP
…--------------------------------------------
On Thu, 1/3/19, Markus Schanta <notifications@github.com> wrote:
Subject: Re: [markusschanta/openenigma] Not the latest code (#7)
To: "markusschanta/openenigma" <openenigma@noreply.github.com>
Cc: "donfroula" <dfroula@sbcglobal.net>, "Mention" <mention@noreply.github.com>
Date: Thursday, January 3, 2019, 4:31 AM
Hello @donfroula! Thanks
for flagging the issue. Do you maybe have the latest version
of the code? This is the version I received from S&T
Geotronics a while ago. Since the download
on the OpenEnigma site does not work anymore, I thought
I'd host it here on GitHub.
—
You are receiving this because you were mentioned.
Reply to this email directly, view
it on GitHub, or mute
the thread.
|
Markus,
Here is a short video showing the lamp self test and repeating key functions I added:
https://youtu.be/Fy8rPTD_xTw
D.
--------------------------------------------
On Thu, 1/3/19, Markus Schanta <notifications@github.com> wrote:
Subject: Re: [markusschanta/openenigma] Not the latest code (#7)
To: "markusschanta/openenigma" <openenigma@noreply.github.com>
Cc: "donfroula" <dfroula@sbcglobal.net>, "Mention" <mention@noreply.github.com>
Date: Thursday, January 3, 2019, 4:31 AM
Hello @donfroula! Thanks
for flagging the issue. Do you maybe have the latest version
of the code? This is the version I received from S&T
Geotronics a while ago. Since the download
on the OpenEnigma site does not work anymore, I thought
I'd host it here on GitHub.
—
You are receiving this because you were mentioned.
Reply to this email directly, view
it on GitHub, or mute
the thread.
|
Markus,
Here is my modded version of the code with one additional change. I modified the font segments to show the "S" character with a different segment pattern from the numeral "5". This helps make the "DS" and "SS" notations in the machine type clearer.
Don
--------------------------------------------
On Thu, 1/3/19, Markus Schanta <notifications@github.com> wrote:
Subject: Re: [markusschanta/openenigma] Not the latest code (#7)
To: "markusschanta/openenigma" <openenigma@noreply.github.com>
Cc: "donfroula" <dfroula@sbcglobal.net>, "Mention" <mention@noreply.github.com>
Date: Thursday, January 3, 2019, 4:31 AM
Hello @donfroula! Thanks
for flagging the issue. Do you maybe have the latest version
of the code? This is the version I received from S&T
Geotronics a while ago. Since the download
on the OpenEnigma site does not work anymore, I thought
I'd host it here on GitHub.
—
You are receiving this because you were mentioned.
Reply to this email directly, view
it on GitHub, or mute
the thread.
|
Looks like S&T Geotronics has updated their website at www.stgeotronics.com. The code from the S&T Geotronics website is identical to the "Open Enigma M4 Plugboard.ino" version of the code posted here except for a couple of debug print statements being commented out. |
The lamp field on the latest PCB revision does not work with this code. The latest version integrates the plug board and non-plug board functionality and also has provisions for a serial printer.
The text was updated successfully, but these errors were encountered: