ApkDownload

Arduino Remote Control using Phone Bluetooth. APK

Dernière version 7 pour Windows
Mise à jour 27 November 2018

Informations

Version 7 (#11)

Mise à jour 27 November 2018

Taille APK 2.3 MB

Nécessite Android Android 4.0+ (Ice Cream Sandwich)

Proposée par ampower

Catégorie App de Enseignement Gratuits

App id com.mpawer.arduino.WhatsUpArduino

Notes d'auteur Discutez avec Arduino et testez-le à distance à l'aide du Smartphone Bluetooth.

Captures d'écran

Cliquez sur l'image pour la voir en taille réelle

Dernières mises à jour

Nouveautés sur Arduino Remote Control using Phone Bluetooth. 7

*Added Advanced I/O function 'tone' used to generate different tones.
*Added 'Share' button to share chat history using whatsapp, email, SMS, Bluetooth etc. It also gives option to store on Google Drive or other Storage apps.

Description

Pour savoir comment utiliser cette application, cliquez sur ici. Il s'agit d'un tutoriel. avec un exemple de projet. Vous pouvez utiliser l'application pour vos propres projets.

Pour que cette application fonctionne, vous devez insérer une esquisse Arduino dans votre appareil Arduino. Pour télécharger le dessin Arduino Sketch, cliquez ici .

Apprenez diverses commandes Arduino en discutant avec Arduino. Programmez et configurez les fonctions Arduino Pin en envoyant des commandes à distance sans téléchargement de code.

L'application sert à programmer (modifier les paramètres des broches) d'Arduino à distance à l'aide de Bluetooth. Il n'est pas nécessaire de télécharger des programmes pour modifier les paramètres des broches comme le mode Broche Vous pouvez le faire à distance en utilisant cette application.

C'est un excellent outil pour apprendre Arduino de la manière la plus amusante en discutant avec Arduino.

Vous pouvez utiliser l'exemple de croquis donné ici. Ce croquis peut être personnalisé / modifié pour répondre à vos besoins, à votre langue et améliorer votre expérience.

[Esquisse Arduino]
/ ****** Sketch for App ******* /

#include & lt; SoftwareSerial.h & gt; // importer la bibliothèque de séries

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

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

boucle vide () {
  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 ();
      Mode chaîne = 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 ("terminé");
    }
    // digitalWrite
    if (readStr.startsWith ("digitalWrite")) {
      String pin = readStr.substring (readStr.indexOf ("(") + 1), readStr.indexOf (","));
      int pinNo = pin.toInt ();
      Valeur de chaîne = readStr.substring (readStr.indexOf (",") + 2, readStr.indexOf (")"));
      if (valeur == "HIGH") {
        digitalWrite (pinNo, HIGH);}
      if (valeur == "LOW") {
        digitalWrite (pinNo, LOW);}
      chat.println ("terminé");
    }
    // digitalLire
    if (readStr.startsWith ("digitalRead")) {
      String pin = readStr.substring (readStr.indexOf ("(") + 1), readStr.indexOf (","));
      int pinNo = pin.toInt ();
      int val = digitalRead (pinNo);
      si (val == 1) {
      chat.println ("c'est ÉLEVÉ");}
      si (val == 0) {
      chat.println ("c'est FAIBLE");}
    }
    // 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 ("Vous essayez d'écrire sur des broches utilisées par Bluetooth RX / TX"); // l'écriture analogique / PWM sur des broches utilisées par Bluetooth peut interrompre la communication.
      }autre{
        analogWrite (pinNo, value);
        chat.println ("terminé");
      }
    }

//Ton
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 fréquence = frq.toInt ();
String dur = readStr.substring (readStr.lastIndexOf (",") + 2, readStr.indexOf (")"));
int temp = dur.toInt ();
longue durée = temp * 1000;
if (pinNo == 10 || pinNo == 11) {
chat.println ("Vous essayez d'écrire sur des broches utilisées par Bluetooth RX / TX"); // l'écriture analogique / PWM sur des broches utilisées par Bluetooth peut interrompre la communication.
}autre{
ton (broche, fréquence, durée);
chat.println ("terminé");
}
}
    // analogRead
    if (readStr.startsWith ("analogRead")) {
      String pin = readStr.substring (readStr.indexOf ("(") + 1), readStr.indexOf (","));
      int pinNo = pin.toInt ();
      int val = analogRead (pinNo);
      chat.println ("c'est" + String (val));
    }
    
  }
  
}
/ ******** fin du croquis ********** /

Notes et avis

Note: 4.0 sur 5 · Less than 100 votes

(*) est nécessaire

Versions précédentes

Arduino Remote Control using Phone Bluetooth. 7 APK pour Windows (#11, 2.3 MB)