-
Notifications
You must be signed in to change notification settings - Fork 8
Controller board
The self-o-mat kits provided by x-tech UG include a controller board.
The Arduino-based board
- connects the arcade button and the LED ring to a Raspberry Pi and
- powers the screen and the Raspberry Pi and connects the on/off switch.
The original board is based on an Arduino Nano.
PIN_ON Here it the pinout used by the firmware:
Pin | Alias | Function | Input/Output | Connection |
---|---|---|---|---|
4 | PIN_LED |
NeoPixel data pin | Output | To NeoPixel data input |
2 | PIN_BUTTON |
Trigger Button | Input | Connect trigger button with a pull-up resistor |
3 | PIN_SWITCH |
ON/OFF Switch | Input | Connect ON/OFF switch with a pull-up resistor. If not needed, pull to 5V |
8 | PIN_ON |
POWER | Output | Can be used to control PC/screen power. Connect PC/screen via relay or leave open if unused |
The firmware is located in ./Arduino.
In order to build the Arduino sketch, an installation of the Arduino IDE is required.
Building the Arduino sketch yields the following error message:
globals.h:4:10: fatal error: Adafruit_NeoPixel.h: No such file or directory
#include <Adafruit_NeoPixel.h>
^~~~~~~~~~~~~~~~~~~~~
compilation terminated.
exit status 1
Adafruit_NeoPixel.h: No such file or directory
You forgot to add the Adafruit NeoPixel library. Select Tools > Manage Libraries... from the menu. Search for "Adafruit NeoPixel", select the correct library and click the Install button.
![](https://user-images.githubusercontent.com/6305922/142622409-9dab67cb-6173-448d-a609-1b4ad0ffc31d.png)
Building the Arduino sketch yields the following error message:
BusyState.cpp:4:10: fatal error: PinChangeInterrupt.h: No such file or directory
#include "PinChangeInterrupt.h"
^~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
exit status 1
PinChangeInterrupt.h: No such file or directory
You forgot to add the PinChangeInterrupt library by NicoHood. Select Tools > Manage Libraries... from the menu. Search for "PinChangeInterrupt", select the correct library and click the Install button.