--
You received this message because you are subscribed to a topic in the Google Groups "MPF Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/mpf-users/fBTue_cSHhU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to mpf-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mpf-users/f54008a3-d0c6-42b5-8f25-5ed47a9a4221n%40googlegroups.com.
--
You received this message because you are subscribed to a topic in the Google Groups "MPF Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/mpf-users/fBTue_cSHhU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to mpf-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mpf-users/8a560bdc-e803-4bc4-9da5-e80eaab00ea5n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mpf-users/CAD9bh00o91SB9nO07RjPauw9_c%2BVQGr4e6-EMb%2BtMWMRPVoDUw%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mpf-users/CABMT2j3n%3DyT_uz1WP5vKvy7OPSOVVoWwo7f80-bCCkHJF4-9Yg%40mail.gmail.com.
--
You received this message because you are subscribed to a topic in the Google Groups "MPF Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/mpf-users/fBTue_cSHhU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to mpf-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mpf-users/9d1c581b-0978-43f6-86c4-5543b3ed3aefn%40googlegroups.com.
https://youtu.be/wkdzc2ZNsSM?si=XHsknXfjtPYt3-jE
Hi Marc, great to see people sharing their work on OPP. More flexibility and options for home brewers is really good. I had a quick look at your repo on the weekend and offer a few comments and questions. As usual feel free to ignore :)
You don't mention switch matrix in your write up, but I would think you could support it. A user could just not install the input leds as they would provide no use in a matrix setup.
To me it's an odd mix to use surface mount resistors and other through hole components. I'm a dinosaur and dislike surface mount and so would use all through hole - easier for home assembly and board space not really an issue.
The sol8 wing is most interesting. With the sol8 wing have you tested latency for things like pop bumpers and slings? Is the processing fast enough to do away with the direct switch drives that are typically used.
I know this will depend on usb speed / host computer speed / depth of code etc, but wonder if you have a feel for it? If it is fast enough this is great as a single STM might then be capable of run a simple machine as you could do 64 switch matrix, a neo led string and 16 solenoids (2 x sol8) or 12 solenoids (1 x sol8 + 1 x sol). The use of sol8 would lose the ability to test in whiteboard mode but the increased density would be very handy.
The way you are driving the mosfets I think needs to be improved. You want a pull down resistor between gate and ground to ensure it shuts off reliably and quickly upon loss of the gate signal from the STM this is usually done with a 10k resistor. It's also very typical to have a series resistor (100 ohms) between the STM signal and the gate of the mosfet, this is more for high frequency effects, but I think is considered good practice.
Thanks for posting and sharing your work, cheers, David.
On 16/09/2024 5:28 pm, Marc Rechté wrote:I am pleased to announce release 2.4.255.9 of OPP fork (should be compatible with OPP). Feedback appreciated.
https://gitlab.com/mrechte/open-pinball-project
--
You received this message because you are subscribed to a topic in the Google Groups "MPF Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/mpf-users/fBTue_cSHhU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to mpf-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mpf-users/3daa6d18-ca33-4f79-b7fc-3be8d624368dn%40googlegroups.com.
Sorry for being so slow at getting back. I saw this nearly a month ago, and it has taken me this much time to get around to answering it. I thought that when the kids went to college I would have a plethora of time, but it just turns out that work ends up sucking that extra time that you were expecting to have. (Work decided to put me on a couple of projects to "save" them which involved lots of extra hours). If I have neglected sending any of you a response email, I apologize. (I wanted to congratulate Cobra on picking up the bulk cap board, but never got around to it. Cobra, I know that I owe you an email.)
Enough of my personal story. Congratulations on getting this completed Marc. It always takes a ton of work and the only one that can complete such an endeavor is somebody very passionate about the hobby. I have seen a few of your videos and it looks great.
The input switch matrix is hard coded for ports 2 and 3 in the firmware. (It will not allow these wings to be located at other wing positions). This was to minimize the number of possibilities so the firmware could be cleaner, and made the most sense since certain wings couldn't be used because of hardware limitations (mostly the driving of Neopixel bits on a certain pin).
The original OPP hardware was based on the 8 bit HCS08 processor and the communication was a ring based serial at 19.2 Kbps. That scheme was certainly not fast enough to have switches separate from the solenoids and triggering them remotely. Second version of OPP hardware was PSOC4200 processor (I think), and that once again used a token based communication ring at 115.2 Kbps. That processor of course went the way of the dinosaur and so here we are at the STM32F103 based version of OPP. During the transition from PSOC to STM, I added switch matrix support. This was the first time that I really started to understand how slow (in processor time) pinball really is. I replaced a Bally pinball machine hardware with OPP hardware, and in that case, a switch matrix input is used to fire the solenoids. Before this point, I probably would have guessed that it would not be fast enough. Taking the Addams family switch matrix for example (https://homepinballrepair.com/wp-content/uploads/2019/12/Addams-Family-Switch-Matrix.jpg)...it reads 500 time/s or every 2ms. (Note switch inputs for things like Upper Left Jet, Left slingshot, etc) Of course, worst case, you will have to read the whole switch matrix before getting to the correct column and there are 8 columns, so it might take up to 16ms to recognize a switch input. Then say you can drive the solenoid immediately. With the current version of the hardware (STM32) and using point to point USB, it should be relatively easy to reach this latency. Now there is a whole lot of other things that factor into it (such as speed of MPF polling, amount of queued packets, etc) but it should work. To make it more clear, I think that having an input on one OPP board, then calling a solenoid kick on a different OPP board should work with the latest hardware. This goes back to the fact that I just didn't understand how mechanically or physically slow pinball really is. (In my real job people say that need real time performance. I always have to ask them what that means to them. When triggering a light source, it meant < 1us delay, with pinball, it seems 16 ms can be considered real time enough)
With the OPP firmware, Marc has found a few bugs that could be addressed in an updated version. (Thanks Marc for finding these.) None of the bugs affect the operation code, so they are all really low priority. At some point I will update the code to address them, but since they can't cause any issues, it is certainly not high on my list of priorities.
I doubt if I will merge Marc's code back into OPP unless a whole bunch of people ask me to do it. If somebody asks me for a new feature and I'm modifying the code and need to run all the regression tests again, I might do it, but, barring that, probably not. If somebody said, hey Hugh, could you do this and it tickled my fancy, I would probably do it.
On jumping to using Booty. (3.0?). It would be great if Marc would move to that. It drove me insane that when I moved from PSOC to STM, I lost the bootloader. (All other versions had bootloaders so cards could be updated in situ). I knew Marc was making updates at the same time I was doing the bootloader, but we both had our own schedules. It is up to him if he wants to spend the time.
This response is already too long. Congratulations again Marc for finishing this hardware. I see it especially useful for driving things like score reels on old EMs. You would have had to throw another couple of boards in there to drive them, where a 32 bit solenoid card would make that much cleaner. Nice! Good luck.-H