Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Anything Can Be a Keyboard if You're Evil Enough?

· 6 min read · Home Tech

In this article
  1. Where the Phrase Comes From
  2. The Technical Principle: Capacitive Sensing
  3. Real-World Projects and Examples
  4. How to Build One Yourself
  5. Limitations and Common Problems
  6. Accessibility and Assistive Technology
  7. Safety and Electrical Considerations
  8. Frequently Asked Questions

Yes, technically, almost any object can be turned into a keyboard input device, but the “evil” part is a joke from internet culture, not a technical requirement. The real principle is that any conductive or trackable surface can be mapped to keystrokes using the right sensors and software, and this has legitimate uses in accessibility, art, and hobbyist electronics.

Where the Phrase Comes From

The saying “anything can be a keyboard if you’re evil enough” is a meme that spread on platforms like Reddit and Twitter. It’s a humorous twist on the engineering idea that input devices are just sensors detecting physical action. The “evil” part implies a mad-scientist attitude, but in reality, the people building these projects are usually makers, accessibility advocates, or researchers.

The phrase gained popularity alongside videos of people typing on bananas, Jell-O, or even their own arms. These demonstrations use the fact that human skin and many organic materials conduct small electrical signals. A microcontroller can detect those signals and translate them into key presses.

The Technical Principle: Capacitive Sensing

Most “anything as a keyboard” projects rely on capacitive sensing. A microcontroller like an Arduino or a dedicated touch board measures changes in capacitance—the ability to store an electrical charge—when a finger touches or comes near a conductive object.

  • Conductive materials: Fruits, vegetables, water, metal foil, and even some plants conduct electricity well enough to be detected.
  • Non-conductive materials: Plastic, wood, and dry paper do not work directly, but they can be wrapped in conductive tape or painted with conductive ink.
  • The human body: Your skin is conductive, so touching a wire connected to a sensor completes a circuit.

When you touch the object, the capacitance changes. The microcontroller reads that change and can be programmed to send a specific keyboard signal to a computer via USB or Bluetooth.

Real-World Projects and Examples

This isn’t just a meme—people have built functional keyboards from surprising objects. The most famous example is the Makey Makey board, a commercial kit designed to turn everyday objects into touchpads. It comes with alligator clips and a small circuit board that emulates a USB keyboard.

Other examples include:

  • Banana piano: Each banana is wired to a different key, and touching it plays a note.
  • Staircase game controller: Aluminum foil strips on stairs act as arrow keys for a jumping game.
  • Water level keyboard: A container of water where touching the surface triggers a key.
  • Plant-based switches: Living plants with conductive stems can be used as touch points.

These projects are common in classrooms to teach electronics and programming. They are also used in art installations where visitors interact with unusual surfaces.

How to Build One Yourself

Building a simple “anything” keyboard is a beginner-friendly electronics project. You need a few basic parts and some software.

  1. Get a microcontroller: An Arduino Leonardo or a Makey Makey board works because they can act as a USB HID (Human Interface Device), meaning the computer sees them as a keyboard.
  2. Connect conductive objects: Attach alligator clips or jumper wires from the board’s input pins to your chosen objects.
  3. Ground yourself: You need a ground connection—often a wire you hold or a metal bracelet—so the board can detect your touch.
  4. Program the mapping: In the Arduino IDE, you can write code that sends a key press when a pin reads a touch. The Makey Makey requires no coding for basic arrow keys and spacebar.
  5. Test and adjust: Some materials are less conductive, so you may need to touch them more firmly or use a larger surface area.

No special “evil” skills are needed. The main challenge is making reliable contact and avoiding false triggers from environmental noise.

Limitations and Common Problems

While the concept is fun, there are practical limits. Not every object works equally well, and the setup can be finicky.

  • Moisture and humidity: Sweaty fingers or damp air can cause false triggers.
  • Surface area: Tiny objects are hard to hit accurately; large objects may trigger multiple inputs if wired close together.
  • Latency: Some capacitive sensors have noticeable delay, making fast typing or gaming difficult.
  • Durability: Fruits and vegetables rot, and water spills can short-circuit the board.

For serious typing or gaming, a traditional mechanical keyboard is far superior. The “anything” approach is best for short demonstrations, art, or accessibility experiments where speed and accuracy are not critical.

Accessibility and Assistive Technology

Beyond the meme, this technology has genuine value for people with limited mobility. Custom capacitive sensors can be built into large, easy-to-press surfaces, or attached to objects a person can already manipulate.

For example, a person with limited hand dexterity might use a large metal plate as a single key, or a set of foam-covered wires as switches. Occupational therapists and assistive technology specialists sometimes use these methods to create personalized input devices that are cheaper than commercial alternatives.

Software like Keeble or Switch Control on mobile devices also uses similar principles, allowing any touch or switch action to be mapped to on-screen keys.

Safety and Electrical Considerations

These projects use very low voltage (typically 5V from a USB port) and are safe to touch. However, there are a few precautions:

  • Never connect to mains power: The microcontroller and sensors are not isolated for high voltage.
  • Avoid wet objects near the board: Water can create unintended connections and damage components.
  • Use insulated wires: Exposed wires can short against each other.
  • Supervise children: Small parts and alligator clips are choking hazards.

If you stick to USB-powered boards and common household objects, the risk is minimal. Do not attempt to use this technique on medical devices or anything connected to the power grid.

Frequently Asked Questions

Can I use a banana as a keyboard for my computer?

Yes, but only as a single key or a few keys. You need a capacitive touch board like a Makey Makey, connect the banana to an input pin, and ground yourself. Then touching the banana sends a key press. It works, but it’s not practical for typing more than a few characters.

Do I need to be “evil” to make this work?

No, “evil” is just internet slang from the meme. The technique is based on standard capacitive sensing and is used in classrooms, art, and accessibility projects. Anyone with basic electronics skills can do it.

What materials work best for a DIY keyboard?

Good conductors like aluminum foil, copper tape, and metal utensils work best. Fruits with high water content, like bananas and apples, also work well. Dry wood, plastic, and paper do not conduct electricity and need a conductive coating.

Is this safe to touch?

Yes, when built with a USB-powered microcontroller, the voltage is only about 5 volts, which is safe. The main risks are electrical shorts from water and physical hazards from sharp objects. Keep the board dry and use insulated connections.

Can I use this for gaming or fast typing?

Not effectively. Capacitive sensors have latency and are prone to accidental touches. For fast, accurate input, a standard keyboard or a dedicated gaming keypad is much better. This technique is for experimentation, not competitive play.

What is the difference between a Makey Makey and an Arduino?

A Makey Makey is a ready-made board that works as a keyboard without programming—it has preset arrow keys and spacebar. An Arduino is a general-purpose microcontroller that requires coding to act as a keyboard, but offers unlimited customization. The Arduino Leonardo or Micro models support USB HID directly.