DFROBOT UNO R3

DFRobot UNO R3 Board Instruction Manual

Model: DFRobot UNO R3

1. บทนำ

The DFRobot UNO R3 board is an Arduino-compatible microcontroller board designed for beginners and enthusiasts in electronics and programming. It is based on the ATmega328P-PU microcontroller and features the ATMega16U2 for USB communication. This board provides a robust platform for learning and prototyping various electronic projects.

คุณสมบัติที่สำคัญ ได้แก่:

  • ATmega328P-PU Microcontroller: The main processing unit, in a DIP package for easy replacement.
  • ATMega16U2 USB-to-Serial Chip: Enables seamless communication with a computer without manual driver installation on most operating systems.
  • Color-Coded Headers: Simplifies wiring and identification of I/O ports (Red for Power, Blue for Analog I/O, Green for Digital I/O).
  • Arduino UNO R3 Compatibility: Fully compatible with the Arduino IDE and existing Arduino UNO R3 shields and libraries.

2. อะไรอยู่ในกล่อง

Upon opening your DFRobot UNO R3 package, please verify that all components are present:

  • 1 x DFRobot UNO R3 Board
  • 1 x 1-meter USB Cable (Type A to B)
DFRobot UNO R3 Board and USB Cable

Image: DFRobot UNO R3 Board and the included 1-meter USB cable.

3. สินค้าหมดview

Familiarize yourself with the main components and pin layout of the DFRobot UNO R3 board:

จากบนลงล่าง view of DFRobot UNO R3 Board

ภาพ: จากบนลงล่าง view of the DFRobot UNO R3 board, showing various components and pin headers.

3.1. ส่วนประกอบสำคัญ

  • ATmega328P-PU Microcontroller: The large black chip in the center, responsible for executing your programs.
  • USB B-Type Connector: Used for connecting the board to your computer for programming and power.
  • แจ็คพาวเวอร์: For external power supply (7-12V DC recommended).
  • ส่วนหัวของ ICSP: In-Circuit Serial Programming header for direct programming of the microcontroller.
  • ปุ่มรีเซ็ต: Resets the microcontroller, restarting the program from the beginning.
Close-up of ATmega328P-PU Microcontroller

ภาพ: ระยะใกล้ view of the ATmega328P-PU microcontroller chip in its DIP package.

3.2. Color-Coded Headers

The DFRobot UNO R3 features color-coded headers to simplify connections:

  • Red Headers: Indicate Power Section (e.g., 5V, 3.3V, GND).
  • Blue Headers: Indicate Analog Input/Output pins (A0-A5).
  • Green Headers: Indicate Digital Input/Output pins (0-13, including PWM pins).
DFRobot UNO R3 Board with color-coded headers labeled

Image: DFRobot UNO R3 board highlighting the red (power), blue (analog), and green (digital) color-coded headers for easy identification.

4. การตั้งค่า

Follow these steps to set up your DFRobot UNO R3 board for the first time:

4.1. การติดตั้งซอฟต์แวร์ (Arduino IDE)

  1. ดาวน์โหลด Arduino IDE เวอร์ชันล่าสุดจาก Arduino อย่างเป็นทางการ webงาน (www.arduino.cc/en/software).
  2. Install the Arduino IDE on your computer by following the on-screen instructions.

4.2. การเชื่อมต่อบอร์ด

  1. Connect one end of the provided USB cable to the USB B-type connector on your DFRobot UNO R3 board.
  2. เชื่อมต่อปลายอีกด้านหนึ่งของสาย USB เข้ากับพอร์ต USB ที่ว่างอยู่บนคอมพิวเตอร์ของคุณ
  3. The board's power LED should illuminate, indicating it is receiving power.

4.3. การติดตั้งไดร์เวอร์

The DFRobot UNO R3 board uses the ATMega16U2 chip for USB-to-serial communication. Most modern operating systems (Windows, macOS, Linux) will automatically detect and install the necessary drivers when the board is connected for the first time. If prompted, allow the system to install the drivers.

Screenshot of a Device Driver Installation Wizard

ภาพ: อดีตample of a device driver installation wizard, which may appear during initial setup on some operating systems.

4.4. Selecting Board and Port in Arduino IDE

  1. เปิด Arduino IDE
  2. ไปที่ เครื่องมือ > กระดาน และเลือก "Arduino Uno".
  3. ไปที่ เครื่องมือ > พอร์ต and select the serial port corresponding to your DFRobot UNO R3 board. This will typically appear as a COM port on Windows (e.g., COM3, COM4) or a /dev/ttyUSB* or /dev/ttyACM* device on Linux/macOS.

5. คู่มือการใช้งาน

Once your DFRobot UNO R3 board is set up, you can begin programming and interacting with it.

5.1. อัปโหลดภาพร่างแรกของคุณ

  1. ใน Arduino IDE ให้ไปที่ File > อดีตamples > 01.พื้นฐาน > กะพริบตา. This will open a new window with the Blink exampสเก็ตช์
  2. Ensure the correct board and port are selected (as described in Section 4.4).
  3. คลิกที่ อัพโหลด button (right arrow icon) in the Arduino IDE toolbar. The IDE will compile the sketch and upload it to your board.
  4. Upon successful upload, the onboard LED (usually connected to digital pin 13) should start blinking.

5.2. การจ่ายพลังงานให้กับบอร์ด

The DFRobot UNO R3 can be powered in several ways:

  • พลังงาน USB: Connect the board to your computer via the USB cable. This is suitable for most projects.
  • แหล่งจ่ายไฟภายนอก: Connect a 7-12V DC power adapter to the power jack. This is recommended for projects requiring more power or when the board is not connected to a computer.
  • VIN Pin: Provide regulated 7-12V DC power directly to the VIN pin.

Caution: Do not supply more than 12V to the power jack or VIN pin, as this can damage the board.

6. การบำรุงรักษา

To ensure the longevity and proper functioning of your DFRobot UNO R3 board, follow these maintenance guidelines:

  • จัดการด้วยความระมัดระวัง: Avoid dropping the board or subjecting it to excessive force.
  • ให้แห้ง: Protect the board from moisture and liquids.
  • ความสะอาด : รักษาพื้นผิวกระดานให้ปราศจากฝุ่นและสิ่งสกปรก ใช้แปรงขนนุ่มแห้งหรือลมเป่าทำความสะอาด
  • การปล่อยไฟฟ้าสถิต: Always handle the board by its edges to minimize the risk of electrostatic discharge (ESD), which can damage sensitive electronic components.
  • พื้นที่จัดเก็บ: Store the board in an anti-static bag or a protective enclosure when not in use.

7 การแก้ไขปัญหา

If you encounter issues with your DFRobot UNO R3 board, consider the following troubleshooting steps:

7.1. Board Not Recognized by Computer

  • ตรวจสอบสาย USB: Ensure the USB cable is securely connected to both the board and the computer. Try a different USB cable.
  • ตรวจสอบพอร์ต USB: ลองเชื่อมต่อกับพอร์ต USB อื่นบนคอมพิวเตอร์ของคุณ
  • ปัญหาไดร์เวอร์: Although drivers are usually automatic, verify that the drivers are correctly installed in your computer's Device Manager (Windows) or System Information (macOS).
  • รีสตาร์ทคอมพิวเตอร์: การรีสตาร์ทแบบง่ายๆ มักจะสามารถแก้ไขปัญหาการเชื่อมต่อได้

7.2. Sketch Upload Fails

  • Correct Board and Port: Double-check that you have selected "Arduino Uno" under เครื่องมือ > กระดาน and the correct serial port under เครื่องมือ > พอร์ต ใน Arduino IDE
  • ปุ่มรีเซ็ต: Press the reset button on the board just before clicking the upload button in the IDE.
  • ข้อความแสดงข้อผิดพลาด: Read the error messages in the Arduino IDE console for clues. Common errors include "avrdude: stk500_recv(): programmer is not responding" or "avrdude: ser_open(): can't open device".
  • แหล่งจ่ายไฟ: Ensure the board is adequately powered.

7.3. Program Not Running as Expected

  • โค้ดรีview: อย่างระมัดระวังview your sketch for any logical errors or typos.
  • การตรวจสอบสายไฟ: Verify all connections to sensors, LEDs, or other components are correct.
  • Serial Monitor: Use the Serial Monitor in the Arduino IDE to print debugging information from your sketch.

For further assistance, refer to the extensive resources available on the DFRobot Community or the official Arduino documentation.

8. ข้อมูลจำเพาะ

The following table details the technical specifications of the DFRobot UNO R3 board:

คุณสมบัติข้อมูลจำเพาะ
ไมโครคอนโทรลเลอร์ATmega328P-PU
ตัวแปลง USB เป็นซีเรียลATMega16U2
ปฏิบัติการฉบับที่tage5V
อินพุต Voltagอี (แนะนำ)7-12โวลต์
Digital I / O Pins14 (6 ให้เอาต์พุต PWM)
Pins อนาล็อก6
ปัจจุบันซีต่อ I / O ขา20มิลลิแอมป์
กระแสไฟตรงสำหรับ 3.3V Pin50มิลลิแอมป์
หน่วยความจำแฟลช32 KB (ATmega328P-PU) of which 0.5 KB used by bootloader
เอสแรม2 KB (ATmega328P-PU)
อีพีพรอม1 KB (ATmega328P-PU)
ความเร็วสัญญาณนาฬิกา16 เมกะเฮิรตซ์
ขนาด (กxยxส)2.95 x 2.13 x 0.59 นิ้ว
น้ำหนัก3.2 ออนซ์

9. การรับประกันและการสนับสนุน

DFRobot provides technical support and resources for the DFRobot UNO R3 board. For any technical inquiries, project ideas, or community discussions, please visit the official DFRobot Community.

Information regarding product warranty, returns, and replacements can typically be found on the retailer's website where the product was purchased or by contacting DFRobot customer service directly.

Ask a question about this manual

Ask about setup, troubleshooting, compatibility, parts, safety, or missing instructions. Manuals+ will review the question and use this page’s manual context to help answer it.