Difference between revisions of "Microduino-Module Core"

From Microduino Wiki
Jump to: navigation, search
(Features)
(Specifications)
Line 133: Line 133:
 
|
 
|
  
==Specifications==
+
==Specification==
* Microcontroller: ATmega328P/ATmega168PA
+
*'''[[Difference between Microduino-Core and Core+]]'''
* Operating Voltage: 5V/3.3V
 
* Digital I/O Pins: 14 (of which 6 provide PWM output with D3,D5,D6,D9,D10 and D11)
 
* Analog Input Pins: 8 (2 more comparing to Arduino Uno)
 
* DC Current per I/O Pin: 40 mA
 
* DC Current:  50 mA
 
* Serial: 0 (RX) and 1 (TX). Used to receive (RX) and transmit (TX) TTL serial data.
 
* External Interrupts: 2 and 3. These pins can be configured to trigger an interrupt on a low value, a rising or falling edge, or a change in value. See the attachInterrupt() function for details.
 
* PWM: 3, 5, 6, 9, 10, and 11. Provide 8-bit PWM output with the analogWrite() function.
 
* SPI: 10 (SS), 11 (MOSI), 12 (MISO), 13 (SCK). These pins support SPI communication using the SPI
 
  
library.
 
* TWI: A4 or SDA pin and A5 or SCL pin. Support TWI communication using the Wire library.
 
* AREF. Reference voltage for the analog inputs. Used with analogReference().
 
* Flash Memory 32 KB (ATmega328P) of which 0.5 KB used by bootloader
 
* SRAM 2 KB (ATmega328P)
 
* EEPROM 1 KB (ATmega328P)
 
* Clock Speed 16MHz(5V) / 8Mhz(3.3V)
 
  
* Currently, there are 4 different configurations for '''[[Microduino-Core]]''' modules:
+
* '''[[Microduino-Core]]''' is classified into four versions based on different core and clock frequency. 
 
:{|class="wikitable"
 
:{|class="wikitable"
! Type
+
! Type  
 
! Flash
 
! Flash
 
! SRAM
 
! SRAM
 
! EEPROM
 
! EEPROM
! Frequecy
+
! Time clock frequency
! Supply
+
! Operation voltage
 
|-
 
|-
 
| Atmega328P@16M,5V  
 
| Atmega328P@16M,5V  
Line 190: Line 174:
 
| 3.3V
 
| 3.3V
 
|}
 
|}
 +
 +
* Microduino Size: 25.4mm X 27.94mm
 +
 +
 +
*22 digital I/O input/output ports:
 +
** You can see D0, D1, D2-D13 and A0-A7 marked on this module. For A6 and A7 are the input ports.
 +
* Eight analog I/O input ports: 
 +
** A0-A7 marked on the module.
 +
** Each analog input port offers 10-bit resolution(namely, 0-1024). The analog voltage range is from GND to VCC by default.
 +
** For more information, please refer to: '''[http://www.arduino.cc/en/Reference/AnalogRead analogRead()]''' function.
 +
* PWM support:
 +
** In the module, it is marked with D3,D5,D6,D9,D10 and D11.
 +
** For more information, please refer to: '''[http://www.arduino.cc/en/Reference/AnalogWrite analogWrite()]'''function.
 +
* Serial port support:
 +
** In the module, it is marked with Serial[D0(RX),D1(TX)].
 +
** If it used with Microduino-USBTTL, the D0 and D1 will be occupied. 
 +
* SPI support:
 +
** In the module, it is marked with D13(SCK),D12(MISO),D11(MOSI),D10(SS).
 +
* I2C support:
 +
** In the module, it is marked with SDA(A4),SCL(A5)。
 +
* External interruption support:
 +
** In the module, it is marked with D2(interrupt0) and D3(interrupt1).
 +
** For more information, please refer to:'''[http://arduino.cc/en/Reference/AttachInterrupt attachInterrupt()]''' function.
 +
* Support ISP download function. 
 +
* Support AREF.
 +
 +
 +
*Pin Description:
 +
 +
{|class="wikitable"
 +
| align="center" style="background:#f0f0f0;"|'''Pin'''
 +
| align="center" style="background:#f0f0f0;"|'''Original Pin Name'''
 +
| align="center" style="background:#f0f0f0;"|'''Map Pin Name'''
 +
| align="center" style="background:#f0f0f0;"|'''Digital Pin'''
 +
| align="center" style="background:#f0f0f0;"|'''Analog Pin'''
 +
| align="center" style="background:#f0f0f0;"|'''interrupt'''
 +
| align="center" style="background:#f0f0f0;"|'''PWM'''
 +
| align="center" style="background:#f0f0f0;"|'''Serial'''
 +
| align="center" style="background:#f0f0f0;"|'''SPI'''
 +
| align="center" style="background:#f0f0f0;"|'''I2C'''
 +
| align="center" style="background:#f0f0f0;"|'''Power'''
 +
|-
 +
| 1||VCC||+5V||||||||||||||||+5V
 +
|-
 +
| 2||VCC||+3V3||||||||||||||||+3.3V
 +
|-
 +
| 3||(AIN1)PD7||D7||D7||||||||||||||
 +
|-
 +
| 4||(ICP)PB0||D8||D8||||||||||||||
 +
|-
 +
| 5||(OC1A)PB1||D9||D9||||||yes||||||||
 +
|-
 +
| 6||(OC1B/SS)PB2||D10||D10||||||yes||||SS||||
 +
|-
 +
| 7||(OC2A/MOSI)PB3||D11||D11||||||yes||||MOSI||||
 +
|-
 +
| 8||(MISO)PB4||D12||D12||||||||||MISO||||
 +
|-
 +
| 9||(SCK)PB5||D13||D13||||||||||SCK||||
 +
|-
 +
| 10||AREF||AREF||||||||||||||||
 +
|-
 +
| 11||(ADC0)PC0||A0||D14||A0||||||||||||
 +
|-
 +
| 12||(ADC1)PC1||A1||D15||A1||||||||||||
 +
|-
 +
| 13||(ADC2)PC2||A2||D16||A2||||||||||||
 +
|-
 +
| 14||(ADC3)PC3||A3||D17||A3||||||||||||
 +
|-
 +
| 15||(ADC4/SDA)PC4||SDA||D18||A4||||||||||SDA||
 +
|-
 +
| 16||(ADC5/SCL)PC5||SCL||D19||A5||||||||||SCL||
 +
|-
 +
| 17||(ADC6)||A6||D20(only input)||A6||||||||||||
 +
|-
 +
| 18||(ADC7)||A7||D21(only input)||A7||||||||||||
 +
|-
 +
| 19||(RXD)PD0||D0||D0||||||||0(RX)||||||
 +
|-
 +
| 20||(TXD)PD1||D1||D1||||||||0(TX)||||||
 +
|-
 +
| 21||(INT0)PD2||D2||D2||||0||||||||||
 +
|-
 +
| 22||(OC2B/INT1)PD3||D3||D3||||1||yes||||||||
 +
|-
 +
| 23||(XCK/T0)PD4||D4||D4||||||||||||||
 +
|-
 +
| 24||(OC0B/T1)PD5||D5||D5||||||yes||||||||
 +
|-
 +
| 25||(OC0A/AIN0)PD6||D6||D6||||||yes||||||||
 +
|-
 +
| 26||RESET||RST||||||||||||||||
 +
|-
 +
| 27||GND||GND||||||||||||||||GND
 +
|}
 +
 +
 +
* Microduino-Core Pinout
  
 
:[[file:Microduino-Core-Pinout.jpg|800px|thumb|center|Microduino-Core-Pinout]]
 
:[[file:Microduino-Core-Pinout.jpg|800px|thumb|center|Microduino-Core-Pinout]]
:[[file:Microduino-Core-Pinout1.jpg|800px|thumb|center|Microduino-Core-Pinout]]
+
:[[file:Microduino-Core-Pinout1Big.jpg|800px|thumb|center|Microduino-Core-Pinout]]
:[[file:Microduino-Core-Pinout2.jpg|800px|thumb|center|Microduino-Core-Pinout]]
+
:[[file:Microduino-Core-Pinout2Big1.jpg|800px|thumb|center|Microduino-Core-Pinout]]
:[[file:Microduino-Core-Pinout3.jpg|800px|thumb|center|Microduino-Core-Pinout]]
+
:[[file:Microduino-Core-Pinout3Big.jpg|800px|thumb|center|Microduino-Core-Pinout]]
 
 
  
 
|-
 
|-

Revision as of 08:00, 15 December 2015

Language: English  • 中文
Microduino-Core

Microduino-Core is one of core modules of Microduino series, Microduino-Core is an open source hardware and Arduino Uno compatible. It is an 8-bit microcontroller development board, based on Atmel ATmega328P/ATmega168PA series.

Comparing to Arduino Uno, Microduino-Core is featured by:

  • Microduino splits Arduino Uno into two parts: Microduino-Core and Microduino-FT232R modules -- MCU and USB2TTL parts. it means once designers uploaded program into Microduino-Core, Microduino-FT232R will be not necessary anymore, designers could have many Microduino-Core/Core+ modules with only one Microduino-FT232R. The board size becomes very small as only 25.4mm X 27.94mm (1.0inch X 1.1inch), like a quarter.
  • Microduino series uses the U-Shape 27-pin interface (UPin-27), the standard interface of Microduino, all Microduino modules and sensors can be easily stacked and extended, it is delivered ready to plug in.
  • With tiny shape and uniform interface, Microduino series dramatically decreases the size and cost of design prototype, remarkable improves usability and flexibility of Arduino-compatible boards, as well as user experience.

Microduino uses the same development environment as Arduino IDE, designers can use the Arduino IDE, Processing on Microduino for idea realization, prototype development and low volume production.

Microduino uses optiboot for bootloader, it takes less Flash than Arduino default engine and optimizes program uploading.

Currently, there are 4 different configurations for Microduino-Core modules:

Type Flash SRAM EEPROM Frequency Supply
Atmega328P@16M,5V 32K 2K 1K 16M 5.0V
ATmega328P@8M,3V3 32K 2K 1K 8M 3.3V
ATmega168PA@16M,5V 16K 1K 512 16M 5.0V
ATmega168PA@8M,3V3 16K 1K 512 8M 3.3V

Different configurations in frequency and supply voltage:

  • Clock frequency and supply voltage are paired, 8M module is supplied by 3.3V voltage, while 16M module is by 5.0V voltage.
  • A 16M with 5V Microduino-Core module is recommended for desktop equipments or designs; regarding mobile equipments or designs, a 8M with 3.3V module is suggested for low power and battery supply purposes.


Core vs Core+

  • Microduino also provides Microduino-Core+ module, aiming at high performance applications which require large SRAM/EEPROM/Flash and more I/O ports.
  • Both Microduino-Core and Microduino-Core+ use UPin-27 interface -- the standard module interface of Microduino series. The main difference between them is MCU chip: -Core module uses ATmega328P/ATmega168PA, as same as Arduino Uno; -Core+ module uses ATmega644PA/ATmega1284P, its performance is similar to Arduino Mega2560.
Microduino Chip Flash SRAM EEPROM Digital I/O Analog I/O PWM Hardware Serial
Core Atmega168PA 16K 1K 512 23 8 6 1
ATmega328P 32K 2K 1K 23 8 6 1
Core+ Atmega644PA 64K 4K 2K 32 8 6 2
ATmega1284P 128K 16K 4K 32 8 6 2
  • According above table, Core and Core+ are different in Flash, EEPROM and SRAM size, also, they supply different size of digital I/O and hardware serial ports, and there are 10 more digital I/O and 1 more hardware serial ports in Core+. Designers can select specific module regarding different application requirements on function, performance and power.
  • Both Core and Core+ use UPin-27 interface, Microduino program can be smoothly ported between them.

Features

  • Small, stackable and cheap.
  • Open source hardware circuit design and Arduino compatible programming development environment;
  • Like Arduino, Microduino can use ISP download method and burn program into「bootloader」flexibly;
  • With uniform Microduino interface standard and rich peripheral modules, it can have an easy and flexible connection with other Microduino modules and sensor.
  • 2.54mm (0.1 inch) pin pitch, compatible to bread board and pegboards.

Specification


  • Microduino-Core is classified into four versions based on different core and clock frequency.
Type Flash SRAM EEPROM Time clock frequency Operation voltage
Atmega328P@16M,5V 32K 2K 1K 16M 5.0V
ATmega328P@8M,3V3 32K 2K 1K 8M 3.3V
ATmega168PA@16M,5V 16K 1K 512 16M 5.0V
ATmega168PA@8M,3V3 16K 1K 512 8M 3.3V
  • Microduino Size: 25.4mm X 27.94mm


  • 22 digital I/O input/output ports:
    • You can see D0, D1, D2-D13 and A0-A7 marked on this module. For A6 and A7 are the input ports.
  • Eight analog I/O input ports:
    • A0-A7 marked on the module.
    • Each analog input port offers 10-bit resolution(namely, 0-1024). The analog voltage range is from GND to VCC by default.
    • For more information, please refer to: analogRead() function.
  • PWM support:
    • In the module, it is marked with D3,D5,D6,D9,D10 and D11.
    • For more information, please refer to: analogWrite()function.
  • Serial port support:
    • In the module, it is marked with Serial[D0(RX),D1(TX)].
    • If it used with Microduino-USBTTL, the D0 and D1 will be occupied.
  • SPI support:
    • In the module, it is marked with D13(SCK),D12(MISO),D11(MOSI),D10(SS).
  • I2C support:
    • In the module, it is marked with SDA(A4),SCL(A5)。
  • External interruption support:
    • In the module, it is marked with D2(interrupt0) and D3(interrupt1).
    • For more information, please refer to:attachInterrupt() function.
  • Support ISP download function.
  • Support AREF.


  • Pin Description:
Pin Original Pin Name Map Pin Name Digital Pin Analog Pin interrupt PWM Serial SPI I2C Power
1 VCC +5V +5V
2 VCC +3V3 +3.3V
3 (AIN1)PD7 D7 D7
4 (ICP)PB0 D8 D8
5 (OC1A)PB1 D9 D9 yes
6 (OC1B/SS)PB2 D10 D10 yes SS
7 (OC2A/MOSI)PB3 D11 D11 yes MOSI
8 (MISO)PB4 D12 D12 MISO
9 (SCK)PB5 D13 D13 SCK
10 AREF AREF
11 (ADC0)PC0 A0 D14 A0
12 (ADC1)PC1 A1 D15 A1
13 (ADC2)PC2 A2 D16 A2
14 (ADC3)PC3 A3 D17 A3
15 (ADC4/SDA)PC4 SDA D18 A4 SDA
16 (ADC5/SCL)PC5 SCL D19 A5 SCL
17 (ADC6) A6 D20(only input) A6
18 (ADC7) A7 D21(only input) A7
19 (RXD)PD0 D0 D0 0(RX)
20 (TXD)PD1 D1 D1 0(TX)
21 (INT0)PD2 D2 D2 0
22 (OC2B/INT1)PD3 D3 D3 1 yes
23 (XCK/T0)PD4 D4 D4
24 (OC0B/T1)PD5 D5 D5 yes
25 (OC0A/AIN0)PD6 D6 D6 yes
26 RESET RST
27 GND GND GND


  • Microduino-Core Pinout
Microduino-Core-Pinout
Microduino-Core-Pinout
Microduino-Core-Pinout
Microduino-Core-Pinout

Documents

Development

Microduino Getting start

  • Burn Microduino BootLoader
    • Bootloader burning is necessary if designers want to update Microduino-Core/Core+ firmware by themselves, designers can leaverage Arduino Uno or another burned Microduino-Core/Core+ to make a new one.
    • Microduino bootloader workshop: 【Burn Bootloader to Microduino-Core/Core+ with an Arduino】.
    • Bootloader is specified for different Microduino-Core/Core+ configurations, correct one must be selected during burning.
    • Initial bootloader is designed for ATmegaX8 series optiboot, which occupies only 512 bytes flash.
  • How to download program to Microduino through Arduino:Download program to Microduino through Arduino

Applications

  • room-Microduino
  • obdii-Microduino
  • pilot-Microduino
  • green-Microduino
  • music-Microduino

FAQ

  • Q:How can I tell the voltage of core--it is 3.3V or 5V?
    • A:You can refer to the resisitor. If the R1 is soldered, it is the core of 3.3V. Or if the R2 is soldered, then it is the core of 5V.
  • Q:Can I charge the 8M Core with the power supply of 5V?
    • A:Yes

Buy

History

  • 2012/12/16: Published Microduino-Core patch for Arduino IDE
  • 2012/11/18: Optimized the first formal release, finalized Miroduino-Core configuration
  • 2012/11/06: Beta version.

Pictures

Microduino-core Front


Microduino-core Back


Microduino-core 3D model


Microduino-core Upin27 model