Giter Site home page Giter Site logo

idealgassimulator's Introduction

ECSE444 Final Project: Interactive Ideal Gas Simulator

gui

Table of contents

General info

The aim of this project is to design and implement an Interactive Ideal Gas Simulator that demonstrates the interplay of work and internal energy in thermodynamic systems, involving tools such as multiple I2C sensors, ADC, DAC and UART.

Features

  • ADC (analog to digital converter)
    • In this project, we will use the ADC to calculate the internal energy (Particle Kinetic Energy) of a box of gas from its internal temperature in Kelvins.
  • I2C Sensor
    • We will use the I2C sensors to judge whether the user is doing 'work' on the system and further change its energy balance. To obtain ambient temperature, pressure and the external work, we utilize the Inter-Integrated Circuit interface moduels which provides us with a variety of useful sensor.
    • In this project, we configured I2C2 with PB10 and PB11 to get the required measurements. In particular, we will use the following sensors, including header files and driver files in the project
      • L4S51 gyrometer for rotation & moving sensing
      • LPS22HB for pressure sensing
      • HTS221 for temperature sensing
  • DAC (digital to analog converter) output
    • We will connect a speaker to the DAC output to play sound effects of compressing and remind users of temperature change.
    • In this project, we use a simple "sweep picking" of the C-major traid C6, E6, G6 with different frequencies. The calculation for construction of the three lookup arrays is similar with what we did in Lab3.
    • We use a DMA request for the DAC channel from memory to peripheral so that the DAC should repeatedly read from the array, starting over after each full-conversion.
  • Kalman Filter
    • We will use the Kalman filter for raw data processing. It is implemented in a similar way with what we did in Lab1. The Kalman filter will handle the calculation with the data generated by sensors.
  • GUI with UART
    • We will use the UART to print out the calculated values in the console.
    • A simple GUI will use the data form UART to visualize the random brownian motion of particles in a confined box.

idealgassimulator's People

Contributors

evanhe10 avatar anjunhu 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.