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

来自Microduino Wikipedia
跳转至: 导航搜索
(Created page with "{{Language|Microduino Getting started}} {| style="width: 800px;" |- | 360px|right|thumb Getting started: Windows Getting sta...")
 
Confirm Drivers Successfully
 
(未显示3个用户的22个中间版本)
第1行: 第1行:
{{Language|Microduino Getting started}}
+
{{Language|Getting started: Mac}}
 
{| style="width: 800px;"
 
{| style="width: 800px;"
 
|-
 
|-
 
|
 
|
[[File:microduinoGettingStartHeader.jpg|360px|right|thumb]]
 
  
 +
=Download=
 +
*Select the corresponding download for your Mac OS version:
 +
https://www.microduino.cc/download/
  
[[Getting started: Windows]]
+
=Installation=
 +
*Open the downloaded file. You will see the '''Arduino IDE''' and a '''Drivers''' folder:
 +
[[File:microduinoGettingStart_mac_ide.jpg|400px|center|thumb]]
 +
*'''If the following window appears when trying to open "Arduino IDE for Microduino", go to:
 +
<b> System Preferences->Security and Privacy->Change "Allow apps downloaded from:" to Anywhere.'''
 +
[[File:Mac_Damaged_IDE.jpg|400px|center|thumb]]
 +
[[File:Mac_System_Preference.jpg|400px|center|thumb]]
 +
[[File:Mac_Gatekeeper.jpg|400px|center|thumb]]
 +
*Open the '''Drivers''' folder. Then install the driver package for your particular Mac OS version:
 +
[[File:microduinoGettingStart_mac_divers.jpg|400px|center|thumb]]
 +
*Connect [[Microduino-CoreUSB]] or [[mCookie-CoreUSB]] to your computer. A popup will appear. Click continue.
 +
[[File:mCookie_GettingStart_1_EN.png|600px|center|thumb]]
 +
*Your Mac is trying to recognize the new device. Briefly press the key to the right of your shift key.
 +
[[File:mCookie_GettingStart_2_EN.png|600px|center|thumb]]
 +
*A popup will appear saying that your keyboard cannot be recognized. Click "Skip".
 +
[[File:mCookie_GettingStart_3_EN.png|600px|center|thumb]]
 +
*Select the keyboard layout for your region (ANSI for most users). Click done.
 +
[[File:mCookie_GettingStart_4_EN.png|600px|center|thumb]]
  
[[Getting started: Mac]]
+
=Confirm Drivers Installed Successfully=
 +
*Connect [[Microduino-USBTTL]] to your computer. Verify that there are available Port options under Tools.
 +
[[File:microduinoGettingStart-USBTTL_mac1.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_mac1.jpg|600px|center|thumb]]
  
==Step 1: Arduino IDE下载==
+
==Arduino IDE Basics==
'''*Microduino完全兼容Arduino,先安装基础IDE'''
+
===Interface===
 +
[[File:microduinoGettingStart-IDE1.jpg|500px|center|thumb]]
 +
*【Verify】: Checks for errors in the code.
  
*先在此下载Microduino的IDE(基于Arduino1.0x版本修改):
+
*【Upload】: Uploads the program to a MCU.
**[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]
 
  
 +
*【Serial Monitor】: Useful in debugging programs.
  
*我们已经将'''Microduino兼容'''的'''硬件支持包'''和'''程序库'''集成在了IDE中,下一步将验证他们的有效性
+
===Tools===
 +
[[File:microduinoGettingStart-Tools1.jpg|600px|center|thumb]]
 +
*【Board】: Select the corresponding core module to which the program is being uploaded.
  
==Step 2: 验证IDE==
+
*【Processor】: Select the corresponding processor.
  
{| style="width: 800px;"
+
*【Port】: Select the common USB port.
|-
 
|
 
'''*验证硬件支持包'''
 
  
 +
===The Board Types===
 +
{| style="width: 800px;" | colspan="2" |
  
*为适配Microduino的多种核心,IDE已集成了Microduino硬件支持包;
+
When using [[Microduino-Core]], select the proper processor for your board:
**该支持包让Arduino IDE在板卡内显示Microduino硬件
+
|-
**并和Arduino官方硬件一样能在线下载及重新烧写bootloader
+
| style="width:300px" align="left"|
 +
<br>
 +
[[File:microduinoGettingStart-Core3V3.jpg|400px|center|thumb]]
  
 +
| style="width:500px" align="left"|
  
*启动Arduino IDE,单击"Tools"菜单
+
<br>
*您将会在"Board"菜单下看到Microduino系列.
+
[[File:microduinoGettingStart-Core+3V3.jpg|400px|left|thumb]]
||
 
[[File:microduinoGettingStart1.jpg|289px|right|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年10月29日 (四) 23:14的最新版本

Language English

Download

  • Select the corresponding download for your Mac OS version:

https://www.microduino.cc/download/

Installation

  • Open the downloaded file. You will see the Arduino IDE and a Drivers folder:
  • If the following window appears when trying to open "Arduino IDE for Microduino", go to:

System Preferences->Security and Privacy->Change "Allow apps downloaded from:" to Anywhere.

  • Open the Drivers folder. Then install the driver package for your particular Mac OS version:
MCookie GettingStart 1 EN.png
  • Your Mac is trying to recognize the new device. Briefly press the key to the right of your shift key.
MCookie GettingStart 2 EN.png
  • A popup will appear saying that your keyboard cannot be recognized. Click "Skip".
MCookie GettingStart 3 EN.png
  • Select the keyboard layout for your region (ANSI for most users). Click done.
MCookie GettingStart 4 EN.png

Confirm Drivers Installed Successfully

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

Arduino IDE Basics

Interface

MicroduinoGettingStart-IDE1.jpg
  • 【Verify】: Checks for errors in the code.
  • 【Upload】: Uploads the program to a MCU.
  • 【Serial Monitor】: Useful in debugging programs.

Tools

MicroduinoGettingStart-Tools1.jpg
  • 【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.