Giter Site home page Giter Site logo

stm32-spaceship-project's Introduction

STM32 Spaceship Project

This is the repository for the firmware of Assignment 2 of a module I took in NUS, EE2028 - Microcontroller Interfacing and Programming in AY2023/2024 semester 1.

For this assignment the STM32 acts as a spaceship that has to display various outputs on UART when certain condtions are met. For example, pushing a button, or turning the board upside down.

Core Features

The core features refer to implementations that are compulsory for all students of the module.

  1. Double push button press detection using interrupts
  2. Telementary data sending using the UART protocol to the computer, read via PuTTY.
  3. Interfacing the STM32 board with onboard sensors and reading their data. The sensors are a magnometer, 6-DOF inertial measuremnet unit, a pressure and temperature sensor.

Additional Features

  1. Interfacing the STM32 with an OLED module, driven by the SSD1306 driver.
  2. Implementation of the complementary filter to calulcate tilt angle from inertial measurement unit readings.
  3. Graphical Display of the tilt on the OLED screen, which is a line that tilts clockwise or anticlockwise depending on the current tilt.
  4. Triple push button press detection to activate or deactive the OLED screen.
  5. Interfacing the STM32 with an onboard buzzer.
  6. Implementing interrupts on the intertial measurement unit such that the buzzer gives of a sound when the sensor tilts more than 30 degrees suddenly.

stm32-spaceship-project's People

Contributors

flamerten 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.