KEYESTUDIO KE-0011

KEYESTUDIO Leonardo R3 Microcontroller Development Board User Manual

Model: KE-0011

1. Introducció

The KEYESTUDIO Leonardo R3 is a microcontroller development board designed for various electronic projects. It is based on the ATmega32u4 microcontroller, offering integrated USB communication capabilities.

This board provides a robust platform for learning and developing embedded systems, compatible with the Arduino IDE. Its design allows it to function as a Human Interface Device (HID) such as a mouse or keyboard when connected to a computer.

KEYESTUDIO Leonardo R3 Microcontroller Development Board with USB Cable
Figure 1: KEYESTUDIO Leonardo R3 Microcontroller Development Board and included USB cable.

2. Característiques

  • Microcontrolador: ATmega32u4
  • Vol. Operatiutage: 5V
  • Entrada Voltage (recommended): 7-12V
  • Pins d'E/S digital: 20 (7 of which can be used as PWM outputs)
  • Analog Input Pins: 12
  • Velocitat del rellotge: Oscil·lador de cristall de 16 MHz
  • Connectivitat USB: Micro USB connection for programming and power
  • Característica especial: Built-in USB communication allows the board to act as a mouse or keyboard to a connected computer.
  • Certificacions: FCC and CE certified, ensuring environmental friendliness and quality.

3. Contingut del paquet

The package for the KEYESTUDIO Leonardo R3 Microcontroller Development Board typically includes:

  • 1 x KEYESTUDIO Leonardo R3 Microcontroller Development Board
  • 1 x cable USB

4. Especificacions

EspecificacióValor
MicrocontroladorATmega32u4
Vol. Operatiutage5V
Entrada Voltage (recommended)7-12V
Pins I / O digitals20 (7 PWM outputs)
Pins d'entrada analògics12
Corrent continu per pin d'E / S40 mA
Corrent continu per pin de 3.3 V.50 mA
Memòria Flash32 KB (ATmega32u4) of which 4 KB used by bootloader
SRAM2.5 KB (ATmega32u4)
EEPROM1 KB (ATmega32u4)
Velocitat del rellotge16 MHz
Dimensions (LxWxH)2.7 x 2.09 x 0.17 polzades
Pes de l'article2.08 unces
Número de modelKE-0011
Labeled diagram of KEYESTUDIO Leonardo R3 board components
Figure 2: Detailed component layout and pin functions of the KEYESTUDIO Leonardo R3 board.

5. Instruccions de configuració

5.1 Connecting the Board

  1. Connect the provided USB cable to the micro USB port on the KEYESTUDIO Leonardo R3 board.
  2. Plug the other end of the USB cable into an available USB port on your computer. The board will power on, and the 'ON' LED indicator should illuminate.

5.2 Installing the Arduino IDE

To program the Leonardo R3 board, you will need the Arduino Integrated Development Environment (IDE). If you do not have it installed, download the latest version from the official Arduino weblloc (www.arduino.cc/en/software).

5.3 Selecting the Correct Board in Arduino IDE

It is crucial to select the correct board type in the Arduino IDE for successful compilation and program transfer.

  1. Obriu l'IDE d'Arduino.
  2. Navega a Eines > Junta > Arduino AVR Boards.
  3. Seleccioneu Arduino Leonardo de la llista.
Screenshot of Arduino IDE with 'Arduino Leonardo' board selected
Figure 3: Selecting 'Arduino Leonardo' in the Arduino IDE Tools menu.

5.4 Powering the Board

The board can be powered via the USB connection from your computer. Alternatively, it can be powered by an external AC-to-DC adapter or battery connected to the power jack (DC 7-12V).

6. Instruccions de funcionament

6.1 Programació bàsica

Once the board is connected and configured in the Arduino IDE, you can write and upload sketches (programs) to the microcontroller. Refer to the extensive documentation and examples available on the Arduino website for programming guidance.

6.2 Digital and Analog I/O

The Leonardo R3 provides 20 digital input/output pins and 12 analog input pins. These can be used to interface with various sensors, actuators, and other electronic components. Seven of the digital pins support Pulse Width Modulation (PWM) for controlling analog-like outputs.

Video 1: A brief demonstration of the KEYESTUDIO Leonardo R3 board in operation, controlling multiple LEDs on a breadboard.

6.3 Human Interface Device (HID) Functionality

Un avantatge clautage of the Leonardo R3 is its ability to emulate a USB keyboard or mouse. This allows for direct interaction with a computer, enabling projects such as custom game controllers, macro keypads, or specialized input devices without additional drivers.

7. Manteniment

To ensure the longevity and proper functioning of your KEYESTUDIO Leonardo R3 board, follow these maintenance guidelines:

  • Manejar amb cura: Avoid dropping the board or subjecting it to physical stress.
  • Descàrrega estàtica: Microcontrollers are sensitive to electrostatic discharge. Handle the board by its edges and avoid touching the pins or components directly, especially in dry environments.
  • Neteja: Keep the board free from dust, dirt, and moisture. Use a soft, dry brush or compressed air for cleaning.
  • Emmagatzematge: Store the board in an anti-static bag or a protective enclosure when not in use.
  • Font d'alimentació: Always use a stable power supply within the recommended voltage range (7-12V for external power, 5V via USB).

8. Solució De Problemes

If you encounter issues with your KEYESTUDIO Leonardo R3 board, consider the following troubleshooting steps:

  • Placa no reconeguda per l'ordinador:
    • Assegureu-vos que el cable USB estigui connectat correctament tant a la placa com a l'ordinador.
    • Prova un port USB o un cable USB diferent.
    • Verify that the correct board type (Arduino Leonardo) is selected in the Arduino IDE (refer to Section 5.3).
    • Check your computer's Device Manager (Windows) or System Information (macOS) to see if the board is listed under Ports (COM & LPT) or USB devices.
  • Program Upload Fails:
    • Confirm that 'Arduino Leonardo' is selected under Eines > Junta.
    • Ensure the correct serial port is selected under Eines > Port. The Leonardo board's port may appear and disappear briefly during reset/upload.
    • Check for any syntax errors in your code.
    • Disconnect any external components that might interfere with the USB communication during upload.
  • La placa no s'encén:
    • If using USB power, ensure the USB cable is functional and the computer's USB port is providing power.
    • If using external power, verify the power adapter or battery is providing the correct voltage (7-12V DC) and polarity.
    • Check for any visible damage to the board or power components.

9. Garantia i Suport

For specific warranty information, please refer to the product packaging or contact KEYESTUDIO customer support directly. General support and resources for Arduino-compatible boards are widely available online through the Arduino community forums and documentation.

For technical assistance or inquiries regarding your KEYESTUDIO Leonardo R3 board, please visit the official KEYESTUDIO weblloc web o contacteu amb els seus canals d'assistència.

Documents relacionats - KE-0011

Preview Keyestudio NANO CH340: Development Board Guide and Arduino IDE Setup
A comprehensive guide to the Keyestudio NANO CH340 development board, covering technical specifications, pinouts, and a step-by-step tutorial for setting up the Arduino IDE and uploading code.
Preview Placa de desenvolupament Keyestudio ESP32: característiques, especificacions i guia d'ús
Explora la placa de desenvolupament Keyestudio ESP32, un microcontrolador versàtil amb WiFi i Bluetooth compatible amb Arduino. Aprèn sobre les seves característiques, especificacions, pinout i codi de prova per a projectes d'IoT i llars intel·ligents.
Preview Keyestudio 4DOF Robot Arm Kit for Arduino DIY
Discover the Keyestudio 4DOF Robot Arm Kit for Arduino DIY. This guide provides step-by-step assembly, features, and control projects using Arduino, joysticks, Bluetooth, and PS2 controllers, ideal for STEM education and hands-on learning.
Preview KS0428 Keyestudio Mini Tank Robot V2 – Návod a Projekty
Komplexní uživatelský manuál a průvodce projekty pro KS0428 Keyestudio Mini Tank Robot V2. Obsahuje montážní návody, nastavení softwaru a vzdělávací projekty pro Arduino, ideální pro výuku elektroniky a programování.
Preview Keyestudio KS0203 Steam Sensor - Product Overview i Especificacions
Learn about the Keyestudio KS0203 Steam Sensor, an analog sensor for detecting humidity, suitable for rainwater detection and liquid level switching. Includes specifications like supply voltage and interface.
Preview Keyestudio KS0309 Thin-film Pressure Sensor - Product Overview
Discover the Keyestudio KS0309 Thin-film Pressure Sensor, an eco-friendly and waterproof component featuring flexible nano pressure-sensitive material. This analog sensor converts detected pressure into an electrical signal, ideal for various electronic projects. Specifications include a supply voltage of 3.3-5V and a current draw of >5mA.