Android's sensor framework is great for a number of sensors that you typically fins in a mobile device. But, what if you want to add I2C or SPI-based peripherals without modifying libsensors and rebuilding the AOSP sources? How would you use Android to generate a PWM signal for motor control or you wanted to get an interrupt into the handset from the outside world? This session will discuss extending Android beyond the handset into the realm of hard real-time control through the use of external microprocessors such as the ARM Cortex M3/M4, AVR and PIC32 series CPUs. We will discuss various techniques to interface mobile Android devices to external microcontrollers for both input and output control of real-world devices.