Skip to Content

Arduino Leonardo Genuine (Original)

The Arduino Leonardo, powered by the "ATmega32U4" microcontroller, boasts a built-in USB interface for keyboard or mouse emulation when linked to a computer. Its 20 digital I/O pins, encompassing 7 PWM-enabled and 12 analog input pins, elevate its capabilities beyond the Arduino Uno, enabling fine-tuned signal control and measurement in a diverse range of electronic projects. Additionally, its user-friendly design makes it suitable for both beginners and experienced enthusiasts

Package Includes:

  • 1 x Arduino Leonardo

120.00 AED 120.00 AED Tax Included
120.00 AED Tax Included

Not Available For Sale

This combination does not exist.

Original Arduino Boards

Terms and Conditions
30-day money-back guarantee
Shipping: 2-3 Business Days

 

Features:

  • Microcontroller Core: Powered by the robust "ATmega32U4" microcontroller unit (MCU), offering a powerful foundation for diverse applications.
  • Built-in USB Interface: Incorporates a built-in USB interface, allowing the board to seamlessly emulate a keyboard or mouse when connected to a computer, expanding its interaction capabilities.
  • Versatile Functionality: The ability to switch between keyboard and mouse emulation enhances its adaptability, catering to a wide range of user requirements and projects.
  • Digital I/O Pins: Offers a generous 20 digital input/output pins, providing ample connectivity options for interfacing with various external devices and components.
  • PWM-enabled Pins: Includes 7 Pulse Width Modulation (PWM) enabled pins, enabling precise control over output signals' intensity.
  • Analog Input Pins: Incorporates 12 analog input pins, enabling the measurement of continuous analog signals.
  • Enhanced Capabilities: Surpasses the capabilities of its predecessor, the Arduino Uno, making it an attractive choice for projects demanding more advanced features and capabilities.
  • Broad Application Range: Suitable for a diverse range of projects, from robotics and automation to interactive installations and data acquisition systems.
  • User-Friendly Design: Offers a user-friendly platform suitable for both beginners and experienced users.
  • Open-Source Platform: Benefits from the Arduino open-source ecosystem, providing access to a vast community, libraries, and resources.
  • Programming Flexibility: Supports programming via the Arduino IDE, simplifying the development process.
  • Compact Form Factor: Designed with a compact form factor, convenient for embedding in space-constrained projects.
  • Educational Tool: Allows users to learn about microcontrollers, electronics, and programming through hands-on experimentation.
  • Debugging and Testing: Features serial communication through USB for debugging and testing during development.
  • Expandability: Compatible with various shields and modules.

 

Principle of Work:

  1. Program Execution: The "ATmega32U4" MCU stores and executes uploaded programs.
  2. Clock Signal: Synchronizes operations using an oscillator or external crystal.
  3. Input/Output Handling:
    • Digital Pins: Set as input/output, toggle HIGH/LOW.
    • Analog Pins: Reads analog voltage, converts to digital.
  4. PWM Control: MCU outputs modulated signals to PWM pins.
  5. USB Interface:
    • USB Driver: Allows keyboard/mouse emulation.
    • USB Data Transfer: Exchanges data with host computer.
  6. Serial Communication: Through UART (Rx/Tx pins).
  7. Analog-to-Digital Conversion (ADC): Converts analog voltages to digital values.
  8. Memory Management:
    • Flash Memory: Stores program code.
    • SRAM: Temporary data storage.
    • EEPROM: Non-volatile storage.
  9. Interrupt Handling: Responds to external events.
  10. Power Management: Distributes and conserves power.

Pinout of the Module:

Arduino Leonardo Pinout

  • Digital and Analog Pins: Pins 0–13 and A0–A5; logic levels of 0V and 5V; pull-up resistors available.
  • Analog Input and Digital Mode: A0–A11 can function as analog or digital inputs (0–5V).
  • PWM Pins: Pins 3, 5, 6, 9, 10, 11, 13 support 8-bit PWM with analogWrite.
  • SPI: Supported via ICSP connector.
  • UART: Pins 0 (RX), 1 (TX); Serial1 and Serial classes for communication.
  • TWI/I2C: Dedicated pin used with Wire library.
  • LED Indicators:
    • RX/TX: Flash during data transfer.
    • L: PIN 13 LED shows HIGH/LOW.
    • ON: Indicates power.
  • Power Supply Connectors: Micro-USB, external (7–12V), ICSP.
  • Power Pins Overview:
    • VIN: Unregulated input (7–12V).
    • VCC: 5V regulated output.
    • RST: Reset trigger.
    • GND: Ground reference.
    • IOREF: Monitors ATmega32U4 voltage level.

Applications:

  • Custom Input Devices (Keyboards, Mice)
  • Interactive Art Installations
  • Prototypes for Home Automation
  • Educational Tools for Teaching Electronics and Programming
  • Data Acquisition Systems and Sensors
  • Robotics Projects (Mobile Robots, Arms)
  • DIY Gaming Devices and Peripherals
  • Prototyping Wearable Technology
  • Home Security Systems and Remote Monitoring
  • Automotive Hacking and Prototyping
  • Musical Instruments and MIDI Controllers
  • Internet of Things (IoT) Prototypes
  • Experimental Electronics and Circuit Testing
  • Custom Gadgets for Specific Needs

Circuit:

No circuit is needed. This example blinks the onboard LED and prints status to the Serial Monitor.

Getting Started with Your Arduino Leonardo:

Step 1: Install Arduino IDE

Download the IDE from the official Arduino website. No external drivers needed.

Step 2: Connect the Board

Connect via data USB cable (not charge-only). USB powers and communicates with the board.

Step 3: Board Selection

  1. Open "Tools" menu.
  2. Select "Board".
  3. Choose "Arduino Leonardo".

Step 4: Port Selection

  1. Open "Tools" menu again.
  2. Select "Port".
  3. Choose the correct COM port for your board.

Step 5: Upload Your Sketch

  1. Write or paste code in the IDE.
  2. Click "Verify" to check for errors.
  3. Click "Upload" to send code to the board.

Additional Step: Monitor Serial Output

  1. Click the Serial Monitor icon in the top-right corner.
  2. Use it for debugging and data interaction.

Code:


// Define the LED pin
const int ledPin = 13;

void setup() {
  // Initialize the LED pin as an output
  pinMode(ledPin, OUTPUT);

  // Start the Serial communication at 9600 baud
  Serial.begin(9600);
}

void loop() {
  // Turn on the LED
  digitalWrite(ledPin, HIGH);

  // Print LED status to Serial Monitor
  Serial.println("LED is ON");

  // Wait for 1 second
  delay(1000);

  // Turn off the LED
  digitalWrite(ledPin, LOW);

  // Print LED status to Serial Monitor
  Serial.println("LED is OFF");

  // Wait for 1 second
  delay(1000);
}