Project: 2.2 — Physical Computing

Physical Computing & Design Prototyping

Arduino Basics #3: Control WebGL landscape with analog input

This time we should play around an analog input. For this experiment, I am going to use a potentiometer. Previously, I controlled LEDs remotely using a web UI, so why not to turn it over and control web content with analog input on the Arduino board. Another technology I am interested in exploring is WebGL, which is used to create 3D objects and environment on the web. We have this code to read data from Arduino and send it to our web app via PubNub: See the Pen Analog input… More

Arduino Basics #2: LEDs Remote Control

I started with the simple task to make LEDs blink, and then after basics, I had started wondering how to control them remotely. So here is what I have come up with. I am using here PubNub Data Stream Network and Johnny-Five, an open-source JavaScript robotics framework that lets you program an Arduino with Node.js. The LEDs are remotely controlled via a web portal. Remote controller code: See the Pen Remote control for Arduino #2 by Roman Trilo (@romantrilo) on CodePen. More

Arduino Basics #1: Blinking LEDs

I am very excited about the possibilities of Arduino, so I am happy to play around with it. For the beginning we were supposed to figure out a small code to make LED blinking pattern, but I decided, that it is too simple and what if I want to create a pattern using few LEDs. So here is the result: And here is the code: //Flowing LED Lights void setup() { for(int thisPin = lowestPin; thisPin <= highestPin; thisPin++) { pinMode(thisPin, OUTPUT);} } /****************************************/ void loop() {… More