Arduino Leonardo

The Arduino Leonardo is a microcontroller board based on the ATmega32u4 (datasheet). It has 20 digital input/output pins (of which 7 can be used as PWM outputs and 12 as analog inputs), a 16 MHz crystal oscillator, a micro USB connection, a power jack, an ICSP header, and a reset button. It contains everything needed to support the microcontroller; simply connect it to a computer with a USB cable or power it with a AC-to-DC adapter or battery to get started. The Leonardo differs from all preceding boards in that the ATmega32u4 has built-in USB communication, eliminating the need for a secondary processor. This allows the Leonardo to appear to a connected computer as a mouse and keyboard, in addition to a virtual (CDC) serial / COM port. It also has other implications for the behavior of the board; these are detailed on the getting started page.

Main Content

A Safe for Valuable Things

“Firstly, I need a safe to put my money in. Chinese New Year is coming. I will get red envelopes from my great-grandma, grandparents, great-uncles, great-aunts, uncles, and aunts. I need a safe to store my money. I can also …

$50 Analog Joystick (HOTAS) With Haptic Feedback for Flight Sim

“The aim is to create a fully functioning USB HOTAS* joystick from low cost electronics parts. I bought Elite Dangerous when it was released for the Mac and realised very quickly I was going to have the floor wiped with …

RFID & Biometric PC Log In/Out Interface

“This project is an all-in-one plug-and-play DIY PC unlock interface, that uses RFID card or fingerprint scan to log in/out your Windows PC. This is a project I made for my microprocessor programming laboratory at my university. The project …

MIDI Adobe Lightroom controller

“An upgraded version of the Mini UNTZtrument by Adafruit Being a commercial photographer I use Lightroom almost daily. I am always trying to save time sitting in front of the computer, especially when working on a lot of different images …

Throttle Quadrant and Trim Wheel

“A modular 3D printed throttle quadrant and trim wheel for use with flight simulators. Having recently upgraded my PC to enable it to run MS FS2020, I was inspired to improve the controls I was using. A keyboard does not …

Arduino Game Controller

“DIY game controller project with a Pro Micro which uses an ATmega32U4 microcontroller for emulating a game controller. SO this post is gonna be about a “DIY Gaming USB Controller” which we have been working on recently at ElectroPunkz Labs …

A Cool Laptop Touchpad Hack for Arduino Projects!

“A while back, when I was tinkering around with a PS/2 touchpad with an Arduino microcontroller, I found out that two of its onboard connections can be used as digital inputs. In this Instructable, let’s learn how we …

IR Control of IKEA FYRTUR Shades

“I finally got my hands on some IKEA FYRTUR motorized shades and wanted to control them using an IR remote. This is a niche application but I thought it might be useful for someone wanting to learn how to use …

Arduino Mastermind Game

“I created this little game as a hobby for my children during the Covid-19 quarantine. I had already seen some versions for two players on the Internet. But I wanted a version in which the player would challenge Arduino itself …

Arduino Minesweeper

“A Fun version of the Minesweeper game, using Arduino Leonardo, 8x8 NeoMatrix Led Array, Button and Joystick Module. Supplies: 1x Arduino Leonardo 1x Neomatrix Led Array 8x8 1x Joystick thumb module 1x Push Button (optional)”