Close
0%
0%

Trekulator - Where No Maker Has Gone Before

Phase One: Make a reproduction of the Mego Corporation Star Trekulator Calculator. Phase Two: Reimagine the device with a modern aesthetic.

Similar projects worth following
I had no idea that the Mego made Star Trekulator Electronic Calculator existed until I saw Al Williams' July 19, 2024 post "RETRO CALCULATOR PANDERS TO TREKKIES… OR TREKKERS". I was hooked even before I got to the fourth paragraph where Al wrote:

"Honestly, we want to 3D print a case to replicate this with modern insides that can drive a display to put different Trek clips and sound effects out. Now, that would be something. Maybe [Michael Gardi] can take a look at it when he’s got a spare minute."

So my plan is to spend a lot of spare minutes having some fun with a Trekulator reproduction plus I want to create a "Next Generation" model.

Inspiration

Lately Hackaday has been my muse!

My MCM/70 Reproduction was inspired by Kristina Panos February 23, 2022 blog post: INPUTS OF INTEREST: CANADIAN MCM/70 WAS KINDA LIKE THE FIRST CYBERDECK. Here was a  beautiful Canadian built personal computer from the mid 70s that I had no idea existed. I had to learn more.

The Commodore CHESSmate Reproduction I did was triggered by the November 14th, 2023  post: THE QUAINT HISTORY OF THE COMMODORE CHESSMATE in combination with having just met Peter R. Jennings, author of MicroChess.  Fate? Coincidence? Either way I felt compelled to move forward.

With Al Williams July 19, 2024 post: RETRO CALCULATOR PANDERS TP TREKKIES... OR TREKKERS it was love at first sight. I was hooked by the whole retro future look of the Trekulator, and it didn't hurt the that units were made using my favorite blue color.  

First Steps

I was lucky enough to find a sort of reasonably priced Trekulator for sale on eBay.  It was just the unit itself with no box or instructions plus it doesn't power up (hence the lower cost). As usual, shipping and customs charges (I'm in Canada) added about 66% of the original cost to the total. Sigh.  However, given the choice of trying to model something from an original or from photos, I'll pick (and pay for) a real object any day.  The Trekulator photo at the top of this project is the one I purchased. 

Perhaps a Phase Three project will be to try and get the Trekulator working, but right now I'm keen on 3D modelling the case as my first step.

  • Keypad PCB

    Michael Gardia day ago 0 comments

    I finally got around to designing a PCB for the Trekulator keypad. I used KiCad 7.0 to do the design.  It's a pretty straight forward 4 row by 5 column matrix. I did  add a diode per switch in order to be able to register "chorded" key presses for my next generation version. 

    PCB layout is another task that I really enjoy, especially with a simple design like this one. There is something relaxing about getting all the components in just the right positions and routing the traces so they look good without having to create any unnecessary vias.  It can be like a very satisfying puzzle.

    I'm also very impressed with KiCad's 3D view. I couldn't find a switch model with square buttons but otherwise it's perfect. I used the 3D view file to create a "dummy" populated PCB that I will use to finish the case w.r.t. mounting the PCB while I wait for the actual ones to ship. 

  • Keypad Considerations

    Michael Gardi10/01/2024 at 15:55 0 comments

    I turned my attention to the Trekulator keypad. My plan is to design a PCB with a pretty standard 4 row by 5 column matrix requiring a total of 9 IO pins to read. I had a bunch of 12 mm x 12 mm push button switches left over from my CHESSmate project that I could use. Here is what one looked like.

    Since the keycaps for the buttons have one correct orientation, and given the round protruding knob, I wondered how I could lock the keycap to that position. I could glue it in place but for me glue is a last resort. This is one idea that I came up with.

    The square base slipped over the base of the switch with enough clearance to shift up and down as the button was pressed but locking the keycap to the correct orientation. While this would have worked it felt a little kludgy to me. The keycap had to be printed in two parts and glued together (ugh) and it just didn't look right.

    I hit up DigiKey and found the following.

    The square knob solves the orientation issue leading to a much simpler keycap. 

    Much better.  I guess the lesson learned here is that you shouldn't necessarily force a design just because you have some parts on hand. Sometimes spending a few extra bucks is the way to go.

    Just for fun I grabbed a standard protoboard and laid out 20 switches in a 4 x 5 grid. To my surprise the buttons aligned perfectly with holes in the Trekulator (on 18 mm centers). So I made a set of Trekulator keycaps to try it out.

    The switches are just set into the protoboard not soldered. I wanted to check how everything fit together, nicely I must say. The buttons work great and have a nice feel, better than the membrane keypad on the original. For a second I considered wiring the keypad point to point as is on the protoboard, but ultimately decided to proceed with a custom keypad PCB which is what I will work on next.

    CORRECTION: While I was laying out the keypad PCB I realized that this "coincidental" alignment was not quite true. The protoboard through holes are 2.54 mm apart. The buttons on the original Trekulator are in fact on 18 mm centers. With standard spacing the closest that you can get to 18 mm centers is 17.78 mm (2.54 mm x 7). Close enough that the buttons line up pretty well but not perfectly. I suspect that they worked as well as they did because the switches were not soldered in and thus had a some "flexibility" when pushing through the case holes. I corrected this alignment issue in the PCB.

  • Sounding Off

    Michael Gardi09/21/2024 at 15:37 0 comments

    I added an Adafruit I2S 3W Class D Amplifier Breakout - MAX98357A module and an Adafruit MicroSD Card Breakout Board+ [ADA254] so that I could play sounds starting with the original Trekulator’s “calculating” sound. There were cheaper modules available but I like to reward Adafruit whenever I can for their hard work especially w.r.t. library creation and maintenance. The amplifier is I2S based and the card reader is SPI based so only 7 IO pins are required. I based the setup on an excellent DroneBot Workshop article Sound with ESP32 - I2S Protocol.

    Of course this sets me up for producing many sounds for my Next Generation project.


    Given how jarring the “computing” sound is, I’m not surprised that the speaker wires on my original unit and one of the Computer History Archives Project’s units were snipped. I think I’ll find a better alternative for my reproduction.

  • 7-Segment Display

    Michael Gardi09/15/2024 at 16:38 0 comments

    I purchased some MAX7219 based 7-Segment displays and reworked the case "small display" model to hold the display. The digits are larger than on the original and the color is wrong but I think I can live with that. 

    I had an ESP32 on hand and have decided to use it for this project. It's total overkill for the straight calculator version, but will hopefully have the horsepower to allow me to do some cool stuff for the "Next Generation" build. The display's 3-pin SPI interface leaves a lot of I/O pins available for other stuff.

  • Original Trekulator Working Better?

    Michael Gardi09/10/2024 at 19:49 0 comments

    So I was demonstrating the Trekulator to someone and at first it wasn't working correctly. The unit would power up but the buttons were not working. After a couple of power cycles the keys started working again and the = sign would now play the sound (badly as before) but would update the display with the result of the last operation. Yay. Seems to be holding after multiple reboots so fingers crossed.

    I had another quick look at the speaker. When I first opened up the Trekulator I noticed that there were two short wires soldered to the PCB that had obviously been cut, and I just assumed that they were for the speaker. To verify this I watched the Computer History Archives Project video again and captured the following two screen shots:

    The one on the left is from the unit with the working speaker, and on the right from the one where the speaker had been removed.  Notice the blue and white wires in both images almost certainly verifying where the speaker was attached.  Unfortunately for me this is exactly where I attached my speaker so I now know that wiring is not the reason my unit does not emit the "calculating" tones correctly. This will require further investigation, but then again maybe it will "just start working" down the road. It could happed ;-)

  • Original Trekulator Mostly Working

    Michael Gardi09/06/2024 at 23:58 0 comments

    In order to more easily model the Trekulator case I carefully removed all of the internal components. In the process I noticed a couple of loose wires, so when I reassembled the unit I reattached the wires. At the same time I installed a small speaker since my Trekulator did not come with one.  It looked like the speaker had been intentionally removed since the speaker wires were cleanly cut, and after watching the STAR TREK Inside the RARE TREKULATOR CALCULATOR video I suspect the speaker was removed because the sound effects were pretty annoying IMHO.

    At any rate my Trekulator now powers up. All of the keys and the display seem to be working. The two issues I have found are:

    1. The sound is not correct. Perhaps the speaker I installed is not a good match?
    2. The = button triggers the sound as expected but the display does not update with result of the last operation, it still shows the last number entered.

    Here is a short video of my Trekulator in action.

    If anyone has any thoughts on what might be causing these failures please get in touch.

  • Modelling

    Michael Gardi09/06/2024 at 14:32 0 comments

    So I spent the last couple of days with calipers, rulers, and protractors measuring and modelling the Trekulator case. I really enjoy this kind of work. I find it to be challenging and relaxing at the same time. I helps when the end result turns out pretty good.

    I'm on the lookout for a better color match but the case is pretty much done.

View all 7 project logs

Enjoy this project?

Share

Discussions

Similar Projects

Does this project spark your interest?

Become a member to follow this project and never miss any updates