Jump to content

Amusements

  • Posts

    1,836
  • Joined

  • Last visited

  • Days Won

    18

Posts posted by Amusements

  1. 7 hours ago, Martinb said:

    Regarding the hopper - I was actually wondering being as the operation from the pac drive is so crude (literally ON or OFF) why cant we just wire direct to the motor of the hopper and keep the CC Talk model? I might have a peep at mine to see if that would even work but it can't be that simple, or can it?

    In a nutshell, the PacDrive fires 5v to the hopper relay, which gets the hopper spinning. However, it stays on until the opto senses the coin output, and in turn fires a relay, which connects 2 pins on your Ipac, which makes the "[" or "]" key press on your PC. 

    For triac payouts, you can do away with the Ipac as it does exactly as you say. I use an aduino R3 and route the opto back in to the arduino to stop the hopper spinning.

    • Like 1
  2. 12 hours ago, davep180 said:

    Sadly you can’t just swap them around on scorp 4 because the pac drive is looking for a certain keystroke on each hopper. @Amusements had a method which sorted his, but technically, was above my head lol. You will probably be alright, as I’ve seen your work with real machines on the Mecca. Me, not so much. As for line up, it was pre £1 coins so I think you are stuck with 50p max. I just play with tens on those old school ones. If anyone does know a workaround, I would like to hear it. I think I tried having 2 50p inputs, but I don’t think it read both? It’s been a while since I messed with this stuff. 

    I use a 3-way key switch to cross over the opto connections (coin output sensors), and a separate 3-way switch to cross over the hopper connections from the Pacdrive.

    There is a setting in MFME Config to swop the optos over for AstraSYSA1, but not for scorpion 4/5 or impact. IE:

    Monopoly Deluxe, Very Rich Geezer, Wild Jackpots (scorpion 4)
    Baking Bad (Scorpion 5)
    Club Frame & Fortune, Club Big Top, Club Red Hot 6 (impact)

    The following need the Opto and the hopper switching over:

    both.thumb.jpg.5a2368beabe8b496af8e5cd427e24bee.jpg

     

     

    • Like 1
    • Thanks 1
  3. Looks better than the version I had on the C64! 

    I went to a computer fair at Bell Vue in Manchester back in the 80's. I had a Fiver on me, which was just enough to buy one C64 game. It was a toss-up between Scramble and Qbert. I have forever regretted not choosing Scramble!

  4. On 30/09/2023 at 15:40, Road Hog Mad said:

    Is there a way in a home build that you make it pay out by the press of a button?

     

    I tried changing a button to hopper 1 but nothing happpened.

    Put a key switch in line with the hopper and mains (bypassing the relay powered by the Pacdrive).

  5.  

    14 hours ago, Road Hog Mad said:

    @Amusements I meant to ask you how you got the note acceptor working, as I always have mates coming round with no change :D 

    From what I remember you used a note saving box or something? Care to explain how you did it? :) 

    For the kids hacked money box way, I use 2 timer relays. One controls the timing for the motor that pulls the note in, and another one times the hopper to pay out 10 coins (in milliseconds). I might have posted more info somewhere?

    The other note changer I built, I used a JY-142 timer board and a note accepter.

    Quick vid of the timers. 

     

    • Thanks 1
  6. 18 minutes ago, davep180 said:

    When your download limit resets, it’s here

     

    Ahh! So there was a released 6.1.
    Quite a few upgrades since then:)

  7. Hi Guys.

    Last week I bought a tiny wall cupboard, and kitted it out with an external hopper for 2p payouts, using everything I did above.
    1676255400186.thumb.jpg.9a7ab0b3af061eed00a1ded93b7ad4a9.jpg


    The bad news, is that the switches on my breadboard were a different way round to what I drew! (Them switches are black, square and unmarked!). I have asked Pete to swap the big diagram in my first post for the updated one, but have had no reply, so here is the updated circuit diagram:
    813220759_runhoppr.thumb.jpg.129c6db45bc5365f26e02b39459c23e6.jpg

    Everything is working perfectly on all my installed 2p games, and this set up can be reprogrammed any time. Obviously the hopper has to be primed, and have enough coins in the hopper, as triac payouts are pulsed.

    Here is the finished project working.

     

     

     

     

     

    • Like 4
    • Awesome 1
  8. Hi Guys.

     This thread is for anyone who already has two hoppers on their MFME cabinet, and want to add an extra 1,2 or 3 hoppers for the older fruities. - The older ones with 2p/10p/50p/token solonoid/tube payouts

     After planning this months ago, I finally got round to experimenting with my Arduino Uno (regarding Pacdrive Triac outputs to hopper). (Thanks to getting some quiet during the daytime!)

     So as a newby to Arduinos, I literaly took the simplist code there is for the Arduino (https://docs.arduino.cc/built-in-examples/basics/DigitalReadSerial), and built on it for my test. The idea was to take the 5v output generated by the Pacdrive for triac payouts, and make a hopper spit out a coin, and stop when the coin has paid out.

    Here my diagram of set up.

    1899012102_runhoppr.thumb.jpg.783046340b94a9acebe84a442f13485b.jpg
    Here is what I altered the (public domain) code to:

    //pins
    const int pulse = 2;
    const int opto = 4;
    const int motor = 12;

    int relaya = 0;  // off
    int relayb = 0;  // off

    void setup() {
      // output:
      pinMode(motor, OUTPUT);
      
      // input:
      pinMode(pulse, INPUT);
      pinMode(opto, INPUT);
    }

    void loop() {
       relaya = digitalRead(pulse);
      if (relaya == HIGH) {
      digitalWrite(motor, HIGH);
       }

     relayb = digitalRead(opto);
     if (relayb == HIGH) {
      digitalWrite(motor, LOW);
      }
      }

     

    And here is a quick video example of it running it with a blue hopper.
    https://youtu.be/JTeSdhvOSsg


    (The button being pressed, is only to demonstrate what happens when the Pacdrive 5v output sets a relay off)

    Here is a pin diagram for the opto circuit on a blue hopper as they are never labeled, and a diagram is hard to find.

    574654390_bluehopperopto.thumb.jpg.b92feace3606af51a6775d8e3972b6c7.jpg

     

     

    My next test was to run 2 separate hoppers both at the same time, by duplicating some of the Arduino code.

    //pins
    const int pulse = 2;
    const int opto = 4;
    const int motor = 12;
    const int pulse2 = 5;
    const int opto2 = 7;
    const int motor2 = 13;

    int relaya = 0;  // off
    int relayb = 0;  // off
    int relayc = 0;  // off
    int relayd = 0;  // off

    void setup() {
      // output:
      pinMode(motor, OUTPUT);
      pinMode(motor2, OUTPUT);
      
      // input:
      pinMode(pulse, INPUT);
      pinMode(opto, INPUT);
      pinMode(pulse2, INPUT);
      pinMode(opto2, INPUT);
    }

    void loop() {
       relaya = digitalRead(pulse);
      if (relaya == HIGH) {
      digitalWrite(motor, HIGH);
       }


     relayb = digitalRead(opto);
     if (relayb == HIGH) {
      digitalWrite(motor, LOW);
      }

       relayc = digitalRead(pulse2);
      if (relayc == HIGH) {
      digitalWrite(motor2, HIGH);
       }

     relayd = digitalRead(opto2);
     if (relayd == HIGH) {
      digitalWrite(motor2, LOW);
      }
      }
     

    Here is another quick video of both hoppers running.

     

    Here is a pin diagram for the opto circuit on a common black serial hopper too.
    806103989_coinopto.jpg.836c4988341643b21f1bb82e0a637508.jpg

    Feel free to add anything that may help others below.

     

     

     

     

     

     

    • Like 3
    • Awesome 1
×
×
  • Create New...