Skip to content

A demo shows how P5.js interacts with Arduino, based on a pulse sensor.

Notifications You must be signed in to change notification settings

Sky-Walkrr/ArduinoP5Demo

Repository files navigation

ArduinoP5Demo

A demo shows how P5.js interacts with Arduino, based on a pulse sensor.


How to use

0.Download and install the P5.serialcontrol app (which is a packaged application for running serial server on computer). When you run this program, it allows you to select the serial port for communication. You also have the option to run p5.serialserver in command line, which requires node.js environment.

1.Run P5.serialcontrol.exe, connect your pulse sensor and arduino with PC, select an available port for Arduino.

2.Change the portname in sketch.js to the same as YOUR available port name.

3.Open index.html in browser(suggest Chrome).

About

A demo shows how P5.js interacts with Arduino, based on a pulse sensor.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published