Home * Hardware * Arduino
320px-Arduino_Mega.jpg

Arduino, (due to a legal dispute, since 2015 it is known as Genuino outside the United States [1])
a family of open-source hardware single-board microcontrollers based on the Atmel 8-bit AVR RISC chips [2] . An important aspect of the Arduino is the standard way that connectors are exposed, allowing the CPU board to be connected to a variety of interchangeable add-on modules known as shields [3] . Some shields communicate with the Arduino board directly over various pins, but many shields are individually addressable via an I²C serial bus, allowing many shields to be stacked and used in parallel [4] .

This page focuses on two boards with concrete computer chess applications.
Arduino Mega [5]

Arduino Uno

The Arduino Uno is based on the ATmega328 running at 16 MHz with 32 KiB ISP Flash memory with read-while-write capabilities, 1 KiB EEPROM, and 2 KiB SRAM. It has 14 digital input/output pins and six analog inputs and USB connection.

Arduino Mega

The 2009 released Arduino Mega uses the ATmega1280 [6] , also running at 16 MHz, but with 128 KiB of Flash memory which 4 KiB used by bootloader, 8 KiB SRAM, and 4 KiB EEPROM. Arduino Mega has 54 digital input/output pins, 16 analog inputs, 4 UARTs, and USB connection.

Development

Arduino provides an integrated development environment running on a host computer, supporting the C/C++ based Arduino language [7] . Software written using Arduino language are called sketches, and undergoes minor changes like automatic generation of function prototypes during the build process, and then passed directly to a C/C++ compiler. All standard C and C++ constructs supported by AVR-g++ should work in Arduino. Alternatively, one may compile programs for the Arduino using AVR development tools, which requires configuration to link against the appropriate files in the Arduino core libraries [8] .

Computer Chess

Arduino controllers are suitable to build a dedicated chess computer - to control a self-made sensory board [9], or even to run small chess programs.

Chess Programs

Micro-Max by Harm Geert Muller was aleady ported for the Atmel-ATmega88 by Andre Adrian [10] , and is also available as ATM18 mini chess computer [11] from the electronics magazine Elektor. Óscar Toledo Gutiérrez' program Toledo Nanochess seems appropriate for the Arduino boards as well [12] . Otherwise, for Uno and Mega, there are some more chess programs available, dedicated and emulated.

Little Rook Chess

Little Rook Chess by Oliver Kraus is a chess game for using the Arduino Uno with a dedicated user interface realized with an Electronic Assembly DOG LCD module [13] and button shield. Little Rook Chess is part of the u8glib library (Universal 8bit Graphics Library) [14] under the terms of the new bsd license [15].

MicroChess

Obsolescence Guaranteed [16] has ported the original 6502 MicroChess, wrapped in a 6502 emulator, to the Arduino [17]. A further development is the KIM Uno [18], a calculator-sized KIM-1 replica with MicroChess built in. Both projects are open source software/hardware using the MicroChess source code (which is available but not open source) with permission from Peter Jennings.

Myopic

Myopic by Steven Edwards is suited for the Arduino Mega, written in C++ and released under the Creative Commons license [19] .


Analogue Evaluation

Reading the 10-bit analog-to-digital converter, adequately supplied by a score voltage of a noisy analogue leaf evaluation with some discrete analogue circuits and op-amps takes about 100 microseconds and is likely too slow for that interesting application [20] .

See also


Forum Posts


External Links

Arduino


Computer Chess


Development


Assembly

C, C++

Java


Misc


References

  1. ^ Arduino from Wikipedia
  2. ^ Arduino - Getting Started
  3. ^ Arduino - Products
  4. ^ Arduino from Wikipedia
  5. ^ Image by David Mellis, July 12, 2010, hosted at Flickr, Arduino from Wikipedia
  6. ^ Atmel - ATmega1280
  7. ^ Arduino - Reference
  8. ^ Arduino - FAQ
  9. ^ Arduino & Raspberry PI Chess Computer running Stockfish on Raspberry Pi, by Max Dobres
  10. ^ Self-made Chess Computer SHAH based on an Atmel-ATmega88 Microcontroller and Micro-Max-port by Andre Adrian (German)
  11. ^ ATM18 Mini Chess Computer from ELEKTOR.com – Platform for electronics and microcontrollers
  12. ^ Nanochess auf avr by Sam, Mikrocontroller.net GCC Forum, February 11, 2011 (German)
  13. ^ ELECTRONIC ASSEMBLY : LCD DOG series, flexibe, flat and colorful
  14. ^ little_rook_chess · olikraus/u8glib Wiki · GitHub
  15. ^ u8glib/license.txt at master · olikraus/u8glib · GitHub
  16. ^ Obsolescence Guaranteed Home
  17. ^ 6502 Microchess on an Arduino
  18. ^ KIM Uno
  19. ^ Myopic, a new Creative Commons chess program by Steven Edwards, CCC, May 22, 2010
  20. ^ Arduino - AnalogRead
  21. ^ Chess MateHackaday.io

What links here?


Up one Level