Giter Site home page Giter Site logo

jingjingccc / angrybird_oled Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 55.75 MB

2023 NTHU Fall course - Microprocessor Systems final project. Use two AT89S52 and OLED SSD1306 to make an angry bird game.

C 32.74% Makefile 0.77% Assembly 66.48%
8051 at89s52 i2c oled uart

angrybird_oled's Introduction

AngryBirds with AT89S52 and OLED

This project involves an AT89S52 chip and a KT89S51 board to create an AngryBirds game. The communication between the components is facilitated through UART, and a visual presentation is achieved with an OLED display.

System Stucture

Circuit Diagram

1. The minimum ciruit to run the AT89S52 chip.

2. The ciruit for communication between two chips using UART

Note

Note that this is a bit tricky. In my case, I have to connect TX to TX and RX to RX, then it can work. Don't figure out why...

3. The ciruit for communication from two chips to an OLED using I2C

Note

Only one microcontroller can control the OLED at a time. Initiate the start condition signal for control and send the stop condition signal to discontinue I2C usage.

4. The ciruit using two chips to jointly control five buttons for the game

Reference

angrybird_oled's People

Contributors

jingjingccc avatar

Stargazers

tony eve 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.