GithubHelp home page GithubHelp logo

arduino_chess_clock's Introduction

Arduino Chess Clock ♟️ ⏰ [unmaintened repo]

I needed a chess clock, so I made one (an ugly but functional one).

Arduino is an easy way to familiarize with both electronics and coding. Moreover they are cheap (especially non official ones), and they can do a lot.

To replicate this clock, feed your Arduino with code.ino, and wire it has described on the schema below ⬇️.

The clock functionalities are simple :

  • set time (in minutes) for player 1 (P1) and player 2 (P2) [allocated times can differ]
  • allocate the increment (in seconds) for P1 and P2 [increments can differ too]
  • start the game by pressing the middle/start button
  • pause the clock by pressing both P1 and P2 buttons
  • start a new game by pressing P1 and P2 buttons and then pressing start

What you need

  • Arduino (tested on Arduino UNO)
  • 3 push buttons
  • 7digits LED display
  • A bunch of wires
  • 3 resistors 10kΩ
  • Facultative : a battery holder
  • Facultative : a buzzer to be warned when a player time's runs out

Schema

Limitations ⚠️

The only limitation here is the hardware memory capacity (pretty low on Arduino UNO). The clock can stop from working when playing long or rich games (~70 moves by player).

One solution is to use a RTC (real time clock) module, but it's not implemented in this code (should be a minor workaround tho).

arduino_chess_clock's People

Contributors

dougy147 avatar

Stargazers

Antonio Hernan avatar  avatar Justin Murphy avatar

Watchers

Adrian Santana avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.