Git Product home page Git Product logo

skockogame-stm32l4_with_oled's Introduction

SkockoGame-STM32L4_with_OLED

About platform

Whole game is implemented on STM32L476RG microcontroller, with some aditional peripherals, like SSD1306 OLED display, 2x switch (buttons), 2x potentiometer, 2x 7-segment display.

About Game

Game is about choosing the right combination of 6 characters. You have 6 characters and 4 positions. On each position could be any character (they could repeat).

SkockoGame

System at work

Photo of SSD1306 OLED at beginning, at choosing single combination, at single result, at final result:

SkockoGame SkockoGame SkockoGame SkockoGame

Photo of UART terminal at middle of the game:

SkockoGame

Photo of UART terminal at the end of the game:

SkockoGame

About Hardware

On next photo is Block Schematic of System.

SkockoGame

About software

That's bare metal system (without any RTOS). Whole project relies on STM32 HAL functions. All user software was written in C++, so generaly project is mix of C++, C, and assembly (a little bit).

There on next photo you can see software architecture of this system.

SkockoGame

There on next photo you can see software architecture of ButtonPressedEventCallback function, which could not fit on above photo.

SkockoGame

Refferences

SSD1306 OLED:
https://cdn-shop.adafruit.com/datasheets/SSD1306.pdf
https://www.texim-europe.com/getfile.ashx?id=121863
I2C protocol:
https://www.pololu.com/file/0J435/UM10204.pdf
STM32L476RG:
https://www.st.com/resource/en/reference_manual/rm0351-stm32l47xxx-stm32l48xxx-stm32l49xxx-and-stm32l4axxx-advanced-armbased-32bit-mcus-stmicroelectronics.pdf

skockogame-stm32l4_with_oled's People

Contributors

acamilos avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.