Development board base on Atmega2560 with Arduino bootloader, extra 86 I/O, logic level 3.3V or 5V, USB-UART converter CH340C
The highly affordable STM32 Black Pill Development boards allow anyone to try out new ideas and to quickly create prototypes with STM32F103 core ARM Cortex-M3.
The function of STM32 Black Pill boards can easily be extended with a large number of modules and sensors.
Software STM
A comprehensive STM32 software HAL library together with various software examples are can use with the STM32 Black Pill Development boards, and seamlessly work with a wide range of development environments including IAR EWARM, Keil MDK-ARM, embed and GCC/LLVM-based IDEs. For programming of STM32 Black Pill need to use an ST-Link debugger/programmer.
Software for Arduino IDE
If board already have the STM32Duino bootloader, can programming with Arduino IDE, via USB connection to PC.
Programming with Arduino IDE the board is easy — the community had done a lot of work to create a support package for it. You do need a recent version of the Arduino IDE.
Steps:
Example how the path should look like: C:\Users\<user>\Documents\Arduino\hardware\Arduino_STM32
Pinout and interface
With 32 GPIO – 15 PWM pins, 10 analog inputs, 3 UARTs (hardware serial ports), 2 I2C and 2 SPI interface, and a larger memory space 64/128/256KB for your code.
Dimension
Microcontroller | ATmega2560 |
USB-TTL converter | CH340C |
Power Out | 5V-800mA, 3.3V-800mA |
Power IN USB. | USB 5V |
Power IN. VIN |
VIN 7~9V |
Power Consumption | 220mA |
Logic Level | 5V/3.3V |
USB | Micro USB |
Clock Frequency | 16MHz |
Operating Supply Voltage | 5V/3.3V |
Digital I/O | 69 |
Analog I/O | 17 |
Memory Size | 256kb |
Data RAM Type/Size | 8Kb |
Data ROM Type/Size | 4Kb |
Interface Type | ISP, I2C, UART, USB |
Operating temperature | −40С°/+85С° |
Length×Width |
versions: pitch-0.1" - 43×55.2mm pitch-0.05" - 38×53mm |
MCU-PRO Library
Download
This library is the extension of Arduino IDE for MCU-PRO Mega 2560 with additional pins. It includes several pins:
Board Pin |
MCU Port |
MCU #Pin |
D70 |
PJ7 |
79 |
D71 |
PJ6 |
69 |
D72 |
PJ5 |
68 |
D73 |
PJ4 |
67 |
D74 |
PJ3 |
66 |
D75 |
PJ2 |
65 |
D76 |
PD6 |
49 |
D77 |
PD5 |
48 |
D78 |
PD4 |
47 |
D79 |
PG4 |
29 |
D80 |
PG3 |
28 |
D81 |
PH7 |
27 |
D82 |
PH2 |
14 |
D83 |
PE7 |
9 |
D84 |
PE6 |
8 |
D85 |
PE2 |
4 |
Note: D85 have addition function for Analog IN
For successful programming MCU-PRO in “Arduino IDE”
##############################################################
mcupro.name=RobotDyn MCU-PRO
mcupro.vid.0=0x2341 mcupro.pid.0=0x0010 mcupro.vid.1=0x2341 mcupro.pid.1=0x0042 mcupro.vid.2=0x2A03 mcupro.pid.2=0x0010 mcupro.vid.3=0x2A03 mcupro.pid.3=0x0042 mcupro.vid.4=0x2341 mcupro.pid.4=0x0210 mcupro.vid.5=0x2341 mcupro.pid.5=0x0242
mcupro.upload.tool=avrdude mcupro.upload.maximum_data_size=8192
mcupro.bootloader.tool=avrdude mcupro.bootloader.low_fuses=0xFF mcupro.bootloader.unlock_bits=0x3F mcupro.bootloader.lock_bits=0x0F
mcupro.build.f_cpu=16000000L mcupro.build.core=arduino mcupro.build.variant=mcu_pro # default board may be overridden by the cpu menu mcupro.build.board=AVR_MEGA2560
## RobotDyn Mega CPU w/ ATmega2560 ## ------------------------- mcupro.menu.cpu.atmega2560=ATmega2560
mcupro.menu.cpu.atmega2560.upload.protocol=wiring mcupro.menu.cpu.atmega2560.upload.maximum_size=253952 mcupro.menu.cpu.atmega2560.upload.speed=115200
mcupro.menu.cpu.atmega2560.bootloader.high_fuses=0xD8 mcupro.menu.cpu.atmega2560.bootloader.extended_fuses=0xFD mcupro.menu.cpu.atmega2560.bootloader.file=stk500v2/stk500boot_v2_mega2560.hex
mcupro.menu.cpu.atmega2560.build.mcu=atmega2560 mcupro.menu.cpu.atmega2560.build.board=AVR_MEGA2560
|
For testing all MCU-PRO board pins
All the pins will serially raise its state to HIGH and LOW.