GMU:Connecting Max to the World/Sirin Unmanee/Homework : 07.11.2018 Arduino

From Medien Wiki

I attempted to make a dimmable LED control by touch screen interface. However, due to the limited equipment (I don’t have a touch screen laptop 😢), so I have to demonstrate with the mouse.

Arduino code : File:hg_20181107.ino Max patch : File:hg03sirin.maxpat

The layout of the circuit and the connections to the Arduino are very simple, as shown below.

NanCapture011.JPG

I used “spectroscope~” as a touch screen field to adjust "number" that will send serial data to the Arduino, and, obviously, the diode LED’s brightness is depending on such number. The multislider and audio output are there just for the experiment.

link : https://youtu.be/t0qUxdoR4yY