Categories
Electronics

Rotary Encoder Hardware Decoder

While trying to come up with a reliable solution for a project where I was using a Micro-controller and a Rotary Encoder and the signals from the Rotary Encoder where anything but reliable, I came up with the following hardware circuit. The circuit will send a pulse out the appropriate pin depending upon the direction that the encoder is turned.

The solution uses only two IC's, a 7474 flip flop and a 7408 AND gate.

Theory of Operation

Simple Rotary Encoders are just two switches with a common ground that get switched on and off one at a time to create a basic binary operation. For example when turning the switch clockwise (figure 1), the sequence of operation is A goes Low, then B will go Low, then A will go High and finally B will go High completing the cycle.

Figure 1

When going counter clockwise, the process is reversed. First B goes Low, then A goes Low, then B goes High and finally A goes High completing the cycle.

The circuit operates in the following way when it receives the signals from the encoder.

Figure 2

Figure 2 above shows the idle status where the encoder is not being turned either way.

Figure 3.

Figure 3 shows the encoder being turned clockwise. The first state is that pin A has gone LOW. This causes the AND gates X and Y outputs to go LOW. With the AND gate Y going LOW, the R line to go LOW and activates the flip flops.

Figure 4.

Figure 4 shows the next stage of the encoder being turned clockwise. In the part of the operation, pin B goes LOW causing the AND gate Z to go LOW.

Figure 5.

Figure 5 shows the next step where pin A goes HIGH. This causes the output of AND gate X to go HIGH which clocks a HIGH into Q of the CW flip flop. The inverted output of the CW flip flop goes LOW which is connected to the AND gate Z. This will prevents the CCW flip flop from clocking anything onto its output when it comes back to HIGH to complete the cycle.

Figure 6.

The final step is pin B going HIGH again which cause the output of AND gate at Y to go HIGH which takes the R line of the flip flops to go HIGH. This resets the output of flip flop CW making Q go LOW and inverted Q to go HIGH. This places the circuit back into the original state ready for the next pulse.

Categories
Arcade Electronics

Replacing CXK5808 with 6116 SRAM

There is a Sony IC which is a 22pin 400mil package and is a 1k x 8bit SRAM that is not all that common, but is quite often faulty when found these days. It can be replaced with the more common 24pin 300mil 2k x 8bit SRAM such as the 6116, but requires that some of the pins are rewired due to the different packages.

The above image shows the pinouts of the 5808 along side the 6116.

You will notice that by moving the 5808 down 1 pin along side the 6116 that all the pins up to pin 16 match up. So the only pins that need to be changed are those below.

pin1 on the 6116 goes to pin21 on the 5808

pin 18 on the 6116 goes to pin18 on the 5808

pin19 on the 6116 goes to Gnd

pin20 on the 6116 goes to Gnd

pin 21 on the 6116 goes to pin17 on the 5808

pin22 on the 6116 goes to pin19 on the 5808

pin23 on the 6116 goes to pin20 on the 5808

pin24 on the 6116 goes to pin22 on the 5808

Categories
Electronics

LM323 Regulator Replacement

We have been working on a switch mode replacement for the now hard to get LM123, LM323 and other TO-3 5v regulators. Our replacement is capable of higher current and has much tighter tolerances than the original regulators and being switchmode runs a lot cooler.

Specifications.

  • Input Voltage: 7 – 34V
  • Output Voltage: 5v fixed (4.94 – 5.06)
  • Output Current: 4.25A continuous
  • Package Case: TO-3
  • Protection: Hiccup-Mode overload, Over Temperature, Short Circuit, Over Current, Under Voltage Lockout
  • Low Ripple: Measured at less than 40mV at full load

These regulators are available for sale on eBay

Categories
Electronics Pinball

WPC – Dot Matrix Controller Board

Replacement board for Model A-14039 boards.

We have designed a replacement for those WPC DMD Controller Boards which are well known for burning PCB under the high voltage section. Our replacement board has a number of improvements to overcome these issues, including larger heatsinks which are spaced further apart, 10 Watt resistors instead of 5 Watt and they are spaced above the pcb with ceramic spacers to improve ventilation. All of the logic section has been remade using surface mount components.

Suits the following titles.

  • Adams Family
  • Adams Family Gold
  • Black Rose
  • Corvette
  • Creature From the Black Lagoon
  • Demolition Man
  • Dirty Harry
  • Dr. Who
  • Dracula
  • Fish Tales
  • Flintstones
  • Funhouse
  • Gilligan's Island
  • Harley Davidson
  • Hurricane
  • Indiana Jones
  • Indianapolis 500
  • Jackbot (DMD Version Games Only)
  • Johnny Mnemonic
  • Judge Dredd
  • No Fear
  • Party Zone
  • Popeye
  • Road Show
  • Slugfest
  • Star Trek the Next Generation
  • Terminator 2
  • The Getaway
  • The Machine BOP
  • The Shadow
  • Theater of Magic
  • Twilight Zone
  • White Water
  • Who Dunnit
  • World Cup Soccer '94

Categories
Arcade Electronics

Connector Types

This page contains images and the names of some of the commonly used connectors, some of which the names may not be so commonly known.


V connector

The V connector is commmonly used for video signal connections. J.S.T.


LV connector

The LV connector series are most commonly used in CRT for the horizontal and vertical deflection. J.S.T.


EP connector

A common power connector for arcade and other boards using a standard 3.96mm pitch with locking tab. TE Connectivity

Categories
Electronics Pinball

Stern Pinball Region Mod

User GIBO over on the Aussie Arcade Pinball Forum has posted that he has a mod available for Stern Pinball machines purchased from the USA to be used in other countries and machines bought from other countries to be used within the USA.

The mod is made for the Spike2 system and from the looks of the image, there is no soldering required which is a real bonus for those who do not have the best soldering skills.

GIBO also has pictures of another mod in the same thread which he says will work with the Spike1 and SAM systems.

Fixes the error: This machine will not operate in this country Please contact your distributor.

Categories
Arcade Electronics

Konami 054544 / 054986A Reproduction Modules

Konami 054544 / 054986A Reproduction Modules

I have reproduced the Konami modules for the below games. Replacing these modules has become a must as the original modules are covered in a conformal coating and the surface mount electrolytic capacitors are failing and corroding the very thin tracks away. Left for long enough they will even damage the game board that they are installed in.

The modules do not come with the DAC or the ASIC chips, they need to be taken off the old module and installed onto the new one, so being comfortable with surface mount rework is a must to successfully change this module.

These reproduction boards have been designed so that all components are located on the top side of the board, unlike the original board and some of the other reproductions out there which has components on both the top and bottom of the board. Our modules use only Tantalum capacitors which eliminates the possibility of capacitors leaking corrosive materials in the event of failure.

054544 Module

  • X-Men
  • Xerex

You can purchase these modules from https://www.ebay.com.au/itm/Konami-054544-reproduction-sound-module/184482910615

054986A Module

  • G.I. Joe
  • Lethal Enforcers
  • Bucky O' Hare
  • Gaiapolis
  • Martial Champion
  • Metamorphic Force
  • Monster Maulers
  • Mystic Warriors
  • Polygonet Commanders
  • Premiere Soccer
  • Run & Gun
  • Violent Storm
  • Wild West C.O.W. Boys of Moo Mesa

You can purchase these modules from https://www.ebay.com.au/itm/Konami-054986-reproduction-sound-module/184520757193.

Categories
Electronics

Component Equivalents

This page is dedicated to listing any equivalent or replacement components which I come across. Like the post dedicated to the DAP008 which turns out to be a perfect replacement for the LD7575 pwm. If there is a datasheet available, you will be able to click the part number to view it.

Original Equivalent Notes
LD7575PS DAP008
DS9214 FP6321
FDMS8670 IRFH5302
AIC2858F DS8293A The resistor divider may need to be adjusted due to the slightly different feedback voltage. FB of the AIC2858F is 0.925v and the FB of the DS8293A is 0.8v. So the output of the replacement is likely to be too low.

Categories
Electronics

Modifying a Zax ITG3 HDD!

Recently a friend received a hard drive from a client which was out of an In The Groove 3 (ITG3) dance machine. The system had been supplied by Zax Amusements. The reason the customer sent the hard drive in was so that my friend could install an updated video driver to support the Nvidia GT210 because the customer was unable to do so. After a bit of investigation, we discovered the reason the customer was having trouble is because Zax Amusements have protected the system drive using Faronics Deep Freeze. On top of this they have also encrypted the ITG3 partition with True Crypt. While I do understand the protection of the system drive in an Arcade machine that is never turned off properly, I can not comprehend the protection of the ITG3 game, which is Open Source and totally Free and is not their property to protect. Zax Amusements also run couple of custom executables, one of which checks the serial number of the HDD. Then on top of all of this, they have put in some weird key mappings into the registry to render the keyboard useless when your in windows.

My friend contacted Zax asking them for their Deep Freeze password so he could install the drivers and leave the system protected as it was. As we expected, Zax ignored the request, so I proceeded with removing the protection from the hard disk for him. In the end doing this was pointless as we ended up supplying a new version of the ITG3 hdd to the customer along with the usb hub and i-pac for the lights. The new system starts up in a fraction of the time of the Zax version.

I was going to release all of the information on how to do it here, but instead I am just going to recommend that any Australian operators with a ITG3 system who need service, contact Jomac. Jomac will be able to supply you with a version of the ITG3 system which runs a lot faster than the version supplied by Zax, and also allows the use of the USB ports for players to use their own songs on usb.

Categories
Electronics

Basic ULN2003 / ULN2803 Tester

A friend of mine was looking for a simple way of testing the ULN2803 IC's so I quickly threw together this circuit and built it on some vero strip board. I would use a 18pin Zif socket if you expect to be checking hundreds of IC's or you will probably be changing the IC socket pretty regularly. The circuit is powered by a single 5V 1A power pack.

uln2003-2803-tester

Parts List

D1 to D8 - 3mm Red LED

R1 to R8 - 56R 0.6W

R9 to R16 - 220R 0.6W

SW1 - Momentary Push Button Switch

U1 - 18pin ZIF Socket or 18 pin IC Socket

When testing an IC you will know there is a short if any of the LED's turn on without the button being pressed, and you will know there is an open if the LED's do not turn on when you press the button. To test a ULN2003 which is a 16 pin IC, put it into the socket towards the back of the socket leaving pins 1 and 18 of the socket empty.