

A good news is that ApowerMirror will add a new feature to control iPhone/iPad from PC based on its screen mirroring functions. If (Serial.Due to iOS system restrictions, iPhone and iPad users are not allowed to control their devices from PC directly. Serial.begin(9600) //set serial to 9600 baud rate Int redLED = 0 // The value/brightness of the LED, can be 0-255 Int redLEDPin = 11 // What pin is the red LED connected to? Int message = 0 // This will hold one byte of the serial message Here is the source code, copy it into the empty Arduino window: You can download the Arduino sketch here, or simply copy and paste it from below. You can download Arduino and find a lot of resources at Alright, now let’s open up Arduino and program it to look for specific characters via serial. Make sure your Arduino is plugged in via the USB cord and load up the Arduino software on your computer. Next connect the red/positive jumper to pin 11 and the other end of the red jumper into the same row of the end of the resistor (The third row). Place the other end of the resistor into the third row. Place either end of the resistor into the same row as the positive end of the LED ( The second row). Place the positive end in the next row down.

Place the negative lead into the same row as the negative jumper. Notice that the LED has two different length leads coming out the bottom, the shorter one is the negative lead. Let’s connect our negative/ground jumper to the first row in the breadboard and the other end into one of the ground plugs (GND) Arduino and Processing are also built on the same interface and look nearly identical.įirst thing we’ll need to do is to create a simple circuit with an LED, a resistor, a breadboard, some jumper wires and an Arduino board connected to a computer via a USB cable. Processing is free to download and has a large community at. Processing is a great application for quickly creating visualizations, interactive installations, and physical computing projects. There are many applications and hardware devices that can transmit and receive OSC signals, so don’t think that you need an iPhone/iTouch to play with OSC. I particularly like TouchOSC because it's stable, it’s only $4.99 and most importantly comes with a really easy to use iPhone interface builder for your computer. TouchOSC is just one of many iPhone/iTouch apps that can send Open Sound Control signals. In this tutorial you will learn how to communicate between the iPhone/iTouch app TouchOSC via a WiFi network to a Processing sketch displaying graphics and finally to control an Arduino board to light up an LED.
