Coder Social home page Coder Social logo

ajv012 / atherosclerosis_arduino_code Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 4 KB

This repository includes files required to run the atherosclerosis plaque build up simulator made for BMEG 350: Signals and Systems at Bucknell University

C++ 100.00%

atherosclerosis_arduino_code's Introduction

Atherosclerosis_Arduino_Code

This readme file will help you in navigating the code we wrote to run the plaque simulator exhibit. There are two files: servo.ino and second_lcd.ino. THe servo.ino file is the main driver that controls the buttons and their interactions with the servo motor and the two LCD screens. We found that it was extremely difficult to power a second LCD screen using the same Ardunio board so we used a second board. This second board is controlled by the first board and the script for this board is in the file second_lcd.ino.

The servo.ino file controls these specific functions:

  1. Initialize the system and the two LCD screens
  2. When plaque buildup button is pressed, disable the buttons and move the servo motor to the correct position to build plaque
  3. Power the buzzer when plaque builds up
  4. Use a sampling schedule to show pressure readings from the Honeywell pressure sensor on the second LCD
  5. Enable the buttons
  6. When drug release button is pressed, the servo motor is reset
  7. System reset to be used again

The second_lcd.ino file controls:

  1. Show pressure readings on the second lcd
  2. Show pressure is high when it crosses 3 PSI

atherosclerosis_arduino_code's People

Contributors

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