Kevin’s Status Report for 11/7

This week, I was mainly focused on preparing for our interim demo on Monday and also making small changes necessary for the software integration. The main thing was reviewing the digital board-state tracking, move validation, and game logic to make sure that we can demo how our software processes chess moves and updates the board state. Since the hardware integration is still ongoing, I was making sure that we can just demonstrate the core chess functionality independently. Some minor things were also reviewing the software workflow so that I would be able to explain interactions between the software and hardware components.

For next week, we are planning to begin integrating the software with the physical chessboard since we are expecting our hardware components to start coming in. This includes connecting the Hall-effect sensor outputs to the digital board state tracking system and verifying the physical piece movements are correctly being translated into chess moves. As more of the integration starts to happen, I will work with my team to verify or identify any issues affecting the overall system.

The primary challenges are still just coordinating the software integration with the physical hardware. This is because some parts like the PCB were expected to come by the end of this week. We still will be able to show individual components to be working so there are no major issues that we are facing. Overall, some tasks like camera integration, text-to-speech feedback and end-to-end testing are now scheduled for after the interim demo.

Justin’s Status Report for 11/7

This week I’ve done substantial work on getting many of the software components working on the Jetson. I have gotten our Python chess interface working on the terminal with Stockfish hints. Based on the interface the chess software accepts, I believe that the role the CV aspect of the project will be more reliable. More specifically it will only need to detect the type of piece that has been moved; the PCB will be able to detect which square a piece has moved and the CV will only output which piece was moved. This should give a nice interface for a standard chess move i.e. Rook A1 to A4. I am also in the process of getting necessary drivers installed on the Jetson to utilize the camera for OpenCV, because the camera we purchased was a third party distributor, this has been a bit more challenging than initially forcasted.

Sabah’s Status Report for 10/31

This week, I worked on choosing the LED format for the smart chessboard. One option was to arrange LEDs as an 8 × 8 matrix, with eight row connections and eight column connections. This approach uses 16 control lines and works well when only a few squares need to light up, such as the current and destination squares of a move. However, after discussing the idea with my TA, I realized that lighting only two squares may not clearly teach how a piece moves. For example, a knight’s legal path is not obvious from seeing only its starting and ending squares.

The other option was to use individually addressable NeoPixels. These LEDs are mounted on strips that can be cut and connected into rows. NeoPixels let the board light a full path, display different colors, or blink to indicate an illegal move or draw the player’s attention. They require a 5 V data signal, while the Jetson Orin Nano’s GPIO signals are 3.3 V. To avoid relying on an unreliable 3.3 V signal, the Jetson will send commands to an Arduino over USB, and the Arduino will control the NeoPixels. I therefore decided to continue with the NeoPixel design.

The next step was choosing the Neopixel strips which would minimize wiring. These were some of the options I had: 

I compared the LED spacing options to find a strip that would align with the board’s 1.1-inch (27.94 mm) square pitch while keeping the wiring manageable. I selected the 144 LEDs/m strip, whose LEDs are spaced approximately 6.9 mm apart. Four LED pitches are about 27.6 mm, which is close to the 27.94 mm square pitch. The LED package itself is approximately 5 mm wide so the 6.9 mm measurement is the distance between LED centers.

I plan to use four LEDs for each square, grouping them so they can light together as one square. This gives 32 LEDs per row and 256 LEDs across the eight rows. The strips will be connected in a curved path, with short wires joining the end of one row to the beginning of the next. The spacing calculation and layout under each square is shown below:

When looking at the overall process we need to consider each step along the way.The Jetson will determine which LEDs to activate and send those commands to the Arduino over USB. The Arduino will send the control signal from one of its output pins to the first NeoPixel’s DIN connection. Each NeoPixel then passes the signal to the next one through its DOUT connection.

For an illegal move, the square containing the piece’s new, illegal position will light red, and its previous square will light green. When the player requests a hint, the LEDs along the suggested path will light green. (These colors are subjected to change we will do some research on which colors are best for the visually impaired)

The NeoPixel strip’s ground will connect to the Arduino’s ground and the external 5 V supply’s ground. The grounds must be connected together so the LED data signal and the strip share the same electrical reference. The external 5 V supply will power the LEDs because the strip may require more current than the Arduino or Jetson can provide. The Jetson’s USB connection will power the Arduino and carry commands, but  it will not power the LED strip. The image below shows all the connections.

I have also started to Cad up the box in which the components will exist. I am using existing models and editing them to fit our needs.

I am still on track, this upcoming week although I have many tasks to complete next week. I need to connect the Neopixal LEDs, speaker, and get ready for the sensor demo. I also hope to complete this cad box and try to 3d print it to test it out if it fits well.

Team Status Report for 10/31

One of the main risks that we are facing is the delayed integration of the PCB and Hall-effect sensors with the rest of our system. Although the PCB has been ordered, we still need to ensure that the sensors can reliably communicate with the Jetson and correctly detect changes in piece positions. To mitigate this risk, we have been using the individual Hall-effect sensors from our earlier testing to see if things are working properly. This lets us see if there are any potential issues early rather than waiting until the entire hardware system gets assembled. 

Another risk is the integration between the camera recognition system and our digital board-state tracking. Since the camera and Hall-effect sensors are responsible for detecting the physical chess pieces, we need to ensure that their outputs are consistent. 

One final risk we need to mitigate is the risk of the board being too distant from the PCB. The top layer is the acrylic board, the second is the NeoPixal matrix, and the third is the PCB. We have to minimize the distance between these three layers but still keep a distance such that the sensors & LEDs don’t overheat and cause any hazards. 

No major changes have been made to the overall system architecture or design requirements this week. We are still following our original approach of combining Hall-effect sensors, camera recognition, digital chess logic, and audio feedback to create an accessible physical chessboard. However, we have made adjustments to our development schedule to accommodate the delayed PCB and allow additional time for system integration. We intend on getting solid progress on all subsystems before the interim demo, and shift priorities to integration after the demo.

Kevin’s Status Report for 10/31

For this week, I was focused on implementing the image to digital board since the move validation and hint is fully functional. OpenCV is utilized to take in an image of the board, which then converts it into an 8×8 matrix. It then loads this matrix into the board state which allows the software to keep track of the current configuration of the physical chessboard. Once the board state updates, the existing python-chess logic can be used to validate moves and provide hints based on the current position. Another point of progress was getting the text to speech feedback system. It announces events in a game that would be relevant for the player to hear. Since we are approaching the system integration phase, I started reviewing how the the sensor events and camera recognition results will be processed to accurately update the digital chessboard.

For next week, I plant to focus on integrating the camera recognition results with the digital board-state tracking system. I also will continue working through connecting the text to speech feedback system with the chess logic so that users can receive audio notifications for leal and illegal moves. My main goal is to establish a reliable connection between the physical board inputs, move validation, and user feedback before we begin full system testing.

One of the main challenges that I anticipate is ensuring that the digital board state stays accurate when receiving inputs from multiple sources which includes the hall effect sensors and camera. Another concern is maintaining the low latency between detecting physical moves and providing audio feedback to the user. To address these challenges, I plan to test integration incrementally and verifying that each detected move is correctly processed before incorporating the full hardware system.

Justin’s Status Report for 10/31

This week we got the camera for the Jetson. So far I have connected it to the Jetson, and I’m ready to start getting some readings. I’ve also downloaded the latest version of Jetpack for the Jetson to utilize the CUDA cores on the board. For the software side of the CV, I’m beginning to get myself situated with OpenCV and how to modify output parameters for our desired format. I want to have some strong showing for the interim demo then move onto integration after.
I’ve attached a picture of the camera connected to the Jetson.

Sabah’s Status Report for 10/24

This week I finalized the PCB and sent it out for fabrication. I chose the check component placement option, and when it came back I noticed there was an issue in the production files. As I used Fusion to create this PCB, I did not know that it doesn’t automatically tent the via holes. While checking the TS/BS (top soldermask/bottom soldermask) files, I noticed there were mask holes at the vias (hence not tented). I fixed this and sent it back to production, and it should go as scheduled.

I also worked a bit on understanding the PCB and Jetson integration. I read a bit about the Jetson header connection (image below) and saw that there are three methods to get the information from the PCB to the Jetson: SPI, GPIO, or I2C. I2C is not an option here because the shift registers I am using, SN74HC165, don’t support this protocol. This leaves us with SPI or GPIO. SPI (Serial Peripheral Interface) lets two chips communicate, but one device controls the communication (the Jetson). SPI has 4 signals: SCK (clock), MOSI (controller -> device data), MISO (device -> controller data), and CS (chip select). If we were to use SPI, we would have an automatic clock whose speed we can choose by setting the SPI clock speed and polling interval. We would also have the MISO signal for DATA_OUT (which are the bits coming from the PCB), and then a separate GPIO signal for LOAD. If we were to use all GPIO ports, we would need to manually change the clock high/low and read each bit. This works, but it takes more software effort, and timing varies under Linux. So I decided to go with SPI.

This is how the pathway would look:

  1. Initialize: Set SPI speed and timing mode; set LOAD = high.
  2. Wait until the next board reading (every 20 ms).
  3. Set LOAD = low (briefly).
  4. Set LOAD = high (capture all 64 sensor states).
  5. Request one SPI transfer of 8 bytes.
    1. (SPI generates 64 clock cycles automatically.)
    2. Bits are read through MISO.
  6. Convert the received 8 bytes into 8×8 matrix readings.
  7. Repeat steps 2->7.

Something I also looked into this week was the NeoPixels. I can connect these to the Jetson 5V, or Jetson -> Arduino -> NeoPixels. I am still trying to find the right Neopixel set to order, especially with considerations to the board dimensions. One option is to buy individual NeoPixels “buttons” and wire them together to manually create my daisy chain. Another option is NeoPixel strips, these are the better option. They are already wired together so I will only need to solder between each row. Although the issue with the strips is the spacing and I need to find one that fits the exact dimensions of the board.

In terms of schedule, I am still on track. I hope to get the NeoPixels ordered on Monday, and since all the suppliers I am checking have 2-3 day delivery, I should be able to complete the NeoPixel arrangement by the end of next week. In terms of next week’s tasks (integrating the PCB), I am still waiting on the PCB, so in the meantime I hope to help with building the physical board/chess pieces, and start integrating other components so that we have a product ready for demo. In the worst case (the PCB doesn’t come by demo), we will mitigate this by using the 1 row of sensors we bought as a test demo instead and show that the board works with one row.

Team Status Report for 10/24

The risks are similar to the ones presented in the previous report. One main risk was the PCB being delayed. Now that it is ordered we believe it will make it in time for the integration & final product, but we cannot guarantee it will be here in time for the interim demo. To not delay integration or demo presentation we will use the 8 digital sensors from testing to set up a sensor row. Using this sensor row we can figure out the integration process between sensor output to jetson, which will then allow us to create the code for sensor routine. So once the PCB arrives we will have the entire integration set up completed and we will only need to solder and connect the pinout. Another risk that can potentially slow down our process is the arrival of the camera. We expect the camera for the Jetson to arrive next week on October 26. Once the camera arrives, the number one priority is to integrate the camera inputs into the Jetson and then to OpenCV. We expect OpenCV to utilize the CUDA compute cores on the Jetson, and it’s important to have that working as soon as possible. For now, we are testing individual components separately, making sure that they work on their own before we move onto integration. This will help us understand the root of the issue if there is an issue with integration. 

We have decided to go with 3D printing out the chess pieces rather than ordering them. Due to the price of the PCB board we decided to decrease the size of the PCB board and hence decrease the size of the entire chess board. In order to get pieces that perfectly fit our new board we decided to 3D print them. Since we have robo-club access we will be printing these for free, so our cost in terms of money decreases, but the cost in terms of time spent increases. The 3D printing should be complete by the end of next week.

This additionally added a task to our schedule. The updated schedule with all the addition tasks are shown below: 

Kevin’s Status Report for 10/24

This week I continued to work on the software development of the project and i started focusing on implementing move logging and preparing our existing software components for system integration. Based on our current schedule I will start working through recording the chess game moves using PGN which lets us maintain a history of the moves of a game being played. This is important since the system needs to accurately track the state of the chessboard and provide users with reliable feedback as the game progresses. I was also looking into how different software components will all integrate together like the digital-board state tracking, move validation, and Stockfish integration. This leads to the main challenges of preparing the software integration for the hardware components. Since our project will be relying on Hall-effect sensors to detect piece movement, we need the software to be able to correctly interpret changes and determine if a valid chess move has happened. Also, another challenge is accounting for situations where the detected board state doesn’t match the expected game state. For example, if a player accidentally moves a piece to the wrong square or if a sensor fails to detect a change, our software needs to recognize the discrepancy without updating the game state. This means that there needs to be coordination between the board-state tracking system and move validation.

For next week, I plan to work with my teammates to connect the game logic to the feedback mechanisms which include the audio instructions and visual indicators. I also plan to keep testing move validation and logging components to ensure that they remain reliable during the actual gameplay. For now, I am on schedule with my current progress. However there are some concerns with the integration timeline since there is a slight delay with the PCB manufacturing delay and the camera delivery date.

Justin’s Status Report For 10/24/26

This week I did some research into different programming interfaces to use the Jetson’s GPIO pins. I found a promising GitHub repo that enables GPIO programming in Python (link: github.com/NVIDIA/jetson-gpio). This may be the best route for our project because our chess software is already in Python; the only main portion of software in C++ would be OpenCV. Kevin and I are also starting to collaborate on the OpenCV portion of the code, and once the camera for the Jetson arrives next week we can begin hooking everything together and getting some readings from the camera into the CV model. Even though we won’t have the board constructed with the exact angle to view the chess board, we can still begin development to get the desired 8×8 matrix chess state output.

I’ve also looked into some open source chess pieces ready for 3D printing. I have downloaded some suitable pieces and will get them printed in an appropriate size next week. To cover some logistical and technical considerations, Sabah has a friend in the Robotics Club who can use their 3D printers free of charge. And the specific pieces I chose seem to exhibit sufficient levels of differentiability for a CV model, and they do not require supports for printing. I’ve attached the reference image below.