GithubHelp home page GithubHelp logo

autoinjector's Introduction

autoinjector

TODO

  • Components:
    • Buzzer
      • Setup a basic sketch, buzzing
      • Decide on active vs. passive [passive for now]
      • Decide on the best frequency it the buzzer is inside the case [maybe 1k, doesn't seem to matter]
    • Potentiometer
      • Set up a basic sketch, read the values
      • Try reading in increases as a system interrupt
    • Button
      • Set up a basic sketch, digital read the input
      • Try the input as a system interrupt
    • Servo
      • Set up a basic sketch, just get it to turn
      • Set up a method to turn 90 degrees
    • Detecting rapid change
      • Decide on a structure for holding data [linked list is best, but array will be faster]
      • Calculate the averages every cycle? (10sec & 2sec?)
  • Combine components:
    • If the fake heart rate is over a threshold set off the buzzer
    • If the buzzer is going off and the button is pressed cancel the injection
  • Button abort example:
    • Press button to activate -> wait 1 second -> press button to deactivate
    • Press button to activate -> wait 2 seconds -> inject
  • Heart rate example:
    • Show 'heartbeat'
    • Show rolling averages
    • If the short term is too high, audio warning
    • Inject
  • Cleanup:
    • Replace the array logic with a LinkedList
    • Add handling for millis overflow at 50 days
  • Housekeeping:
    • Add a description to this repo

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.