Beetle SKU:DFR0282

From Robot Wiki
Jump to: navigation, search
Beetle

Overview

The “Beetle” is a minimalized version of Arduino Leonardo, and has same powerful functionalities as Leonardo. It is ideal for DIY 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.


Summary

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
Physical Dimension 20mm*22cm*3.8mm


Pinout Diagram

Beetle front look
Beetle back look
  • IO Port Mapping in correspondence with Arduino Port:
Silkscreen Digital Pin PWM Channel Analog Channel UART I2C
RX 0 Serial1
TX 1
SDA 2 SDA
SCL 3 3 SCL
9 9 9 A9
10 10 10 A10
11 11 11
A0 A0 A0
A1 A1 A1
A2 A2 A2
  • Power interface description:
Silkscreen Description
+ VCC
- GND


Power

Power supply via micro USB or power interface.

Programming

Beetle is fully compatible with Arduino Leonardo,see link for more details in connection:http://arduino.cc/en/Guide/Windows#toc4, the only difference is to select "Arduino Leonardo "("tools 〉 board 〉 Arduino Leonardo" in Arduino IDE).

Example Code

All codes for Arduino Leonardo can apply to Beetle.


Precautions

  1. This product uses DC power supply with a working voltage of 5V. 6V will damage the product by overvoltage. This product works reliably between 4.5V-5V; it may work under 3V-4.5V, but the reliability is not guaranteed.
  2. For large load applications (such as motor control), you need to connect the loaded VCC and GND directly with power supply, and parallel with capacitor over 10uF, in order to prevent restart or malfunction caused by large load transient.
  3. In Arduino environment, Beetle has the same features as Leonardo with multiple serial ports, Serial used for USB virtual port; Serial1 used for RX/TX port.

Chip Recovery

Sometimes Leonardo Uart port will be locked by the sketch. It will lost its COM Port in Device Manager.There is a method to wake it up.

Step1: There are 6 dots on the back of the module. This is ICSP interface. Please plug beetle to your usb cable. And watch your device manager. Using a cable to touch Pin 5 and Pin 6, then Beetle will reset. and Device manager should appear a COM port named "Arduino Leonardo bootloader (COM x)". After a few seconds, it will disappear. If you see this information you could go Step 2.

Step2: Open your arduino IDE, and open any sketch like "Blink", select the board to "Leonardo". There is no COM port now. Just click "Upload". After IDE has completed verifying, touch the Pin 5 and Pin 6 immediately. You need try several times, because the correct time is not easy to be caught.