Skip to content

I-blueHand-I/250Kb-s

Repository files navigation

250Kb-s

title2

250Kb/s is a french program developped in 2021. Two players are playing to Pong. While they are playing, values of their analog shifting are tranfered to an arduino. The controller controls two stepper motors. One stepper motor folows player 1's mouvement, the second one folows player's 2 mouvement. A graphic tool is attached to a platform which is moving thanks to the motors. On a paper, a drawing of the pong game apppears.

Installation

How it works

Hardware

Not so many electronic componants are necessary to build 250kb/s hardware. It will need a : arduino nano, two drivers 4988 for the stepper motors, two joysticks, and buttons.

This is the schematic view of the electronic circuit built on fritzing and the photo of the circuit. circuit 001

Software

The biggest issue for this project was to make processing and arduino communicate without librairies like firmata. You'll need to download if it is not, the processing library Serial. This librairy will link processing's printed values to arduino canal. Make sure arduino and processing are on he same baud here is 250.000bytes/s. You will find a code in the repo to link processing and arduino. To moove your pallet in the pong game, you will use a joystick. This joystick is used to play pong and to turn stepper motor. In repository you will find arduino and processing files.

You'll need for arduino the Accelstepper librairy. AccelStepper : https://github.com/waspinator/AccelStepper

For the pong with processing you can find a pong game already done. I recommand to do it yourself (inspired by models) to link correctly values to arduino. The pong gameplay can be improoved and bugs & glitch could be corrected.

005 Picture of how the machine draws.

dessin_001 Drawing of a pong game in 11 points with brush and ink

A short video : https://user-images.githubusercontent.com/91726252/142759974-290a199b-e3c5-4385-8608-56e26b934acb.mp4

The music in the game is Pong 808 from Hugz. You can find it on spotify : https://open.spotify.com/track/0TRtWhqcXoWJEkF7JQUwxP

Exhibition

This project has been exposed at the Elia Art Galery in Paris on the 5 and 6 of june 2021. More than 150 games were played. 150 drawings were drawn and each are different.

montage montage3 montage2

Shield: CC BY-SA 4.0

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

CC BY-SA 4.0