Sale has ended but you can still get this app.
Download Arduino Programming Pro Now

Description

Program and test Arduino remotely using Smartphone without downloading code.
[Features]
App is used to program (change pin settings) of Arduino remotely using Bluetooth. You do not need to download programs to change pin settings like pin mode. You can do it remotely using this app. Its a great tool to learn Arduino in the most fun way by chatting with Arduino.

You can use the sample sketch given here. This sketch can be customized/changed to suit your needs, language and enhance your experience.

To start with refer tutorial at: "https://www.instructables.com/id/Unlock-Your-Door-Using-Phone-or-Tablet/"

[Arduino Sketch]
/******sketch for WhatsUpArduino App*******/

#include <SoftwareSerial.h> // import the serial library

SoftwareSerial chat(10, 11); // RX, TX

void setup() {
chat.begin(9600);
}

void loop() {
if (chat.available()){
String readStr = "";
readStr=chat.readString();
//pinMode
if(readStr.startsWith("pinMode")){
String pin=readStr.substring(readStr.indexOf("(")+1,readStr.indexOf(","));
int pinNo=pin.toInt();
String mode=readStr.substring(readStr.indexOf(", ")+2,readStr.indexOf(")"));
if(mode=="INPUT"){
pinMode(pinNo, INPUT);}
if(mode=="OUTPUT"){
pinMode(pinNo, OUTPUT);}
if(mode=="INPUT_PULLUP"){
pinMode(pinNo, INPUT_PULLUP);}
chat.println("done");
}
//digitalWrite
if(readStr.startsWith("digitalWrite")){
String pin=readStr.substring(readStr.indexOf("(")+1,readStr.indexOf(","));
int pinNo=pin.toInt();
String value=readStr.substring(readStr.indexOf(", ")+2,readStr.indexOf(")"));
if(value=="HIGH"){
digitalWrite(pinNo, HIGH);}
if(value=="LOW"){
digitalWrite(pinNo, LOW);}
chat.println("done");
}
//digitalRead
if(readStr.startsWith("digitalRead")){
String pin=readStr.substring(readStr.indexOf("(")+1,readStr.indexOf(","));
int pinNo=pin.toInt();
int val=digitalRead(pinNo);
if(val==1){
chat.println("it's HIGH");}
if(val==0){
chat.println("it's LOW");}
}
//analogWrite
if(readStr.startsWith("analogWrite")){
String pin=readStr.substring(readStr.indexOf("(")+1,readStr.indexOf(","));
int pinNo=pin.toInt();
String val=readStr.substring(readStr.indexOf(", ")+2,readStr.indexOf(")"));
int value=val.toInt();
if(pinNo==10 || pinNo==11){
chat.println("You were trying to write on pins which are used by bluetooth RX/TX");// analog write/PWM on pins used by bluetooth can interrupt communication.
}else{
analogWrite(pinNo, value);
chat.println("done");
}
}

//tone
if(readStr.startsWith("tone")){
String pin=readStr.substring(readStr.indexOf("(")+1,readStr.indexOf(","));
int pinNo=pin.toInt();
String frq=readStr.substring(readStr.indexOf(", ")+2,readStr.indexOf(")"));
int frequency=frq.toInt();
String dur=readStr.substring(readStr.lastIndexOf(", ")+2,readStr.indexOf(")"));
int temp=dur.toInt();
long duration=temp*1000;
if(pinNo==10 || pinNo==11){
chat.println("You were trying to write on pins which are used by bluetooth RX/TX");// analog write/PWM on pins used by bluetooth can interrupt communication.
}else{
tone(pinNo, frequency, duration);
chat.println("done");
}
}
//analogRead
if(readStr.startsWith("analogRead")){
String pin=readStr.substring(readStr.indexOf("(")+1,readStr.indexOf(","));
int pinNo=pin.toInt();
int val=analogRead(pinNo);
chat.println("it's " + String(val));
}

}

}
/********end of sketch**********/

[Plus Button]
The Plus '+' button opens system Bluetooth settings to scan Bluetooth devices and 'pair' them with mobile devices.

[Info Button]
The info button 'i' connects to 'Language Reference' page on Arduino website.

You are allowed to use this product only within the laws of your country/region. SharewareOnSale and its staff are not responsible for any illegal activity. We did not develop this product; if you have an issue with this product, contact the developer. This product is offered "as is" without express or implied or any other type of warranty. The description of this product on this page is not a recommendation, endorsement, or review; it is a marketing description, written by the developer. The quality and performance of this product is without guarantee. Download or use at your own risk. If you don't feel comfortable with this product, then don't download it.

You May Like