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

From Microduino Wiki
Jump to: navigation, search
(Selecting Board Type and Processor)
(Determining Processor Variant)
Line 89: Line 89:
  
 
==Determining Processor Variant==
 
==Determining Processor Variant==
 +
===Core===
 +
[[File:microduinoGettingStart-Core3V3.jpg|250px]]
 +
[[File:microduinoGettingStart-Core+3V3.jpg|250px]]
 +
===Core+===
 +
[[File:microduinoGettingStart-Core5V.jpg|250px]]
 +
[[File:microduinoGettingStart-Core+5V.jpg|250px]]
  
 
=Arduino IDE Basics=
 
=Arduino IDE Basics=

Revision as of 23:45, 21 March 2017

Language: English  • 中文

Download

  • Download the latest Windows IDE:

https://www.microduino.cc/download

Installation

  • Double click on the setup file Arduino IDE 1.X.X for Microduino.exe. Click [Next].
IDEsetup1.JPG
  • Make sure Arduino IDE, USBTTL driver, and Core USB driver are all checked. Click [Next].
IDEsetup2.JPG
  • Click [Browse...] if you would like to choose a different installation destination. Then click [Next] and [Install].
IDEsetup3.JPG


IDEsetup4.JPG
  • After the Arduino IDE has been installed, a window for driver installation will appear. Click [Extract] and follow the instructions.
IDEsetup5.JPG
  • Click [Finish] to complete the installation.
IDEsetup6.JPG
  • After installation, there will be a shortcut to the Arduino IDE on your desktop.
ArduinoIcon.png

Confirm Drivers Installed Successfully

USBTTL

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

CoreUSB

MicroduinoGettingStart-CoreUSB.jpg

mBattery

MBattery-t.jpg
IMPORTANT: Ensure that mBattery is "ON" by pressing and holding the button. A red LED should be on, which indicates that power is being supplied to the modules.
  • Verify that there are available Port options under Tools.
MicroduinoGettingStart-USBTTL.jpg

Selecting Board Type and Processor

Selecting the Board Type and Processor is required to compile the correct code for the core module.

Configuring the software is done under Tools > Board and Tools > Processor.

Below is the table which lists all the core modules with corresponding Board and Processor. The table also lists kits that contain specific core modules.

Example usage would be for the Core module in Itty Bitty City. Board is Microduino/mCookie-Core (328p) and Processor is Atmega328P@16M,5V.

Name Board Processor Contained in Kit
Core (168pa) Microduino/mCookie-Core (168pa) Atmega168pa@8M,3.3V
Atmega168pa@16M,5V
Core (328p) Microduino/mCookie-Core (328p) Atmega328P@8M,3.3V
Atmega328P@16M,5V Itty Bitty City Kit, X02 Series Kits: 102 Basic Kit; 202 Advanced Kit; 302 Expert Kit
Core+ (644pa) Microduino/mCookie-Core+ (644pa) Atmega644pa@16M,3.3V
Atmega644pa@16M,5V 302 Expert Kit
Core+ (1284pa) Microduino/mCookie-Core+ (1284pa) Atmega1284pa@8M,3.3V
Atmega1284pa@16M,5V
CoreUSB Microduino/mCookie-Core USB (32u4) USB X01 Series Kits: 101 Basic Kit; 201 Advanced Kit; 301 Expert Kit
CoreRF Microduino/mCookie RF (128rfa1)

Determining Processor Variant

Core

MicroduinoGettingStart-Core3V3.jpg MicroduinoGettingStart-Core+3V3.jpg

Core+

MicroduinoGettingStart-Core5V.jpg MicroduinoGettingStart-Core+5V.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

Tools.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.