This is an old revision of the document!


Piano Tiles game player

Introduction

Synopsis of the project: The following project presents an electronic device that can play the Piano Tiles Game. The game has tiles falling from the top of the screen. The player is expected to tap the tiles (black in colour) as quickly as possible without missing any. Using this electronic device, the player can make a higher score efficiently. I've chosen this project because I found it an exciting and easier way to win the game.

Overview

The colour of the tile is sensed as black or white using LDR, and touch is simulated at appropriate locations on the screen using a logic programmed into the Arduino.

Hardware Design

Requirements:

  1. An Android Device with the 'Piano Tiles' game
  2. Arduino, Breadboard, 22k Resistor, LDR, Relay, Connecting wires, a conducting metal coin
  3. Computer to program Arduino

Software Design

Arduino reads the voltage drop across the LDR. Observe the voltage voltages for black and white tiles, and choose a suitable threshold voltage say Vt. If the voltage is less than the threshold voltage, then there is a larger drop across LDR, the larger the resistance, which implies a Black tile and vice versa. We have simulated the touch accordingly. The values of the delays can be tweaked to get the best result.

Obtained results

Conclusion

Download

Journal

Bibliography

pm/prj2022/agmocanu/pianotiles.1653508554.txt.gz · Last modified: 2022/05/25 22:55 by maria.sibiceanu
CC Attribution-Share Alike 3.0 Unported
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0