I have revisited this Blynk gateway experiment from October.
Blynk is an app with a digital dashboard where you can build a graphic interface to control virtually the Arduino micro processor. I have set up a simple Arduino sketch, a simple LED light being triggered by a button. After setting up in this case a virtual button in Blynk, You get sent an authorisation token code via email that is pasted into the Arduino sketch, this then enables you to trigger the LED light simply by pressing the virtual button.
The problem was to get the app to talk physically to the Arduino board, I had to get either a wireless or an ethernet shield to act as an online gateway. It would have been better to do it via Wifi but the European Wifi boards were sold out and the ethernet boards were cheaper, so I opted for that instead.
As my studio is in a network in a building and therefore to route it I had to generate special IP addresses and do a lot of fiddling about with ethernet and CAT cables, but after reinstalling Arduino Blynk libraries I finally got it to work. The virtual button triggers the LED on the Arduino board via the web/app.
Note to Self:
- This is handy If I want to further develop some proper Mobile Locative Media installations.
- Get a Wifi shield and set it up use that instead.
- I had rigged up the Arduino board to talk to the Processing app in another experiment, which worked but it seems to mess up all the Ardunio ports and libraries.