{"id":26044372,"url":"https://github.com/unsignedarduino/chessboard-nano","last_synced_at":"2026-03-14T05:02:38.957Z","repository":{"id":281119326,"uuid":"944236438","full_name":"UnsignedArduino/Chessboard-Nano","owner":"UnsignedArduino","description":"Arduino Nano firmware for a magnetic-piece-tracking digital chessboard! WIP","archived":false,"fork":false,"pushed_at":"2025-03-07T04:12:22.000Z","size":5,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-07T05:18:52.528Z","etag":null,"topics":["arduino","arduino-nano","chess","chessboard","platformio"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/UnsignedArduino.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-03-07T02:23:00.000Z","updated_at":"2025-03-07T04:12:25.000Z","dependencies_parsed_at":"2025-03-07T05:18:55.565Z","dependency_job_id":null,"html_url":"https://github.com/UnsignedArduino/Chessboard-Nano","commit_stats":null,"previous_names":["unsignedarduino/chessboard-nano"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UnsignedArduino%2FChessboard-Nano","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UnsignedArduino%2FChessboard-Nano/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UnsignedArduino%2FChessboard-Nano/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UnsignedArduino%2FChessboard-Nano/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/UnsignedArduino","download_url":"https://codeload.github.com/UnsignedArduino/Chessboard-Nano/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242437707,"owners_count":20128090,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["arduino","arduino-nano","chess","chessboard","platformio"],"created_at":"2025-03-07T18:19:09.057Z","updated_at":"2026-03-14T05:02:38.869Z","avatar_url":"https://github.com/UnsignedArduino.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"[Chessboard-Hardware](https://github.com/UnsignedArduino/Chessboard-Hardware) |\n[Chessboard-Design](https://github.com/UnsignedArduino/Chessboard-Design) |\n[Chessboard-Nano](https://github.com/UnsignedArduino/Chessboard-Nano) |\n[Chessboard-Pi](https://github.com/UnsignedArduino/Chessboard-Pi)\n\n# Chessboard-Nano\n\nArduino Nano firmware for a magnetic-piece-tracking digital chessboard! WIP\n\nThis repository contains the PlatformIO project for the firmware that goes on the Arduino Nano.\n\n## Commands\n\nAll these commands are available over serial with the default baud rate of 9600.\n\n### `print [type?]`\n\nPrints the values of the linear hall sensors or the calibration values.\n\n* `[type?]` is the type to print (optional) and should be one of the following:\n    * `pieces` prints the current state of the chessboard. (default)\n    * `piecesDebug` prints the current state of the chessboard with debug\n    * `raw` prints the raw values of the linear hall sensors.\n    * `presentCalibration` prints the calibration values for squares with a piece present.\n    * `presentCalibrationEEPROM` prints the calibration values for squares with a piece present stored in EEPROM.\n    * `emptyCalibration` prints the calibration values for squares with no piece present.\n    * `emptyCalibrationEEPROM` prints the calibration values for squares with no piece present stored in EEPROM.\n    * `presentCalibrationMargin` prints the calibration margin values for squares with a piece present.\n    * `presentCalibrationMarginEEPROM` prints the calibration margin values for squares with a piece present stored in\n      EEPROM.\n    * `emptyCalibrationMargin` prints the calibration margin values for squares with no piece present.\n    * `emptyCalibrationMarginEEPROM` prints the calibration margin values for squares with no piece present stored in\n      EEPROM.\n    * `all` prints all of the above.\n\n### `calibrate [type] [action] [position] [value?]`\n\nGets or sets the calibration value or margins for squares.\n\n* `[type]` is the type of calibration to get or set and should be one of the following:\n    * `present` for squares with a piece present.\n    * `empty` for squares with no piece present.\n    * `presentMargin` for squares with a piece present. (to account for noise)\n    * `emptyMargin` for squares with no piece present. (to account for noise)\n* `[action]` is the action to perform and should be one of the following:\n    * `get` to get the calibration value.\n    * `set` to set the calibration value.\n* `[position]` is the position of the square and should be one of the following formats:\n    * `row,col` for the row and column of the square. (0-indexed) Use 255 to change the entire row/column.\n    * `global` to get or set all at the same time.\n* `[value?]` is the value to set the calibration value to. (optional) This is only used if `[action]` is `set`. If not\n  provided, the value will be set to the current value of the square.\n\n### `calibrationSaveToEEPROM [type]`\n\nSaves the calibration values to EEPROM.\n\n* `[type]` is the type of calibration to save and should be one of the following:\n    * `present` for squares with a piece present.\n    * `empty` for squares with no piece present.\n    * `presentMargin` for squares with a piece present. (to account for noise)\n    * `emptyMargin` for squares with no piece present. (to account for noise)\n    * `all` to save all of the above.\n\n### `calibrationLoadFromEEPROM [type]`\n\nLoads the calibration values from EEPROM.\n\n* `[type]` is the type of calibration to load and should be one of the following:\n    * `present` for squares with a piece present.\n    * `empty` for squares with no piece present.\n    * `presentMargin` for squares with a piece present. (to account for noise)\n    * `emptyMargin` for squares with no piece present. (to account for noise)\n    * `all` to load all of the above.\n\n### `settings [action] [key] [value?]`\n\nGets or sets the settings values. These changes are automatically loaded and written to EEPROM and take effect\nimmediately.\n\n* `[action]` is the action to perform and should be one of the following:\n    * `get` to get the settings value.\n    * `set` to set the settings value.\n* `[key]` is the key of the setting to get or set and should be one of the following:\n    * `AUTO_LOAD_CALIBRATION`\n        * 0: Don't automatically load calibration from EEPROM on startup.\n        * 1: Automatically load calibration from EEPROM on startup.\n    * `DETECTION_METHOD`\n        * 0: Check for both the square to be not empty and present.\n        * 1: Check for the square to be not empty.\n        * 2: Check for the square to be present.\n        * 3: Check for either the square to be not empty or present.\n    * `PRINT_ON_BOARD_CHANGE`\n        * 0: Don't automatically print the board state when it changes.\n        * 1: Automatically print the board state when it changes.\n* `[value?]` is the value to set the settings value to. (optional) This is only required if `[action]` is `set`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funsignedarduino%2Fchessboard-nano","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Funsignedarduino%2Fchessboard-nano","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funsignedarduino%2Fchessboard-nano/lists"}