Git Product home page Git Product logo

mechsense's Introduction

MechSenseUI

#Last Updated: 04/23/2023
#Description: This Github link contains the User Interface for MechSense (CHI'23) as well as an example fishing game.

---Folder Structure---

  1. MechSense UI (Folder).
    a) MechSense_UI.pde (File, processing file that hosts the UI).
    b) utils.pde (File, has the polynomial coefficients for equation used in MechSense_UI.pde).
    c) assets (Folder, houses the graphics used for the fishing game).

  2. FDC2214 (Folder, FDC2214 Arduino compatible Capacitive Sensing library-- required for code to run)

  3. MechSense_CapSense (Folder, Arduino code that sends capacitive sensor values to Serial/Processing-- required to upload to microcontroller)

---Requirements---

  1. Processing 2
  2. Arduino/ microcontroller with MechSense code run on it (see "MechSense_CapSense" file)
  3. FDC2214 Arduino Library installation (see "FDC2214" folder)
  4. FDC2214 Sensing Board
  5. MechSense 3D printed object with stator connected to CH0, CH1, CH2 on FDC2214.

---How to Use---

  1. Upload MechSense_Capsense code to Arduino (ensuring that the FDC2214 library is also installed)
  2. Run the processing file 'MechSense_UI.pde" (Note that the processing file will not run unless it is connected to a microcontroller, otherwise you will get a grey screen)
  3. Press on the calibration button (you may change calibration specifics in the code)
  4. As it's calibrating, you can toggle to see the waveforms through "draw_waveforms"
  5. Once calibration is finished, a UI with direction of motion, angular position, speed (rpm) will appear
  6. Waveform button, allows you to see the wavforms and segmentation (can toggle)
  7. Fishing Game button, allows you to enter fishing game mode (can toggle)

---Notes---

  1. Rotating at higher speeds is more likely to produce error as it changes the shape of the polynomial graph (see paper* for more details)
  2. Recommended if using laptop to have it connected to ground, as that establishes a more stable ground
  3. Any Wires in the system must not be moving and hand proximity should be reasonable to avoid noise (see paper*)
  4. The vertical distance between stator and rotor must be kept constant, otherwise errors might accumulate

--- Any Questions/ Notes ---

If you have any questions or feedback, please contact [email protected]

--- Paper* ---

Marwa AlAlawi, Noah Pacik-Nelson, Junyi Zhu, Ben Greenspan, Andrew Doan, Brandon Wong, Benjamin Owen-Block, Shanti Mickens, Wilhelm Schoeman, Michael Wessely, Andreea Danielescu, Stefanie Mueller. MechSense: A Design and Fabrication Pipeline for Integrating Rotary Encoders into 3D Printed Mechanisms https://dl.acm.org/doi/10.1145/3544548.3581361

mechsense's People

Contributors

malalawi avatar

Watchers

Cédric avatar  avatar  avatar  avatar Kenneth Friedman avatar Ticha Sethapakdi avatar Leon Cheng avatar dipinoch avatar kev avatar dogadogan avatar Mark Chounlakone avatar  avatar Faraz Faruqi avatar Parinya Punpongsanon 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.