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

From Microduino Wiki
Jump to: navigation, search
(Kit Specific Software Setup Guides)
(Kit Specific Software Setup Guides)
Line 8: Line 8:
  
 
=Kit Specific Software Setup Guides=
 
=Kit Specific Software Setup Guides=
{{Clickable_headed_image_table_box_small|header=Itty Bitty City|link=Itty_Bitty_City|image=File:IBC.png|image_size=140px|table_width=175px|table_height=150px}}
+
{{Clickable_headed_image_table_box_small|header=Itty Bitty City|link=Getting_Started_with_Itty_Bitty_City_(Windows)|image=File:IBC.png|image_size=140px|table_width=175px|table_height=150px}}
{{Clickable_headed_image_table_box_clear}}
+
{{Clickable_headed_image_table_box_small|header=mCookie 102 Basic|link=Getting_Started_with_102_Basic_Kit_(Windows)|image=File:mCookie_102_Basic_Kit.png|image_size=140px|table_width=175px|table_height=150px}}
{{Clickable_headed_image_table_box_small|header=mCookie 101 Basic|link=MCookie_Basic_Kit_Tutorials|image=File:mCookie_Basic_Kit.png|image_size=140px|table_width=175px|table_height=150px}}
+
{{Clickable_headed_image_table_box_small|header=mCookie 202 Advanced|link=Getting_Started_with_202_Advanced_Kit_(Windows)|image=File:mCookie_202_Advanced_Kit.png|image_size=140px|table_width=175px|table_height=150px}}
{{Clickable_headed_image_table_box_small|header=mCookie 201 Advanced|link=MCookie_Advanced_Kit_Tutorials|image=File:mCookie_Advanced_Kit.png|image_size=140px|table_width=175px|table_height=150px}}
+
{{Clickable_headed_image_table_box_small|header=mCookie 302 Expert|link=Getting_Started_with_302_Expert_Kit_(Windows)|image=File:mCookie_302_Expert_Kit.png|image_size=140px|table_width=175px|table_height=150px}}
{{Clickable_headed_image_table_box_small|header=mCookie 301 Expert|link=MCookie_Expert_Kit_Tutorials|image=File:mCookie_Expert_Kit.png|image_size=140px|table_width=175px|table_height=150px}}
 
{{Clickable_headed_image_table_box_clear}}
 
{{Clickable_headed_image_table_box_small|header=mCookie 102 Basic|link=MCookie_102_Basic_Kit_Tutorials|image=File:mCookie_102_Basic_Kit.png|image_size=140px|table_width=175px|table_height=150px}}
 
{{Clickable_headed_image_table_box_small|header=mCookie 202 Advanced|link=MCookie_202_Advanced_Kit_Tutorials|image=File:mCookie_202_Advanced_Kit.png|image_size=140px|table_width=175px|table_height=150px}}
 
{{Clickable_headed_image_table_box_small|header=mCookie 302 Expert|link=MCookie_302_Expert_Kit_Tutorials|image=File:mCookie_302_Expert_Kit.png|image_size=140px|table_width=175px|table_height=150px}}
 
 
{{Clickable_headed_image_table_box_clear}}
 
{{Clickable_headed_image_table_box_clear}}
 
<big><b>If your kit is not listed, please proceed following the general setup guide below.</b></big>
 
<big><b>If your kit is not listed, please proceed following the general setup guide below.</b></big>

Revision as of 18:54, 18 April 2018

Language: English  • 中文

The guide below is a software setup guide for Windows aimed for general use of Microduino products.

For kit specific getting started guides please follow the appropriate links in the #Kit_Specific_Software_Setup_Guides section:

Kit Specific Software Setup Guides

If your kit is not listed, please proceed following the general setup guide below.

Download

Download the latest Windows IDE: http://microduinoinc.com/download/

Download Windows IDE.png

Installation

1. Double click on the setup file to start the installation process. Click Next.

WinInstallNew 01.png

2. The next window will allow you to select which options to install. Leave all checked and click Install.

WinInstallNew 02.png

3. The installation process will begin for the Arduino IDE.

WinInstallNew 03.png

4. Wait until it is complete.

WinInstallNew 04.png

5. After the Arduino IDE has been installed, a window for driver installation will appear. Click Next.

WinInstallNew 05.png

6. Click on "I accept this agreement" and click Next to start the drivers installation.

WinInstallNew 06.png

7. After the drivers are installed, click Finish.

WinInstallNew 07.png

8.Installation is now complete! Click on Finish.

WinInstallNew 08.png

9.If you left the run option checked, the software will start to launch. Otherwise locate the program shortcut on your desktop or start menu and launch it.

WinInstallNew 09.png

10. The software is now ready to be used!

WinInstallNew 10.png

Confirm Drivers Installed Successfully

Confirm that the drivers are installed successfully based on your hardware.

Refer to the table below for which programmer each kit uses:

Programmer Contained in Kit Programmable Boards
USBTTL 102 Basic Kit Core, Core+, CoreRF
mBattery Itty Bitty City, 202 Advanced Kit, 302 Expert Kit Core, Core+, CoreRF
(CoreUSB)* X01 Series Kits: 101 Basic Kit; 201 Advanced Kit; 301 Expert Kit CoreUSB
  • NOTE: CoreUSB is a core module with an integrated programmer.

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. mBattery must be "ON" in order to program 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.

Uploading Code

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


  • Note: If using mBattery to upload to a core module. Ensure that mBattery is "ON" and supplying power to the modules. There will be a red LED on.

MBattery-t.jpg