Arduino Bluetooth Mini Tank 1.1



Publisher Description



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();
}



About Arduino Bluetooth Mini Tank

Arduino Bluetooth Mini Tank is a free app for Android published in the Teaching & Training Tools list of apps, part of Education.

The company that develops Arduino Bluetooth Mini Tank is Jan Erik Andresen / Andronesen-flyfoto.com. The latest version released by its developer is 1.1.

To install Arduino Bluetooth Mini Tank on your Android device, just click the green Continue To App button above to start the installation process. The app is listed on our website since 2016-11-15 and was downloaded 7 times. We have already checked if the download link is safe, however for your own protection we recommend that you scan the downloaded app with your antivirus. Your antivirus may detect the Arduino Bluetooth Mini Tank as malware as malware if the download link to appinventor.ai_andjan1964.Arduino_Bluetooth_Mini_Tank_Robot is broken.

How to install Arduino Bluetooth Mini Tank on your Android device:

  • Click on the Continue To App button on our website. This will redirect you to Google Play.
  • Once the Arduino Bluetooth Mini Tank is shown in the Google Play listing of your Android device, you can start its download and installation. Tap on the Install button located below the search bar and to the right of the app icon.
  • A pop-up window with the permissions required by Arduino Bluetooth Mini Tank will be shown. Click on Accept to continue the process.
  • Arduino Bluetooth Mini Tank will be downloaded onto your device, displaying a progress. Once the download completes, the installation will start and you'll get a notification after the installation is finished.



RELATED PROGRAMS
Our Recommendations






BarCode2D-PNG


Click stars to rate this APP!

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