Skip to content

Connect 4 3D is a project that was created by students of Sherbrooke University in Quebec, Canada. The project's goal is to create a robotic arm that can play Connect 4 in 3D against a human.

License

Notifications You must be signed in to change notification settings

UdeS-GRO/S4H2023-Connect4-3D

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Connect4-3D

Connect4-3D is an exciting project created by students at Sherbrooke University in Quebec, Canada. The goal of the project is to build a robotic arm that can play Connect 4 in 3D against a human. This README file contains information on how to replicate the project and includes links to all the necessary code, CAD files, and installation procedures.

Robot Demonstration

Project Overview

The project is open source and is licensed under the GNU General Public License v3.0 (GPLv3). The main components of the project are:

  1. The OpenCR board code for controlling the robotic arm
  2. The computer code for processing the game board and communicating with the OpenCR board
  3. The CAD files for 3D printing the parts
  4. A Bill of Materials (BOM) listing all the non-printed materials used

Location of OpenCR Code:

  1. The executable code is named stateMachineAutoOnly_copy_20230308124647 in the folder with the same name
  2. The file PingMotorsID is pingning all the motors ID connected to the OpenCR board
  3. The file named ServoReadLive is monitoring the live position of the first and second joint

Location of computer Code:

  • Connect_12_PI
  • OnShape Link for 3D Printed CADs:

  • https://cad.onshape.com/documents/92b82e0c23a4517eca2f38d9/w/46a67cc575363ff8875ca5a8/e/41a671f2d443bbba929bd6fb
  • List of Non-3D Printed Materials:

  • BOM.xlsx
  • Installation procedure for the OpenCR board

    1. Install the Arduino IDE
    2. Download the Dynaxixel2Arduino library
    3. Download the OpenCR board manager
    4. Connect the OpenCR board to the computer with a USB cable
    5. Upload the executable code to the OpenCR board

    Installation procedure for the computer

    1. Install VS Code IDE
    2. Download following libraries:
      1. OpenCV
      2. Numpy
      3. pyzbar
      4. random
      5. time
      6. os
      7. sys
      8. PyQt5
      9. cv2
      10. struct
      11. serial
    3. Connect the computer to the camera with a USB cable
    4. Run the file named main.py
    5. Enjoy!

    Conclusion

    We hope you find this project exciting and informative. If you have any questions or comments, please feel free to reach out to us. Happy building!

    About

    Connect 4 3D is a project that was created by students of Sherbrooke University in Quebec, Canada. The project's goal is to create a robotic arm that can play Connect 4 in 3D against a human.

    Resources

    License

    Stars

    Watchers

    Forks

    Releases

    No releases published

    Packages

    No packages published

    Languages

    • Python 58.4%
    • C++ 41.6%