PicoChess stand alone chess computer has born :-)

Discussion of anything and everything relating to chess playing software and machines.

Moderators: bob, hgm, Harvey Williamson

Forum rules
This textbox is used to restore diagrams posted with the [d] tag before the upgrade.
j_romang
Posts: 79
Joined: Mon May 16, 2011 12:52 am

PicoChess stand alone chess computer has born :-)

Post by j_romang » Tue Aug 28, 2012 4:48 pm

Two days ago, I posted about my Raspberry Pi/Stockfish dedicated chess computer (http://talkchess.com/forum/viewtopic.php?t=44901). Unfortunatley there are problems with the USB stack on this device, so I decided to switch to an 802MK II computer (http://store.cloudsto.com/rikomagic/rik ... etail.html) until problems are solved.

I'm proud to show you the first video of this little beast playing stand-alone :D :
http://www.dailymotion.com/video/xt4b85_pichess2_tech

The bad new is the the 802MK II is a little more expensive than the Raspberry Pi ; but the good news is that Stockfish runs 5 times faster on it, and there is much more space for the hashtables (1GB). As far as I know, I now have the world's strongest dedicated chess computer at home
:D :D :D

I will publish sd card images for the 802MK II in the next days ; but if you want to build it yourself here is the source code : http://www.picochess.org

User avatar
JuLieN
Posts: 2948
Joined: Mon May 05, 2008 10:16 am
Location: Nantes (France)
Contact:

Re: PicoChess stand alone chess computer has born :-)

Post by JuLieN » Tue Aug 28, 2012 5:48 pm

Congratulations Jean-François! :D (For Picochess, not for 3. d3 ;) ).

Sadly, having no DGT board, I can't test it, despite I own a RPi...
"The only good bug is a dead bug." (Don Dailey)
Image [Blog: http://tinyurl.com/predateur ] [Facebook: http://tinyurl.com/fbpredateur ] [MacEngines: http://tinyurl.com/macengines ]

j_romang
Posts: 79
Joined: Mon May 16, 2011 12:52 am

Re: PicoChess stand alone chess computer has born :-)

Post by j_romang » Tue Aug 28, 2012 6:06 pm

Surely, the DGT board is the most expansive part of this system ; it tried to build a cheap hand-made electronic board (http://wiki.electrolab.fr/Projets:Perso:2011:Echiquier) but it endend into an ugly horror with plasctic and electric cables ; nothing compared to the beautifull wodden DGT board :)

Michel
Posts: 2046
Joined: Sun Sep 28, 2008 11:50 pm

Re: PicoChess stand alone chess computer has born :-)

Post by Michel » Tue Aug 28, 2012 6:26 pm

Perhaps you can make it play on FICS. For example using icsdrone...

http://sourceforge.net/projects/icsdrone/

j_romang
Posts: 79
Joined: Mon May 16, 2011 12:52 am

Re: PicoChess stand alone chess computer has born :-)

Post by j_romang » Tue Aug 28, 2012 6:34 pm

That would be awesome ; and the 802MK device I'm using has embedded wifi , so the networks connection is wireless. But as I'm using the DGT XL clock as display (6 characters), and the board as the input device ; I think interaction with the server would be very painfull (how would you login ? how would you choose an opponent ?). I never used icsdrone or fics : maybe I'm wrong :wink:

Michel
Posts: 2046
Joined: Sun Sep 28, 2008 11:50 pm

Re: PicoChess stand alone chess computer has born :-)

Post by Michel » Tue Aug 28, 2012 6:50 pm

Actually icsdrone would do all that for you. Here is a typical command line

icsdrone -handle yourhandle -password yourpassword -program stockfish -sendLogin "seek 2 12 m" -sendGameEnd "seek 2 12 m" -daemonize on -proxy on

Then your engine will play 2 12 blitzgames. There are of course more advanced options using scripts and such.

If you don't have an account you can use yourhandle=guest and yourpassword=xxx for an unregistered account.


There are some embedded systems on FICS (run by nematocyst) using icsdrone. However I think they run on routers. Not on pico computers.

Michel
Posts: 2046
Joined: Sun Sep 28, 2008 11:50 pm

Re: PicoChess stand alone chess computer has born :-)

Post by Michel » Tue Aug 28, 2012 7:16 pm

Sorry stockfish is an UCI engine so you need polyglot as well

icsdrone -handle yourhandle -password yourpassword -program "polyglot -noini -ec stockfish" -sendLogin "seek 2 12 m" -sendGameEnd "seek 2 12 m" -daemonize on -proxy on

Polyglot is here

http://hardy.uhasselt.be/Toga/polyglot-release/

(HGM has somewhat more recent versions but I am not sure if he makes them
available separately from winboard/xboard).

Another comment: for an unregistered login it is not necessary to specify the handle "guest" on FICS.
An arbitrary (non-existing) handle works as well.
Last edited by Michel on Tue Aug 28, 2012 7:23 pm, edited 1 time in total.

mephisto
Posts: 343
Joined: Mon Apr 03, 2006 8:10 am
Location: England

Re: PicoChess stand alone chess computer has born :-)

Post by mephisto » Tue Aug 28, 2012 7:21 pm

Hi Jean-Francois
Congratulations on your excellent project.
I am a little disappointed that the Rasperry PI wasn't up to the job as I also own one.
My project team has been contemplating the same as you but using one with of my DIY boards which can be seen here. http://usbchessboard.yolasite.com/
Keep up the good, regards
Bryan
What's my next move? - to the fridge for another beer !!

User avatar
gleperlier
Posts: 1033
Joined: Sat Feb 04, 2012 9:03 pm

Re: PicoChess stand alone chess computer has born :-)

Post by gleperlier » Tue Aug 28, 2012 7:39 pm

Congrats Jeff !!

j_romang
Posts: 79
Joined: Mon May 16, 2011 12:52 am

Re: PicoChess stand alone chess computer has born :-)

Post by j_romang » Wed Aug 29, 2012 1:55 pm

Ok, now I have a better understanding of icsdrone ! Yes I could easily make stockfish play on ICS with this little ARM device, but it would be much more difficult to have the human player (with the board) playing on fics : I can't use icsdrone to do it, because the DGT board handling bypasses the UCI events.

Post Reply