An IoT Tutorial for Phonegap, and the Arduino Yun using the Bridge REST API

  • 1
  • Idea
  • Updated 5 years ago
  • Not Planned
Hey All,
Recently, I create a Phonegap Demo App that toggles an LED on an Arduino Yun. While this seems trival, it is intended as a simple demo app and tutorial. The Phonegap App works on Android and iOS. The Arduino Yun uses a script, pre-installed on it's famous IDE, known as the bridge sketch.

For those unfamiliar with mobile development, it will seems both easy and challenging. The code has a familiar appearance and bearing, but the words used (the syntax) appear as a different language.

For those familiar with mobile development, communicating with Arduino will seem trivial and puzzling. The REST API will appear basic and frictionless, and when the LED changes state (ON to OFF, OFF to ON) it will seem magically. However, because the Arduino C++ is ''NOT'' a standard C++, and the interface appears to inherit but does not, the programmer will be left to wonder if they hit some type of time warp.

The challenge awaits those interested in IoT (Internet of Things).

BLOG: http://codesnippets.altervista.org/blog/2015/BLOG.2015-05-25.jssnippets.html

CODE: https://github.com/jessemonroy650/phonegap-arduino-toggle13

Photo of JesseMonroy650 (Volunteer)

JesseMonroy650 (Volunteer), Champion

  • 3325 Posts
  • 122 Reply Likes

Posted 5 years ago

  • 1

Be the first to post a reply!