Saturday, May 11, 2013

Arduino based Tic Tac Toe with TV Remote

This was my first time attending the Internet of Things Pune Group. It was such a fun learning experience!

At today's meetup, Dhiraj and Nishant started out by introducing the InduinoX and Arduino Uno boards along with the Processing IDE that is used to write the code.

After playing around with couple of sensors on the InduinoX we thought of doing a micro project together and finally settled on doing a Tic Tac Toe!

All those other ideas would hopefully make it into our next meetups!

Following spec was decided for our micro-project.

  1. A tic-tac-toe game with a mesh of 3x3 LEDs.
  2. Controlled via a TV Remote. (IR). 1-9 keys on remote denote the position of the LED.
  3. A player alternates using the TV Remote.
  4. The first player's LED is always bright (solids) and the second player's LED blinks. (a novel idea considering we had only 1 color LED's.)

Building It

  1. We connected pins 2-10 of the Arduino Uno to a breadboard mounted with LED's. Also the ground PIN was connected using jumpers. (as seen in the below pic.)

  2. Code 
  3. A video below shows the game play!

This would have been impossible without these awesome people. A big thank you to all of them..


@Unmesh@Pratik@dihrajjadho@nishantmodak, prashant and prakash!

@myselfsud Sudam.

P.S: If you want to join our local group. You can subscribe to this IOT google group and also join the meetup page!

1 comment: