Using Arduino Basic Programs with Arduino Nano Board

แชร์
ฝัง
  • เผยแพร่เมื่อ 26 ก.ย. 2024
  • Hello, meet me on JAKK DIY channel.
    Today I will demonstrate how to use the basics of Arduino program with Arduino Nano board.
    What is Arduino? Many people probably already know. But if you still don't know, you can find information online on the Internet.
    Roughly, Arduino is a microcontroller board. That has been developed to work with the program Arduino or Arduino IDE.
    The ease of the Arduino board is that users can connect various electronic circuits to the pins of the Arduino board.
    without the need to design the microcontroller board itself Which may waste time reading the datasheet to know where the legs are.
    Arduino boards are easy to develop. There are basic commands Suitable for beginners and is very popular This allows us to easily find information on the Internet in general.
    There is also an Arduino Community where developers will share their knowledge and help solve problems that arise there.
    There are many types of Arduino boards. The abilities of each board will be different. Let us choose a board that is suitable for the project that we have made to use it.
    Ok, today I will demonstrate the basics of using Arduino program with Arduino Nano board.
    The Arduino Nano board is another popular board. Due to its small size, versatile I/O, and low cost
    In the video now will be how to download. Install program Arudino IDE and how to program Arduino Nano board to make LED blinking. That's all.
    the next part I will also demonstrate how to use Arduino that is more advanced. If you don't want to miss good knowledge for free, please subscribe to my channel.
    Starting from the equipment that you will need, there will be 3 items as follows:
    1. Computer
    2. Arduino Nano board
    3. Mini USB cable to install the program
    First, go to download Arduino IDE at arduino.cc website, then click on SOFTWARE.
    On this page, you can see that there is an Arduino IDE version 1.8.15 which is the latest version.
    In the DOWNLOAD OPTIONS section, there are many types of Arduino IDE available to download.
    Depending on what we will download to use with the OS here, then choose to download to match the OS that we use.
    For my computer is Windows 7, I can choose to download both files to install on my computer.
    Or you can choose to download as a ZIP file and extract it without having to install it on your computer.
    Here I choose to download the ZIP file and click JUST DOWNLOAD and wait until the download is complete.
    When the download is complete To extract the file, right click and select Extract Here.
    Then double click into the folder and double click to open the Arduino program.
    We now have one empty project. There are 2 functions, setup and loop, which do not have any commands.
    We can also upload this program to our Arduino board. But nothing will happen.
    Next, select File and scroll down to Examples.
    Here, there will be a sample project for us to choose to try to understand the program more.
    For this clip, I choose to go to Basics and then Blink.
    Scroll down to see the setup and loop functions. Now you can see that there are some commands already written.
    which are the commands of the program, the LED flashes, sure enough
    Next, plug in the Mini USB cable to connect the Arduino Nano board to our computer.
    Then click on Tools and select Arduino Nano board.
    Click Tools one more time and scroll down to Port. Here is the ComPort of Arduino Nano.
    We plug the Mini USB cable into the computer already.
    Also known as a communication port for computers to connect to. Communicate with Arduino Nano board
    The comport number of each computer will be different. Here, mine is COM8.
    Click on the comport button that appears.
    Click on Tools again and scroll down to Processor. There are 3 types to choose from here.
    There are ATmega328P, ATmega328P (Old Bootloader) and ATmega168.
    then let us choose to match the Arduino Nano board that we have If you don't know which one to choose
    Just try it easily by choosing one. and see if after uploading there is an error or not.
    If there is, then we chose the wrong one. Then change it to another one.
    If there is no error, it means you have selected the correct one.
    I choose ATmega328P (Old Bootloader) because my board is this one.
    After selecting the processor, press Upload and wait for the upload to complete.
    After everything is complete, we can see that the LED on Arduino Nano board will blink with a rate of 1 second on and off for 1 second continuously.
    Now we know the basics of using Arduino program together with Arduino Nano board.
    which is very easy to use
    Sections of commands and conditions of the C language to be able to use in the Arduino program, I will gradually post it for you to see
    #Arduino #ArduinoNano #BasicArduino

ความคิดเห็น • 4

  • @fix-diy941
    @fix-diy941 ปีที่แล้ว

    ขอบคุณมากที่มีความรู้ดีมาแบ่งปัน ผมพื่งเรื่มสนใจ แต่ยังไม่เคยใช้ardinoเลย ยังไม่มีความรู้อะไรเลยครับ แต่จะพยายามศืกษาจากช่องคุณครับ ขอบคุณครับ

  • @ณัฐวุฒิ-ธ7ง
    @ณัฐวุฒิ-ธ7ง ปีที่แล้ว

    โหลดโปรแกรมไม่ได้ครับ ขอหน่อย

    • @jakkdiy
      @jakkdiy  ปีที่แล้ว

      ลองตามคลิปนี้ครับ
      เริ่มจาก 0 จนใช้งานได้​ -​ ติดตั้งโปรแกรม Arduino,​ Library และ USB Driver | JAKK​ DIY​
      th-cam.com/video/PQ7Px6Kda8I/w-d-xo.html

    • @ณัฐวุฒิ-ธ7ง
      @ณัฐวุฒิ-ธ7ง ปีที่แล้ว

      @@jakkdiy จะลองทำไฟกระพริบตามเสียงครับ