• Arduino USB and BT Terminal 1
  • Arduino USB and BT Terminal 2
  • Arduino USB and BT Terminal 3
  • Arduino USB and BT Terminal 4

Arduino USB and BT Terminal

"Arduino USB Terminal" is an arduino microcontroller shell that will allow you to give instructions easily from your smartphone to your Arduino using the USB and / or bluetooth protocol.
In order to use this app you need:
1) Android smartphone that supports OTG protocol
2) OTG cable
3) Arduino

Below is a very simple sketch example to send characters to Arduino:

char ReadChar;

void setup() {
pinMode(13,OUTPUT);
Serial.begin(9600);

}

void loop() {
if(Serial.available()){
carattereLetto=Serial.read();
if(carattereLetto=='a'){
digitalWrite(13,HIGH);
}
else if(carattereLetto=='b'){
digitalWrite(13,HIGH);
delay(3000);
digitalWrite(13,LOW);
}
else{
digitalWrite(13,HIGH);
delay(1000);
digitalWrite(13,LOW);

}
}

}

Below is a very simple example sketch to receive characters from Arduino:

void setup() {
Serial.begin(9600);

}

void loop() {
Serial.println('a');
delay(1000);

}

Category : Tools

Related searches

Reviews (1)

ama. k. Sep 6, 2021     

You are a god that was born to earth just to help us witless foolish mankind. O' lord of Kindness and Wisdom I bow to you a thousand times and i will bow to you for a thousand more