In the meantime as I review my remaining plastic bags, I appear to have accumulated some 'extra' parts. I believe some may be TV related and another perhaps the resistor I could have put into R5 rather than the specific one I am using. Could you confirm I haven't missed something by have 5 extra 680ohm 1% 100PPM resistors, 1 x 1 watt 39ohm 5% and 1 x 279hm 3.5 50PM resistor.
I think the 680 ohm resistors were for your R5 on the main board, to set the current for your Helio9 LEDs. If so you might have just ordered extras, or maybe Mouser threw in some extras accidentally - you should just need the one. I don't see any other 680's anywhere in the three boards. The 27 and 39 ohm resistors should be for the current-limiter for the IR LED in slot R11. You just need one or the other of those - I guess I put both on the list since they're cheap (18 cents/15 cents), but you only need the 39 if you're going to use 1 IR LED, or the 27 if you're going to wire 2 of the IR LEDs in series.
The integration with DOF is really lacking fun, I've read the DOF page many times and still haven't seemed to wrap my head around it. I've only got my 4 flipper buttons wired up with RGB lights, but they are working fine with your DOF test utility. When trying to generate my own directoutputconfig50.ini from the online tool I'm Ports 1 and 2 labeled as Left Flipper and 3 and 4 labeled as Right Flipper, 6 and 7 as Start and Coin up. Then down further I've got Ports 17, 18, 19 and 20, 21, 22 and 24, 25, 26 and 27, 28, 29 labelled as RGB Flippers.
If there's anything I can do to help with that, let me know. It sounds like you're on the right track. In case it's not clear (which it wasn't to me - I had to look at my setup just now to refresh my memory of what the terminology means), "Left Flipper" and "Right Flipper" are the noisemaker/feedback devices for the respective flippers - the solenoids or contactors - and "RGB Flippers" are the LED outputs for the lighted buttons. (Then there's the *third* meaning for "flipper", for the wiring for the button inputs! But at least that one isn't part of DOF.)
For the port numbering, you can arrange the mapping between port numbers and the physical pins on the boards any way you want by editing config.h. When I get the new config tool finished (still working on it - still making good progress - still taking way longer than planned or expected
) this will be a much easier and more interactive process that won't require editing source files, but with the current published version config.h is the way to do this.
Looking at the file just now, I realized that it's laid out for one of my really early designs for the expansion board, when everything was on a single monolithic board. The notation of the connections to the physical outputs is all wrong. Here's an attempt at a fixed version that actually matches the final board physical layout and puts the ports in a good order for LedWiz compatibility:
// The first 32 ports are LedWiz-compatible, so they're universally
// accessible, even to older non-DOF software. Attach the most common
// devices to these ports.
//
// Ports 33 and up are not accessible to older non-DOF software, so put less
// common devices on these outputs. DOF-based software (such as Visual Pinball
// and PinballX) can access ALL ports.
//
// RGB FLASHERS pin header on main board
{ 1, TLC_PORT }, // TLC port 1, LW output 1 - Flasher 1 R
{ 2, TLC_PORT }, // TLC port 2, LW output 2 - Flasher 1 G
{ 3, TLC_PORT }, // TLC port 3, LW output 3 - Flasher 1 B
{ 4, TLC_PORT }, // TLC port 4, LW output 4 - Flasher 2 R
{ 5, TLC_PORT }, // TLC port 5, LW output 5 - Flasher 2 G
{ 6, TLC_PORT }, // TLC port 6, LW output 6 - Flasher 2 B
{ 7, TLC_PORT }, // TLC port 7, LW output 7 - Flasher 3 R
{ 8, TLC_PORT }, // TLC port 8, LW output 8 - Flasher 3 G
{ 9, TLC_PORT }, // TLC port 9, LW output 9 - Flasher 3 B
{ 10, TLC_PORT }, // TLC port 10, LW output 10 - Flasher 4 R
{ 11, TLC_PORT }, // TLC port 11, LW output 11 - Flasher 4 G
{ 12, TLC_PORT }, // TLC port 12, LW output 12 - Flasher 4 B
{ 13, TLC_PORT }, // TLC port 13, LW output 13 - Flasher 5 R
{ 14, TLC_PORT }, // TLC port 14, LW output 14 - Flasher 5 G
{ 15, TLC_PORT }, // TLC port 15, LW output 15 - Flasher 5 B
// STROBE/REPLAY KNOCKER pin header on main board
{ 16, TLC_PORT }, // TLC port 16, LW output 16 - Strobe/Button light
{ PTC8, DIG_GPIO }, // PTC8, LW output 17 - Replay Knocker
// MOSFET POWER BOARD outputs pin header 1
{ 33, TLC_PORT }, // TLC port 33, LW output 18 - MOSFET board port 1
{ 34, TLC_PORT }, // TLC port 34, LW output 19 - MOSFET board port 2
{ 35, TLC_PORT }, // TLC port 35, LW output 20 - MOSFET board port 3
{ 36, TLC_PORT }, // TLC port 36, LW output 21 - MOSFET board port 4
{ 37, TLC_PORT }, // TLC port 37, LW output 22 - MOSFET board port 5
{ 38, TLC_PORT }, // TLC port 38, LW output 23 - MOSFET board port 6
{ 39, TLC_PORT }, // TLC port 39, LW output 24 - MOSFET board port 7
{ 40, TLC_PORT }, // TLC port 40, LW output 25 - MOSFET board port 8
{ 41, TLC_PORT }, // TLC port 41, LW output 26 - MOSFET board port 9
{ 42, TLC_PORT }, // TLC port 42, LW output 27 - MOSFET board port 10
{ 43, TLC_PORT }, // TLC port 43, LW output 28 - MOSFET board port 11
{ 44, TLC_PORT }, // TLC port 44, LW output 29 - MOSFET board port 12
{ 45, TLC_PORT }, // TLC port 45, LW output 30 - MOSFET board port 13
{ 46, TLC_PORT }, // TLC port 46, LW output 31 - MOSFET board port 14
{ 47, TLC_PORT }, // TLC port 47, LW output 32 - MOSFET board port 15
{ 48, TLC_PORT }, // TLC port 48, LW output 33 - MOSFET board port 16
// MOSFET POWER BOARD outputs pin header 2
{ 49, TLC_PORT }, // TLC port 49, LW output 34 - MOSFET board port 17
{ 50, TLC_PORT }, // TLC port 50, LW output 35 - MOSFET board port 18
{ 51, TLC_PORT }, // TLC port 51, LW output 36 - MOSFET board port 19
{ 52, TLC_PORT }, // TLC port 52, LW output 37 - MOSFET board port 20
{ 53, TLC_PORT }, // TLC port 53, LW output 38 - MOSFET board port 21
{ 54, TLC_PORT }, // TLC port 54, LW output 39 - MOSFET board port 22
{ 55, TLC_PORT }, // TLC port 55, LW output 40 - MOSFET board port 23
{ 56, TLC_PORT }, // TLC port 56, LW output 41 - MOSFET board port 24
{ 57, TLC_PORT }, // TLC port 57, LW output 42 - MOSFET board port 25
{ 58, TLC_PORT }, // TLC port 58, LW output 43 - MOSFET board port 26
{ 59, TLC_PORT }, // TLC port 59, LW output 44 - MOSFET board port 27
{ 60, TLC_PORT }, // TLC port 60, LW output 45 - MOSFET board port 28
{ 61, TLC_PORT }, // TLC port 61, LW output 46 - MOSFET board port 29
{ 62, TLC_PORT }, // TLC port 62, LW output 47 - MOSFET board port 30
{ 63, TLC_PORT }, // TLC port 63, LW output 48 - MOSFET board port 31
{ 64, TLC_PORT }, // TLC port 64, LW output 49 - MOSFET board port 32
// SMALL LED/OPTO pin header on main board
{ 17, TLC_PORT }, // TLC port 17, LW output 50 - Flipper button RGB left R (1R)
{ 18, TLC_PORT }, // TLC port 18, LW output 51 - Flipper button RGB left G (1G)
{ 19, TLC_PORT }, // TLC port 19, LW output 52 - Flipper button RGB left B (1B)
{ 20, TLC_PORT }, // TLC port 20, LW output 53 - Flipper button RGB right R (2R)
{ 21, TLC_PORT }, // TLC port 21, LW output 54 - Flipper button RGB right G (2G)
{ 22, TLC_PORT }, // TLC port 22, LW output 55 - Flipper button RGB right B (2B)
{ 23, TLC_PORT }, // TLC port 23, LW output 56 - MagnaSave button RGB left R (3R)
{ 24, TLC_PORT }, // TLC port 24, LW output 57 - MagnaSave button RGB left G (3G)
{ 25, TLC_PORT }, // TLC port 25, LW output 58 - MagnaSave button RGB left B (3B)
{ 26, TLC_PORT }, // TLC port 26, LW output 59 - MagnaSave button RGB right R (4R)
{ 27, TLC_PORT }, // TLC port 27, LW output 60 - MagnaSave button RGB right G (4G)
{ 28, TLC_PORT }, // TLC port 28, LW output 61 - MagnaSave button RGB right B (4B)
{ 29, TLC_PORT }, // TLC port 29, LW output 62 - Extra RGB small LED R (5R)
{ 30, TLC_PORT }, // TLC port 30, LW output 63 - Extra RGB small LED G (5G)
{ 31, TLC_PORT }, // TLC port 31, LW output 64 - Extra RGB small LED B (5B)
{ 32, TLC_PORT } // TLC port 32, LW output 65 - Extra single small LED (LED6)
Hopefully this will work if you copy and paste it into your config.h in the appropriate section. Using this modified version, you'll probably want port mappings something like this:
18 -> Left flipper -> MOSFET board port 1
19 -> Right flipper -> MOSFET board port 2
50-51-52 -> RGB Left Flipper -> small LED outputs 1R-G-B on the main board
53-54-55 -> RGB Right Flipper -> small LED outputs 2R-G-B on the main board
62 -> Start Button -> small LED output 5R on the main board*
63 -> Coin Button -> small LED output 5G on the main board*
* For the last two, I'm assuming that you're using the same Helio9 LEDs for these button lights that you're using for the flippers - in which case these outputs are set to the right current for those lights. You can ignore the nominal "R-G-B"-ness of the output names in this case since you just want to use them as monochrome lights.
I hope this helps! I didn't realize I had left config.h in this confusing state. Hopefully the proposed changes above will work properly and will make more sense with the final board design.