数码营电子:基于微型控制器的编程、电路设计与电子产品制做。邮箱:shumaying@hotmail.com

Arduino DUE

From 数码营电子实验室
Jump to navigation Jump to search

Three-types-of-DUE.jpg

  • The Arduino Due is a microcontroller board based on the Atmel SAM3X8E ARM Cortex-M3 CPU. It is the first Arduino board based on a 32-bit ARM core microcontroller.

Due-pinout-A3.png

  • The Arduino Due is programmed using the Arduino Software (IDE), If you want to program your Arduino Due while offline you need to install the Arduino Desktop IDE and add the Atmel SAMD Core to it. This simple procedure is done selecting Tools menu, then Boards and last Boards Manager, as documented in the Arduino Boards Manager page.
  • Attach the USB micro side of the USB cable to the Due's Programming port (this is the port closer to the DC power connector). To upload a sketch, choose Arduino Due (Programming port) from the Tools > Board menu in the Arduino IDE, and select the correct serial port from the Tools > Serial Port menu.
 Installing Drivers for the Due
  • No driver installation is necessary on OSX. Depending on the version of the OS you're running, you may get a dialog box asking you if you wish to open the “Network Preferences”. Click the "Network Preferences..." button, then click "Apply". The Due will show up as “Not Configured”, but it is still working. You can quit the System Preferences.
  • Download the Windows version of the Arduino software. When the download finishes, unzip the downloaded file. Make sure to preserve the folder structure.
  • Connect the Due to your computer with a USB cable via the Programming port.
  • Windows should initiate its driver installation process once the board is plugged in, but it won't be able to find the driver on its own. You'll have to tell it where the driver is.
  • Click on the Start Menu and open the Control Panel, Navigate to “System and Security”. Click on System, and open the Device Manager.
  • Look for the listing named “Ports (COM & LPT)”. You should see an open port named “Arduino Due Prog. Port”.
  • Right click on the “Arduino Due Prog. Port” and choose “Update Driver Software”.
  • Select the “Browse my computer for Driver software” option.
  • Navigate to the folder with the Arduino IDE you downloaded and unzipped earlier. Locate and select the “Drivers” folder in the main Arduino folder (not the “FTDI USB Drivers” sub-directory). Press “OK” and “Next” to proceed.
  • If you are prompted with a warning dialog about not passing Windows Logo testing, click “Continue Anyway”. Windows now will take over the driver installation.
  • You have installed the driver on your computer. In the Device Manager, you should now see a port listing similar to “Arduino Due Programming Port (COM4)”.
Qrcode for gh a3b9e9962ce8 1280.jpg