Title: Stupid Pet Trick- Mini Pinball
Date: 29th September 2017
Instructor: Marcela Godoy
Aim: To construct a basic version of Pinball with paddles, boundary wall using servo motors, potentiometer and arduino board. The end product should be engaging and presentable.
The initial idea is shown in the sketch below. The design included rotation of servo motors being controlled by potentiometers. The boundary wall and pedals (attatched to motors) were to be made by cardboard. Addtionally, there would be an LED attatched to each paddle which would light on everytime the ball would come in contact with the paddle.
To start off, a servo motor was operated using a potentiometer, the circuit and code was tested to ensure it worked.
This video shows the movement of the servo motor being controlled by the potentiometer.
Another servo motor was attached and operated using a second potentiometer. Code was adjusted accordingly.
A button and LED were added to the circuit with the operation of the LED dependent on the button. Code was adjusted accordingly.
Another button and LED were added to the circuit with the operation of the LED dependent on the button. Code was adjusted accordingly.
The paddle was designed using cardboard. In place of the button of the circuit, copper tape was used on the paddle. A small gap was kept between the copper tape on the paddle. When the ball (covered in copper tape) would come in contact with the paddle, the circuit would be completed, and the LED would light up.
Similarly, another paddle was designed. Both were attached to servo motors and were tested using a ping pong ball covered in copper tape. A boundary wall was designed, and motors were placed on the sides.
The video shows a rudimentary version of the game being played.
The servo motors stopped working. This was a setback as the had to be replaced with standard servo motors and the boundary wall had to be re-designed to accommodate their bigger size.
The idea of using the LEDs was let go of. This was because as the game was being played, the ball would often not hit the paddle at the right place as the paddles would tilt. This was another setback which could not be dealt with in the limited time.
Even with that setback however, the basic idea was still in place and functional.
The connections of the potentiometers were extended using alligator clips for easier control.
The endings of the potentiometer were soldered. This enabled better control by the user.
For visual appeal, printouts were glued to the walls and floor. The (almost) final version is shown as below:
A few other final adjustments were made, including attatchment of the potentiometers to the corners of the board, creating a hole in the upper part of the cardboard, adjusting the height of the board (so that the ball rolls down freely).
A couple of rules for the game were decided. The player has to try and get the ball stuck in the hole against the slope to win. If the ball goes below the paddle, the player loses.
The following videos show the game being played by two different players on the day of the exhibition.
- It is worthwile to plan the designing process well to avoid making a lot of changes during development.
- Using code samples from Arduino examples and adjusting them acoording to the needs of your circuit.
- The need to use the right cardboard. For the purposes of mini pinball, thin yet strong cardboard was optimal for the baddles.
- Small servo motors can be a disappointment, its better to use standard ones to avoid having to redesign your project.
- How to create an external button, using copper tape.
- Technique and effectiveness of soldering.
- Final touches make presentation a lot better.
- Continuous feedback from users is very important. It enables you to make changes which result in making the project more appealing, interactive and engaging. It was through feedback that printouts were added, potentiometers were soldered and hole was made.