We’ve all had a Gameboy before. What if we make our own Game Pad our self invented games?
We make a Game Pad from cardboard.
We design the Game Pad around the Tokymaker and we can insert some sensors.
Because we want to make it easy for you, we have a previewed example below.
Let us then program a Ball game.
The aim of the game is to try to avoid the balls coming from the right.
This is obtained by moving the slider/potentiometer. If you move the slider, your ball will change in height.
If you touch that wall, the game will stop.
You can restart by touching on Touch Pad 2.
Also you can control the speed by touching on Touch Pad 3 or 1.
On the end of the game your score is printed on the screen.
The inputs are :
- push buttons
- sonar sensor
- tilt sensor
The outputs are :
- LED strip
Ultrasonic sensors are non-intrusive in that they do not require physical contact with their target, and can detect certain clear or shiny targets otherwise obscured to some vision-based sensors.
Tilt sensors and inclinometers generate an artificial horizon and measure angular tilt with respect to this horizon.
A buzzer or beeper is an audio signalling device.
- Download the prepared Game Pad design :
- Print it on A4 paper
- Draw it on a cardboard
- Cut the red lines
- Fold the blue lines
- Draw the purple lines
- Put the sensors and the Tokymaker in it