Projet Prototypage Rapide, Piano Tiles
by karelblanken in Circuits > Arduino
223 Views, 0 Favorites, 0 Comments
Projet Prototypage Rapide, Piano Tiles
Piano Tiles is a well known game where the player has to touch the black tiles on his phone while avoiding the white ones. Our project consists of making an automated player, that will detect the black tiles and automatically touch the screen.
Supplies
4 x servos
4 x photoresistor
1 x arduino
4 x 3d printed rods
1 x 3d printed deck
1 x 3d printed support
resistors
A lot of cables
1 Column
The first step of the project was to try the game with only one column of tiles (1 servo and 1 photoresistor). We connected the arduino with the servo and the sensor and made a code to try it. It worked very well!
Design With 3d Printer
The aim of the second step was to build a stand and rods, in order to hide the cables and the arduino to make a clean project and put together the servo and the screen. During this step, we used Catia and Cura, to design these objects. We also designed a bridge to place the photoresistors on.
Welding and Electronics
We wanted to compact the project, by welding the electronics on a board. We've connected the 4 sensors and the 4 servos on the same arduino. The arduino is not powerful enough to control the 4 servos at the same time. We've decided to control the servos 2 by 2 to avoid this issue.
Downloads
Touch the Screen
One difficulty we encountered was to touch the screen at the top or the rods. A screen works when cells detect a difference of potential between the sensors and the objects touching the screen. We had to artifficially create this difference of potential. To make it, we've connected the ground of the arduino with aluminium. To amplify the touch, we placed foam behind the aluminium. We attached the foam and the aluminium to the rods with iron wire.
Assemble the Project
The final step is to assemble the whole project and test the code we have created.
First, we place the phone on the board. We make sure that the tiles and sensors are aligned.
We start the game.
We let the robot have fun!