WEBVTT
Kind: captions
Language: en

00:00:00.070 --> 00:00:03.470
♪ The creme de la creme
of the chess world... ♪

00:00:03.470 --> 00:00:06.830
We're getting ready for the
Dunwoody College Career Fair.

00:00:06.830 --> 00:00:09.905
We'll be featuring a new and improved
chessboard sensor demo.

00:00:13.443 --> 00:00:19.194
MACHINE: White move from e2 to e4.

00:00:19.595 --> 00:00:23.537
[machine announcing moves]

00:00:23.537 --> 00:00:28.058
An Arduino scans 64 magnetic sensors,

00:00:30.000 --> 00:00:32.443
displays the moves on an LCD display,

00:00:36.952 --> 00:00:39.671
and reports the moves
with voice synthesis.

00:00:52.859 --> 00:00:56.461
Our GMR magnetic switch sensors
are the heart of the demo.

00:00:56.461 --> 00:00:58.649
The sensors are mounted
on breakout boards

00:00:58.649 --> 00:01:01.710
and wired to the Arduino.

00:01:01.710 --> 00:01:04.440
The demo has a "combination"
of elements that

00:01:04.440 --> 00:01:08.570
Dunwoody students "master"--
circuit-board layout,

00:01:08.570 --> 00:01:13.250
Arduino programming,
soldering, and wire-wrapping.

00:01:12.600 --> 00:01:15.144
One of our Dunwoody alumni
worked on it.

00:01:15.144 --> 00:01:19.750
The GMR sensors are sensitive enough

00:01:20.750 --> 00:01:21.750
to detect even basic magnets
with a lot of latitude.

00:01:21.400 --> 00:01:25.726
They accommodate a wide range 
of magnet strengths:

00:01:25.726 --> 00:01:29.574
380 Gauss...

00:01:32.279 --> 00:01:35.736
610 Gauss...

00:01:38.592 --> 00:01:41.233
and negative 580 Gauss.

00:01:41.580 --> 00:01:45.729
The sensors are activated by positive or
negative fields, which is essential

00:01:45.729 --> 00:01:50.300
since the magnet orientation is random.

00:01:50.300 --> 00:01:51.716
Here's the schematic:

00:01:51.716 --> 00:01:53.716
The sensors are open-collector,

00:01:53.969 --> 00:01:58.951
and the output transistors
turn on in the presence of a magnetic field.

00:02:00.130 --> 00:02:04.130
The outputs are wire-OR'ed together,
which allows 64 sensors

00:02:04.130 --> 00:02:07.059
to be multiplexed to 16 I/O pins.

00:02:07.822 --> 00:02:11.216
There's an I²C interface
to the LCD display

00:02:11.216 --> 00:02:15.000
and an audio amplifier
with speakers for voice synthesis.

00:02:15.239 --> 00:02:18.010
We used every one of the 20 Arduino I/O pins:

00:02:18.496 --> 00:02:20.496
16 pins for the sensor array;

00:02:20.496 --> 00:02:22.776
two pins for the I²C display;

00:02:22.776 --> 00:02:25.284
and two pins for audio.

00:02:25.960 --> 00:02:27.657
Here's the Arduino sketch:

00:02:28.241 --> 00:02:29.921
We set up the I²C

00:02:29.921 --> 00:02:31.032
and voice synthesis libraries,

00:02:31.682 --> 00:02:32.720
define the variables,

00:02:32.720 --> 00:02:35.177
and initialize the I/O and display.

00:02:36.611 --> 00:02:40.260
We set up a 2-D array
to store the piece positions.

00:02:40.260 --> 00:02:42.620
We use the array
to announce the color of the pieces,

00:02:42.620 --> 00:02:44.163
but you can use it
for game storage,

00:02:44.163 --> 00:02:48.545
remote communication,
or artificial intelligence.

00:02:49.645 --> 00:02:51.716
The setup routine displays
a splash screen

00:02:51.716 --> 00:02:54.547
and initializes the I/O.

00:02:55.760 --> 00:02:58.376
We scan rows of sensors...

00:02:58.376 --> 00:03:00.818
and read columns or "files"...

00:03:01.930 --> 00:03:04.970
And when a piece moves,
we record the time,

00:03:04.970 --> 00:03:07.780
convert the ranks and files
of the previous and new positions

00:03:07.780 --> 00:03:12.769
to coordinates,
and update the 2-D board array.

00:03:12.769 --> 00:03:16.912
Then we update the LCD display
and announce the move.

00:03:18.023 --> 00:03:20.410
This updates the clock.

00:03:20.896 --> 00:03:25.207
Finally, there's a procedure to call
the speech synthesis word libraries.

00:03:25.900 --> 00:03:29.120
Here's what we used in this demo:

00:03:29.120 --> 00:03:33.550
Compared to earlier chess demos,
this version has a custom circuit board,

00:03:33.550 --> 00:03:37.310
an LCD display, and voice synthesis.

00:03:37.310 --> 00:03:40.390
We also added these
3-D printed travel pegs

00:03:40.390 --> 00:03:44.305
to avoid the pieces clumping together
if someone bumps the board.

00:03:45.900 --> 00:03:49.760
We used AD024 sensors for this demo,
but there are two other

00:03:49.760 --> 00:03:53.048
"book move" sensors for Arduinos;

00:03:54.852 --> 00:03:57.700
And we have even smaller
and lower power sensors--

00:03:57.700 --> 00:04:01.310
a total of six sensor families,
including the AD-Series

00:04:01.310 --> 00:04:04.569
used in this demo.

00:04:04.569 --> 00:04:08.150
And unlike other sensors
that "pawn" themselves off as stable,

00:04:08.150 --> 00:04:11.540
these sensors "rank" best
over a wide range of

00:04:11.540 --> 00:04:13.829
supply voltage and temperature.

00:04:15.000 --> 00:04:15.833
They're sensitive,

00:04:15.833 --> 00:04:18.701
for wide airgaps
and exceptional operating latitude;

00:04:19.213 --> 00:04:23.915
low power, so you can have large arrays
without a large power supply;

00:04:23.915 --> 00:04:26.249
and ultraminiature, for tight spaces.

00:04:27.910 --> 00:04:31.790
So when it's "your move"
to specify a proximity sensor,

00:04:31.790 --> 00:04:35.580
don't "sacrifice."
There's no "defense"

00:04:35.580 --> 00:04:38.009
for cheap, sloppy Hall-effect switches.

00:04:38.009 --> 00:04:43.030
"Check" our Website for more information
from the magnetic sensor "masters,"

00:04:44.248 --> 00:04:46.683
or to order sensors or demo boards.

00:04:47.347 --> 00:04:51.538
Or "check" our GitHub repository
for the Arduino code.

00:04:52.009 --> 00:04:54.139
And if you're part of the
Dunwoody community,

00:04:54.139 --> 00:04:59.590
"check" out our chess demo live
at the Career Fair on October 3.

00:05:00.144 --> 00:05:04.121
We're always looking for talented
engineers, technicians, and interns.

00:05:04.121 --> 00:05:08.064
And where else can you work on
geeky stuff like this!

00:05:09.420 --> 00:05:13.782
Please like this video
and subscribe to our channel for updates.

