Skip to main content

What is Arduino?

What is Arduino?



Arduino is an open-source electronic platform based on easy to use. Can be applied to a variety of applications such as electronic control. Read the environment form the sensor ​​and show sensor values to display. Apply to electronic work to facilitate the use of daily life, etc.

Now, Arduino platform is considered to be the most popular platform. Because the price of Arduino Board is not expansive, There are communities and forums for questions about the use of electronic devices, etc. 
1. Hardware
Arduino boards are small electronic circuits with ICs or microcontrollers (MCU) that are integrated into other electronic circuits. Arduino boards are available in several models. Each board is different in terms of spec. Number of ports to use The board size, board size, etc. (Compare Arduino boards for each model from https://www.arduino.cc/en/Products/Compare)

Arduino Board for Entry level 

Advantages of Arduino Boards
  • Available in several models.
  • Is an open source hardware Users can create their own board without copyright.
  • There are many modules and shield for adding features.
    2. Software
            Arduino IDE (Integrated Development Environment) is a program for develop source code on Arduino platform and upload them in to Arduino Board.
    Arduino IDE (Offline)
    Arduino IDE (Online)
    Arduino Cloud

    Advantages of Arduino IDE
    • Support for multi-board development, and other non-Arduino boards can be added to develop the program and upload the program onto the board.
    • The Arduino IDE consists of a set of instructions. Program example And examples of libraries. I have installed it.
    • You can download more libraries and install more.
    • On the Arduino platform has its own cloud. Can be used to store or retrieve data.
      resources and picture: https://www.arduino.cc/

      Comments

      Popular posts from this blog

      Arduino กับการใช้งานจอ LCD (Liquid Crystal Display) แบบ I2C

      Arduino กับการใช้งานจอ LCD (Liquid Crystal Display) แบบ I2C         ในบทความนี้จะเป็นบทความการใช้งานบอร์ด Arduino กับจอ Liquid Crystal ขนาด 16x2 แบบ I2C ลักษณะการใช้งานคล้ายๆ บทความ  Arduino กับการใช้งานจอ LCD (Liquid Crystal Display)  คือ ให้บอร์ด Arduino ส่งข้อมูลต่างๆ เช่น ข้อความ หรือ ค่าเอาต์พุตจากเซ็นเซอร์ เพื่อเเสดงผลยังหน้าจอ LCD เเต่จะมีชุดควบคุม(PCF8574) สำหรับควบคุมการทำงานของจออีกทีหนึ่ง จึงทำให้ลดจำนวนขาการใช้งาน เหลือเพียง 4 เส้น รายละเอียดต่างๆ ของชุดควบคุมจอจะมีดังนี้ ขาสัญญาณสำหรับต่อเข้ากับบอร์ด Arduino ตัวต้านทานแบบปรับค่าได้สำหรับปรับ Contrast ของตัวอักษร ตัวเลือก Address ของจอ จั๊มเปอร์เเบล็คไลท์ การเชื่อมต่อระหว่างจอ LCD และบอร์ด Arduino ติดตั้งไลบรารี่ ไปที่ Library Manager ค้นหา "LiquidCrystal i2c" เเล้วติดตั้ง ( ดูการติดตั้งไลบรารี่เพิ่มเติม ) ค้นหา I2C Adress ของชุดควบคุมจอ เพื่อตรวจสอบการเชื่อมต่อ เเละ ค้นหา Address ของชุดควบคุมจอ ( ดูการแสกน I2C Adress เพิ่มเติม ) หลังจากได้ Address เเล้ว นำ Address ที่ได้ไปใส่ในตัว

      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 เเล้วหรือยัง