Raspberry Pi game system
SDG2 project 2020-2021
ArcadePi is a game system developed for the Raspberry Pi.
You can check a video of the system in SDG2 YouTube channel
The system makes use of the following hardware:
- Raspberry Pi (developed on 3B model)
- Display
- 2 5x7 Dot Matrix Display (TA12-11SURKWA)
- 8x8 Dot Matrix MCU LED Display (MAX7219)
- Control
- 4x4 membrane keypad
- Other
- Tension regulator (LP2950-33LPE3)
- 3x8 decoder (HC238)
- 8 bit 3-State buffer (SN74HC244N)
The project makes use of the following libraries:
- wiringPi
- pthread
- rt
You can either use the Makefile provided:
make
Or compile it specifying the libraries used:
gcc src/*.c -lpthread -lrt -lwiringPi -o "arcadepi-bin"
For cross compilation you will need to install the Raspbian armhf toolchain and compile it using either the Makefile for cross-compilation:
make cross
Or use the following command:
arm-linux-gnueabihf-gcc -I ../include -L ../lib src/*.c -lpthread -lrt -lwiringPi -o "arcadepi-bin"
If working directly on the project's source code, you must take into account the following dependencies and libraries:
The C compiler must compile for the arm32v7 architecture used by the BCM2836 IC. To accomplish this you need to install the following dependencies on Linux:
sudo apt-get install -y libc6-armel-cross libc6-dev-armel-cross binutils-arm-linux-gnueabi libncurses5-dev build-essential bison flex libssl-dev gcc-arm-linux-gnueabihf
To make use of the mentioned libraries in the project you must compile and install them beforehand. To dowload the various libraries you need have git
installed.
- wiringPi
git clone https://github.com/WiringPi/WiringPi
cd WiringPi
./build