Now that I cleared all of the errors in the rules check and was able to see and attach wires to my xiao in the PCB editor it was time to set up my PCB design.
I moved all my pieces around to a neat formation and begand wiring the LED's to the resistors. I had a really annoying issue with the resistors and leds though. I wanted to mirror them so my resistor and led pads were next to each other for cleaner wiring, but the mirror button did not work. No matter how many times I tried it, whether clicking the button or using the keyboard command, or how I had things selected it just wouldn't work. I was able to get what I was hoping for though using the rotate tool, but it was a bit fustrating to not have a tool work as expected.
I got everything wired up in the PCB editor and took a look at the design.
I wanted to make my board more than just a square, so I extended the leads to the dice LED's a bit further and added Roll the Dice in the middle as part of the silk screen. I may go back and try to make the board shape and silk screen look more like a 3d dice effect, but for now I was happy with the shape.
Since I knew I was going to eventually be updating the wiring, I decided to get artistic and play around with the shape of the board. While it's not a huge difference, I do like the d20 design I made using the edge cut and the silkscreen.
I tried to align the center LED to be in the center of the d20 design so that it would have a cool effect when you roll a 1. The other LED’s didn't really line up super well, but I may try and space them out into the different parts of the d20 I layed out on the silk screen.
I am thinking something along the lines of this LED pattern formation.
I will have to adjust the d20 shape a bit to better align the LEDs but I think it will be a cool look when I rewire everything.
I took the time to update my code on my Wokwi simulation so that I know this board wiring formation will work if I decide to mill it. I am actually kind of excited for this board project, and I do plan to mill this one as practice even though it's not required for this week.
The new wiring has each LED on its own pin, so I needed to update my code so that when a dice number is rolled all of the LED's for that number light up. It was a bit tedious to update, but not difficult.
In my repo is a zip folder containing files for my week 6.