--
You received this message because you are subscribed to the Google Groups "rockola477" group.
To post to this group, send email to rocko...@googlegroups.com.
To unsubscribe from this group, send email to rockola477+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rockola477?hl=en.
========================================
Message Received: Oct 06 2011, 11:42 AM
From: "Jim Hawkridge"
To: rocko...@googlegroups.com
Cc:
Subject: Re: Replacing the MM5799 with a PIC
The box I’m working on is a 476, I bough it for couple of bugs a few weeks ago, but nothing works, the power supply is OK, may be the amplifier, I don’t know yet, even the magazine doesn’t turn with the scan switch, but it turn when changing the home switch.
On the logic board the signal RUN stay low even if the signal scan enable (pin 26) change, for this reason the play relay is not energized and the magazine doesn’t turn. All the conditions to get the run signal ON seem to be OK. The MM chip is surely dead.
Designing the replacement of the MM on the logic board is very tricky, I should prefer going in the same direction as you, replacing both in one shot.
I’d like to redesign a new PCB to be installed in the location of the Profit setter board that will reuse the existing connectors for display, keyboard, light indicators and why not the coin validator. The connection to the logic board will be a 28 wires flat cable scrimped on a 28 pins header.
To avoid starting from scratch, I’d to have your schematic, to rapidly create an operational PCB with your software I downloaded.
If I want to implement some new functionally perhaps the coin validator, I will use the Microchip ICD2 to debug. During the debug, ICD2 uses some pins to communicate with the prototype, most PIC reserve pins RB7 and RB6 to communicate with ICD2, therefore these pins are not available for the application. In your document describing the circuit details all pins from Port B are used for display, moreover in Port C pins 7 & 6 are not used, so I will swap port B and C adapting the software for that change
In a second phase may be in the first one I’d like to translate the software in “C” language, much more readable and flexible. Before that, I have to understand the logic of your program as well as the 16F877, I’ve never used.
I you agree with me, could you send me the schematics, personnaly I use Eagle software to draw my schematics as well as to create the PCB layout, but even some hand drawing would be usefull.
Here is my mail address : andre.fl...@skynet.be
Regards
De :
rocko...@googlegroups.com [mailto:rocko...@googlegroups.com] De la part de Jim Hawkridge
Envoyé : jeudi 6 octobre 2011
12:42
À :
rocko...@googlegroups.com
Objet : Re: Replacing the
MM5799 with a PIC
Hi
Many thanks for you cooperation.
I will start to draw a preliminary schematic, as soon as it will be done I ‘ll send you for comments
About the level changer devices, for signals coming from the logic board we just need TTL buffer with a small resistance due to the fact that the signal are 9v active high.
For the output signals going to the logic board a CMOS buffer with inputs TTL compatible, powered with 9V will be OK, Is it the same for the display signals
For the keyboard as well as the coin validator there is no need to convert level, they are just a switches matrix
About the code description I am totally interested with some explanations, because understanding assembler code is quite difficult.
As soon as you have the opportunity to scan the layout, I am also interested even if as you say it is not very usefull
Thank you for future informations
Regards
Andre
De :
rocko...@googlegroups.com [mailto:rocko...@googlegroups.com] De la part de Jim Hawkridge
Envoyé : vendredi 7 octobre
2011 11:37
À :
rocko...@googlegroups.com
Objet : Re: Replacing the
MM5799 with a PIC
Hi,
--
Thanks for your explanations regarding the software functions
Yesterday I started to read it as I had to arrange the order of the signals at PORTA & PORTB
When I described TTL to 9V and 9V to TTL it was something regarding the logic signal from and to the logic board
But finishing my schematic I get stuck with the display signal driver ULN2803 or a similar one ULN2003
Basically to display a segment in a VFD you need to have the anode as well as the grid at a positive voltage level with respect to the cathode voltage
In the rock-ola display the cathode (filament) is at -21VDC, so grounding the anode and grid will be OK to light the segment
If you connect the output of a ULN2803 to a segment line and you put a true level on the input, the output, a NPN Darlington, will go low near ground level, (active level). What happens if you put a low level at the input, does the segment line return to -21V, may be as the NPN Darlington is open collector ? Surely we cannot put a pull up resistor at the output of the 2803.
I cannot figured out how to connect the ULN2803 to the segment and grid signal and where are the pull-up resistors
Could you make me a simple draft to see how to connect the ULM2803
Regarding the keyboard multiplex, in your document are you saying that the four keyboard signal K1,K2,K3,K4 are connected directly to PORTA pins and not behind the ULN2803
I’ll send you my schematic as soon as I will fix my PC problems (anti-virus, zan printer …).
If you have Eagle schematic & layout editor (cadsoft) I can send the “.sch” file instead of converting in ‘.pdf”
Andre
De : rocko...@googlegroups.com [mailto:rocko...@googlegroups.com] De la part de Jim Hawkridge
Envoyé : lundi 10 octobre
2011 15:22
I effectively retreive the mail on the group
Regarding the UART I had the feeling that it was used for the remote control
Regards
De : rocko...@googlegroups.com [mailto:rocko...@googlegroups.com] De la part de Jim Hawkridge
Envoyé : samedi 15 octobre
2011 22:58
À : rocko...@googlegroups.com
Objet : Re: Replacing the
MM5799 with a PIC
Hello,
--
I started to rewrite the software in « C » language, the result should be a software completly interrupt driven.
Basically there are six major events : 1. keyboard key pressed
2 coin switches
3 four input from logic board (A/B, SCAN, HOME, OPTO)
To sense theses events I use a GAL22V10 to generate an interrupt signal to RB0/INT.
In the ISR procedure we have to discriminate which input created the interrupt and then we serve the event.
I join the modified schematic
Regards
De : rocko...@googlegroups.com [mailto:rocko...@googlegroups.com] De la part de Jim Hawkridge
Envoyé : samedi 15 octobre
2011 22:58
À : rocko...@googlegroups.com
Objet : Re: Replacing the
MM5799 with a PIC
Hello,
--
Hi
Yes I did it for my own 476, it works pretty well and have a special feature, the JB play the disk in the order they were selected not in the magazine order.
To do this I set ip up in freeplay, 20 selections available in a queue, when a selection is made, the number is pushed in the queue and dequeued for the next record to play, credit counter decrement as you select and increment up to 20 when a new record is played
Last year a guy in France made a copy of the board and that I troubleshooted it
About the software :
At the beginning I expected to handle the keyboard by interrupt and it never work properly so I decided to handle it by software, evidently the most difficult problem is the switches debounce without any display flickering
Now the rev2 handles the opto switch as well the scan switch by software interrupt and the keyboard by software polling, the other logic signals don’t need a special treatment
I you are familiar with “C” language you should understand the software
The program is well commented, part in English, part in French J
Some slight modifications are to be made in the JB electronic, keyboard diode to be inverted and a small cut in the power supply regulator board.
To debug the program you need a PIC “In circuit debugger” (IDC2)
Regards
De :
rocko...@googlegroups.com [mailto:rocko...@googlegroups.com] De la part
de Richard Ruddick
Envoyé : mercredi 7 mai 2014 16:23
To unsubscribe from this group and stop receiving emails from it, send an email to rockola477+...@googlegroups.com.
To post to this group, send email to rocko...@googlegroups.com.
Visit this group at http://groups.google.com/group/rockola477.
For more options, visit https://groups.google.com/d/optout.