top of page
  • Writer's pictureAtchareeya Jattuporn

Lab6 : Serial Communication - Blooming Piano

This week, I combined my piano from last week with my last ICM sketch and elevated it to be a blooming piano. Every time when the key is pressed, flower will bloom onscreen.

Sketch Part

I improve my sketch by using array function. I was really satisfied with this. Here is a sketch before I combined it with Arduino.

Let's try by clicking anywhere !

Serial Communication with Arduino

I try to use digital input from Arduino to communicate with P5js. I found that I don't understand the logic of serial communication that much. Fortunately, after searching for the solution, I found one sketch that explained it very well. (reference below)

reference for digital input serial communication idea:

sketch :


Finally I did it !

30 views0 comments

Recent Posts

See All


bottom of page