Project descriptionRuby-HAT is an expansion board for Radxa RockPi-S. It's been designed to fit in a compact volume together with the RockPi-S.SpecsRuby-HAT is powered by the following peripherals:-- 1x 0.96" I2C OLED Display Module, with 128x64 resolution, display controller SSD1306-- 2x Tactile push-button-- 1x 5-way Tactile joystick SKRHABE010-- 1x Lineout 3.5mm jack, connected to Lineout pins through DC-blocking capacitors-- 1x Headphone jack, connected to the dedicated headphone amplifier-- 1x Class AB headphone amplifier PAM8908, it can deliver up to 25mW per channel with very low distortionWhat is available-- Schematic-- Layout-- Gerber-- Bill-of-Materials-- Pick&Place Centroid fileNothing is missing for ordering bare or assembled PCBs from PCB manufacturers. The design has been made for keeping cost as low as possible, people with good soldering skills can try to solder all the components by hand, it's tricky but still doable.Hot to useFor audio playback, any image with integrated DAC enabled will work out-of-the-box. It will be required to configure ALSA with software volume control, for increasing or lowering the volume of both lineout and headphone.For joystick and push-buttons connected to GPIOs, plenty of libraries and examples are available for implementing and using them in your own application. Please refer to the schematic for the mapping between buttons and GPIO number.For controlling the OLED display, several libraries and examples are available as well, SSD1306 is a pretty common device. The display has been connected to the I2C bus #1.SupportAn official thread has been open on Radxa forum. Please feel free to report your experience and ask for support, if required.