Sega Star Trek Captain’s Chair Coinbox

Madaracs on the KLOV forums was kind enough to loan me his Sega Captain’s Chair CoinBox for measurement of the dimensions. With his coinbox I was able to modify the preliminary plans I had posted to my Captain’s Chair Restoration.

I have decided to release the plans to the public under the TAPR Non-Commercial Open Hardware License which indicates:

You may make products based upon this design, provided you do not make more than ten units in any twelve month period for your personal use.

If you agree with the license terms and are interested in the coinbox plans; they are here:

Sega Coin Box Plans (PDF)
Sega Star Trek Captain's Chair CoinBox Plans (PDF)

Thanks to Muel and Madaracs for the help enabling these plans. Now all I need to do is gain access to Austin’s TechShop to waterjet me some material from these plans.

Color Vector Pattern Generator

Almost a year ago I posted in my Star Trek Captains’ Chair worklog that I intended to modernize a old XY Pattern Generator design on the interwebs. Many of the guys on VectorList provided valuable insight into the interworkings of the circuit… and provided many layers of helpful advice.

The result was a working prototype board from BatchPCB.com as a dual sided board. Surface Mount ( yes; I can hear the screams of horror ) as I wanted to minimize PCB size and thereby cost.

There were several key learnings that I’ve noted while building, debugging, and using the Vector Pattern Generator. These learning were as follows and have been incorprated into the FabB design:

  1. The clock generator circuit (3.578MHz xtal) and U1ABC was not “locking”. This was due to the buffered logic of the newer 74HC* logic. Some research on the internet indicated I needed a 150pf cap from pin1 U1A to ground to allow the clock generator to exite enough to lock.
  2. The -12V buck converting power supply wasn’t outputing the correct voltage. It’d start out at ~11V…. the drop to ~5V over several minutes. On my debugged board; shorting R26 (10meg ohm) allows the -12V to become rock steady at -11.8V. Unsure here; the Maxim EE sim was very specific on the 10meg ohm value… but the maxim datasheet indicated two modes for VL to operate in. So for now will error on the practical side.
  3. The 5V regulator did not have enough copper to heatsink to. FAB B has a large 5V copper heatsink built into the board for the linear regulator. For my prototype; I thermal epoxied a small heatsink from a old motherboard onto the top of the regulator to give it some thermal sink.
  4. The Linear POT datasheet was missing details regarding the LED side of the POT. One hole was off and was moved to match the device.

I also included the following “Nice to Haves” into the FabB design:

  • Retrofitted EPROM sockets to enable A11 for a 27C32 eprom(s)… allowing for more user designed test patterns.
    NOTE: A11 is hardwired to high to match 2716 eproms configurations. No clock/decode is provided for A11. Future FabC work if a solution can be found.
    At this time you can use either 2716 or 2732 eproms in this design.
  • Renamed topside adj pots to indicate X and Y.
  • Converted to 3pin jumpers so the jumpers can be mechanically sound when output swing is not shorted.

I have decided to release my portions of this design under to the public under the TAPR Non-Commercial Open Hardware License which indicates:

You may make products based upon this design, provided you do not make more than ten units in any twelve month period for your personal use.

If you agree with the license terms and are interested in the FabB schematics; they are here:

Vector Pattern Generator: Fab B Schematics(Click here to open as PDF)

For those without PCB layout tools; a bare PCB is available from the batchpcb service for under $65. You can purchase the boards from this link:
http://batchpcb.com/index.php/Products/91905

The Bill Of Materials (BOM) of the board is available from Digikey for $75.51 (as of this post).
A bom is included with the schematics PDF above, but An XLS file with the digikey part numbers with the complete package of the materials above as a single download: XYpatternFabB_pkg.ZIP
You will need to source your own 2716 or 2732 EPROMs as Digikey does not carry them. You’ll also need to source your own 14-16VDC wallwort … you may already have a donor in your parts bin leftover from a defunct piece of equipment.

ROM images for the EPROMs can be downloaded from several sources. Hint: Do a search for XY ROM images .zip in Google.

Use the ROM images as-is for 2716 EPROMs. For 2732 EPROMs; just dup the roms using the following dos commands (as an example):

copy /B X.BIN+X.BIN x32.bin

/B is important as it tells copy that the files are binary, not ASCII files.

The Author is still using the FabA prototype; he has not yet built FabB so YMMV.  The changes from FabA were relatively simple; so building these should be a low risk.

The active components (switches, linear pot, adjustment pots, jumpers, and video connector) are all populated on the reverse side. This will allow me to put the board on standoffs and a acrylic top on the device to protect it from dust/flying multimeter/scope probes.

The board is still quite big even with the surface mount components measuring 5.1×3.9in tall. By far the largest parts on the board are the EPROMs… maybe one day I’ll figure out how to move the EPROMS into a single EEPROM device and surface mount it.

So; what does the Fab A prototype look like?

Click to see higher rez pictures

Vector Pattern Generator: Primary side

This is the primary side; which faces the workbench in normal operation.

Vector Pattern Generator: Secondary side

This is the secondary side. It becomes the “top” of the unit so the user can adjust settings and the like.

Please Note: This implementation is not perfect… there are some issues with the vector generation that I haven’t been able to debug. The imperfection does not really limit the functionality; as you can easily converge and debug a vector monitor with the vectors. I am hopeful someone can help me debug the issues so we can release a better project long term.

Overall the generator worked quite well as I was able to get my ElectroHome G08 monitor converged.

Vector Pattern Generator: Box pattern

I can’t explain the center vectors… nor why the lines become squiggly. They don’t move; it’s always that way.

Vector Pattern Generator: Cross pattern

Strange that the site pattern doesn’t seem to suffer from odd vectors.

Vector Pattern Generator: Box & Cross pattern
Vector Pattern Generator: Horizontal Lines pattern
Vector Pattern Generator: Vertical Lines pattern
Vector Pattern Generator: H&V Lines (crosshatch) pattern

As you can see; the generator works well enough to converge a vector monitor…
At this point I’m not sure if the odd vectors / none straight vectors are the result of a software problem (EPROM images) or a hardware problem.
It’s possible the software isn’t reacting well with the faster hardware (HC logic, better opamps); but unsure.

Things I still need to do [if I ever find the time]:

  • check the +12V portion of the buck converter. Right now I’m using the backup +12V linear regulator (U9).
  • Create an enclosure to house the unit.
  • Figure out how to clock A11 to enable full 2732 support; thereby more test patterns.
  • Figure out why the vectors aren’t “clean”.

Austin, TX: Star Trek Arcade for Dell Children’s Hospital

Please come by Alamo Drafthouse’s Summer of 1982 showings of Star Trek: Wrath of Khan

during the week of June 3rd to June 9th. On location at:

Alamo DraftHouse: The Ritz
320 E 6th Street, Austin, TX 78701

there is a Star Trek: The Original Series Arcade setup to collect quarters for the Dell Children’s Hospital. Machines On location:
1979 Bally Star Trek
1991 Data East Star Trek
1993 Sega Star Trek video arcade machine

—Update 7/9/2012—

After some personal health issues; tonight I finally got around to doing final count of the quarters. The Summer of 1982 Charity Arcade made $146 in quarters. That amount was submitted tonight (7/9/2012) to the Dell Children’s Medical Center of Central Texas – Area of Greatest Need via their online donation process.

Thanks go out to the RITZ Alamo Drafthouse Team for making the Star Trek Charity Arcade such an awesome success – this wouldn’t have been possible without their support.

FreePlay 555 Coin Circuit

My Sega Star Trek Captain’s Chair is destined to be present at the 2012 Texas Pinball Festival. As a result; the game needs to have a FreePlay feature (IE a way for the public to play the game without needing quarters). I know Sega Star Trek has a freeplay rom hack available; however, at this moment, VectorLabs isn’t supplying freeplay roms with their devices. I haven’t spent enough time with the multi-vector boardset to determine how easy/hard it would be to convert to Freeplay. As a result; I wanted a simple inexpensive way to credit up the machine when the user pressed the Start button (1UP).

I toyed with the idea of using a cheap 8pin ATMEL microcontroller; but decided a simple 555 timer could be developed to do most of the heavy lifting. In the end I decided to go with a dual 555 timer (NE556) in a cascaded mono-stable configuration. The circuit features:

  • PowerOn Reset to “credit up” a single credit when power is applied to the machine. Jumpered feature.
  • Ability to drive COIN_NO signals
  • Ability to “interrupt” COIN_NC
  • Can be alternatively stuffed for AC power supplies (6.3VAC GI circuits in Pinball Coindoors).
  • Jumper configuration to “disable” circuit.
  • Barrier Diodes to help prevent “installation error”.

I have decided to release this design under to the public under the TAPR Non-Commercial Open Hardware License which indicates:

You may make products based upon this design, provided you do not make more than ten units in any twelve month period for your personal use.

Schematics :

Click to view FreePlay 555 Schematics in PDF

The first timer conditions the active low switch connected to J2-3 (1P [aka the start button]). On the Sega vector hardware; this signal is tied high to 5V via a 2.2K pullup resistor. The start button connects momentary grounds at this signal. The Trigger on the 555 timer is also triggered when the voltage at pin 6 transitions below 1/3VCC. D4 protects the cpu board by preventing current from flowing back into the cpu board. This timer “de-bounces” the switch which sends a single long pulse via OUT1 (pin 5). This timing is created by TA = C6*R4 or ~242mS. I’ll explain the function of R5, JP3, D1, and C7 later.

OUT1 drives the “armed” LED to notify the user/debugger that a “start” pulse was received. OUT1 is coupled to Timer2 via C4 and R6. The purpose of these components is to provide a “negative” trigger pulse at the falling edge of Output. Timer2 then drives based upon TB = R1*C1 or ~60mS. This is the coinup signal which is sent to the coin circuit of the arcade machine. 60mS was derived from measurements of my acutal Star Trek Captain’s Chair by dropping a quarter into the slot via an Oscope.

OUT2 (pin9) drives Q2 and Q1 respectively. When not processing “start/coin up signals” Q1 is “active” providing conduction between the CPU Board and the Switch (PNP active when base is low). On the sega star trek; I found that I had to interrupt the NC signal of the switch in the coin door to get the cpu to “detect” a coin from our COIN_NO (J2-4) – Q1 provides this interruption. Speaking of NO, Q2 goes active when OUT2 outputs a high… which drives a “low” to the COIN_NO. In the Vector machine; COIN_NO is pulled high thru another 2.2k resistor and drives the !Set signal of a Set/Reset Latch made out of NAND gates. Incidentally; the NC signal drives the !Reset signal. The Q output of the NAND gate drives the clock of a D latch which drives the interrupt pin to the cpu board.

I promised to talk about the R5/C7 combo. These components control the “poweron” coin up timing. TpwrCoin is a function of U2’s timing and R5*C7 which is basically ~1.2seconds. U2 is a ActiveLow microprocessor supervisor IC. It monitors the 5V powersupply and holds !RST low for about 150mS. This allows the top of R5 high thru a 5.5k internal pullup resistor when the device is non-active. Meaning U2 will drive RST high on each timer after 150ms once the 5V rail is at least within 15% of the 5V target (4.25V). This effectively provides a “credit” signal to the game about 1.2seconds after the power button is pressed (for initial credits). In theory; this circuit can be disabled by removing JP3’s shunt.

JP1 provides a mechanism to “disable” the freeplay circuit. IE virtually removing the circuit from your game. Use this in position [2-3] to disconnect the timers from the bases of the transistors which should return the game to normal operation. IE if you want to start charging people money. I plan to use it to enable money when I take it for charity work.

Please be aware; this circuit still allows the coin shutes to work… even if the circuit is enabled. This was intentional.

The PCB is designed as a two layer PCB with through-hole parts on the top layer to enable those less skilled with a soldering iron to build the circuit.


FreePlay 555 Fab A Top Layer w/ Silkscreen


FreePlay 555 Fab A Bottom w/ Silkscreen

For those without PCB layout tools; a bare PCB is available from the batchpcb service for under $14. You can purchase the boards from this link:
http://batchpcb.com/index.php/Products/75967

The Bill Of Materials (BOM) of the board is available from Digikey for $9.02 (as of the time of this post). A bom is included with the schematics PDF above, but An XLS file with the digikey part numbers with the complete package of the materials above as a single download: FreePlay555_pkg

The author’s prototype was built from mostly RadioShack parts he had in his parts bin including the breadboard. He intends to replace this with a PCB from batchpcb in a few months.

Installation note: You need to make sure this circuit used the same voltage rail of your cpu board. The authors’ G08 wiring harnesses did not follow either the Cockpit (which is correct) schematics or the Upright harness (which is incorrect). The J4/P5/p12 harness  shows that the cockpit connects the coindoor lamps to the +5V rail at P5 pin6 and pin8. However, The author’s harness had it connected to the -5V rail which is BAD and will prevent the circuit from working properly (and possibly damaging your machine). The upright schematic shows that +5 and -5V goes to the lamps for 10V… also bad.
Either wire up a new +5V signal to this board; or correct your wiring harness to be like the schematics of the cockpit. Seriously – go double check it.

I wired in this circuit into the coin door harness so the board can be bolted to the inside the door. You’ll need to “cut” the NC wire of one of your coin switchs and put this circuit between it at J2-5 and J2-6. Then wire in the NO signal at J2-4. The Start Button goes to J2-3, the +5V rail to J2-1, and Ground to J2-2.

The circuit works as expected in my machine…. providing an inital “Free” credit upon powerup and then providing additional credits each time the start button is pressed (after the game starts). If you want more than one credit; the circuit can be redesigned; or you can press start multiple times during your “inital” game. 😉

I’m fairly sure this circuit can be adapted to any arcade machine. I provided a bridge rectifier stuffing option at B1 to enable “AC” voltage inputs from 6.3V AC.  Or Jp2 can be “bridged” with solder to enable 5V to via the D3 shottkey diode.  I plan to test this circuit on my Bally Star Trek Pin once I get the PCBs back.

Enjoy… I’ll post more pictures when I get the PCBs back from batchpcb.

Star Trek Red Alert Audio Trigger

For those following my Sega Star Trek Captain’s Chair restoration; I replaced all the bronze plexiglass with some newer Transparent Grey Acrylic which did not have scratches. One of these peices was featured in the Restoration Worklogs at AustinModders.com or KLOV.com where I custom laser etched schematics of the Klingon D7 crusier and the Nomad Probe:


At the time; I predicted that the etch would not show up well once it was installed in the chair:

Sadly; that prediction came true. As a result; I decided I wanted to find a way to lite the etch with LEDs. SeaWolf on KLOV mentioned to me that he planned on lighting his Chair with some red lights to give it a “battle stations” feel while playing… I told him at the time; I’d proably steal his idea … which is the update your reading about now.

To light the Etch; I decided to create a Red Light bar under the custom Black Corner piece I created when I destroyed mine. But before we go there; I had to decide HOW to create the light. I decided I wanted mine to “activate” when a new game was started and then automatically turn off when the game was finished. I don’t have access to the Star Trek source code; so a software hack seemed problematic. Hummm… What’s the next best thing? Audio! With the exception of attract speech from Scotty and Spock; the instructional videos are silent. So I decided I wanted my machine to go into “Red Alert” Mode when real game play audio starts.

The Red Alert Audio circuit was born. 😉 I spent several nights running spice simulations and came up with this circuit which I’m donating to the public under the TAPR Non-Commercial Open Hardware License which indicates:

You may make products based upon this design, provided you do not make more than ten units in any twelve month period for your personal use.

Schematics :

Click to view Red Alert Audio Schematics in PDF

The only IC in the circuit is U1, a dual JFET opamp – TL062P which operates from a single supply at ~12VDC. U1A makes up a 13.5x amplifier to amplify the ~100mV speaker signal from J1-1. The amplifier operates in non-inverting mode; so the gain is derived from 1+R9/R7. R6 is a series resistor intending to limit the loading of the audio amplifier (prevent distorition) and impedance match closer to the that of the 8 ohm speakers present in the upright version of the Sega Star Trek. D1 and D2 provide over/under voltage protection for U1A; limiting pin3 to 12+0.7V and ground (-0.7V) – a real possiblity given the audio amp is powered from a split supply @+/-24V. C2 is a DC blocking cap to prevent our single supply opamps’ bias voltage from loading the sega’s audio amps. R10 provides a high resistance path to our bias voltage of ~6VDC.

The second opamp (U1B) operates in comparator mode; comparing to the voltage divider made up of R4 and R5. V+U1B is (R5*Vcc/2)/(R5 + R4) or 100k*6V/(110k) or 5.46V. If we have no input audio; Pin1 floats above our bias of 6V; forcing the comparator to drive low providing no voltage to the remaining circuitry… effectively an off. Once the amplified input exceeds (6V-5.46V) 546mV; charging current is sent to D3. For those paying attention; 546mV /13.5V/V… means the input voltage at J1-1 must exceed 40mV regularly to charge the capacitor at C1. Empircal evidence on my Chair indicates that “Thrust” alone generates ~100mV at Pin3 of the U1A. Ofcourse your mileage may vary depending on a number of factors including your current volume level.

Once Pin7 of U1B begins to provide a voltage it is channeled to the RC circuit made up of R2&C1. Since the comparator swings between ground and ~+12VDC; it take nearly zero time for the capacitor C1 to charge to full capacity ~R3*C2 or 3.5mS. D3 provides blocking to prevent U1B from loading the RC circuit and R3 provides load resistance to prevent “shorting” the opamp to ground while C1 charges. Once U1B turns off; the RC circuit becomes a voltage source for M3. R2 slowly drains C1 meaning Toff = R2*C1 or ~8.6seconds. This time delay is necessary to ensure the red alert bar doesn’t go off in the middle of a game… IE between Sectors.

R1, Q2, and Q2 make up a BJT Current Mirror with M3 becomming the “on/off” switch for said mirror. When the gate exceeds approx 3.3VDC; M3 turns on conducting R1 to the top of Q1. Since we tied V+ (J2-1) to the 12VDC PSU in the sega G08 Card Cage; We can calculate the reference current into Q1. Iref is (V+ – Q1_VEB)/(R1 + M3_Rds); assume Q1_VEB=0.7V and M3_Rds from datasheet is 5ohm max. Iref is (12-0.7)/(681+5) or 16.5mA. Given Q1=Q2; ILED @ Q2 (J2-2) is 16.5mA; meaning we now have the means to pull 16mA thru up to 5 LEDs. Given my planned use is ~2V super bright Red LEDs; we can fit at most 5 LEDs in the leg of the current mirror before we run out of voltage. Q4 is a secondary Current Mirror “channel” to allow me to drive another 5LEDs… so I now have a means to drive 10 LEDs in the Red Alert Lightbar.

The powersupply for the circuit is made up of D4, C4, and C5. D4 provides a blocking diode incase I screwed up the wiring. C4/C5 provide filtering given the 12VDC source is about 12feet away. D5, R11, and Q3 make up a simple linear regulator to derive the 6VDC (VCC/2) biasing voltage to U1.

Whew! – clear as Mudd? There was some detail there; hope some of it made sense. 🙂

The PCB is designed as a two layer PCB with through-hole parts on the top layer to enable those less skilled with a soldering iron to build the circuit.

RedAlertAudioTop
Red Alert Audio Fab B Top Layer w/ Silkscreen

RedAlertAudioBot
Red Alert Audio Bottom w/ Silkscreen

For those without PCB layout tools; a bare PCB is available from the batchpcb service for under $15. You can purchase the boards from this link:
http://batchpcb.com/index.php/Products/70379

The Bill Of Materials (BOM) of the board is available from Digikey for under $6 (as of the time of this post). A CSV file with the digikey part numbers is here: RedAlertAudio_FabB_bom.csv

Here’s a package of the materials above as a single download: RedAlertAudio.zip

Here is the the prototype assembled:

Now I needed to find a way to mount the 10LEDs under the black corner piece. This was done by laying out a 1inch strip of Red Acrylic in Corel Draw and laser cutting said peice:

I decided the LEDs would be wired as a “circuit” on the Red Acrylic. My LEDs are 5mm in size; so these would edge light the 1/4inch red acrylic. I put in 40mil traces in the design which are etched on the laser cutter to give us groves to put the LED leads in:


5 of the LEDs were placed on the right side with the Cathode of LED1 at the far left side end. LED2’s cathode is wired to LED1’s Anode repeating until the LED 5’s Anode which is then wired back to the left hand side. When the LEDs touch; they are soldered in place. When they don’t touch a piece of Adhesive red rework wire is soldered between the leads:


The Anode is wired back to the left side by the red rework wire. The Anode of the second 5 LEDs is then tied to the Anode of the first 5LEDs and the cycle repeats in reverse until the cathode of LED1 is at the right most side. It is then tied with a peice of Black adhesive rework wire back to the left hand side. This provides a “single” connection side for all the LEDs.

Here’s the finished Circuit on Acrylic:

I twisted about 12feet of yellow and black wire together and wired it into the connector on the G08 PSU at the +12VDC lines; it terminates on pin 1 of J1. The LED connections also terminate on J1. I drilled a couple of 7/16″ holes on the right side of the chair near the speaker using the circuit board as a template; making sure not to go all the way thru the side wood – just deep enough for the hex standoff threads. I then tapped these holes with a #6-32 tap; and placed a set of #6-32 hex standoffs in the holes. A couple of #6-32 screws and the board is now mounted at the top of the chair:

I found that I didn’t need to wire the speaker ground from the PCB to the speaker; instead only wired from the + side of J1-1 to the + side of the speaker. A small 7/16″ hole was drilled thru the wood to allow the 3 rework wires to come thru to the PCB. Given rework wire is fragile, small, and solid core; I put about 3″ of stranded 26 gauge wire before the crimp style connector. All of the excess wire was tye-wrap anchored to side of the wood -leaving plenty of “service loops” to enable future changes.

So… was it a success?

Does it Activate as expected?

While the circuit works as expected; it fails to deliver the intended effect of lighting the Window etch properly. Still a cool effect; one I’ll keep… but I’ll need to give the etch lighting some more thought. I’m also going to try and increase the current thru the LEDs by adjusting the R1 reference resistor. The LEDs should be able to handle close to 20mA (package says 24mA max); so the increase in current should brighten them up a bit.

Star Trek HAPP CoinDoor Red Alert Indicator

On my Sega Star Trek Captain’s Chair restoration; I had to install a HAPP Coin Door because I’ve been unable to locate an original door. This Restoration is featured at AustinModders.com or KLOV.com for those that are interested in the complete project. Anyway, while installing my custom Coin Door inserts; I decided I wanted to modify the stock HAPP coin “guides”. The stock guides look to be black ABS and well … just don’t do it for me. The stock guides are shown here:

you can see the tiny little square just above the coin slot. This is the area we are going to target with this modification. Once you take apart the coin door; you’ll see guide is a piece of formed black abs:

Once I had this guide out; I measured it using a pair of Digital Calipers and layed it out in Corel Draw X4:

The “nubs” would be laser cut out of 1/8″ Red transparent Acrylic and the blanks would be cut out of black opaque acrylic.

The top of the red “nub” was sandblasted to give it a frosted looks so it’d defuse the light as it exits the nub. When assembled the new guide looks like this:

A 1206 Red LED was soldered into the red acrylic’s pocket with red rework wire attached to the anode and black to the cathode.

I need to drill the coin chute to route the LED’s wires:

and I route the wires out the top side of the chute:

Now that I have the LEDs wired in… what am I going to use them for? Well; I decided I wanted to run the LEDs simular to the Series’ Red Alert indictors I viewed a couple of youtube videos and did some wiki searches; but couldn’t find a “factoid” which gave me the timing of a TOS Red Alert indicator. Therefore; I just decided to make timing which would be pleasing to my eye. If anyone knows for sure a flash target; let me know or leave comment and I’ll figure out the correct timing circuit to flash at that rate.

Anyway; I decided to go with a somewhat simple 555 timer circuit. I have decided to release this  design under to the public under the TAPR Non-Commercial Open Hardware License which indicates:

You may make products based upon this design, provided you do not make more than ten units in any twelve month period for your personal use.

The 555 timer operates in Astable mode governed by R1,R2, and C1.

Schematics :


Click to view Red Alert Indicator Schematics in PDF

 The current implementation of the circuit has an “on” time of ~2.6 seconds and an off time of ~1/3 of a second. There is a RC timer made up of R3 and C2 which allows the LED to “wink” into it’s on state. LEDs D1 and D2 are driven by the 2N3904 transistor and wink on at the same time… Rather than do a current mirror; I decided to let D2’s current ~= D1s current given the transistor’s common-base current gain… IE alpha = beta/(beta+1)  which @ ~20mA the 3904’s beta is a minimum of ~90… so alpha is .989 the current of D1. The circuit uses the RST pin of the 555Timer to add additional stability by putting a reset delay on the flipflop in the 555 at ~5seconds. Overkill; proably – but should be very reliable.

The current in the LEDs is controlled by R9 a series resistor intending to limit the current. It was emperically derived using SPICE as a starting point… and then the circuit breadboarded to maximize to 18mA of current flow. D4 is a schottky diode to protect the 555 from reverse wiring mistakes. The LEDs were left unprotected because they and the BJT are diodes … so shouldn’t be impacted by reverse wiring mistakes; additionally, the LEDs voltage drop is already ~2V.. so the 0.1-0.3V voltage drop of D4 might effect brightness.

The PCB is designed as a two layer PCB with through-hole parts on the top layer to enable those less skilled with a soldering iron to build the circuit.


Red Alert LED Fab B Top Layer w/ Silkscreen


Red Alert LED Bottom w/ Silkscreen

 
For those without PCB layout tools; a bare PCB is available from the batchpcb service for under $11. You can purchase the boards from this link:
http://batchpcb.com/index.php/Products/68503

The Bill Of Materials (BOM) of the board is available from Digikey for under $6 (as of the time of this post). A CSV file with the digikey part numbers is here: HappLEDWink_r2.bom.csv

Here’s a package of the materials above as a single download: HAPPBlink_pkg.zip

Here is the the prototype assembled:

Next I needed to mount the PCB inside the coindoor. Since this is a modern replacement HAPP door; I decided to drill and put some #6-32 hex standoffs inside the door. I taped the holes and also added some epoxy to keep the standoffs in place:

I mounted the PCB:

The rework wire is self adhesive; which made it easy to route the led wires back to the PCB and secure it to the reverse-side of the coindoor.

Last but not least; I connected the power to the +5V circuit at the base of the 555 lamp on the coindoor. the lamp circuit on the Sega Star Trek is tied to the +5V PSU… it isn’t 6.3VAC like Pinball Machines.

Here’s the circuit installed and running:

Want to see it in action? Check out our YouTube video:

Custom Coin Mech Reject Art

Having been inspired by Tighe‘s KLOV post on Custom Coin Mech Reject Art – I decided to create some Coin Reject art for my Arcade machines; where applicable based upon his designs. This PDF is provided to you under the TAPR NCL License; which allows you to create and modify up to 10 copies in a 12 month period.

The following Machines are included in the PDF:

  • 1982 Sega Star Trek w/ HAPP CoinDoor (Vector Arcade)
  • 1991 Data East Star Trek: The 25th Anniversery (Pinball)
  • 1993 Williams Star Trek: The Next Generation (Pinball)
  • 2002 TeamPlay Star Trek Voyager (Raster Arcade)
  • 1999 Williams Revenge From Mars (Pinball 2000)

Download the PDF and print without page scaling to get the correct size:

For best results; Print to 8.5×11″ media on a color laser printer.
Tighe prints to standard paper while I experimenting with color laser transparency material.

Download: CoinReject Star Trek n RFM

Enjoy!
Here’s an update to show before / after pics…

As an experiment; I decided to print mine to color laser transparency material I bought by the sheet from Fedex Kinkos. I laser printed it; then coated the back with some summer white plastic enamel I purchased at Lowes. Here’s the result after the white dried:

Here’s the RFM before:

After:

STNG after:

Data East Star Trek: 25th after:

TeamPlay Star Trek: Voyager before:

After:

I’m working on something special for my Sega Star Trek Captain’s Chair… so I’ll post pictures of the inserts when I have an update for my worklog.

Paint matching powdercoat to other colors

During my Star Trek Captain’s Chair Restoration; I found myself wanting to paint match some powdercoat to the existing color of the plastic side panels on the chair.

Please note: Readers are responsible for their own sacrifices to the blood god. Safety first– if you injure yourself implementation of this guide; expect we’ll take no responsibilities. Commentors at Hack-A-Day have indicated that MEK is flammable (as does the label) – so please take the appropriate precautions.

Required materials:

  • Glass or metal mixing vessels  (an airbursh jar works well)
  • Methyl Ethyl Ketone (MEK)
  • A set of Powder Coat colors to mix the colors
  • A paint sprayer… HLVP, Gravity fed, or Airbrush
  • A Panatone(r) Color Cue(TM) or similar device (optional).

Powdercoat using this method appears to be every bit as robust and scratch resistant as normal powdercoat. The author has seen no negative material properties from using MEK instead of a powder coating gun (electrostatic).

For the beginner; Harbor Freight may be a good stop for the primary colors – they usually carry White, Red, Black, and Yellow. Unsure about Green and blue. I also use HF touch up paint guns, HLVP, and airburshes to apply my MEK solutions.  Caswell plating is also a good source for many a color. MEK can be purchase in the paint area of most home improvement stores – I buy mine at Lowes.

I wanted to paint match the powder coat because my chair controls have began to peel and rust. They’ll need to be redone so I wanted them to match the newly retr0brighted side panels.

While the used of the color cue is a good starting place – it isn’t required; you can manually mix colors by eye until you get it right… as you’ll see; I used the color cue to get initial color suggestions (or base colors if you will); then added pure white to bring the color closer to that of the plastics.

I started by measuring the sRGB color of a retr0bright-ed side panel using my Pantone(r) Color Cue(tm) device which I got off of Ebay several months ago and it came up with r246 g230 b198. I pulled these values into the RGB to commercial Tints page at EasyRGB.com. This gave the closest RAL numbers which to match to. I then went to google and did a search for RAL-1013 powder coat which returned a result to powder365.com for their ” Oyster White ” powder coat. Then using the HTML code #F6E6C6
I also used the RGB browser to convert to “RAL Classic” listed six colors with % equivalent matches to my original scanned color.

% 1-?C Color name
96% RAL 1015 Light ivory
94% RAL 1013 Oyster white
93% RAL 9001 Cream
92% RAL 1014 Ivory
90% RAL 9010 Pure white
89% RAL 9002 Grey white

I also did searches for other color combinations and ended up selected the following three colors from powder365.
1lb x RAL 1013 OYSTER WHITE (340/10MIN)
1lb x RAL 7035 LIGHT GREY (340F/10MIN)
1lb x TEXTURED ALMOND (380F/20MIN)

The idea was to put each color on a test piece to see how close to match and pick one which looked the best.

For more information on color matching using the Color Cue; please see Pinball Pal’s Color Cue page.

During my research; I also came across a post to caswellplating.com’s forums which talked about mixing the powder with MEK to “melt” the powder into liquid form for the purpose of correct a blemish on an existing powder coated part. This sparked an idea – why not use the MEK to mix powders together to get an even better color match. I have a quart of MEK in the garage – so it was time to experiment.

I knew the grey wouldn’t really match – it was too grey; so I used MEK to melt it and used a hobby paint brush to apply it to the scrap piece. I then used regular power coating equipment to lay down the almond and oyster for comparison. For the last color; I decided to mix some grey, 2 TSP of pure white (purchased at Harbor Freight), 2.5 TSP of oyster together with a generous helping of MEK to turn the powder to a grey-white “milky” formulation. I applied this with a paint gun:
MEK Test Piece
From Left to Right: RAL-7035+MEK (under thumb), Almond, RAL 1013, and MEKMix

The Right most Grey is “uncured” IE that is how it goes on being applied with a paint gun. Looks fully cured already. and the lines were created with standard blue painters tape. Be-aware – that MEK powder liquid acts just like any paint… it will dry on everything. so protect from over-spray and wear gloves. Unlike the powder form of powdercoat; it can’t just be wiped off of surfaces.

The cool thing about MEK powder-liquid is reportedly it can be used on Plastics and Wood… using low cure temperatures. Ideal for paint matching on cases or other non-metal projects.

With MEK; it looks like one could color match any color given enough patience and primary colors to choose from. Now with this knowledge; it was time to do some actual paint mixing for the purpose of matching the side panels.

I went to work on the control panels:

As you can see the control panels are in need of some TLC. As typical for this machine; the Fire control panel label has begun to deteriorate and is peeling away from the metal. So I removed the label manually – then used Xytol to soak the piece for about 5minutes to soften the label adhesive so it could be removed with a plastic paint scraper. I continued cleaning/soaking the bracket until all the label residue was removed:

Then I sandblasted the bracket w/ ALO2 to remove the rust and other residue. And then finally; I wiped the bracket clean with some clean MEK to remove and remaining dust and oil from the surface.

I then proceeded to powdercoat the underside to the bracket with the Oyster White Powder coat.
For the front; I did an MEK liquid mix as discussed previously. This time I started with a base of 2.5 TSP of Oyster White powder coat and added 1.5TSP of pure white Powder coat. I then mixed with approx 1/4cup of MEK to form a 2% milk-like consistency. I color checked the mixture by using a small paint brush to apply the color to the underside of on of my plastic pieces. This mixture was nearly a spot on match to the plastic so I decided to go with it. I loaded the MEK liquid powder coat to my touch up paint gun

And painted the front / sides with this MEK paint match. Here it is “air cured”:

Once it is dry to the touch / safe to handle (usually about 20minutes); I place the bracket in my powder coat toaster oven for initial curing. during my test runs; I noticed that if you attempt a full cure (400F / 20minutes) with the MEK solution still wet – it will “Boil” the paint leaving rough spots. So I put the piece in the oven at 150F / Warming setting for 10minutes to allow the MEK to evaporate. Then I crank the piece up to 400F for 20minutes for the final cure.

Once the piece cooled to room tempeature; I did a test match against a retr0brighted piece. First; here’s the stock Oyster White (back of bracket):

Notice the slight yellow hue vs the plastic piece.

Here’s the MEK paint match 1.66:1 (oyster to pure white):

I call that a match!

Incidentally; The Color Cue captured an sRGB255 value of 237, 225, 192 for the color matched piece (color code EDE1C0).

Please check out the remainder of the worklog – where I used an airbrush and a laser cutter to create powdercoated labels on the pieces:
1982 Sega Star Trek Captains’ Chair Restoration

Open Source Sega / Gremlin G80 PSU boardset

Over the past couple of weeks; I’ve been designing a replacement G80 PSU for the Sega/Gremlin G80 Vector machines specifically for my Star Trek Captain’s Chair.

I began by using National’s WebBench to design a simulate the 5V and 12V switching PSUs which would replace the linear PSUs on the original board. IMHO; the problem with existing linears is that you’re limited to the Pd of the BJT in the circuit. That BJT leads to a lot of wasted heat in the system. Having said that; I like linear supplies as they are easy to debug and build… for less than 1A of draw.

The Transformer and diode bidges will remain. My intent it to have the board somewhat drop in place of the existing board. I say somewhat; because the power-MOSFETs will need to be bolted to the existing heat sink on both switchers. I’ll probably keep the linears for the negative rails.

I imagine one will have to drill and tap the existing heatsink with some new mounting holes for the mosfets.

Web-bench gave me the following designs:
5V >4A Switcher

12V >2A Switcher

These boards were laid out and put on a single piece of FR4 so they can be assembled as a pair. The design is currently in my BatchPCB shopping cart; waiting for the parent board to complete it’s design phase. Nothing really to write home with regarding these PCBs… I expect the 5V switcher to meet a minimum of 5A… possibly much higher. It’ll likely be limited by the 8A diode bridge on the main parent board. The 12V switcher should meet a min of 2A… probably limited by the 4A bridge on the parent board.

The main parent board is the host for the switching board pairs; and holds the audio amp(s). The main board is currently in development; I’m adding the 12V diode bridge and the final audio AMP.
12V >2A Switcher
Clearly this is an eye-chart schematic. It might be easier to look at the segaSTpsu_rev-99 .

The first notable change is that I’ve replaced the main Audio AMP #1 with a ClassD part from Maxim: MAX9742. This integrated AMP IC should provide specs better than the original discreet amp on the board. It’s configured as a bridge tied load (BTL) targeted for a 23V/V gain with a -3dB frequency of 25Hz. This -3dB frequency and gain was obtained from a spice simulation of the original discreet circuit.

Other notable changes include:

  • Q23 (2N3906) makes “pull down” pulse remover for the CPU board. In the G80 PSU; R23 and D1 make up a pulse circuit which is sent to the CPU board. The CPU board has a 555 timer which implement a missing pulse detector. If a pulse is missed; it puts the CPU into reset. If my theory holds; the 2N3906 acts as a pull down preventing pulses from reaching the 555 timer – which puts the cpu in reset. So if my switching PSUs are not in regulation; this transistor effectively provides a not-“power good” signal to the CPU.
  • U3, U4, and U5 are power good circuits / detectors. U3 is a MAX8215 which monitors the 4 main digital rails to the G80 card cage: +5, -5, +12V, and -12V. These four voltages are “compared” and if in regulation a high is placed on the OUTx lines. These four signals are ANDed together and sent to DIN where it’s “delayed” by ~200mS via C20/R12. This allows the PSUs to stabilize before the CPU is given the “OK” via Q23. U5A and U5B/A1 provide “power good” LEDs for the various power rails – to aid in quick debug of the G80 PSU.
  • U2 provide a local 3.3V linear PSU to power U5 and the pullup on OUT3 (+12V m0nitor). This was done to enable OK12P to drive !SHDN on the ClassD amp. !SHDN cannot have more than +4V driven into it – hence the 3.3V source/pullup. Idea is to prevent premature popping/clicking while the PSU(s) are coming up. The 12V should take the longest to come in regulation and it’s also similar to the VDD/VSS supplies used in the ClassD amp. Additionally !RESET (Dout/U3) drives the “mute” pin of the (SFT / U1) meaning the ClassD amp should remain muted until the “power good” signal is sent to the cpu board.
  • C32/33/L5 (and C27/24/L12) provide a PI filter to reduce vripple into the switching regulators- increasing their stability.
  • I kept Linear Regulators for the lower power rails (-5 and -12) but upgraded the regulators to the National LM2990 as they provide better short circuit protection and slightly more current (1.8A). If desired; one could “in theory” drop in the cheaper/older 79xx series  negative regulators to save costs. They are pin compatible.
  • I’ve put fuses on the +/-12V regulator inputs which are missing from the original G80 design. F6 is a resettable fuse given it’s low power and we need board real estate for other items.
  • Finally LEDs were put in parallel and under the glass fuses on the board. The theory is that if a fuse blows; the LED become a small 10ma current path and the LED lights indicating to the user that the fuse is blown. I neat debug feature if you ask me -hope it works.

I hope to complete the main board design as soon as my upgraded pcb license comes in.
Once I finish the design and validate/test it… I plan to release the design and PCBs via the TAPR open source license.

See a design error? Speak up!