From Arduino

Main: آردوینو DUE

آردوینو Due

آردوینو Due نمای مقابل آردوینو Due نمای پشت

معرفی

برد آردوینو Due یک میکروکنترلر بر پایه SAM3X8E ARM Cortex-M3 CPU از شرکت Atmel می باشد.(datasheet). این برد، اولین برد آردوینویی است که بر اساس میکروکنترلر با هسته ARM 32 بیتی پایه ریزی شده است. دارای 54 پین دیجیتال ورودی/خروجی (که 12 تای آن می تواند به عنوان خروجی PWM استفاده شود)، 12 ورودی آنالوگ، 4 پورت UARTs (پورت های سریال سخت افزاری)، و یک ساعت 84 مگاهرتزی، an USB OTG capable connection ، یک DAC (دیجیتال به آنالوگ)، 2 عدد TWI، یک پاور جک، یک SPI header، یک JTACG header، یک دکمه ریست و یک دکمه پاک کردن می باشد.

هشدار: بر خلاف دیگر بردهای آردوینو، برد آردوینو Due با ولتاژ 3.3 ولت کار می کند. حداکثر ولتاژی که پین های ورودی/خروجی می توانند تحمل کنند همین 3.3 ولت است. اعمال ولتاژ های بالاتر همچون 5ولت به یک پین ورودی/خروجی، می تواند به برد آسیب بزند.

این برد، هرچیزی را که جهت پشتیبانی از میکروکنترلر مورد نیاز است، شامل می شود؛ برای آغاز کار، برد را با یک کابل micro-USB به سادگی به کامپیوتر متصل کنید و یا با یک آداپتور AC-to-DC یا باتری، به آن ولتاژ بدهید. برد Due با همه شیلدهای آردوینو که با 3.3ولت کار می کنند، و همچنین با 1.0 Arduino pinout سازگار است.

برد Due از 1.0 pinout پیروی می کند:

برد Due یک انجمن اختصاصی جهت بحث پیرامون برد دارد.

مزایای هسته ARM

برد Due یک هسته ARM 32 بیتی دارد که می تواند بر بردهای میکروکنترلر 8بیتی غالب شود. برجسته ترین تفاوتهای آنها عبارتند از:

شماتیک، طرح مرجع و نقشه پین

EAGLE files: arduino-Due-reference-design.zip

Schematic: arduino-Due-schematic.pdf

Pin Mapping: SAM3X Pin Mapping page

خلاصه

میکروکنترلر   AT91SAM3X8E
ولتاژ عملیاتی   3.3 ولت
ولتاژ ورودی (پیشنهادی)   7-12 ولت
ولتاژ ورودی (محدوده)   6-16 ولت
پین های دیجیتال ورودی/خروجی   54 (12 تای آن خروجی PWM تولید می کنند.)
پین های ورودی آنالوگ   12
پین های خروجی آنالوگ   2 (DAC)
کل جریان خروجی DC روی تمام خطوط ورودی/خروجی   130 میلی آمپر
جریان DC جهت پین 3.3 ولت   800 میلی آمپر
جریان DC جهت پین 5 ولت   800 میلی آمپر
حافظه فلش   512 کیلوبایت جهت برنامه های کاربر موجود است.
SRAM   96 کیلوبایت (دو عدد بانک : 64 کیلوبایت و 32 کیلوبایت)
سرعت ساعت   84 مگاهرتز

Power

The Arduino Due can be powered via the USB connector 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 of 6 to 20 volts. If supplied with less than 7V, however, the 5V pin may supply less than five volts and the board may be 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:

Memory

The SAM3X has 512 KB (2 blocks of 256 KB) of flash memory for storing code. The bootloader is preburned in factory from Atmel and is stored in a dedicated ROM memory. The available SRAM is 96 KB in two contiguous bank of 64 KB and 32 KB. All the available memory (Flash, RAM and ROM) can be accessed directly as a flat addressing space.

It is possible to erase the Flash memory of the SAM3X with the onboard erase button. This will remove the currently loaded sketch from the MCU. To erase, press and hold the Erase button for a few seconds while the board is powered.

Input and Output

The AREF pin is connected to the SAM3X analog reference pin through a resistor bridge. To use the AREF pin, resistor BR1 must be desoldered from the PCB.

Other pins on the board:

Communication

The Arduino Due has a number of facilities for communicating with a computer, another Arduino or other microcontrollers, and different devices like phones, tablets, cameras and so on. The SAM3X provides one hardware UART and three hardware USARTs for TTL (3.3V) serial communication.

The Programming port is connected to an ATmega16U2, which provides a virtual COM port to software on a connected computer (To recognize the device, Windows machines will need a .inf file, but OSX and Linux machines will recognize the board as a COM port automatically.). The 16U2 is also connected to the SAM3X hardware UART. Serial on pins RX0 and TX0 provides Serial-to-USB communication for programming the board through the ATmega16U2 microcontroller. The Arduino software includes a serial monitor which allows simple textual data to be sent to and from the board. The RX and TX LEDs on the board will flash when data is being transmitted via the ATmega16U2 chip and USB connection to the computer (but not for serial communication on pins 0 and 1).

The Native USB port is connected to the SAM3X. It allows for serial (CDC) communication over USB. This provides a serial connection to the Serial Monitor or other applications on your computer. It also enables the Due to emulate a USB mouse or keyboard to an attached computer. To use these features, see the Mouse and Keyboard library reference pages.

The Native USB port can also act as a USB host for connected peripherals such as mice, keyboards, and smartphones. To use these features, see the USBHost reference pages.

The SAM3X also supports TWI and SPI communication. The Arduino software includes a Wire library to simplify use of the TWI bus; see the documentation for details. For SPI communication, use the SPI library.

Programming

The Arduino Due can be programmed with the Arduino software (download). For details, see the reference and tutorials.

Uploading sketches to the SAM3X is different than the AVR microcontrollers found in other Arduino boards because the flash memory needs to be erased before being re-programmed. Upload to the chip is managed by ROM on the SAM3X, which is run only when the chip's flash memory is empty.

Either of the USB ports can be used for programming the board, though it is recommended to use the Programming port due to the way the erasing of the chip is handled :

Unlike other Arduino boards which use avrdude for uploading, the Due relies on bossac.

The ATmega16U2 firmware source code is available in the Arduino repository. You can use the ISP header with an external programmer (overwriting the DFU bootloader). See this user-contributed tutorial for more information.

USB Overcurrent Protection

The Arduino Due 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.

Physical Characteristics and Shield Compatibility

The maximum length and width of the Arduino Due PCB are 4 and 2.1 inches respectively, with the USB connectors and power jack extending beyond the former dimension. Three screw holes allow the board to be attached to a surface or case. Note that the distance between digital pins 7 and 8 is 160 mil (0.16"), not an even multiple of the 100 mil spacing of the other pins.

The Arduino Due is designed to be compatible with most shields designed for the Uno, Diecimila or Duemilanove. Digital pins 0 to 13 (and the adjacent AREF and GND pins), analog inputs 0 to 5, the power header, and "ICSP" (SPI) header are all in equivalent locations. Further the main UART (serial port) is located on the same pins (0 and 1). Please note that I2C is not located on the same pins on the Due (20 and 21) as the Duemilanove / Diecimila (analog inputs 4 and 5).

Retrieved from http://arduino.ir/ArduinoBoardDue
Page last modified on December 06, 2017, at 03:35 AM