Discussion:
PIC P18F45K22 read Stern MPU bcd signal
(too old to reply)
infrared pinball
2021-01-03 20:09:06 UTC
Permalink
Hello,

i dont know if this is the right place to ask this

I have a Stern MPU in the bench that working perfect and i want with a pic microcontroller to read the bcd signal from mpu J1 connector and pins
25=A,26=B,27=C,28=D
I use port B of pic B0,B1,B2,B3 and set that pins as input.

After the seven flash i set the pinball mpu to first test by ground j3 pin to ground for a moment to set the display to count from 0 to 9.

The problem is that the bcd code i get is only 0000 or 1111
As i know the mpu bcd codes is only from 0 to 9 but the 1111 is 15.

this is the code in mikroc

unsigned int bcd;

ANSELB = 0; // Configure PORTB pins as digital
TRISB0_bit = 1; // input BCD A
TRISB1_bit = 1; // input BCD B
TRISB2_bit = 1; // input BCD C
TRISB3_bit = 1; // input BCD D

do
{
bcd = PORTB & 0b00001111;
// code for display bcd value
Delay_ms(50);


} while(1);

Does anyone knows if that is correct.

Regards
Michael
seymour.shabow
2021-01-06 00:16:04 UTC
Permalink
Post by infrared pinball
After the seven flash i set the pinball mpu to first test by ground
j3 pin to ground for a moment to set the display to count from 0 to
9.
The problem is that the bcd code i get is only 0000 or 1111 As i know
the mpu bcd codes is only from 0 to 9 but the 1111 is 15.
Does anyone knows if that is correct.
If it's a stern mpu100 rom in there, the first test is lamps, not
displays. If it's an mpu200 rom, the first test would be a burn in test
which would walk the display.

1111/F=blank, which is what the first test on mpu100 firmware would show

Are you trying to capture the scoring for something like a scorbit or
recording of scores? You will need to connect up the digit enables as
well to sort things out.
infrared pinball
2021-01-13 12:02:31 UTC
Permalink
Post by seymour.shabow
Post by infrared pinball
After the seven flash i set the pinball mpu to first test by ground
j3 pin to ground for a moment to set the display to count from 0 to
9.
The problem is that the bcd code i get is only 0000 or 1111 As i know
the mpu bcd codes is only from 0 to 9 but the 1111 is 15.
Does anyone knows if that is correct.
If it's a stern mpu100 rom in there, the first test is lamps, not
displays. If it's an mpu200 rom, the first test would be a burn in test
which would walk the display.
1111/F=blank, which is what the first test on mpu100 firmware would show
Are you trying to capture the scoring for something like a scorbit or
recording of scores? You will need to connect up the digit enables as
well to sort things out.
The Mpu is Stern 200.
I am trying to capture the display signal to show to lcd for my bench testing. The connections of bcd, digit enables and strobes are connected already to the pic.
I just want first only read the bcd for test at the beginning and then write the complete code.
It is surprises me that the bcd code includes the value 1111

Thanks
seymour.shabow
2021-01-13 16:30:41 UTC
Permalink
Post by infrared pinball
It is surprises me that the bcd code includes the value 1111
That's the decoder chip on the display to indicate all segments off (blank)

There might be residual voltage otherwise if you just rely on the
blanking causing some segments to ghost
robotg...@gmail.com
2021-04-06 22:08:27 UTC
Permalink
Post by infrared pinball
The Mpu is Stern 200.
I am trying to capture the display signal to show to lcd for my bench testing. The connections of bcd, digit enables and strobes are connected already to the pic.
I just want first only read the bcd for test at the beginning and then write the complete code.
It is surprises me that the bcd code includes the value 1111
This project may do what you want. I built up a couple and they seem to work well. I had a single display for bench testing but that needed a jumper set for what display you wanted to view. The one on the LISY site shows them all at once:

https://lisy.dev/bally-lcd-display.html
marlon markland
2021-04-06 22:19:39 UTC
Permalink
https://pinballsarcadegames.com/product/ac-dc-pro-pinball-machine-by-stern/

http://pinballsarcadegames.com/

phone number....2105705281


arcade gamer arcade games arcade games for sale arcade games for sale near me arcade games for sale walmart arcade games near me arcade games online Buy & Sell Pinball Machines Buy a Game Buy Arcade Games Online Buy Pinball Machines Online Buy Used Pinball Online Classic Pinball Games for Sale Collectible Pinball Machines for sale Guide to Buying Used Pinball Machines How much does a pinball machine cost? How much does it cost to buy a pinball machine New and Used Pinball Machines and arcade games for sale old pinball machines for sale pinball machine pinball machine for sale pinball machine for sale - craigslist pinball machine for sale cheap pinball machine online Pinball machines for sale pinball machines for sale by owner pinball machines for sale craiglist pinball machines for sale in minnesota pinball machines for sale minneapolis pinball machines for sale near me pinball machines for sale ohio pinball machines for sale on ebay pinball machines for sale used pinball machines in minnesota pinball machines minneapolis pinball machines mn pinball machines near me refurbished pinball machines for sale stern pinball Used Pinball Machines for Sale used pinball machines for sale near me used pinball machines under $1000 vintage pinball machines for sale near me Why are pinball machines so expensive

http://pinballsarcadegames.com/

phone number....2105705281
John Robertson
2021-04-06 22:36:45 UTC
Permalink
https://pinballsa...
Spammers do realize that folks learn to ignore certain companies and
even boycott them if particularly annoying? And tell their friends who
tell their friends, and so on and so on...

John :-#(#
--
(Please post followups or tech inquiries to the USENET newsgroup)
John's Jukes Ltd.
MOVED to #7 - 3979 Marine Way, Burnaby, BC, Canada V5J 5E3
(604)872-5757 (Pinballs, Jukes, Video Games)
www.flippers.com
"Old pinballers never die, they just flip out."
Jeremy Fleitz
2021-04-06 22:56:55 UTC
Permalink
Post by John Robertson
https://pinballsa...
Spammers do realize that folks learn to ignore certain companies and
even boycott them if particularly annoying? And tell their friends who
tell their friends, and so on and so on...
John :-#(#
Not only that, but I fell for it and clicked on the ad thinking "really a NIB ac/dc?". Then you scroll to the bottom of the page and it says "Moving Mick target", "13 rolling stones songs". Oops! If you are going to spam, at least update both of the descriptions for what you are spamming X)

Nice to post on rgp again!
-Jeremy

Loading...