I had a MPR121 in my tool box. After getting my Raspberry Pi 2 installed with Windows IoT Core, I wanted to get this MPR121 Capacitive touch break out board working with it. While Adafruit had a library for Arduino, there wasn’t an MPR121 Driver for Windows IoT Core readily available. So I wrote this Windows.IoT.Core.HWInterfaces.MPR121 library in C# that can be used with the Raspberry Pi. In addition to the sample app available in the Github repo, I also created a Touch sensitive Christmas tree using this library. This post describes a few things about the MPR121 library.
Had a load of fun getting my Raspberry PI 2 set up with Windows IoT core and the whole development environment that’s needed for it.
Windows 10 and Visual Studio
Can’t develop for Windows IoT core without Windows 10. So had to set up Windows 10 on Mid 2011 Mac. The problem was my Mac already had Debian Linux running on a separate partition. I used the wonderful rEFInd boot manager from Rod Smith earlier to do the partitioning and it came in handy to add the third partition for windows 10. Had some quirky troubles with the Apple Wireless mouse and keyboard but i have a wired keyboard/mouse connected to the Mac just in case. So now my mac has two keyboards and two mouse.. 🙂 One day i need to get around to fixing the problem permanently. After getting Windows 10 on the Mac, installing VS 2015 was a breeze.
In an earlier post i explained how i exposed Arduino Yun Serial Port over TCP. This allowed me to control an Arduino Yun with Windows Remote Arduino over WiFi. This project is a further extension of it in exploring what is possible with Windows Remote Arduino. This time i connected a LED strip (TM1803 based three wire LED strip from Radioshack) to my Yun and controlled its color through an Universal Windows App that uses Windows Remote Arduino. Here is the lamp in action.
This article contains instructions on how to expose the Arduino Yun Serial Port over TCP.
Few days back, the Windows IOT challenge dropped in my twitter feed. While the challenge was very interesting, after poking around the web, I quickly realized that there is no Windows IoT Core for Arduino. Hopefully, sometime soon, Microsoft and Arduino will give us one.
Until then we will have to make do with Windows Remote Arduino. It is essentially a Firmata client library wrapped in a Windows Runtime Component. I had both an Arduino Uno and an Arduino Yun and I wanted to check out the Windows Remote Arduino interfacing.