EasyManua.ls Logo

Joy-it Arcade-GameStation - Advanced Customization; Expert Chapter: Customization

Joy-it Arcade-GameStation
48 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Ausgabe 18.01.2017 Copyright by Joy-IT 21
3
Arcade-GameStaon
5. Expert chapter
Set up a light-show conguraon on your own
The mounted 8mm RGB-LEDs contain a WS2812 chipset and are connected in series.
The Raspberry Pis PWM output generates the needed data sequence on GPIO-Port 12
which are send to the strip and forwarded to every single LED.
The creaon of this code, and also the control, is provided by the rpi_ws281x library by
jgra (hps://github.com/jgar/rpi_ws281x)
You can change our preinstalled lightshow by your wishes and ideas.
The Python-script-le, which is executd automacally at every startup (with /etc/
rc.local) is stored here:
/home/pi/ArcadeGamestaonApps/RGBLedLightshow/RGBLedLightshow.py
Assign Buon-Control-Assignment
As menoned earlier, the arcade-buons are translated by the soware to a keyboard-
input.
The soware for translang is called GPioneer and is wrien by mholgatem (accessible
here: hps://github.com/mholgatem/gpioneer)
If you want to change the buon-assignment, you can do this on any computer by
entering the IP-Address of your Arcade-Gamestaon in your browser.
A website will open up which allows you to congure every buon.
It also allows you to use mulple GPIO-PINs to assign a buon-combinaon.
Even the transfer of Linux-Systemcommands is possible.
Please note that the used PIN-Numbers comply to the real physical numbering (e.g.:
GPIO12 -> Nr. 32).

Related product manuals