The next step was to put the relay board back on and wire it up to the Raspberry. Before I took everything apart, I took the following close-up photos so I could get it re-wired correctly:


I left the other ends connected to the relay board, so I didn’t need images of that connection.
And then I ran into a problem. When I started reassembling the control panel, I had forgotten that I had switched out the circuit boards for the Arduinos, and the posts for the old boards would not work.

It would have been easy to move these posts before reassembling the control panel. As it was, I had to:
- Mark the new locations for the posts
- Disconnect all the wires from the buttons
- Remove all the buttons
- Set the plexiglass and background paper aside
- Drill small holes for the posts through both layers of hardboard
- Drill large holes through the top hardboard layer to accommodate the nuts on the post
- Move the posts to the new locations
- Put the background paper and plexiglass back in place
- Reinstall the buttons
- Rewire the buttons



Since the LCDs are already installed and the SD cards are glued down, I didn’t want to completely separate the two layers of hardboard to drill the larger holes. Not to mention that separating them would require also removing the joysticks. So I wedged them apart slightly so I could drill the larger holes in the top layer without accidentally drilling into the bottom layer.
Since I had to rewrite the buttons after moving the posts for the Arduino boards, I took another shot at tightening up the cable management. I used smaller zip ties, and more of them.

I also noticed that I had wired the power connectors for buttons 9 and 10 incorrectly. Here is the before and after.







































