import React from 'react'; // Created on: 2014-04-04 const SwivForPi = () => { return (

Embedded Game

Vertical shooter

A simple vertical space shooter created for the Raspberry Pi. The game is played with regular keyboard and a custom joystick setup. The game was programmed in Python using the PyGame library. This project was mainly to create small game and interface it with a custom hardware setup. The setup uses an analog joystick to control the player's helicopter. An ADC (Analog Digital Converter) samples the analog data into digital data so that the Raspberry Pi (version 1, type B) could parse the data.

S W I V for Pi title screen S W I V for Pi screenshot

Hardware

Simple components were placed onto a breadboard and the joystick's analog resistive data would be converted into digital data. This data would be read by the GPIO pins and used to determine how the helicopter moves over the X- and Y-axis. To help with understanding electronic logic, an oscilloscope was used.

Breadboard with components top view Breadboard with components front view Breadboard with components top view
) } export default SwivForPi;