BShaniuno

BShaniuno

Work IT BD
2017年12月19日
  • Everyone

  • 1.6 and up

    Android OS

このBShaniunoについて

これは、三つのスイッチを制御するかのArduinoボードで中継するAndroidアプリです。

This is android apps to control Three switches or relay with Arduino board. This is a simple example app to control anything. We give with code to operate and make a tutorial to use and learn about Android and Arduino Bluetooth communication. arduino code:-

---------------------------------------------------------------------------------------------------------------------------------------

char blueToothVal; //value sent over via bluetooth

char lastValue; //stores last state of device (on/off)

int led = 3;

int ledone = 5;

int ledtwo = 6;

void setup()

{

Serial.begin(9600);

pinMode(led,OUTPUT);

pinMode(ledone, OUTPUT);

pinMode(ledtwo, OUTPUT);

}

void loop()

{

if(Serial.available())

{//if there is data being recieved

blueToothVal=Serial.read(); //read it

}

if (blueToothVal=='n')

{//if value from bluetooth serial is n

digitalWrite(led,HIGH); //switch on LED

if (lastValue!='n')

Serial.println(F("LED is on")); //print LED is on

lastValue=blueToothVal;

}

else if (blueToothVal=='f')

{//if value from bluetooth serial is n

digitalWrite(led,LOW); //turn off LED

if (lastValue!='f')

Serial.println(F("LED is off")); //print LED is on

lastValue=blueToothVal;

}

if (blueToothVal=='a')

{//if value from bluetooth serial is n

digitalWrite(ledone,HIGH); //switch on LED

if (lastValue!='a')

Serial.println(F("ledone is on")); //print LED is on

lastValue=blueToothVal;

}

else if (blueToothVal=='b')

{//if value from bluetooth serial is n

digitalWrite(ledone,LOW); //turn off LED

if (lastValue!='b')

Serial.println(F("ledone is off")); //print LED is on

lastValue=blueToothVal;

}

if (blueToothVal=='c')

{//if value from bluetooth serial is n

digitalWrite(ledtwo,HIGH); //switch on LED

if (lastValue!='c')

Serial.println(F("ledtwo is on")); //print LED is on

lastValue=blueToothVal;

}

else if (blueToothVal=='d')

{//if value from bluetooth serial is n

digitalWrite(ledtwo,LOW); //turn off LED

if (lastValue!='d')

Serial.println(F("ledtwo is off")); //print LED is on

lastValue=blueToothVal;

}

delay(1000);

}

---------------------------------------------------------------------------------------------------------------------------------------

Want to know more and with

Bangla tutorial...

Visit.... http://workitbd.com/bshaniuno/ or http://workitbd.com/page.php?86

もっと見る

最新バージョン 1.0 の更新情報

Last updated on 2017年12月19日
Minor bug fixes and improvements. Install or update to the newest version to check it out!
もっと見る

ビデオとスクリーンショット

  • BShaniuno ポスター
  • BShaniuno スクリーンショット 1
  • BShaniuno スクリーンショット 2
  • BShaniuno スクリーンショット 3

BShaniuno APK 情報

最新バージョン
1.0
カテゴリー
ツール
Android OS
1.6 and up+
開発者
Work IT BD
Available on
コンテンツのレーティング
Everyone
APKPure で安全で高速な APK のダウンロード
APKPure は署名検証を使用して、ウイルスフリーの BShaniuno APK ダウンロードを保証します。
APKPure アイコン

APKPureアプリで超高速かつ安全にダウンロード

Android で XAPK/APK ファイルをワンクリックでインストール!

ダウンロード APKPure
thank icon
We use cookies and other technologies on this website to enhance your user experience.
By clicking any link on this page you are giving your consent to our Privacy Policy and Cookies Policy.
Learn More about Policies