by Rico Kanthatham, Skylabworkshop, 2023

Serial / Libraries

Overview

Processing can communicate with a Microcontroller (like an Arduino) over a serial connection.

When connected…Processing can SEND control signals to the Microcontroller (ex: a graphical ON button on a Processing canvas can activate an LED connected to the Microcontroller)…behaving as a Control Interface

…or Processing can RECEIVE data from a Microcontroller (ex: receive temperature sensor data from a sensor connected to a Microcontroller and display it as a RED line that grows taller as the temperature increases) behaving as a Data Visualizing Display

Making Drawings with Processing

Learn Processing - Ep 01 - Hello Rectangle!

Reference

Step 0: Getting Started with Processing

Step 1: Make a Colorful Canvas

Step 2: Draw Shapes & Text!

Step 3: Using Mouse Location & Events

Connecting Processing >> Arduino