the creme of the chess in a show we're
getting ready for the Dunwoody college
career fair with our latest gmr switch
chessboard
demo we've upgraded from an Arduino Uno
to an Arduino Mega the additional IO
makes it easier to scan 64 sensors or
more and the additional memory allows us
to use higher quality PCM voice
synthesis Knight to King Bishop
three Pawn to King three rather than the
LPC compression we used in the Uno
version we also digitized a custom chest
vocabulary so we can make move
announcements in descriptive
notation Knight to King
two Pawn to Queen
four Pawn to Queen
four queen to queen two G Mr Mr magnetic
switch sensors are the heart of the demo
the sensors are mounted on breakout
boards here's the
schematic the sensors are open collector
and the outputs are wire or together
which allows 64 sensors to be Multiplex
to 16 IO pins there's an LCD display and
an audio amplifier and
speakers we had to use every one of the
Uno's 20 IO pins the mega has 54 digital
IO pins so you can easily interface to
hundreds of these sensors with
multiplexing here's the program we used
a PCM library for The Voice synthesis
and two libraries for the LCD display we
have arrays with the voice synthesis
data for each word and an array to track
the
pieces this is the heart of the program
it scans the rows of sensors and reads
the columns or files to detect whether a
piece is moved the multiplexing is
straight forward with Omega because we
could dedicate a full 8bit port to the
rows and another to the columns with the
Uno we had to piece together the 16 bits
from non-contiguous bits from three
different
ports this program section tracks the
moves then displays and calls out the
moves finally these are the voice
synthesis
procedures here's what we used in this
demo nve has six sensor families
including the ad series used in this
demo these sensors are precise for
Reliable operation and stable over a
wide range of temperature and voltage
they're sensitive for wide air gaps low
power as we showed you can even power
them with Arduino outputs and their
Ultra miniature for tight
spaces there's more product information
on our website and the Arduino and mega
programs are in a GitHub
repository please like this video And
subscribe to our
Channel