Skip to content

Latest commit

 

History

History
135 lines (95 loc) · 4.22 KB

README.md

File metadata and controls

135 lines (95 loc) · 4.22 KB

LSS Chess Robot

The LSS Chess Robot is a robotic arm that can play chess against you. This is a free and open source project that integrates aspects of robotics, computer vision, and of course chess.

Table of Contents

Requirements

Hardware

  • Lynxmotion Smart Servo (LSS) 4 DoF Robotic Arm
  • Raspberry Pi or Windows PC
  • Display
  • Keyboard
  • Mouse
  • Camera (USB or Raspberry Pi Camera Module)
  • Lighting
  • Chess board and pieces
  • Speaker or Headphones (Optional)

Software

Modules list

Getting Started

To start using this project, proceed to the standard clone procedure:

cd <some_directory>
git clone https://github.com/Robotics-Technology/Chess-Robot.git

Install

  • On Windows PC
pip install -r requirements.txt
  • On Raspberry Pi
pip3 install -r requirements.txt
pip3 install "picamera[array]"

If you have issues with OpenCV on the Raspberry Pi try the following commands:

sudo apt-get install libatlas-base-dev
sudo apt-get install libjasper-dev
sudo apt-get install libqtgui4
sudo apt-get install libqt4-test
sudo apt-get install libhdf5-dev 
sudo apt-get install libhdf5-serial-dev
sudo apt-get install python3-pyqt5
sudo apt-get install stockfish
sudo pip3 install opencv-python==3.4.6.27
sudo pip3 install opencv-contrib-python==3.4.6.27

Run

cd <project_directory>
python Interface.py

Authors

License

LSS Chess Robot is available under the GNU General Public License v3.0

Contributing

Anyone is very welcome to contribute. Below is a list of identified improvements.

To do

  • Change the gripper aperture acording to the chess piecce type
  • Allow re-taking pictures in the case of board obstruction

Limitations

  • The chessboard is limited by the reach of the arm and the squares need to be big enough so the arm gripper doesn’t stumble upon adjacent pieces.
  • This project was specifically made to be used with LSS smart servo motors using the LSS serial communication protocol so if you want to use it for a different robotic arm you will need to change how the servos are controlled and change the inverse kinematics parameters to match your specific arm.

Resources

Every module of the project is explained in the tutorial series available here.

Read more about the LSS Robotic Arm in the wiki.

Purchase the LSS arm on RobotShop.

Official Lynxmotion Smart Servo (LSS) libraries for Python available here.

If you want more details about the LSS protocol, go here.

Have any questions? Ask them on the Robotshop Community.