“Getting started: Windows”的版本间的差异

来自Microduino Wikipedia
跳转至: 导航搜索
(Created page with "{{Language|Microduino Getting started}} {| style="width: 800px;" |- | 360px|right|thumb Getting started: Windows Getting sta...")
 
The Board Types
 
(未显示2个用户的22个中间版本)
第1行: 第1行:
{{Language|Microduino Getting started}}
+
{{Language|Getting started: Windows}}
 
{| style="width: 800px;"
 
{| style="width: 800px;"
 
|-
 
|-
 
|
 
|
[[File:microduinoGettingStartHeader.jpg|360px|right|thumb]]
+
=Download=
 +
*'''Download the IDE: [https://www.microduino.cc/ftpshare/IDE/Arduino%20IDE%201.6.5%20for%20Microduino.exe Arduino IDE 1.6.5]'''
 +
=Installation=
 +
*Double click '''Install Microduino IDE.exe'''. Click【Next】.
 +
[[File:IDEsetup1.JPG|600px|center|thumb]]
 +
*Make sure '''Arduino IDE''', '''USBTTL driver''', and '''Core USB driver''' are all checked. Click【Next】.
 +
[[File:IDEsetup2.JPG|600px|center|thumb]]
 +
*Click【Browse...】if you would like to choose a different installation destination. Then click【Next】 and 【Install】.
 +
[[File:IDEsetup3.JPG|600px|center|thumb]]
 +
<br>
 +
[[File:IDEsetup4.JPG|600px|center|thumb]]
 +
*After the Arduino IDE has been installed, a window for driver installation will appear. Click【Extract】 and follow the instructions.
 +
[[File:IDEsetup5.JPG|600px|center|thumb]]
 +
*Click【Finish】to complete the installation.
 +
[[File:IDEsetup6.JPG|600px|center|thumb]]
 +
*After installation, there will be a shortcut to the Arduino IDE on your desktop.
 +
[[File:ArduinoIcon.png|600px|center|thumb]]
 +
=Confirm Drivers Installed Successfully=
 +
*Connect [[Microduino-USBTTL]] to your computer. Verify that there are available Port options under Tools.
 +
[[File:microduinoGettingStart-USBTTL.jpg|600px|center|thumb]]
 +
*Connect [[Microduino-CoreUSB]] or [[mCookie-CoreUSB]] to your computer. Verify that there are available Port options under Tools.
 +
[[File:microduinoGettingStart-CoreUSB.jpg|600px|center|thumb]]
  
 +
==Arduino IDE Basics==
 +
===Interface===
 +
[[File:Interface.png|500px|center|thumb]]
 +
*【Verify】: Checks for errors in the code.
  
[[Getting started: Windows]]
+
*【Upload】: Uploads the program to a MCU.
  
[[Getting started: Mac]]
+
*【Serial Monitor】: Useful in debugging programs.
  
==Step 1: Arduino IDE下载==
+
===Tools===
'''*Microduino完全兼容Arduino,先安装基础IDE'''
+
[[File:Tools.JPG|600px|center|thumb]]
 +
*【Board】: Select the corresponding core module to which the program is being uploaded.
  
*先在此下载Microduino的IDE(基于Arduino1.0x版本修改):
+
*【Processor】: Select the corresponding processor.
**[https://github.com/wasdpkj/Microduino-IDE-win/archive/master.zip Microduino-IDE-win]
 
**[https://github.com/wasdpkj/Microduino-IDE-mac/archive/master.zip Microduino-IDE-mac]
 
  
 +
*【Port】: Select the common USB port.
  
*我们已经将'''Microduino兼容'''的'''硬件支持包'''和'''程序库'''集成在了IDE中,下一步将验证他们的有效性
+
===The Board Types===
 +
{| style="width: 800px;" | colspan="2" |
  
==Step 2: 验证IDE==
+
When using [[Microduino-Core]], select the proper processor for your board:
 
 
{| style="width: 800px;"
 
 
|-
 
|-
|  
+
| style="width:300px" align="left"|  
'''*验证硬件支持包'''
+
<br>
 
+
[[File:microduinoGettingStart-Core3V3.jpg|400px|center|thumb]]
 
 
*为适配Microduino的多种核心,IDE已集成了Microduino硬件支持包;
 
**该支持包让Arduino IDE在板卡内显示Microduino硬件
 
**并和Arduino官方硬件一样能在线下载及重新烧写bootloader
 
 
 
  
*启动Arduino IDE,单击"Tools"菜单
+
| style="width:500px" align="left"|
*您将会在"Board"菜单下看到Microduino系列.
 
||
 
[[File:microduinoGettingStart1.jpg|289px|right|thumb]]
 
|}
 
  
 +
<br>
 +
[[File:microduinoGettingStart-Core+3V3.jpg|400px|left|thumb]]
  
{| style="width: 800px;"
 
 
|-
 
|-
|  
+
|
'''*验证程序库'''
 
 
 
 
 
*Microduino针对数十种不同的功能模块,整理出了兼容的程序库支持包;
 
**这里面包含Arduino官方原版的部分支持包
 
**我们只是对其文件夹改名,便于整理分类
 
 
 
 
 
*启动Arduino IDE,单击"File"菜单
 
*您将会在"Examples"菜单下找到程序示例.
 
*'''注意:1.6.3版本的IDE要先在"Board"菜单下选择好板卡才能找到示例程序'''
 
||
 
[[File:microduinoGettingStart2.jpg|289px|right|thumb]]
 
 
|}
 
|}
 +
<br>
 +
<br>
  
==Step 3: 驱动程序==
+
{| style="width: 800px;" | colspan="2" |
  
'''*开发环境配置好之后,开始安装驱动程序'''
+
When using [[Microduino-Core+]], select the proper processor for your board:
 
 
 
 
'''*下载驱动*
 
*先在此下载对应系统的驱动:
 
**[https://github.com/wasdpkj/Microduino-Drivers/archive/master.zip Microduino-Drivers]
 
**[http://www.ftdichip.com/Drivers/VCP.htm FTDI]
 
 
 
'''*安装驱动'''
 
 
 
 
 
{| style="width: 800px;"
 
 
|-
 
|-
|  
+
| style="width:300px" align="left"|  
'''*Windows'''
+
<br>
*自动安装
 
**解压获得"\Windows\Automatic"文件夹内容
 
**运行其中"CDM X.X WHQL Certified.exe"
 
***(win7运行需管理员权限,如右图)
 
**按提示完成安装即可​
 
*手动安装
 
**如果你不怕麻烦,也可以选择手动安装:
 
***'''[[windows手动安装Microduino驱动程序]]'''
 
||  
 
[[File:microduinoGettingStart3.jpg|289px|right|thumb]]
 
|}
 
  
 +
[[File:microduinoGettingStart-Core5V.jpg|400px|right|thumb]]
 +
| style="width:500px" align="left"|
  
{| style="width: 800px;"
+
<br>
 +
[[File:microduinoGettingStart-Core+5V.jpg|400px|right|thumb]]
 
|-
 
|-
|  
+
|
'''*Mac OS'''
 
*解压获得"\Mac.os"文件夹内容
 
*运行其中"FTDIUSBSerialDriver_X_X"
 
*按提示完成安装即可
 
||
 
[[File:microduinoGettingStart4.jpg|289px|right|thumb]]
 
 
|}
 
|}
 +
<br>
 +
<br>
 +
{| style="width: 800px;" | colspan="2" |
  
 
+
When using [[Microduino-CoreUSB]] or [[mCookie-CoreUSB]], select Microduino-CoreUSB:
    '''注意:'''
 
    '''windows8若出现文件损坏或缺少签名等提示,无法正常安装驱动时,则需要禁用系统数字签名安装。'''
 
    '
 
    1.Turn off the check.
 
    2.Hold the shift key while clicking on Restart
 
    3.Select Troubleshoot > Advanced Options > Startup Settings > Restart
 
    4.After Restart select option 7.
 
    '
 
    by: [[http://answers.microsoft.com/en-us/windows/forum/windows_8-hardware/how-to-install-a-driver-that-does-not-contain/7c3f299b-3483-4c96-8c44-87c7451af222 microsoft answers]]
 
 
 
==Step 4: 连接硬件==
 
 
 
 
 
*用Micro-USB 线连接Microduino-USBTTL到您的PC/Mac上;
 
 
 
 
 
{| style="width: 800px;"
 
 
|-
 
|-
|  
+
| style="width:300px" align="left"|  
'''*Windows'''
+
<br>
*打开IDE,在菜单"Tools"里的"Serial Port"
 
*你将看到"COMXX"
 
||  
 
[[File:microduinoGettingStart5.jpg|289px|right|thumb]]
 
|}
 
  
 +
[[File:Microduino-core32U4-rect.jpg|400px|right|thumb]]
 +
| style="width:500px" align="left"|
  
{| style="width: 800px;"
+
<br>
 +
[[File:mCookie-CoreUSB-F.JPG|400px|right|thumb]]
 
|-
 
|-
|  
+
|
'''*Mac OS'''
 
*打开IDE,在菜单"Tools"里的"Serial Port"
 
*你将看到"dev/tty.usbserial-XX"
 
||
 
[[File:microduinoGettingStart6.jpg|289px|right|thumb]]
 
 
|}
 
|}
 +
<br>
 +
<br>
  
 
+
===Uploading Code===
 
+
#Select board type and processor.
 
+
#Select the port.
 
+
#Click upload.
==附录==
 
 
 
 
 
*'''[[安装Arduino IDE Microduino硬件支持包]]'''
 
*'''[[安装Arduino IDE Microduino程序库支持包]]'''
 
  
 
|}
 
|}

2015年8月25日 (二) 08:26的最新版本

Language English

Download

Installation

  • Double click Install Microduino IDE.exe. Click【Next】.
  • Make sure Arduino IDE, USBTTL driver, and Core USB driver are all checked. Click【Next】.
  • Click【Browse...】if you would like to choose a different installation destination. Then click【Next】 and 【Install】.


  • After the Arduino IDE has been installed, a window for driver installation will appear. Click【Extract】 and follow the instructions.
  • Click【Finish】to complete the installation.
  • After installation, there will be a shortcut to the Arduino IDE on your desktop.

Confirm Drivers Installed Successfully

  • Connect Microduino-USBTTL to your computer. Verify that there are available Port options under Tools.
MicroduinoGettingStart-USBTTL.jpg
MicroduinoGettingStart-CoreUSB.jpg

Arduino IDE Basics

Interface

Interface.png
  • 【Verify】: Checks for errors in the code.
  • 【Upload】: Uploads the program to a MCU.
  • 【Serial Monitor】: Useful in debugging programs.

Tools

  • 【Board】: Select the corresponding core module to which the program is being uploaded.
  • 【Processor】: Select the corresponding processor.
  • 【Port】: Select the common USB port.

The Board Types

When using Microduino-Core, select the proper processor for your board:


MicroduinoGettingStart-Core3V3.jpg


MicroduinoGettingStart-Core+3V3.jpg



When using Microduino-Core+, select the proper processor for your board:


MicroduinoGettingStart-Core5V.jpg


MicroduinoGettingStart-Core+5V.jpg



When using Microduino-CoreUSB or mCookie-CoreUSB, select Microduino-CoreUSB:


Microduino-core32U4-rect.jpg


MCookie-CoreUSB-F.JPG



Uploading Code

  1. Select board type and processor.
  2. Select the port.
  3. Click upload.