Arduino Bluetooth Controlled J

Arduino Bluetooth Controlled J

Uncia Robotics
2021年01月19日
  • 2.5 MB

    ファイルサイズ

  • Android 4.1+

    Android OS

このArduino Bluetooth Controlled Jについて

仮想ジョイスティック、ボタン、または加速度計を使用してロボットを制御します。

Androidアプリロジック

画面には、黒、赤、緑、黄、青の5つのボタンがあります。

黒いボタンはジョイスティックで、実際のジョイスティックコントローラーと同じです-ジョイスティックは2つの値を提供します

1.角度[0-359]

2.強度[0-100]

残りのボタン(赤、緑、黄、青)は通常のボタンです。デフォルトでは、値は0に設定されています。メニュー>設定に移動して値を変更できます。

ジョイスティック、赤、緑、黄、青のボタンの値は、の左右にリアルタイムで表示されます。

これらすべてのボタン(データ)の組み合わせは、Bluetooth経由で送信されます

1.デフォルトでは、7桁の数字が0000000に設定されています

2.最初の3桁は角度を表します

3. 2番目の3桁は強度を表します

4.最後の1桁は、青、緑、赤、黄のボタンの値を表します

例:7桁の数字は2700891です。

1.最初の3桁は角度、つまり270を表します

2. 2番目の3桁は強度、つまり089を表します

3.最後の1桁は、ボタンの青、緑、赤、黄色の値を表します。つまり、1

Arduino Sketch(値を確認するには、このコードをコピーして貼り付けてください)

void setup(){

Serial.begin(9600);

}

void loop(){

if(Serial.available()> 0)

{

文字列値= Serial.readStringUntil( '#');

if(value.length()== 7)

{

文字列の角度= value.substring(0、3);

文字列の強度= value.substring(3、6);

文字列ボタン= value.substring(6、8);

Serial.print( "angle:"); Serial.print(angle); Serial.print( '\ t');

Serial.print( "strength:"); Serial.print(strength); Serial.print( '\ t');

Serial.print( "button:"); Serial.print(button); Serial.println( "");

Serial.flush();

value = "";

}

}

}

もっと見る

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

Last updated on 2021-01-20
Bugfix in Joystick mode.
もっと見る

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

  • Arduino Bluetooth Controlled J ポスター
  • Arduino Bluetooth Controlled J スクリーンショット 1
  • Arduino Bluetooth Controlled J スクリーンショット 2
  • Arduino Bluetooth Controlled J スクリーンショット 3
  • Arduino Bluetooth Controlled J スクリーンショット 4
  • Arduino Bluetooth Controlled J スクリーンショット 5
  • Arduino Bluetooth Controlled J スクリーンショット 6
  • Arduino Bluetooth Controlled J スクリーンショット 7

Arduino Bluetooth Controlled Jの旧バージョン

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