Programming
The Arduino/Genuino Uno can be programmed with the (Arduino Software (IDE)). Select "Arduino/Genuino Uno from the Tools > Board menu (according to the microcontroller on your board). For details, see the reference and tutorials.
The ATmega328 on the Arduino/Genuino Uno comes preprogrammed with a bootloader that allows you to upload new code to it without the use of an external hardware programmer. It communicates using the original STK500 protocol (reference, C header files).
You can also bypass the bootloader and program the microcontroller through the ICSP (In-Circuit Serial Programming) header using Arduino ISP or similar; see these instructions for details.
The ATmega16U2 (or 8U2 in the rev1 and rev2 boards) firmware source code is available in the Arduino repository. The ATmega16U2/8U2 is loaded with a DFU bootloader, which can be activated by: -On Rev1 boards: connecting the solder jumper on the back of the board (near the map of Italy) and then rese ing the 8U2.
-On Rev2 or later boards: there is a resistor that pulling the 8U2/16U2 HWB line to ground, making it easier to put into DFU mode.
You can then use Atmel's FLIP software (Windows) or the DFU programmer (Mac OS X and Linux) to load a new firmware. Or you can use the ISP header with an external programmer (overwriting the DFU bootloader). See this user-contributed tutorial for more information.
Warnings
The Arduino/Genuino Uno has a resettable polyfuse that protects your computer's USB ports from shorts and overcurrent. Although most computers provide their own internal protection, the fuse provides an extra layer of protection. If more than 500 mA is applied to the USB port, the fuse will automatically break the connection until the short or overload is removed.
Differences with other boards
The Uno differs from all preceding boards in that it does not use the FTDI USB-to-serial driver chip. Instead, it features the Atmega16U2 (Atmega8U2 up to version R2) programmed as a USB-to-serial converter.
Power
The Arduino/Genuino Uno board can be powered via the USB connection or with an external power supply. The power source is selected automatically.
External (non-USB) power can come either from an AC-to-DC adapter (wall-wart) or battery. The adapter can be connected by plugging a 2.1mm center-positive plug into the board's power jack. Leads from a battery can be inserted in the GND and Vin pin headers of the POWER connector.
The board can operate on an external supply from 6 to 20 volts. If supplied with less than 7V, however, the 5V pin may supply less than five volts and the board may become unstable. If using more than 12V, the voltage regulator may overheat and damage the board. The recommended range is 7 to 12 volts.
The power pins are as follows:
- Vin. The input voltage to the Arduino/Genuino board when it's using an external power source (as opposed to 5 volts from the USB connection or other regulated power source). You can supply voltage through this pin, or, if supplying voltage via the power jack, access it through this pin.
-5V.This pin outputs a regulated 5V from the regulator on the board. The board can be supplied with power either from the DC power jack (7 - 12V), the USB connector (5V), or the VIN pin of the board (7-12V). Supplying voltage via the 5V or 3.3V pins bypasses the regulator, and can damage your board. We don't advise it.
-3V3. A 3.3 volt supply generated by the on-board regulator. Maximum current draw is 50 mA.
-GND. Ground pins.
-IOREF. This pin on the Arduino/Genuino board provides the voltage reference with which the microcontroller operates. A properly configured shield can read the IOREF pin voltage and select the appropriate power source or enable voltage translators on the outputs to work with the 5V or 3.3V.
Memory
The ATmega328 has 32 KB (with 0.5 KB occupied by the bootloader). It also has 2 KB of SRAM and 1 KB of EEPROM (which can be read and written with the EEPROM library).
Input and Output
การเขียนโปรแกรมโน สืบ/Genuino สามารถถูกตั้งโปรแกรมด้วย (สืบซอฟต์แวร์ (IDE)) เลือก "โน สืบ/Genuino จากเครื่องมือ > กระดานเมนู (ตามไมโครคอนโทรลเลอร์บนบอร์ดของคุณ) สำหรับรายละเอียด ดูการอ้างอิงและบทเรียน ATmega328 บนโน สืบ/Genuino มา preprogrammed กับ bootloader ที่ช่วยให้คุณสามารถอัปโหลดรหัสใหม่จะใช้ของโปรแกรมเมอร์ที่ฮาร์ดแวร์ภายนอก สื่อสารโดยใช้ protocol ของ STK500 เดิม (อ้างอิง แฟ้มหัวข้อ C) นอกจากนี้คุณยังสามารถข้าม bootloader และโปรแกรมไมโครคอนโทรลเลอร์ผ่านหัว ICSP (ในวงจรอนุกรมเขียน) ที่ใช้ ISP สืบ หรือที่คล้าย กัน ดูคำแนะนำเหล่านี้สำหรับรายละเอียด ATmega16U2 (หรือ 8U2 ในบอร์ด rev1 และ rev2) รหัสแหล่งที่มาของเฟิร์มแวร์จะพร้อมใช้งานในเก็บสืบ โหลดกับ bootloader DFU ซึ่งสามารถเรียกใช้โดย ATmega16U2/8U2: -Rev1 บนบอร์ด: จัมเปอร์ประสานบนด้านหลังของบอร์ด (ใกล้กับแผนที่ของอิตาลี) และบริษัท rese แล้ว 8U2 เชื่อมต่อ-บน Rev2 หรือกระดานหลัง: มีตัวต้านทานที่ดึง HWB 8U2/16U2 การพื้น ทำให้เข้าสู่โหมด DFUคุณสามารถใช้ซอฟต์แวร์ FLIP ของ Atmel (Windows) หรือนักเขียนโปรแกรม DFU (Mac OS X และ Linux) โหลดเฟิร์มแวร์ใหม่ หรือคุณสามารถใช้หัวของ ISP กับโปรแกรมเมอร์ที่ภายนอก (เขียนทับ DFU bootloader) ดูกวดวิชานี้ส่วนผู้ใช้สำหรับข้อมูลเพิ่มเติม คำเตือนThe Arduino/Genuino Uno has a resettable polyfuse that protects your computer's USB ports from shorts and overcurrent. Although most computers provide their own internal protection, the fuse provides an extra layer of protection. If more than 500 mA is applied to the USB port, the fuse will automatically break the connection until the short or overload is removed. Differences with other boardsThe Uno differs from all preceding boards in that it does not use the FTDI USB-to-serial driver chip. Instead, it features the Atmega16U2 (Atmega8U2 up to version R2) programmed as a USB-to-serial converter. PowerThe Arduino/Genuino Uno board can be powered via the USB connection or with an external power supply. The power source is selected automatically. External (non-USB) power can come either from an AC-to-DC adapter (wall-wart) or battery. The adapter can be connected by plugging a 2.1mm center-positive plug into the board's power jack. Leads from a battery can be inserted in the GND and Vin pin headers of the POWER connector. The board can operate on an external supply from 6 to 20 volts. If supplied with less than 7V, however, the 5V pin may supply less than five volts and the board may become unstable. If using more than 12V, the voltage regulator may overheat and damage the board. The recommended range is 7 to 12 volts. The power pins are as follows:-วิน แรงดันไฟฟ้าที่ป้อนให้คณะกรรมการ สืบ/Genuino เมื่อใช้กับแหล่งจ่ายไฟภายนอก (ตรงข้ามกับ 5 โวลต์จาก USB เชื่อมต่อหรืออื่น ๆ แหล่งพลังงานควบคุม) คุณสามารถดันผ่าน pin หรือ ถ้าขายแรงดันผ่านแจ็คไฟ เข้าถึงผ่าน pin-5 V หมุดนี้แสดงผล 5 v ออกจากเครื่องปรับลมบนกระดาน สามารถให้คณะกรรมการมีอำนาจจาก DC ไฟแจ็ค (7 - 12V), ต่อ USB (5V), หรือ pin VIN ของบอร์ด (7-12V) ได้ จัดหาแรงดัน 3.3 v หรือ 5V หมุดแรมควบคุม และบอร์ดของคุณเสียหาย เราไม่แนะนำให้มัน-3V3 ซัพพลาย 3.3 โวลต์ที่สร้างขึ้น โดยเครื่องปรับลมเหลือเฟือ ปัจจุบันออกสูงสุดคือ 50 mA-ล่าง GND. พิน-IOREF Pin บนบอร์ด สืบ/Genuino ให้แรงดันไฟฟ้าอ้างอิงที่ไมโครคอนโทรลเลอร์ทำงาน โล่ถูกกำหนดค่าอย่างถูกต้องสามารถอ่านแรงดัน pin IOREF และเลือกแหล่งพลังงานที่เหมาะสม หรือใช้การแปลแรงดันในการแสดงผลการทำงานกับ 3.3 v หรือ 5Vหน่วยความจำATmega328 32 KB กับ KB 0.5 ด้วย bootloader) ได้ มี 2 KB ของ SRAM และ KB ของ EEPROM (ซึ่งสามารถอ่าน และเขียนกับรี EEPROM) 1 การป้อนข้อมูลและ
การแปล กรุณารอสักครู่..

โปรแกรม
/ genuino Arduino UNO สามารถโปรแกรมด้วย ( Arduino ซอฟต์แวร์ ( IDE ) เลือก " / genuino Arduino Uno จากกระดานเมนู เครื่องมือ > ( ตามไมโครคอนโทรลเลอร์บนกระดานของคุณ ) โปรดดูรายละเอียด อ้างอิง และ แบบฝึกหัด
การ atmega328 บน Arduino UNO / genuino มา preprogrammed กับ bootloader ที่ช่วยให้คุณสามารถอัปโหลดรหัสใหม่ได้ โดยไม่ต้องใช้ของโปรแกรมเมอร์ฮาร์ดแวร์ภายนอก มันสื่อสารโดยใช้โปรโตคอล stk500 เดิม ( อ้างอิง C ส่วนหัวไฟล์ )
คุณยังสามารถข้าม bootloader และโปรแกรมไมโครคอนโทรลเลอร์ผ่าน icsp ( ในการเขียนโปรแกรมวงจรอนุกรม ) ส่วนหัวใช้ Arduino ISP หรือคล้ายกัน ; ดูคำแนะนำเหล่านี้เพื่อดูรายละเอียด
atmega16u2 ( หรือ 8u2 ใน rev1 และบอร์ด rev2 ) เฟิร์มแวรหัสที่มาสามารถใช้ได้ใน Arduino พื้นที่เก็บข้อมูล การ atmega16u2 / 8u2 โหลดด้วย DFU bootloader , ซึ่งสามารถใช้งานโดย : - บนบอร์ด rev1 :เชื่อมประสาน จัมเปอร์ที่ด้านหลังของบอร์ด ( ใกล้แผนที่ของประเทศอิตาลี ) จากนั้น rese ไอเอ็นจี 8u2 .
- rev2 หรือหลังบอร์ด : มีตัวต้านทานที่ดึง 8u2 / 16u2 hwb บรรทัดพื้นดินทำให้ง่ายต่อการใส่ลงในโหมด DFU
แล้วคุณสามารถใช้งานของ พลิกซอฟแวร์ ( Windows ) หรือ DFU โปรแกรมเมอร์ ( Mac OS X และ Linux ) โหลดเฟิร์มแวใหม่หรือคุณสามารถใช้ผู้ให้บริการภายนอกส่วนหัวกับโปรแกรมเมอร์ ( เขียนทับ DFU Bootloader ) เห็นผู้ใช้คนนี้สนับสนุนกวดวิชาสำหรับข้อมูลเพิ่มเติม
เตือน Arduino / genuino Uno มี resettable polyfuse ที่ช่วยปกป้องคอมพิวเตอร์ของคุณพอร์ต USB จากกางเกงขาสั้นและกระแสเกิน . แม้ว่าส่วนใหญ่ของคอมพิวเตอร์ที่ให้ความคุ้มครองภายในตนเอง ฟิวส์มีชั้นพิเศษของการป้องกันถ้ามามากกว่า 500 ที่ใช้กับพอร์ต USB , ฟิวส์อัตโนมัติจะตัดการเชื่อมต่อจนเกินสั้นหรือถูกลบออก
ตามบอร์ดอื่น ๆโนแตกต่างจากที่ผ่านมาในบอร์ด มันไม่ใช้ USB to Serial driver FTDI ชิป แต่มันมี atmega16u2 ( atmega8u2 ถึงรุ่น R2 ) โปรแกรมเป็น USB to Serial Converter
พลังบอร์ด Arduino UNO / genuino สามารถขับเคลื่อนผ่านการเชื่อมต่อ USB หรือกับแหล่งจ่ายไฟภายนอก แหล่งพลังงานจะถูกเลือกโดยอัตโนมัติ
ภายนอก ( ที่ไม่ใช่ USB ) พลังจะมาทั้งจาก AC เป็น DC อะแดปเตอร์ ( หูดผนัง ) หรือแบตเตอรี่ อะแดปเตอร์ที่สามารถเชื่อมต่อโดยเสียบกลาง 2.1mm บวกเสียบเข้าไปในบอร์ดของพลังแจ็คาจากแบตเตอรี่ที่สามารถแทรกลงในส่วนหัวและขา GND VIN ของ Power Connector
บอร์ดสามารถใช้งานในการจัดหาจากภายนอก จาก 6 ถึง 20 โวลต์ ถ้ามาน้อยกว่า 7v , อย่างไรก็ตาม , 5V ขาอาจจ่ายน้อยกว่า 5 โวลต์ และคณะกรรมการอาจจะไม่เสถียร ถ้าใช้มากกว่า 12V , แรงดันไฟฟ้าอาจร้อนเกินไปและความเสียหายของยาน แนะนำช่วง 7 ถึง 12 โวลต์
พลังหมุดมีดังนี้ :
- VIN แรงดันไปยังบอร์ด Arduino / genuino เมื่อมันใช้แหล่งจ่ายไฟภายนอก ( ตรงข้ามกับ 5 โวลต์จากการเชื่อมต่อ USB หรืออื่น ๆการควบคุมแหล่งพลังงาน ) คุณสามารถจ่ายแรงดันไฟฟ้าผ่านขา นี้ หรือ ถ้าจ่ายแรงดันผ่านพลังแจ็ค , เข้าถึงได้ผ่านทางเข็ม .
-5v.this พินผลการควบคุมจาก Regulator 5V บนกระดานกระดานสามารถจะมาพร้อมกับพลังทั้งจากแจ็ค DC Power ( 7 - 12V ) , ช่องต่อ USB ( 5V ) หรือ VIN pin ของบอร์ด ( 7-12v ) ขายแรงดัน 5V หรือหมุดทะลุผ่าน 3.3v ควบคุม และสามารถทำลายบอร์ดของคุณ เราไม่แนะนำ
- 3v3 . เป็น 3.3 โวลต์อุปทานที่เกิดจากลม บนกระดาน วาดปัจจุบันสูงสุดมา 50 .
- GND . หมุดดิน
- ioref .
การแปล กรุณารอสักครู่..
