Setir untuk Mobil Arduino

Setir untuk Mobil Arduino

WestJava Media
2016年09月27日
  • 3.6 MB

    文件大小

  • 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历史版本

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