Home Page

Arduino Bluetooth Mini Tank 1.1 - Get Apk




About Arduino Bluetooth Mini Tank

The App sends Bluetooth commands to the Mini Tank: U= Forward, D= Back, L= Left, R= Right, S= Stop I didn't find any app for my Mini tank on Google Play, so i made one. Enjoy. CODE: /* L = left R = right F

The App sends Bluetooth commands to the Mini Tank: U= Forward, D= Back, L= Left, R= Right, S= Stop

I didn't find any app for my Mini tank on Google Play, so i made one. Enjoy.

CODE:

/*
L = left
R = right
F = forward
B = backward
*/
int pinLB = 12; // define pin 12
int pinLF = 3; // define pin 3
int pinRB = 13; // define pin 13
int pinRF = 11; // define pin 11
int val;
void setup()
{
Serial.begin(9600); // define pin for motor output
pinMode(pinLB,OUTPUT); // pin 12
pinMode(pinLF,OUTPUT); // pin 3 (PWM)
pinMode(pinRB,OUTPUT); // pin 13
pinMode(pinRF,OUTPUT); // pin 11 (PWM)
}
void advance() // move forward
{
digitalWrite(pinLB,LOW); // right wheel moves forward
digitalWrite(pinRB, LOW); // left wheel moves forward
analogWrite(pinLF,255);
analogWrite(pinRF,255);
}
void stopp() // stop
{
digitalWrite(pinLB,HIGH);
digitalWrite(pinRB,HIGH);
analogWrite(pinLF,0);
analogWrite(pinRF,0);
}
void right() // turn right (single wheel)
{

digitalWrite(pinLB,LOW); // left wheel moves forward
digitalWrite(pinRB,HIGH); // right wheel moves backward
analogWrite(pinLF, 255);
analogWrite(pinRF,255);
}
void left() // turn left (single wheel)
{
digitalWrite(pinLB,HIGH); // left wheel moves forward
digitalWrite(pinRB,LOW); // right wheel moves backward
analogWrite(pinLF, 255);
analogWrite(pinRF,255);
}

void back() // move backward
{
digitalWrite(pinLB,HIGH); // motor moves to left rear
digitalWrite(pinRB,HIGH); // motor moves to right rear
analogWrite(pinLF,255);
analogWrite(pinRF,255);
}
void loop()
{
val=Serial.read();
if(val=='U')advance();
if(val=='D')back();
if(val=='L')left() ;
if(val=='R')right();
if(val=='S')stopp();
}




Previous Versions

Here you can find the changelog of Arduino Bluetooth Mini Tank since it was posted on our website on 2016-12-23 14:30:59. The latest version is 1.1 and it was updated on 2024-04-22 10:19:34. See below the changes in each version.

Arduino Bluetooth Mini Tank version 1.1
Updated At: 2016-11-15
Changes: Txt change


Related Apps

Here you can find apps that are similar with Arduino Bluetooth Mini Tank.



Disclaimer

External Download


We do not host Arduino Bluetooth Mini Tank on our servers. We did not scan it for viruses, adware, spyware or other type of malware. This app is hosted by Galad and passed their terms and conditions to be listed there. We recommend caution when installing it.

The APK Download link for Arduino Bluetooth Mini Tank is provided to you by apps112.com without any warranties, representations or guarantees of any kind, so access it at your own risk.

If you have questions regarding this particular app contact the publisher directly. For questions about the functionalities of apps112.com contact us.

BarCode2D-PNG


Click stars to rate this APP!

Users Rating:  
  0.0/5     0
Downloads: 7
Updated At: 2024-04-22 10:19:34
Publisher: Jan Erik Andresen / Andronesen-flyfoto.com
Operating System: Android
License Type: Free