(Topic ID: 239045)

Arduino Pinball Controller

By AmokSolderer

2 years ago


Topic Heartbeat

Topic Stats

  • 761 posts
  • 58 Pinsiders participating
  • Latest reply 4 days ago by AmokSolderer
  • Topic is favorited by 99 Pinsiders

You

Linked Games

No games have been linked to this topic.

    Topic poll

    “Are you using the APC and what's the reason if not?”

    • I'm using APC with MPF 4 votes
      15%
    • I'm programming APC natively 2 votes
      7%
    • I'm waiting for PinMame support 5 votes
      19%
    • I have an APC board, but I still have to populate it 3 votes
      11%
    • I would only use the APC if populated boards were available 13 votes
      48%

    (27 votes)

    This poll has been closed.

    Topic Gallery

    View topic image gallery

    1810171024_Guangdong-Hottech-APM4953_C181099.pdf (PDF preview)
    1810061025_Infineon-Technologies-IRF7316TRPBF_C55887.pdf (PDF preview)
    20210722_181324 (resized).jpg
    20210714_110844 (resized).jpg
    20210715_010609 (resized).jpg
    90604CAD-DC40-40B3-9F56-7BA2F4A23025 (resized).jpeg
    img-2718-tQs8d72n-2-2.gif
    66933565-BC7C-4169-BC7B-F9B405142B14 (resized).jpeg
    20210425_124411 (resized).jpg
    20210425_124407 (resized).jpg
    20210425_124220 (resized).jpg
    20210425_124218 (resized).jpg
    20210308_082220 (resized).jpg
    P1020681 (resized).JPG
    PXL_20210227_045123229 (resized).jpg
    PXL_20210225_042701758 (resized).jpg

    There are 761 posts in this topic. You are on page 15 of 16.
    #701 87 days ago
    Quoted from AmokSolderer:

    I know Lisy can run MPF, but I don't know what it would take to make this setup work with the APC, too.
    It is on our to-do list, but up to now nobody seemed to need it.
    bontango Ralf, do you have an idea how much effort would be required to do this?

    I wouldn't be running MPF on the LISY board, why use a Raspi when you have a Core i5? My MPF game requires a full PC.

    I'm planning on using the LISY board strictly for System 1 games, so I don't have to rewrite them in MPF.

    #702 86 days ago

    Any chance someone has a board that is completely built that they would like to sell? I picked up a High Speed project this week and I am interested in making some custom rules with MPF. I originally contacted Snux about buying his board and he directed me to this thread. Unfortunately I do not have the tools or the knowledge for SMD soldering.

    #703 82 days ago

    The APC-GTB boardset survived 2 full days of nearly constant play with no failures.

    I picked up Pharaoh and Space Shuttle playfields. Pharaoh is complete and ready to drop in so that moves Williams way up on my list.

    I'm also interested if there are any Williams PCBs around. Palmer, nice chatting with you.

    #704 77 days ago

    There are a lot of people who have asked me for spare boards. Is there enough interest for another run?

    #705 77 days ago

    I’d be in if there was another run.

    #706 77 days ago

    For a complete kit, i am here!

    #707 76 days ago
    Quoted from ThatOneDude:

    There are a lot of people who have asked me for spare boards. Is there enough interest for another run?

    YES

    Add me in

    #708 76 days ago
    Quoted from papacalozerss:

    For a complete kit, i am here!

    #709 74 days ago

    I'd like to get a board too: if someone's doing a run, let me know.

    #710 73 days ago

    OK, so I posted this because of all of the PMs I was getting recently. I would be happy to help someone with getting an order done, but I don't think I have time to do it myself right now.

    #711 73 days ago

    Looks like it would be problematic right now anyway. Just for kicks, I tried to do a board reorder, and I see this now:
    ["C55887","C5983"]out of stock
    Not sure if they will be back in stock.

    #712 73 days ago
    Quoted from ThatOneDude:

    OK, so I posted this because of all of the PMs I was getting recently. I would be happy to help someone with getting an order done, but I don't think I have time to do it myself right now.

    I just had a run of PIN2DMD boards done, and can get a quote for APC boards. Can you give me an idea of the number of people that showed interest?

    #713 73 days ago
    Quoted from HighVoltage:

    I just had a run of PIN2DMD boards done, and can get a quote for APC boards. Can you give me an idea of the number of people that showed interest?

    I think I've gotten requests from around 10 people so far since I ran out of extra boards. Not sure I kept the message threads, so probably just advertise here, and you will get a bunch of them.

    #714 73 days ago

    IRF7316 is not currently available. Is this APM4953 a compatible replacement? Click on images for full datasheet.

    1810061025_Infineon-Technologies-IRF7316TRPBF_C55887.pdf

    1810171024_Guangdong-Hottech-APM4953_C181099.pdf

    #715 73 days ago
    Quoted from ThatOneDude:

    I think I've gotten requests from around 10 people so far since I ran out of extra boards. Not sure I kept the message threads, so probably just advertise here, and you will get a bunch of them.

    I would be interested in a board, too.

    #716 73 days ago

    I'm in for a board!

    #717 73 days ago
    Quoted from HighVoltage:

    IRF7316 is not currently available. Is this APM4953 a compatible replacement? Click on images for full datasheet.

    Looks good. Do they have a replacement for the 74hct273?

    #718 73 days ago

    Maybe this part for the 74hct273? C513294

    #719 73 days ago
    Quoted from ThatOneDude:

    Looks good. Do they have a replacement for the 74hct273?

    Thanks. IRF7316 was the only one reported to have availability problem.

    #720 72 days ago

    That's a problem right now, parts availability varies day-to-day it seems. Now ULN2803A is no longer available.

    I was told I need to order 2,000 and can have them in my inventory for future orders, LOL. Everyone in for $6,000?

    #721 71 days ago
    Quoted from ThatOneDude:

    So, I have 4 other people wanting a board. That's all 5. For those interested, that's $25/board shipped to me, populated with the SMD parts.

    I'm getting quotes with the SMD parts alone costing that much. Do people still want boards that are currently running about $50/ea?

    It's not a good time for manufacturing these it seems.

    #722 71 days ago

    That sucks. Yeah, we might have to wait for some more stability before doing an order.

    #723 71 days ago

    Who knows when the situation improves though. Some quick checks and estimates, I think the cost of the board would be $165 - $175. If you're interested at this price, PM me and I'll see if there's enough interest to pursue it.

    $50 (SM populated board)
    $30 (Due)
    $70 (through hole parts)
    $15 (shipping to you)
    -----
    $165

    #724 69 days ago

    Hi all! After a 2 month break, I'm back to my Firepower custom coding!

    I'm struggling with a bug right now, maybe AmokSolderer you can help me... In certain conditions, some lamps don't blink after a call to AddBlinkLamp()... I'm not sure why. Any idea what could cause this ? Or any idea how to troubleshoot what is going wrong ?

    #725 68 days ago
    Quoted from matiou:

    In certain conditions, some lamps don't blink after a call to AddBlinkLamp()...

    Replying to myself as I finally fixed it At the end of a game, I was going into attract mode when some lights were still blinking, and I guess it was messing up some timers. Now at the end of a game, before going to attract mode, I have a loop doing a RemoveBlinkLamp() on all 64 lamps, and it fixed my issue.

    #726 68 days ago

    ^ Nice work!

    #727 67 days ago
    Quoted from matiou:

    I guess it was messing up some timers.

    Yeah, this can lead to very nasty problems. Therefore it's absolutely mandatory to keep track of the timers in use.

    You might want to enable the debug mode in the System Settings. This will show the number of active timers in the credit display (at least up to 9). Up to now this function was not working with numerical displays, but I did a quick fix in the 0.23 branch to make it work. However, I had no time to test it, so handle with care.

    Activating the debug mode has another effect which might come in handy for you: It activates the USB communication for your game. That means you're able to see error messages on the Serial Monitor of your Arduino IDE. Furthermore you can use the Serial.print() commands inside your game code to write to the Serial Monitor - very nice for debugging.
    Anothers effect of the debug mode is that the game will stop when an error occurs after turning off all solenoids and lamps, but you can change that in the ErrorHandler() in APC.ino

    #728 67 days ago
    Quoted from AmokSolderer:

    You might want to enable the debug mode in the System Settings

    Thanks! Yes, I'm using the debug mode extensively to "serial print" troubleshooting messages... especially because my displays are numerical only, so I cannot really use them to pass information. However, I have not paid attention to the timer counter in the credit display... Maybe it does not work because my code overrides the number which is displayed here... not sure, but I'll have a look and let you know.

    #729 66 days ago
    Quoted from matiou:

    Maybe it does not work because my code overrides the number which is displayed here

    No problem there as the debug mode will always overwrite the normal display content.
    If it doesn't work with the updated 0.23 code from yesterday then I have to recheck it.

    #730 64 days ago

    Hello

    Does anyone know why the system11 LED display here https://github.com/AmokSolderer/APC/tree/master/DOC/Hardware/Sys11a_Display are system11a only ?
    Thx

    #731 64 days ago

    The name is a bit misleading. The design also works in System11b machines.
    Here's a link to a website a friend of mine did about an older version of this display:

    http://baumfalk.net/Displays/sys11_1_en.html

    #732 64 days ago

    I ordered some APC boards and parts. Not all have been reserved yet, so if you want one, it's $120 + $15 shipping.

    The board comes with the SMD parts installed, but you need to install the through-hole parts yourself, and you provide your own Arduino DUE.

    For those that inquired about wanting a fully complete board, if I have any left over, I may complete and sell ready-to-go ones at a higher price.

    #733 61 days ago
    Quoted from AmokSolderer:

    No problem there as the debug mode will always overwrite the normal display content.
    If it doesn't work with the updated 0.23 code from yesterday then I have to recheck it.

    I confirm it's working for my system 6.... and very helpful, thanks!

    #734 56 days ago

    Good news: I picked up a Gottlieb Cleopatra! Great candidate to convert to APC, MPU has slight acid damage and an Asteroid Annie ROM (???), small transformer is missing so I need to rework the power system. Not going to hand build another GTB lamp driver board... however the original driver board is intact. Thinking about making an adapter board to interface with the APC.

    Bad news: Now I have to design and code a display interface for Gottlieb System 1.

    #735 54 days ago
    Quoted from RatShack:

    Good news: I picked up a Gottlieb Cleopatra! Great candidate to convert to APC, .....

    Have you looked at LISY1 boards? I put one in Charlies Angels and it performs nicely.

    #736 54 days ago
    Quoted from SYS6:

    Have you looked at LISY1 boards? I put one in Charlies Angels and it performs nicely.

    I'm enjoying rolling my own versions of the APC. I'm more interested in tinkering and homebrew games rather than just getting a game running.

    #737 51 days ago
    Quoted from ThatOneDude:

    There are a lot of people who have asked me for spare boards. Is there enough interest for another run?

    I would buy one!

    #738 51 days ago
    Quoted from bimm25i:

    I would buy one!

    Talk to HighVoltage

    #739 49 days ago

    The boards I ordered are currently in shipment: they've landed in the US, so shouldn't be long now. The DUE boards are scheduled to arrive this week. I have already received all the through hole parts.

    I've had quite a few inquiries, so if you want one, I suggest contacting me to pay now. That's the only way to reserve one. That's also a "heads up" to the others that PM'd me that they're interested.

    1 week later
    #741 37 days ago

    Looks like the DUE I ordered for my board doesn't have headers. Was wondering if it would be a problem just to solder it to the board. What inconveniences will that create?

    #742 36 days ago
    Quoted from HighVoltage:

    Looks like the DUE I ordered for my board doesn't have headers. Was wondering if it would be a problem just to solder it to the board. What inconveniences will that create?

    I would solder the headers on. Same pain in the ass of soldering it to the board, but you can remove it afterwards. I've fried arduino boards before, and I would always opt to be able to easily replace it.

    #743 35 days ago

    I just learned about this project. Where can I learn the latest state of things? It seems someone is selling populated boards?

    End goal: I would like to maaaaybe try and write some code changes to Transporter. Mostly for learning purposes.

    #744 35 days ago
    Quoted from gorgar007:

    End goal: I would like to maaaaybe try and write some code changes to Transporter. Mostly for learning purposes.

    You are aware this board would need the current ruleset completely implemented, correct? (unless someone has already done it). It doesn't patch into the existing software at all, it replaces it.

    #745 35 days ago
    Quoted from slochar:

    You are aware this board would need the current ruleset completely implemented, correct? (unless someone has already done it). It doesn't patch into the existing software at all, it replaces it.

    Semi aware yes. Dont understand the whole scope yet or how people are getting to a starting point with some old code.

    #746 35 days ago
    Quoted from gorgar007:

    Semi aware yes. Dont understand the whole scope yet or how people are getting to a starting point with some old code.

    Yeah it's basically writing an entire new game from scratch, reimplementing the code in the new framework(s) that the arduino controller supports.

    not that it can't be done, but it's not as simple as just changing a few things. Someone probably already has written framework that can be modified to suit.

    #747 35 days ago
    Quoted from slochar:

    Yeah it's basically writing an entire new game from scratch, reimplementing the code in the new framework(s) that the arduino controller supports.
    not that it can't be done, but it's not as simple as just changing a few things. Someone probably already has written framework that can be modified to suit.

    I'm excited for a clean slate.. assuming the framework is intuitive enough and all of the game mechanics are easy enough to access. Could be fun!

    #748 34 days ago

    hi,
    There is an alternative approach you could ofcourse program the arduino from scratch using the arduino ide. I was orginally going to use this board and convert my existing code that I had for a gottlieb flying carpet. However i decided that the cobrapin pinball controller was for me. I then transfer the code to the cobrapin pinball controller using the stm32duino ide works very well .Of course the key will be knowing what pins on the arduino connect to the external connectors for the cobrapin the designer gave me all the info i needed. If you search for gottlieb flying carpet cobrapin you can see what i have done. My code could be made available if needed.

    #749 34 days ago
    Quoted from slochar:

    Yeah it's basically writing an entire new game from scratch, reimplementing the code in the new framework(s) that the arduino controller supports.

    Well, since V0.22 there is another way to do it, as the APC SW features a new PinMame exceptions system. This can be used to add some own game code while your game is basically running in PinMame.

    There's a video which shows what I did to my Jungle Lord:


    A short documentation can be found on my PinMame-Howto page
    https://github.com/AmokSolderer/APC/blob/master/DOC/PinMame_howto.md#programming-exceptions

    #750 34 days ago

    Yeah I thought I saw that previously in the thread - acting like a game genie in a way.

    For your linked example do you cancel the 3 second thing for the shooter lane switch if someone manages to not get the switch activated - that shooter lane switches' trust level really screws up some software like 9 ball's - they trust it over the trough switches.

    You should be able to fix the bouncing in by adjusting the eject arm and/or the trough metal as that shouldn't really happen.

    For small patches hooking in is ok but for large wholesale changes nothing beats having the whole thing laid out in source, either the original or a rewritten one. The hardest part of a complete rewrite for simpler games is getting the display/sound choreography correct. It really depends on what gorgar007 wants to change on Transporter.

    There are 761 posts in this topic. You are on page 15 of 16.

    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