Andrew Pandji

Exploring physical computing

Physical Computing Week 9: the browser as input and output

Lab Reflections

This week we worked on connecting the physical computing device as both input and output from a web browser. The lab exercise was to set up an LED that would change its values from both a potentiometer and a slider on a web browser.

The breadboard: a potentiometer and a blue LED wired to an Arduino Uno R4

The same circuit beside the laptop running the p5.js sketch with the slider

One of the challenges that we faced was working with a new Arduino, the R4. We had difficulty making it work until we troubleshot it and swapped out the breadboard. That seemed to fix it, which makes me think it was a bad breadboard.

Get in touch