DFR0282 Datasheet by DFRobot

1 Introduction ; SQecification g PinOut 5 Tutorial fl Power fl Programming fl Examgle Code § Trouble shooting
BeetleSKU:DFR0282
FromRobotWiki
Beetle
Contents
1Introduction
2Specification
3PinOut
4Tutorial
o
4.1Power
o
4.2Programming
o
4.3ExampleCode
5Troubleshooting
Introduction
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
20mmX22mmcompactsize
DirectdownloadingandtestingviaMicroUSB
VshapedlargesizegoldplatedIOportsmakeitconvenientfortheusertotwistwiresupon,
andcanalsobedirectlysewnonclotheswithconductivethread.
Twohoneycombshapegoldplatedpowerinterface
MagiclightbluesoftBLINKindicator
0 e :D 05 mm xh a xx we. a mu) u 5
Beetle is fully compatible with Arduino,please select “Arduino Leonardo” when using.
Specification
Microcontroller:ATmega32u4
ClockSpeed:16MHz
OperatingVoltage:5VDC
DigitalI/OPins:10
PWMChannels:4
AnalogInputChannels:5
UART:1
I2C:1
|MicroUSB:1
Powerinterfaces:2
FlashMemory:32KBofwhich4KBusedbybootloader
SRAM:2.5KB
EEPROM:1KB
PhysicalDimension:20mm*22mm*3.8mm
PinOut
Beetlefrontlook
Beetlebacklook
IOPortMappingincorrespondencewithArduinoPort:
Silkscreen DigitalPin PWMChannel AnalogChannel UART I2C
RX 0 
Serial1
TX1  
SDA2  
SDA
SCL 3 3 SCL
9 9 9 A9
1010 10 A10
1111 11 
A0A0  A0
A1A1  A1
A2A2  A2
Powerinterfacedescription:
Silkscreen Description
+ VCC
‐ GND
Tutorial
Power
Power supply via micro USB or power interface.
Programming
Beetle is fully compatible with Arduino Leonardosee 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.
Note:
#This product uses DC power supply with a working voltage of 5V. 6V will dama
ge 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.
#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 lar
ge load transient.
#In Arduino environment, Beetle has the same features as Leonardo with multip
le serial ports, Serial used for USB virtual port; Serial1
used for RX/TX port.
Troubleshooting
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.
Use has been normal, after loading a new program, the computer can not find the virtual serial
Beetle?
QZO Emmy. $02 xum uu> 8:2 .ou‘
After eliminating the cable connection problems, then this question is that t
he new program is loaded affect the USB communication.
Beetle / Leonardo USB is implemented by the appropriate software (Arduino IDE
implemented),it and the user program are on the ATMEGA32U4,
If the user program affects the USB-related operations will lead to see the U
SB virtual serial port. At this time we need to reload the
available user program(such as blink).If the Beetle / Leonardo has lost cont
act with computerit can't automatically reset,it needs
to be loaded manually reset modeBeetle resets through a short jumper RESET
and GND of ICSP interface to achieve.
BeetleICSPinterface
More question and cool idea,visit DFRobot Forum
Powered By DFRobot © 2008-2017