Written course · ITP Physical Computing, NYU
Lab: Serial output from P5.js Using the p5.serialport Library
- Type
- Written course
- Level
- Intermediate
- Price
- Free
About this lesson
The reverse direction: a p5.js sketch sends mouse and key data to an Arduino to drive an LED, with the circuit, Arduino code and ASCII serial format explained over about fifteen steps. Useful for installations where software controls physical outputs.
Related lessons

building an interactive art installation for Toro y Moi // design & code with me
Video · 27 min
Free
mattaniah

DIY Light Sculpture
Article
Free
SparkFun Electronics
Article
E-textiles - Fabricademy Class Archive
Article
Free
Fabricademy

Interactive Neopixel Installation
Article
Free
Mathias Schønning Voss
Article
Interwoven
Article
Free
Daisy Li

Lab: Serial Input to P5.js Using the p5.serialport library
Written course
Free
ITP Physical Computing