Steering Wheel for Arduino Car
藍牙遙控arduino遙控車
應用詳細信息
Advertisement
應用描述
Android應用分析和審查:Steering Wheel for Arduino Car,由WestJava Media開發。在工具類別中列出。當前版本為1.0,在 19/08/2016 上更新。根據用戶在Google Play上的評論:Steering Wheel for Arduino Car。超過56 千的安裝。 Steering Wheel for Arduino Car目前有87評論,平均評分為3.6星
arduino 汽車方向盤是控制 rc arduino 的遙控器,
您可以通過向 Android 的左右傾斜來控制用 arduino 製作的 rc,就像玩賽車遊戲時一樣。
此應用程序通過基於藍牙的加速度計傳感器 Android 發送字符串,消息格式
x|y|z,
示例消息 40|50|80,
表示
x = 10
y = 50
z = 80
利用這些信息,您可以將其處理成您喜歡的動作,
示例:
arduino sketch 上的空循環
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) // 停止
{
Analogwrite(a1,0);
Analogwrite(a2,0);
onstop = true;
}
if(y > 20 and and !onstop)
{
Analogwrite(a1,255);
Analogwrite(a2,0);
belok = true;
}
else if(y < -20 and and !onstop) // 左轉
{
Analogwrite(a1,0);
Analogwrite(a2,255);
belok = true;
}
if(!onstop and and !belok){ // 轉發
Analogwrite(a1,255);
Analogwrite(a2,255);
}
延遲(50);
}
====================================
我們目前正在提供1.0版本。這是我們最新,最優化的版本。它適用於許多不同的設備。從Google Play商店或我們託管的其他版本中免費下載Apk。此外,您可以在不註冊的情況下下載且無需登錄。
我們擁有超過2000+的Samsung, Xiaomi, Huawei, Oppo, Vivo, Motorola, LG, Google, OnePlus, Sony, Tablet ...設備,並提供了許多選項,您可以輕鬆選擇適合您設備的遊戲或軟件。
如果在Google App Store上有任何國家限製或設備側面的任何限制,它可能會派上用場。