(Topic ID: 58293)

What is the PIG 2? The PIG 2 thread.

By dkpinball

8 years ago



Topic Stats

  • 6 posts
  • 5 Pinsiders participating
  • Latest reply 3 years ago by websherpa
  • Topic is favorited by 9 Pinsiders

You

Linked Games

No games have been linked to this topic.

    Topic Gallery

    View topic image gallery

    opto2.png
    opto1.png

    #1 8 years ago

    I wanted to move the PIG 2 discussion from the For Sale forum to the Modding forum because while they are available to purchase, it’s a modding tool and I think a thread discussing how to use it as well as sharing config options is appropriate.

    The PIG 2 is a mod controller which allows you to easily use signals from your game to employ logic and make your mods do more interesting things.

    It can control lights, servos, motors, and other electrical devices.

    Full documentation can be found at http:\\www.dkpinball.com\wiki

    Configuration is changed by editing the PIG.TXT file that exists on the microSD card which comes with a PIG 2.

    An example configuration would be to connect the PIG 2 IN1 to a rollover switch, then have OUT1 make a light flash for 5 seconds after it is triggered by IN1:

    # OUTPUT 1
    powerMaxOUT1 = 254
    powerMinOUT1 = 0
    fadeOn1 = 0
    fadeOff1 = 0
    delayOn1 = 0
    delayOff1 = 100
    andOUT1 = 0
    mapGI1 = 0
    noInterruptOUT1 = 0
    repeatOUT1 = 25
    repeatDelayOUT1 = 200
    repeatDecayOUT1 = 0
    repeatResetOUT1 = 0

    If you have questions on how to achieve an effect or if you have suggestions for functions, post them here.

    Thanks!

    Mike

    5 months later
    #2 7 years ago

    Anyone hooked up ramp opto's as an input to Pig 2 ? I'd like to put an LED light strip on each of my ST Pro ramp returns and have them be triggered to light up for a couple seconds by the ramp opto being triggered by the ball. There isn't any documentation around triggering off of opto's on the site. Maybe it is simple as pie, but it would be great to hear from someone that has done it.

    #3 7 years ago

    Troy,

    I sent you a response in e-mail. Here is some info for everyone. We've connected them to the spinning disk opto on Tron.

    opto1.png opto2.png
    #4 7 years ago

    Awesome tool!

    --
    Rob Anthony
    Pinball Classics
    http://LockWhenLit.com
    Quality Board Work - In Home Service
    borygard at gmail dot com

    #5 7 years ago

    So let's say you have a Tron LE. What are the most interesting things to do with one in that particular game?

    I mean you say you connected the inputs to the opto for the spinning disk, but what did it do when it sensed state change?

    --Donnie

    4 years later
    #6 3 years ago

    The WIKI for the Pic 2 was taken down a long time ago, but did anyone here create a back-up of it? The Way Back Machine only preserved the index, and I could really use all of the content on that Wiki as I bought one ages ago, never used it and only now am trying to learn how it works and get it configured to control a couple things on my STTNG. (Thanks in advance and sorry for resurrecting an ancient thread.)

    Hey there! Got a moment?

    Great to see you're enjoying Pinside! Did you know Pinside is able to run thanks to donations from our visitors? Please donate to Pinside, support the site and get anext to your username to show for it! Donate to Pinside