Skip to main content

Arduino and Computer Connection

Arduino and Computer Connection

This article will explain the connection between the Arduino board and computer. What can I do and how it works?

Connection between Arduino board and computer What can do?
- Upload firmware by Arduino IDE.
- Receive/Send data between Arduino boards and computers.

Principle of operation (Uno, Mega2560, Pro Micro, etc.)
        Principles of connection between Arduino boards and computers. For example The firmware was uploaded to the Arduino board. The data from the computer was transferred to the USB To Serial converter, which converted the voltage from the computer to a TTL level and sent it to the MCU. Micro Controller Unit) via the Rx-Tx pin. The Arduino board has an updated firmware. The Arduino board and the computer are the same as uploading the firmware.
Notice
- Comport of Arduino Boards are Fixed.
- If the Arduino board is attached to the computer, it will lose Hardware Serial.

But in case of some boards such as Leonardo, Pro mini, Due, and other boards. The connection between the board and the computer will not use USB To Serial external because the internal MCU has a USB To Serial BUILTIN already.
Notice
Comport of Arduino Board ate switch between Hardware Serial and Programming Port.
- Do not lose the hardware Serial like the first.


Comments

Popular posts from this blog

Arduino กับการใช้งาน Serial Monitor

Arduino กับการใช้งาน Serial Monitor Serial Monitor คือ ส่วนหนึ่งของโปรแกรม Arduino IDE สามารถใช้งานได้ 2 อย่าง คือ - แสดงผลลัพธ์จากบอร์ด Arduino - ใช้รับข้อมูลจากผู้ใช้ แล้วส่งข้อมูลไปยังบอร์ด Arduino รูปแบบการใช้งาน Serial Monitor เริ่มต้นใช้งาน void setup() {    Serial.begin(9600); } แสดงผลออกทาง Serial Monitor Serial.print("Hello World");       /* แสดงคำว่า Hello World */ Serial.println("Hello World");     /* แสดงคำว่า Hello World และขึ้นบรรทัดใหม่ */   อ่านค่าจาก Serial Monitor Serial.read(); วิธีเปิด Serial Monitor 1. กด Ctrl + Shift + M 2. กด Icon ตัวอย่างการแสดงผลลัพธ์จากบอร์ด Arduino แสดงผลลัพธ์จากบอร์ด Arduino ตัวอย่างการรับค่าจาก Serial Monitor - ส่ง 1 เพื่อ On LED -  ส่ง 0 เพื่อ Off LED แสดงผลลัพธ์การรับค่าจาก Serial Monitor * ถ้าไม่สำเร็จ ตรวจสอบว่าเลือก No line ending และบอดเรทเป็น 9600 เเล้วหรือยัง

How to Use Arduino IDE without install in windows?

How to Use Arduino IDE without install in windows? Arduino IDE For this article is a short article. How to use Arduino IDE without install on the computer. Users can download files from Arduino.cc website and extract files to use immediately. Installing Arduino IDE Open your Internet Browser and go to https://www.arduino.cc/en/Main/Software Select your operating system. Select JUST DOWNLOAD After downloading the program, extract the file arduino-1.8.5.zip Open the program and test the compile. Notice Windows Only