Consica Labs

Consica Labs
Chapter 2

Input Devices

How you talk to a computer

Introduction

Imagine you are sitting at a computer, but there is no keyboard, no mouse, no touchscreen, and no microphone. How would you tell the computer what to do? You could stare at it and hope it reads your mind — but computers cannot do that (yet). You need a way to give it commands. That is what input devices are for.

An input device is any piece of hardware that sends data to a computer. Every time you type a letter, click a button, touch a screen, speak a word, or move your body in front of a camera, you are using an input device to communicate with the machine.

In this chapter, we will explore the most common input devices, understand how they work, and see how they turn your actions into data that a computer can understand.

How It Works

An input device is like a messenger. You do something — press a key, move your finger, say a word — and the messenger runs to the computer and tells it what you did. The computer listens, thinks about what the message means, and then decides what to do next.

Household Object Analogy

Think of a computer like a chef in a kitchen. You are the customer ordering food. When you speak your order (input), the waiter (the input device) carries your words to the chef (the CPU). Without the waiter, the chef would never know what to cook. Without input devices, a computer would never know what you want it to do.

Common Input Devices

There are many types of input devices, and each one captures a different kind of action:

Keyboard

The most common input device. Each key is a switch that completes a circuit when pressed. The keyboard sends a unique signal (called a scan code) for every key. The computer's operating system translates that scan code into a letter, number, or command.

Mouse

A pointing device that detects movement across a surface. Inside the mouse, a sensor tracks tiny changes in position and sends those coordinates to the computer. Buttons and the scroll wheel provide additional input signals.

Touchscreen

A display that can detect the touch of a finger or stylus. There are two main types: resistive (pressure-based) and capacitive (electricity-based). Capacitive screens, used in most smartphones, detect changes in an electrical field when your finger touches the glass.

Microphone

A device that converts sound waves into electrical signals. A thin membrane inside the microphone vibrates when hit by sound waves. These vibrations are converted into a digital signal that the computer can process — used for voice commands, calls, and recordings.

Webcam / Camera

A camera that captures video or still images. Light passes through a lens and hits an image sensor, which converts light intensity into digital values. Millions of tiny sensors (pixels) work together to form a complete picture.

Scanner

A device that digitises physical documents or images. A bright light moves across the document, and sensors measure how much light reflects off each tiny spot. Dark areas reflect less light; bright areas reflect more. The computer uses these measurements to recreate the image.

How Input Devices Connect

Input devices connect to a computer through ports or wireless signals. Common connection types include:

USB (Wired)

Universal Serial Bus — a standard port that carries both data and power. Most keyboards, mice, and webcams use USB.

Bluetooth (Wireless)

A short-range radio technology. Devices pair with the computer and communicate wirelessly within about 10 metres.

Wi-Fi (Network)

Some input devices (like network scanners or smart cameras) connect through your local Wi-Fi network rather than directly to a single computer.

Deeper Dive

Every input device converts a physical action into an electrical signal. This process is called transduction. The signal is then digitised — converted into a stream of 1s and 0s — and sent to the computer through an interface like USB or Bluetooth.

The computer's operating system includes device drivers — small programs that know how to communicate with each specific input device. When you plug in a new keyboard, the driver tells the OS how to interpret the signals it sends. This is why most devices "just work" when you plug them in.

Latency is the delay between your action and the computer's response. For typing, latency must be under 10 milliseconds to feel instant. For gaming, high-end mice and keyboards boast latency as low as 1 millisecond so that every click registers immediately.

Key Insight

Without input devices, a computer is just a box that sits there and does nothing. Input devices are the bridge between the physical world and the digital world. Every action you take — a tap, a click, a spoken word — becomes data the computer can understand.

Advanced

At a deeper level, input devices involves rules and patterns that engineers use worldwide. Input Device follows standards so different brands and devices can still work together. That is why your phone, school laptop, and game console can all connect to the same network or use the same apps.

Scan Code does not happen in a straight line. Systems often use backup paths, error checking, and retries so information arrives correctly. When something fails, smart Capacitive Touchscreen helps the system recover instead of shutting down completely.

Scientists and engineers keep improving these systems every year — making them faster, safer, and more energy-efficient. The ideas you learn in this chapter are the same building blocks used in real data centers, robots, apps, and websites around the world.

Vocabulary Table

Term Definition
Input DeviceAny hardware that sends data to a computer
Scan CodeA unique number sent by each key on a keyboard when pressed or released
Capacitive TouchscreenA screen that detects touch by measuring changes in an electrical field
Resistive TouchscreenA screen that detects touch by sensing pressure on its surface
TransductionThe conversion of a physical action (like sound or pressure) into an electrical signal
Device DriverA program that lets the operating system communicate with a hardware device
USBUniversal Serial Bus — a standard wired connection for data and power
BluetoothA short-range wireless technology for connecting devices
LatencyThe time delay between an action and the computer's response
DigitiseTo convert an analogue signal (like sound or light) into digital data (1s and 0s)

Fun Facts

The first computer mouse was invented in 1964 by Douglas Engelbart. It was made of wood and had only one button. The name "mouse" came from the cord that looked like a tail.

QWERTY keyboard layout was designed in the 1870s to prevent typewriter keys from jamming. The letters were placed far apart so that typists would slow down just enough.

The first touchscreen was invented in 1965 by E.A. Johnson, but it took decades before smartphones made touchscreens mainstream. The first iPhone (2007) changed everything.

The word "hello" used in 44 milliseconds of recorded audio is enough data for a computer to create a complete voice profile of the speaker. Modern microphones are incredibly sensitive.

There is a keyboard key called "Scroll Lock" that almost nobody uses today. It was designed for the early days of computing to scroll text in a terminal window.

Interactive Diagram

Launch the interactive diagram to see this in action.

Open Interactive Diagram

The interactive diagram for this chapter demonstrates Input Devices. It shows various input devices (keyboard, mouse, microphone, scanner) connected to a computer, showing how data enters the system.

What to explore:

  • click each input device to see what type of data it generates; watch the data travel from the device into the computer
  • exploring concepts visually helps understanding

Knowledge Check

1. What does an input device do?

Answer: It sends data to the computer

2. Which type of touchscreen is most commonly used in modern smartphones?

Answer: Capacitive

3. What is a device driver?

Answer: A program that helps the OS communicate with hardware