Engineering School Innovations: Connect Four Player

Dec. 14, 2011
A team of engineering students from Carnegie Mellon University automates the popular Connect Four game.

This project was completed to fulfill the requirements for a course on Mechatronic Design at Carnegie Mellon University. The basic premise of the project was to design and build a system that can efficiently play Connect Four against an opponent. There were restrictions on size (approximately 36" W x 22" D x 36" H), and the device had to be portable, using a dedicated power supply for electronics. To prepare the machine for gameplay, the chips could either be dumped into a container in the machine or stacked on the playing surface to be picked up by the machine. 

Project Name: Connect Four Player

Students: Matt Eicholtz, David Chang, Balu Nair, Sai Yamanoor
Project Details
The required performance metrics included:
The mechanism had to be capable of inserting game chips into all 7 slots in the board.
The mechanism must take no more that 20 seconds per move.
The mechanism must retract from the neutral area (12" x 8" area surrounding board) between turns.
The mechanism must display some level of game-playing intelligence (i.e., no random moves).
The mechanism must transmit its moves to the opponent via RS232 serial protocol (9600 baud rate, no parity, 8 bits per message, 2 stop bits, no flow control).
Equipment Used
NI LabVIEW 2010 with embedded module for ARM microcontrollers
Stellaris ARM LM3S8962 evaluation board
NXP1768-based MBED microcontroller
12V dc motor
Connect Four game set
24V, unipolar stepper motor 
Flexible spring-beam coupling
Two solenoids
Infrared sensor
Blue and pink LEDs
Watch the CMU Connect Four team of Matt Eicholtz, David Chang, Balu Nair and Sai Yamanoor have way too much fun with a video of their project inspired by “The Office” (below). 
Automation World would like to thank National Instruments for connecting us with the CMU Connect Four Team to make this "Engineering School Innovations" installment possible.

About the Author

David Greenfield, editor in chief | Editor in Chief

David Greenfield joined Automation World in June 2011. Bringing a wealth of industry knowledge and media experience to his position, David’s contributions can be found in AW’s print and online editions and custom projects. Earlier in his career, David was Editorial Director of Design News at UBM Electronics, and prior to joining UBM, he was Editorial Director of Control Engineering at Reed Business Information, where he also worked on Manufacturing Business Technology as Publisher. 

Sponsored Recommendations

Why Go Beyond Traditional HMI/SCADA

Traditional HMI/SCADAs are being reinvented with today's growing dependence on mobile technology. Discover how AVEVA is implementing this software into your everyday devices to...

4 Reasons to move to a subscription model for your HMI/SCADA

Software-as-a-service (SaaS) gives you the technical and financial ability to respond to the changing market and provides efficient control across your entire enterprise—not just...

Is your HMI stuck in the stone age?

What happens when you adopt modern HMI solutions? Learn more about the future of operations control with these six modern HMI must-haves to help you turbocharge operator efficiency...

AVEVA™ System Platform: Smarter, Faster Operations for Enhanced Industrial Performance

AVEVA System Platform (formerly Wonderware) delivers a responsive, modern operations visualization framework designed to enhance performance across all devices with context-aware...