Steering Wheel for Arduino Car

WestJava Media
Sep 27, 2016
  • 3.6 MB

    ขนาดไฟล์

  • Android 4.0+

    Android OS

เกี่ยวกับ Steering Wheel for Arduino Car

Bluetooth remote arduino rc car

Steering Wheel for Arduino Car is a remote to control RC arduino,

You can control the RC were made with Arduino by tilting to the right and left of your android, like when playing a car racing game.

This application sends strings via bluetooth based Accelerometer sensor android, message format

x|y|z,

example message 40|50|80,

means that

x = 10

            y = 50

            z = 80

with this information you can process into motion you made to taste,

example:

void loop on 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) // stop

{

analogWrite(A1,0);

analogWrite(A2,0);

onstop = true;

}

if(y > 20 && !onstop)

{

analogWrite(A1,255);

analogWrite(A2,0);

belok = true;

}

else if(y < -20 && !onstop) // turn left

{

analogWrite(A1,0);

analogWrite(A2,255);

belok = true;

}

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

analogWrite(A1,255);

analogWrite(A2,255);

}

}

delay(50);

}

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

แสดงเพิ่มเติมแสดงน้อยลง

What's new in the latest 1.0

Last updated on Sep 27, 2016
Minor bug fixes and improvements. Install or update to the newest version to check it out!

Steering Wheel for Arduino Car รุ่นเก่า

การดาวน์โหลดที่รวดเร็วและปลอดภัยเป็นพิเศษผ่านแอป APKPure

คลิกเพียงครั้งเดียวเพื่อติดตั้งไฟล์ XAPK/APK บน Android!

ดาวน์โหลด APKPure