There are a lot of small microcontroller board out nowadays in market, some of them offering very small development board size and some has extra capabilities like on board wi-fi and Bluetooth. Basically a development board is used for beginners to train against simple hardware. The software part remains the same but the one thing is common in these small development boards, they are using lesser number of pins. The microcontroller part remains the same size so in order to get a smaller version they decreased the number of I/O pins. So I will never recommend to buy these board if you are a beginner and it’s your first microcontroller.
Most of the embedded C programmer still use the basic 8085, 8051 from Intel corporation but the better options like Arduino and ESP are also available in market at the same price and offers a lot more. So I ordered a small Arduino Leonardo board from DF robot to get familiar with its capabilities. The small microcontroller boards are very useful when you are building a project in small form factor and to check the software stuff is running good or not. They are small, has on chip programmer, lightweight and easy to carry because there is no headers and you can also solder them directly on a PCB.
This article is brought to you by PCBWAY – China’s leading PCB manufacturer. Get your 2-layer 10-piece PCB boards just in $5.
Specifications of beetle Leonardo:
The “Beetle” is a minimalized version of Arduino Leonardo, and has same powerful functionalities as Leonardo. It is ideal for DIY Arduino projects, wearable projects and etc. Its key features are:
- 20mm X 22mm compact size
- Direct downloading and testing via Micro USB
- V-shaped large-size gold-plated IO ports make it convenient for the user to twist wires upon, and can also be directly sewn on clothes with conductive thread.
- Two honeycomb shape gold-plated power interface
- Magic light blue soft BLINK indicator
Beetle is fully compatible with Arduino, please select “Arduino Leonardo” when using.
Pins configurations and board info:
- Microcontroller: ATmega32u4
- Clock Speed: 16 MHz
- Operating Voltage: 5V DC
- Digital I/O Pins: 10
- PWM Channels: 4
- Analog Input Channels:5
- UART: 1
- I2C: 1
- Micro USB: 1
- Power interfaces: 2
- Flash Memory: 32 KB of which 4KB used by bootloader
- SRAM: 2.5 KB
- EEPROM: 1 KB
Programmer and microcontroller:
The microcontroller is same as Arduino’s 32u4 which has a 32kb of internal coding memory in which 4Kb is reserved for bootloader and internal programmer. It has 10 digital input outputs out of which Analog pins can be declared using code. Onboard led is connected to digital pin 13. I uploaded the same blink code in 32u4 and 328P and the results of both microcontrollers is here.
For Arduino Uno (328p):
For Leonardo(32u4):
Programming the beetle:
After connecting the USB check the COM port in device manager section of windows control panel. It will be showing the Communication port and the programmer as Leonardo. Open the Arduino IDE select the Arduino Leonardo board from tools and then choose the right COM port and upload the code.
Why Beetle Leonardo is useful:
Beetle is very useful when making a small project with Arduino. In most of the project only 6-8 pins are used and the beetle has 10 GPIOs. You can find the I2C and Serial communication ports on the bottom layer. Other than this beetle board has high compatibility due to internal programmer and microUSB port. That bootloader will take some space around 4KB which is shown above.
My own made Arduino Nano:
I made an Arduino nano board which is not only pin compatible but also do the same job as original one. This version of Arduino nano has type C port and CH340G programmer. I used PCBWAY prototyping service to build this microcontroller.
You can find the Gerber files here and the circuit info is given in the separate dedicated tutorial here. Get all the soldering and assembly instructions from that tutorial. PCBWAY deals in PCB prototyping,...
Read more »