An open API service indexing awesome lists of open source software.

https://github.com/pintman/osziflap

FlappyBird Clone played on an Oscilloscope
https://github.com/pintman/osziflap

dac hardware oscilloscope r2r-network raspberrypi

Last synced: about 1 month ago
JSON representation

FlappyBird Clone played on an Oscilloscope

Awesome Lists containing this project

README

          

Osziflap
========

A simple flappy bird clone developed during the mini game jam in the
"Künstlerhaus" in Dortmund on 2017-06-10 by Miriam, Marco, and
Reinhard. German
[blogpost](https://blog.bakera.de/klein-aber-fein-der-minigamejam-in-dortmund.html)
about the event.

The game is played on a oscilloscope with a potentiometer
controlling the bird and a button to reset the game. It was developed
in about 8 hours. The analogue signal is generated by a R2R network
driven by some of the (digital) GPIO pins of a RaspberryPi 3.

![Overview](media/overview_all.jpg)
![Overview](media/overview_top.jpg)
![Overview](media/overview_top2.jpg)
![Overview](media/schematic.png)
![Overview](media/dac.jpg)

Demo
----
[![Demovideo at archive.org](https://archive.org/download/Osziflap_Demo/Osziflap_Demo.thumbs/demo_000009.jpg)](https://archive.org/details/Osziflap_Demo) and [YouTube](https://www.youtube.com/watch?v=7jtvtk3SSTg)

Version 2 - Audiooutput
-----------------------

A second version uses the audio jack of the raspberry pi to produce an analog
signal.

![oszi_sine](media/sine_oszi.jpg)

The connection is established via an audio to cinch adapter cable.

![oszi_sine](media/audiojack_cinch_connection.jpg)

Links
-----

DA-Wandler

MCP 4921 (SPI): wenige kHz http://shelvin.de/da-wandler-mcp4921-am-arduino/

SPIDEV-Dokumentation:

- http://tightdev.net/SpiDev_Doc.pdf
- http://www.netzmafia.de/skripten/hardware/RasPi/RasPi_SPI.html
- https://raspilab.blog/2014/11/04/analoge-messwerte-mit-einem-adc-uber-spi-auslesen/

R2R:

- wenige MHz
- https://en.wikipedia.org/wiki/Resistor_ladder
- http://shelvin.de/ein-r2r-4-bit-digital-analog-wandler-wird-aufgebaut/
- http://shelvin.de/ein-rechteck-signal-ausgeben-mit-dem-r-2r-da-wandler/
- http://shelvin.de/ein-rechteck-sgnal-mit-einstellbarer-frequenz-ausgeben/

Weitere Links:

- https://hackaday.com/2016/05/02/amazing-oscilloscope-graphics/
- https://hackaday.com/2014/12/29/ultimate-oscilloscope-hack-quake-in-realtime/
- http://www.kotzendes-einhorn.de/blog/2016-12/sound-zu-grafik-oszilloskop-musik/