Upgrade to Pro — share decks privately, control downloads, hide ads and more …

IoT Chess

IoT Chess

Intel Galileo acts as a chess client: read the chess figures position (NFC tags) and send the positions into the cloud. An Intel Edison reads the positions, calculates the best move (with Stockfish) and write the result back to the cloud. The Intel Galileo reads the bestmove result and shows it.

Lars Gregori

October 19, 2014
Tweet

More Decks by Lars Gregori

Other Decks in Technology

Transcript

  1. universal chess interface (UCI) • position [fen <fenstring> | startpos

    ] moves <move1> .... <movei> • go – depth <x> – nodes <x> – movetime <x> – infinite – …
  2. stockfish bench Galileo Gen 2 =========================== Total time (ms) :

    689366 Nodes searched : 7328585 Nodes/second : 10630 Edison =========================== Total time (ms) : 86494 Nodes searched : 7328585 Nodes/second : 84729 i7 (Release) =========================== Total time (ms) : 4546 Nodes searched : 7328585 Nodes/second : 1612095 BeagleBone Black Rev. B =========================== Total time (ms) : 66319 Nodes searched : 7804908 Nodes/second : 117687
  3. Demo • Edison (Chess server) – stockfish ../../redis-cli -h 192.168.2.97

    set bestmove "`cat test2 | ./stockfish | grep bestmove.*`" • Galileo (Chess client) – redis – LCD: ./lcd2 "`redis-cli get bestmove`"