O'Reilly logo

30 Arduino Projects for the Evil Genius, Second Edition, 2nd Edition by Simon Monk

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

CHAPTER 10USB Projects with the Leonardo

THE ARDUINO LEONARDO DIFFERS from the more conventional Arduino in a number of ways. It is a little cheaper and has a different microcontroller chip. It is the use of this chip that allows the Leonardo to impersonate a USB keyboard, which is the basis for the projects described in this chapter.

Project 31Keyboard Prank

If you are familiar with the 1999 movie, The Matrix—and what Evil Genius isn’t?—you will remember the scene where the hero, Neo, is in his room, and messages start to appear on his computer screen.

This project uses an Arduino Leonardo secretly attached to the USB port of someone’s computer to start sending those messages after a random delay (Figure 10-1).

Figure 10-1 The keyboard prank ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required