Setir untuk Mobil Arduino

Setir untuk Mobil Arduino

WestJava Media
2016年09月27日
  • 3.6 MB

    文件大小

  • Everyone

  • Android 4.0+

    Android OS

關於Setir untuk Mobil Arduino

對於Arduino的遙控車遙控藍牙

Setir Mobil Arduino adalah remote untuk mengendalikan RC arduino,

Anda dapat mengontrol RC yang di buat dengan Arduino dengan memiringkan ke kanan dan kekiri android anda seperti ketika main game balap mobil.

aplikasi ini mengirim string melalui bluetooth berdasarkan sensor Accelerometer android, dengan format pesan

X|Y|Z,

contoh pesan 40|50|80,

artinya x = 10

y = 50

z = 80

dengan informasi tersebut anda bisa mengolah menjadi gerak kendaraan yang anda buat sesuai selera,,

contoh ringkasan sketch arduino

http://www.ttsberita.com/?p=464

============================================

boolean belok = false;

boolean onstop = false;

void loop() {

x = 0;

y = 0;

z = 0;

if(bt.available()){

x = bt.readStringUntil('|').toInt();

y = bt.readStringUntil('|').toInt();

z = bt.readStringUntil(',').toInt();

}

belok = false;

onstop = false;

if(x != 0 || y != 0 || z != 0){

if(z < 50) // stop

{

analogWrite(A1,0);

analogWrite(A2,0);

onstop = true;

}

if(y > 20 && !onstop) //belok kanan

{

analogWrite(A1,255);

analogWrite(A2,0);

belok = true;

}

else if(y < -20 && !onstop) // belok kiri

{

analogWrite(A1,0);

analogWrite(A2,255);

belok = true;

}

if(!onstop && !belok){ // maju

analogWrite(A1,255);

analogWrite(A2,255);

}

}

delay(50);

}

============================================

更多

最新版本1.0的更新日誌

Last updated on 2016年09月27日
Minor bug fixes and improvements. Install or update to the newest version to check it out!
更多

視頻和屏幕截圖

  • Android 版預告片
  • Setir untuk Mobil Arduino 截圖 1
  • Setir untuk Mobil Arduino 截圖 2
  • Setir untuk Mobil Arduino 截圖 3
  • Setir untuk Mobil Arduino 截圖 4
  • Setir untuk Mobil Arduino 截圖 5

Setir untuk Mobil Arduino APK信息

最新版本
1.0
類別
工具
Android OS
Android 4.0+
文件大小
3.6 MB
內容分級
Everyone
在APKPure安全快速地下載APK
APKPure 使用簽章驗證功能,確保為您提供無病毒的 Setir untuk Mobil Arduino APK 下載。

Setir untuk Mobil Arduino歷史版本

APKPure 圖標

在APKPure極速安全下載應用程式

一鍵安裝安卓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