Difference between revisions of "Getting started: Microduino IDE for Mac"

From Microduino Wiki
Jump to: navigation, search
(Installation)
Line 9: Line 9:
 
=Installation=
 
=Installation=
 
*Change your settings to allow identified developers by going to: (Apple Logo) >>> '''System Preferences...'''
 
*Change your settings to allow identified developers by going to: (Apple Logo) >>> '''System Preferences...'''
[[File:MacTutorial_Settings_1.png]]
 
<br>
 
<br>
 
 
*Then go to '''Security & Privacy'''.
 
*Then go to '''Security & Privacy'''.
 
[[File:MacTutorial_Settings_2.png|400px]]
 
[[File:MacTutorial_Settings_2.png|400px]]
Line 30: Line 27:
 
*Follow the on-screen instructions to install the driver.
 
*Follow the on-screen instructions to install the driver.
 
[[File:MacTutorial_3_InstallDriver1.png|400px]]
 
[[File:MacTutorial_3_InstallDriver1.png|400px]]
*Once completed. Open the "USBTTL-C Install" folder. This is another driver that needs to be installed.  
+
*Once completed. Open the '''USBTTL-C Install''' folder. This is another driver that needs to be installed.  
 
* ('''Note''': The Mac OS X 10.6 or older package does not contain this. Therefore, you can skip this step.)
 
* ('''Note''': The Mac OS X 10.6 or older package does not contain this. Therefore, you can skip this step.)
 
[[File:MacTutorial_4_DriverFolder.png|400px]]
 
[[File:MacTutorial_4_DriverFolder.png|400px]]
Line 44: Line 41:
 
[[File:MacTutorial_7_InstalledApp.png|400px]]
 
[[File:MacTutorial_7_InstalledApp.png|400px]]
 
[[File:MacTutorial_8_LaunchApp.png|400px]]
 
[[File:MacTutorial_8_LaunchApp.png|400px]]
 
  
 
=Microduino / mCookie Setup=
 
=Microduino / mCookie Setup=

Revision as of 18:06, 20 October 2016

Language: English  • 中文

Download

Installation

  • Change your settings to allow identified developers by going to: (Apple Logo) >>> System Preferences...
  • Then go to Security & Privacy.

MacTutorial Settings 2.png

  • Click on then Lock icon and enter your credentials to be able to change settings.
  • Under Allow apps download from: select App Store and identified developers
  • Click the Lock icon again to lock and save changes.

MacTutorial Settings 3.png

  • Open the downloaded file. A folder will open containing the Microduino IDE and drivers for the hardware.

MacTutorial 1 OpenDmg.png

  • Open the Drivers folder. Drivers are needs to communicate with the Microduino hardware.

MacTutorial 2 DmgContents.png

  • Install ONE of the driver packages:
    • Driver_OS10.3.mpkg if you have Mac OS 10.3 or below.
    • Driver_OS10.4-10.8.mpkg if you have Mac OS 10.4 to Mac OS 10.8.
    • Driver_OS10.9-Newer.mpkg if you have Mac OS 10.9 or newer.
  • Follow the on-screen instructions to install the driver.

MacTutorial 3 InstallDriver1.png

  • Once completed. Open the USBTTL-C Install folder. This is another driver that needs to be installed.
  • (Note: The Mac OS X 10.6 or older package does not contain this. Therefore, you can skip this step.)

MacTutorial 4 DriverFolder.png

  • Open CH34x_Install.pkg. Follow the on-screen instructions to install the driver.

MacTutorial 5 InstallDriver2.png

  • Drag the Arduino for Microduino.app application to your Applications folder to install the IDE.



MacTutorial 6 DragApp.png]

  • The software is now installed and ready to use. Double-click the application to launch it!

MacTutorial 7 InstalledApp.png MacTutorial 8 LaunchApp.png

Microduino / mCookie Setup

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
  • Connect mCookie mBattery to your computer. Verify that there are available Port options under Tools.
MacTutorial CH340 Port.png

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.