(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.

    You're currently viewing posts by Pinsider jabdoa.
    Click here to go back to viewing the entire thread.

    #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

    1 week later
    #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.

    You're currently viewing posts by Pinsider jabdoa.
    Click here to go back to viewing the entire thread.

    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?tu=jabdoa 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.