Skip to content

Web app transforming human heartbeats into bacteria rings using Pulse Sensor and Arduino.

Notifications You must be signed in to change notification settings

zskylarli/rings

Repository files navigation

About

WIP - concentric rings generated by heartbeats

Dependencies

Use

  1. Connect PulseSensor to Arduino (Red - 5V, Black - GND, Purple - A0).
  2. Run a server using the companion library p5.serialserver: navigate to p5_serialserver folder on Terminal and start a server using the command node startserver.js. More at https://github.com/p5-serial/p5.serialserver.
  3. Upload Arduino code at Arduino/pulseSensorServer.ino to write outputs on the serial port.
  4. Go live here! Using VSCode Live Server extension is the easiest way, node should work too.

Resources

Arduino with Pulse Sensor to browser connection: https://medium.com/@venegu.design/real-time-pulse-visualizer-fd407d389edb

Other

  • Arduino port is set to "/dev/tty.usbmodem101". Change if needed.
  • Heartrate values generally around 100-120.

To-Do

  • Make rings last longer
  • Change texture of rings based on other parameters
  • Add patterns to the edge of the rings
  • Make background more aesthetically pleasing
  • Alter threshold to account for general peak heartrate values
  • Adapt for touch screen(?)
  • Sound
  • Disappear when touched but save to show at end
  • Show actual p mirabilis images before disappearing or a tree ring etc.
  • Replay rings that are currently frozen

About

Web app transforming human heartbeats into bacteria rings using Pulse Sensor and Arduino.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages