Sabah’s Status Report for 12/05

Over break, I worked quite a lot on the LED subsystem. I initially tested out a different type of NeoPixel 60 strip (which was bigger) though it was smaller than the overall square width, put together it wouldn’t result in a 1-LED-under-1-square configuration. So I had to solder each single LED strip together as below:

I did one strip and tried connecting it to the Arduino and the power source. Upon running some test code, I noticed that sometimes the later half of the 8-LED strip wouldn’t always light up. I figured this could be a soldering error, so I used a multimeter to test the continuity, which was maintained through each LED and from start to end. The issue may possibly be a gap from one of the solder joints to the wire. At this point, I had soldered so many LEDs that I had become good at it, so I thought about trying again with the smaller LEDs (which fit perfectly through one row, though I had trouble soldering them before because of the small pads), and I was successfully able to solder them. Even though the solder pads for the smaller LEDs were smaller, soldering each individual LED for the bigger strip proved to be more unstable through multiple tests.

I also worked on the overall chessboard modeling. I needed to make multiple previous iterations and also optimize the Jetson location/rotation so that it benefits all the other subsystems. For example, the CSI cord comes out of the right side of the Jetson, so it’s most efficient to keep that side next to the wall so I can pull it out of the wall. As for the GPIO ports, we want them on the left, close to the PCB location. With these two configurations, we end up with the power, display, and USB ports facing inside, as shown below:

Although this is convenient for the USB speaker and Arduino, it is inconvenient for the power, so I had to create a power jack on the right. For it not to interfere with the pillars, I placed it on the upper right side. I also maintained the open back & tray so we will be able to place in the Jetson & remove it during testing (we need the Display Port for this).

Here is how my current printed layout looks: I still need to print in the Button tray & bottom, although we are completely done with the other parts!

For the camera I made Lego like blocks with different sizing. In addition I made the top camera holder with different ledges. This is so we can test out different angles and different heights for the CV, without gluing anything down.

Overall, all my subsystems are complete. I do have to work a bit on the Jetson-to-Arduino signaling, but other than that, everything looks good and is ready for the demo from my end.

Team’s Status Report for 12/5

The most significant risk to the project is the reliability of the fully integrated system during the final demo. There might be some unexpected errors in board state detection, move validation, or communication between different components that could affect the overall user experience. To avoid these risks, we are focusing on the end-to-end system testing, debugging, and identifying any potential edge cases. If there are any integration issues, we can isolate them and independently test individual components to figure out what is going wrong and resolve the source of the issue. Another risk we also have is in regards to the CV not having a high enough accuracy and taking too long (over 6 seconds). Using it to keep a consistent game can be difficult if it gives incorrect results, and delays feedback. If we are unable to speed-up this pipeline or decrease the test error, we can mitigate this by possibly only using it during the start-up & during promotions which would be indicated through buttons (start-up) & PCB (possible promotions).

We haven’t made any changes to our existing system design, requirements, block diagram, or system specifications this week. Our primary goal is finalizing, testing, and refining our existing system in preparation for our final demo.

No changes have been made to the existing schedule. Our remaining tasks consist of final system testing, preparation for the final demo, and writing up the final report.

Unit and Component Testing

  • Hall-effect sensor testing: 256 piece placement and removal tests across the PCB, achieving 100% board location detection accuracy.
  • CV testing: Tested 56 different chessboard configurations with 3–5 captures per configuration. About an average piece detection accuracy of approximately 75%, with camera angle and black piece classification contributing to inaccuracies
  • Chess move validation: Conducted 100 move validation tests, achieving 100% validation accuracy and an average processing latency of 0.3 ms, meeting our design requirements
  • User feedback testing: Conducted 100 feedback tests, achieving 100% accuracy in providing the appropriate user feedback

Findings and Design Changes:

  • Testing of analog and digital Hall-effect sensors showed that analog sensors were more susceptible to magnetic interference and needed greater spacing. Specifically, to identify 12 pieces/color combinations using magnetic field strength would require distinguishable sensor readings despite placement variation. This is why we stuck with digital Hall-sensors to reduce PCB size, cost (a bigger PCB leads to an additional $200 charge), and complexity.
  • Digital PCB-only detection revealed limitations in identifying individual pieces, unexpected piece swaps, and pawn promotions. This reinforced our decision to incorporate computer vision alongside the PCB.
  • CUDA acceleration improved computer vision processing performance but introduced trade-offs involving startup time and memory usage.
  • No design changes were made / planned to be made

Kevin’s Status Report for 12/5

This past week I was working on the final stages for software development, system integration, and final prep for our public demo. I made sure that the digital board state, chess move validation, and audio feedback systems work together with the hardware components. I also focused on figuring out any potential edge cases that could effect the reliability of the system during actual gameplay. As we approach the end of my project, I will be finishing up with integration, debugging, and end-to-end system testing. The last task would be writing the final written report and the poster board for our final public demo.

Justin’s Status Report for 12/5

Over the past 2 weeks I have made considerable progress on CV detection. The current CV model uses pretrained vision models, with a custom classifier built on top to detect the exact shapes of our pieces. Remaining tasks are to test system-wide gameplay on the Jetson, as the CV model uses substantial memory with about 21 million parameters; however, the rest of the system shouldn’t be as memory intensive. I will also expore options to paint on the bottom of the pieces to identify types in a way to detect piece types more accurately in scenarios where the tops of pieces are covered by larger pieces or hands. If the CV latency is too high for actual gameplay, we may consider using it mostly for setting up the board, and relying more on the PCB to detect movement. This should have little issue as our python chess module can correctly keep track of the state only with where the pieces moved. As for when I will be able to spend the most time to finish my parts, other than my final exam on Monday morning, my schedule is free to refine all parts of the system for the public demo.