(Topic ID: 251102)

Mission Pinball Framework for Animations

By Prospekteur

4 years ago



Topic Stats

You

Linked Games

No games have been linked to this topic.

    #1 4 years ago

    Is it possible to use MPF only for videos and animations. Can I programme the MPF only for Videos when a switch is hit by a ball?
    Which possibilities are out there to play videos if switches are hit? I only need a solution for videos and animations (not whole systems like p-roc or fast pinball).

    #2 4 years ago

    How do you interface with your hardware? MPF supports a lot of platforms and you can add your own by implementing the platform interface (in python). Alternatively, you could implement the Backbox Control Protocol (BCP) and only use MPF-MC (MPF media controller). Bother ways are possible. The former is probably easier and more flexible. Here is a short overview over the architecture: http://docs.missionpinball.org/en/dev/displays/mc/index.html of MPF and MPF-MC. You can find a simple platform implementation here (for the RPi): https://github.com/missionpinball/mpf/blob/dev/mpf/platforms/rpi/rpi.py. If you want to maintain it separately from MPF we also support external platforms in another module: https://github.com/missionpinball/mpf-demo-platform.

    Jan

    #3 4 years ago

    Im Interfacing with some arduinos (arduino mega and UNO) and an simple driverboard. So if its possible only to use MPF-MC for the animations and DMD with an laptop for example, that would be more than great. I couldnt implement the whole interface Plattform into MPF, because im not good in python (more of c+). But I could imagine to go with the backbox and mpf-mc. I will get a bit further in it and will check now difficult it is

    1 week later
    #4 4 years ago

    Prospekteur if you want to use arduino with MPF, a simple setup (to start) would be to emunate keyboard strokes using arduino. There a probably tons of resources for that but have a look at http://mitchtech.net/arduino-usb-hid-keyboard/ to start.

    In any case, I hope that you share your project here or somewhere we can read about it.

    #5 4 years ago

    @arthurl :

    Thanks for that advice. Can you tell me more detailed how to connecting the arduino with mission pinball?

    You can follow my project here: https://pinside.com/pinball/forum/topic/arduino-pinball-project

    #6 4 years ago

    Is the Arduino powerful enough to play videos? Have you thought about one of those mini PCs like in TNA?

    #7 4 years ago
    Quoted from konjurer:

    Is the Arduino powerful enough to play videos? Have you thought about one of those mini PCs like in TNA?

    MPF is not running on the Arduino. The Arduino will interface to a PC (such as the up board used in TNA) via USB. There are multiple ways to connect MPF to hardware platforms. Usually, the platform author writes a few lines of python glue. Alternatively, the platform can implement the existing serial LISY protocol (http://docs.missionpinball.org/en/dev/hardware/lisy/protocol.html).

    In this case where the game logic runs on the Arduino instead of in MPF more options exist. Implementing BCP (as mentioned above) or USB HID are a few of them. Writing a few lines of python glue is probably still the cleanest option but other ways exist. This is certainly not the primary usecase for MPF.

    1 week later
    #8 4 years ago

    Thanks all here for your great help. I often thought to change to FAST pinball. But my work with this machine is very advanced, all mechanical parts are controlled by arduino and working just fine. Only Problem I have is to find a solution for the animations.
    Arduino itself cant play Videos. Its not powerful enough. But I use another two arduinos to play the sounds.

    Reply

    Wanna join the discussion? Please sign in to reply to this topic.

    Hey there! Welcome to Pinside!

    Donate to Pinside

    Great to see you're enjoying Pinside! Did you know Pinside is able to run without any 3rd-party banners or ads, thanks to the support from our visitors? Please consider a donation to Pinside and get anext to your username to show for it! Or better yet, subscribe to Pinside+!


    This page was printed from https://pinside.com/pinball/forum/topic/mission-pinball-framework-for-animations and we tried optimising it for printing. Some page elements may have been deliberately hidden.

    Scan the QR code on the left to jump to the URL this document was printed from.