Загрузка страницы

Code uploading and serial monitoring of Arduino using Mobile in Hindi/Urdu

Today we will learn about code loading of Arduino and serial monitoring of Arduino.
how we can do this in simple way?
the first things that you need an
USB cable and OTG cable
All the necessary component like a led diode buzzer lcd and any serial monitoring device like gsm gps bluetooth..
make an conection as per the circuit diagram

Take a look at "Bluino Loader - Arduino IDE"
https://play.google.com/store/apps/details?id=com.bluino.bluinoloader

Take a look at "ArduinoDroid - Arduino IDE"
https://play.google.com/store/apps/details?id=name.antonsmirnov.android.arduinodroid2

Source code:

void setup()

{

pinMode(13, OUTPUT);

Serial.begin(9600);

while (!Serial);

Serial.println("Input 1 to Turn LED on and 2 to off");

}

void loop() {

if (Serial.available())

{

int state = Serial.parseInt();

if (state == 1)

{

digitalWrite(13, HIGH);

Serial.println("Command completed LED turned ON");

}

if (state == 2)

{

digitalWrite(13, LOW);

Serial.println("Command completed LED turned OFF");

}

}

}

Видео Code uploading and serial monitoring of Arduino using Mobile in Hindi/Urdu канала K K Ahmed
Показать
Комментарии отсутствуют
Введите заголовок:

Введите адрес ссылки:

Введите адрес видео с YouTube:

Зарегистрируйтесь или войдите с
Информация о видео
20 августа 2017 г. 14:28:56
00:06:35
Яндекс.Метрика