Results 1 to 11 of 11

Thread: An AutoStop mod project using an Arduino Nano

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Blind Shooter Mcrowell75's Avatar
    Join Date
    Feb 2020
    Location
    USA
    Posts
    34
    Thanks
    17
    Thanks Received
    27

    Default An AutoStop mod project using an Arduino Nano

    With the help of atlanticom I have created an autostop mod using and arduino nano and a few other things.

    Here is a video of it in action.

    Auto-Stop Mod of a Japanese Slot using an Arduino Nano. - YouTube




    Here are the parts I used.



    Mini USB Nano V3.0 ATmega328P CH340G 5V Micro-Controller Board for Arduino & USB | eBay
    $6.75

    4 Channel 5V Relay Shield Module Board for Arduino Raspberry Pi ARM AVR CN | eBay
    $5.95

    MB-102 830 Point Prototype PCB Solderless Breadboard Protoboard US | eBay
    $5.49

    Amazon.com: EDGELEC 120pcs Breadboard Jumper Wires 10cm 15cm 20cm 30cm 40cm 50cm 100cm Wire Length Optional Dupont Cable Assorted Kit Male to Female Male to Male Female to Female Multicolored Ribbon Cables : Electronics
    30mm $8.99


    Here is a diagram of my wiring.

    autostop_bb.jpg

    I power the arduino using the usb port and a 5v phone charging wall plug.


    Here is the arduino code.


    //japanese pachislot autostop mod:
    //mcrowell75 and Atlanticom 2021:
    //This code was written for an arduino nano and a 4 channel relay module:
    //It has been tested on an IGT "Popper King" pachislo:




    int button_1 = 2;
    int button_2 = 3;
    int button_3 = 4;
    int spin_in = 5;
    int spin_out = 6;




    void setup() {
    pinMode (spin_in, INPUT);
    pinMode (button_1, INPUT);
    pinMode (button_2, INPUT);
    pinMode (button_3, INPUT);
    pinMode (spin_out, OUTPUT);


    digitalWrite (spin_out, HIGH);
    digitalWrite (spin_in, HIGH);


    }


    void loop() {
    if (digitalRead (spin_in) == LOW) {

    digitalWrite (spin_out, LOW);
    digitalWrite (spin_out, HIGH);
    delay (random (1000,3000));
    pinMode (button_1, OUTPUT);
    delay (100);
    pinMode (button_1, INPUT);

    delay (random (500,1500));
    pinMode (button_2, OUTPUT);
    delay (100);
    pinMode (button_2, INPUT);


    delay (random (500,1500));
    pinMode (button_3, OUTPUT);
    delay (100);
    pinMode (button_3, INPUT);


    }


    }


    There you have it. Thanks to atlanticom and everyone on the forum who helped me troubleshoot this machine over the last year.

    -mcrowell75

  2. The following 4 users say "Thanks" to Mcrowell75


Similar Threads

  1. Coining Up the Bellco using an Arduino Nano
    By atlanticom in forum Pachislo Modifications
    Replies: 21
    Last Post: 09-12-2021, 09:30 AM
  2. Autostop
    By beaglehead in forum Members Trade area
    Replies: 5
    Last Post: 04-16-2018, 01:29 PM
  3. AS-NET Autostop?
    By mr-monoxide in forum Pachislo Modifications
    Replies: 0
    Last Post: 06-17-2015, 04:04 PM
  4. Arduino
    By hanabi in forum These are the days of our lives...
    Replies: 0
    Last Post: 05-29-2009, 08:22 AM
  5. Autostop Boards
    By Chrisdice in forum Model Talk
    Replies: 9
    Last Post: 07-12-2006, 09:58 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •