Assignment 4: Interaction with p5.js and Arduino

Create accessibility using an Arduino, sensors, p5.js, and a screen.

The context is you’re making something accessible or usable. We’re still in the early days so this can be rather abstract or a proof of concept.

Two parts to the assignment which can be implemented as two different sets of sketches.  If you can do both in one set of sketches, that’s great.

Use Arduino inputs to display something in a p5.js sketch.  A very simple example is a switch on the Arduino that detects a door being opened, and the Arduino asks the p5.js script to go from dark to light.

Use a p5.js sketch interract to make something happen on the Arduino: turn LEDs on/off, spin a motor, etc.  Imagine p5.js is a touch-screen and you’re making things happen across the room.

Due Monday, 7 Feb 2022, 11:59 pm.  We will discuss on Tuesday.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.