How to Draw and Graph Computer Techonolgy Hardware

Computer Hardware

Computer Hardware

  • Computers accept two main parts: hardware and software
  • Like piano (hardware) and music (software)
  • In this department: hardware

The figurer is an amazingly useful general-purpose technology, to the point that at present cameras, phones, thermostats, and more than are all now little computers. This section will introduce major parts and themes of how reckoner hardware works. "Hardware" refers the physical parts of the calculator, and "software" refers to the code that runs on the computer.

Fries and Transistors

  • Transistor - vital electronic building block
    -Transistors are "solid country" - no moving parts
    -I of the most important inventions in history
    -"Switch" that we tin can plough on/off with an electrical signal
  • Silicon chip - fingernail sized slice of silicon
  • Microscopic transistors are etched onto silicon fries
  • Chips can contain billions of transistors
  • Fries are packaged in plastic, with little metal legs
  • e.g. CPU chips, memory fries, flash chips
  • Silicon (metalloid) vs. Silicone (soft substance on cooking utensils)

Here is a silicon chip inside its plastic package. I pulled this out of the east-waste pile at the Stanford CS building, and then it's probably kind of old. This is a modest chip with just a few "pins" of electric connection. Later nosotros'll see a bigger chip with hundreds of pins.
silicon chip in its plastic package

Within the plastic package is a fingernail sized silicon chip with transistors and other components etched on its surface. Tiny wires connect the chip to the outside. (CC licensed attribution sharealke 3. wikipedia user Zephyris)
silicon chip with tiny wires

Modern computers use tiny electronic components which can be etched onto the surface of a silicon fleck. (See: wikipedia chip) Notation that silicon (chips, solar panels) and silicone (soft rubbery textile) are dissimilar!

The near common electronic component is the "transistor" which works equally a sort of amplifying valve for a catamenia of electrons. The transistor is a "solid state" device, meaning it has no moving parts. It is a basic building block used to construct more circuitous electronic components. In particular, a "chip" (below) tin exist congenital with an arrangement of 5 transistors. The transistor was invented in the early 1950's, replacing the vacuum tube. Since then, transistors have been fabricated smaller and smaller, allowing more than and more of them to be etched onto a silicon chip.

Moore's Police

  • Transistors go 2x smaller virtually every 2 years
    - sometimes listed equally about 18 months
  • Can fit twice equally many transistors per chip
  • Due to better flake etching technology
    -But a cutting edge fleck factory costs more than i billion dollars
  • Observation vs. scientific "law"
  • 2 Effects:
  • a. chips have twice the capacity every 2 years
    -speed does not double, chapters doubles which is nevertheless very useful
  • b. or keeping capacity constant, chips become smaller and cheaper every 2 years
  • (b) is why computers are at present in cars, thermostats, greeting cards
  • Example: $50 MP3 role player capacity every 2 years: 2GB, 4GB, 8GB, 16GB
  • Rule of thumb: 8x chapters every half-dozen years
  • 8x in 6 years may match your telephone's capacity increase
  • Moore'due south law will probably non proceed forever

Moore's law (Gordon Moore, Intel co-founder) states that the density of transistors on a chip doubles most every ii years or so (sometimes listed as every 18 months). The increase is due to improved scrap making applied science. It is not a scientific law, simply a broad prediction that seems to continue working. More broadly, information technology captures the idea that per dollar, computer technology (not just transistors) gets exponentially ameliorate as time goes along. This is quite articulate if you expect at the cost or capability of computers/cameras etc. y'all have owned. Moore's Law results in more than capable computers (compare what an iPhone 7 can do vs. the original iPhone) too equally cheaper computers (less capable computers evidence up everywhere, like in thermostats and cars).

Computers in life: Control Systems

  • Control system: responds to external country
  • e.g. car engine: vary fuel mix based on temperature
  • e.g. set off the airbag on high K-forces from collision
  • Chips are a great, cheap way to build control systems
  • The pre-figurer control systems did non work so well
  • I reason cars work then much better today

Control System / Moore's Flashlight Demo

  • Maglite XL200 flashlight has a chip in it
  • Example of a control system
  • Moore'southward law makes this application of a chip feasible
  • Flashlight converts angular position to brightness. (1-click)
  • Also has an angle to blink-speed mode. (ii-clicks)

Computer Hardware - CPU, RAM, and persistent storage

Now let's talk nearly the three major parts that brand up a calculator -- CPU, RAM, and Persistent Storage. These iii are found in all computers: laptops, smartphones, and tablets.

parts of the computer: cpu, ram, persistent storage

i. CPU

  • CPU - Central Processing Unit
  • Acts like a encephalon: follows the instructions in the code
  • "general" - images, networking, math .. all on the CPU
  • Performs computations, due east.g. add together ii numbers
  • vs. RAM and persistent storage which simply shop data
  • "gigahertz" = 1 billion operations per second
  • A "ii gigahertz" CPU performs 2 billion operations per second

CPU - Key Processing Unit - inevitably referred to equally the "brains" of the computers. The CPU does the active "running" of code, manipulating data, while the other components have a more passive part, such as storing data. When we say that a computer can "add together two numbers, a billion times a second" .. that's the CPU. When you hit the Run push button, the CPU ultimately "runs" your code. Later on on, we volition complete the picture of how your Javascript code is run past the CPU.

Bated: CPU "Cores"

  • Modern CPU chips have multiple "cores"
  • Each cadre is a semi-independent CPU
  • Key: having 4 cores is not 4x faster than having one core
  • i.e. 4 cars does not become you there faster than 1 automobile
  • Diminishing returns
  • More than iv cores is oftentimes useless

CPU Examples

  • e.g. Run button - "impress information," do some math
  • east.thousand. Send text message - format the bytes, send out the bytes, verify they were sent

CPU Variant: GPU - Graphics Processing Unit

  • Like the CPU, but specialized to handle images
  • Calculator games utilize the GPU heavily
  • Modern CPUs are more often than not fast enough, more free energy going into GPUs

two. RAM

  • RAM - Random Access Memory
  • Acts like a whiteboard
  • Temporary, working storage bytes
  • RAM stores both code and information (temporarily)
  • eastward.yard. open an paradigm in Photoshop
    - image data loaded into the bytes of RAM
  • east.g. calculation 2 to a number in a calculator
    - manipulating bytes in RAM
  • "persistent"
    -RAM is not persistent. State is gone when power turned off
    -e.thou. You're working on a md, then power goes out and y'all lose your piece of work (vs. "Save")

RAM - Random Access Retention, or just "memory". RAM is the working scratchpad memory the reckoner uses to store code and data that are being actively used. RAM is effectively a storage expanse of bytes under the command of the CPU. RAM is relatively fast and able to retrieve the value of any item byte in a few nanoseconds (i nanosecond is 1 billionth of a second). The other main characteristic of RAM is that it only keeps its state so long as it is supplied with power -- RAM is not "persistent" storage.

Suppose you are working on your computer and it suddenly loses ability and the screen goes blank. You understand that what you were working on is gone. RAM has been wiped clean, leaving y'all simply with what yous last saved to disk (below).

RAM Examples

  • Y'all have many tabs open in your browser
    - the data for each tab is in RAM
  • A program is running
    - the code of the programme is in RAM
  • A program is manipulating a large image
    - the data of the paradigm is in RAM
  • e.m. you tin run out of RAM - cannot open a new tab or programme because all the RAM is in apply
  • Aside: now phones have two-4GB of RAM ... plenty for most purposes

3. Persistent Storage: Hard Drive, Flash Drive

  • Persistent storage of bytes
  • "Persistent" means preserved even when not powered
  • eastward.k. Hard bulldoze - stores bytes every bit a magnetic pattern on a spinning deejay
    - aka "hard deejay"
    - Loftier pitch spinning sound yous may have heard
  • Hard drives have been the principal, persistent storage tech for a long time
  • Only now wink is getting more popular.

How a Difficult Bulldoze Works Video (Webm is an open standard video format, works in Firefox and Chrome). 4:xxx in the video to run into some reading/writing of bits.

Persistent Storage, Newer Technology: Flash

  • "Flash" is a transistor-like persistent storage applied science
    "solid state" - no moving parts
    -aka "Flash drive"
    -aka "Flash retention"
    -aka "SSD": Solid State Disk
  • Flash is meliorate than a difficult drive in every way but cost - faster, more reliable, less power
  • Flash is more expensive per byte
  • Formats: usb central, SD card in photographic camera, wink storage built into a phone or tablet or figurer
  • Flash used to be very expensive, so most computers used hard disks
  • Flash is getting cheaper (Moore's police force)
  • However per-byte, hard drives are still substantially cheaper
  • Not to be confused with "Adobe Flash", a proprietary media format
  • Warning: flash does not persist forever. It may non hold the bits past 10 or 20 years. Nobody knows for sure

Persistent storage - long term storage for bytes as files and folders. Persistent means that the bytes are stored, even when power is removed. A laptop might employ a spinning difficult drive (besides known equally "hard disk") for persistent storage of files. Or it could apply a "wink drive", besides known as a Solid State Disk (SSD), to shop bytes on flash chips. The hard drive reads and writes magnetic patterns on a spinning metal deejay to store the bytes, while wink is "solid state": no moving parts, just silicon chips with tiny groups of electrons to store the bytes. In either case, the storage is persistent, in that it maintains its land even when the power is off.

A flash drive is faster and uses less power than a difficult disk. Yet, per byte, flash is significantly more than expensive than hard drive storage. Flash has been getting cheaper, so it may take over niches at the expense of difficult drives. Wink is much slower than RAM, and so it is not a good replacement for RAM. Note that Adobe Flash is an unrelated concept; it is a proprietary media format.

Flash storage is what underlies USB thumb drives, SD cards for utilize in cameras, or the congenital-in storage in a tablet or telephone.

File Arrangement

  • How are the bytes in persistent storage organized?
  • e.g. Bytes on a flash drive?
  • "File system" - organize the bytes of persistent storage, files and folders
  • "File" - a name, a handle to a cake of bytes
  • due east.chiliad. "flowers.jpg" refers to 48KB of paradigm data bytes

file system organizes the bytes of persistent storage

The difficult drive or flash drive provides persistent storage as a flat area of bytes without much structure. Typically the difficult deejay or wink disk is formatted with a "file arrangement" which organizes the bytes into the familiar blueprint of files and directories, where each file and directory has a somewhat useful name like "resume.txt". When y'all connect the drive to a calculator, the estimator presents the drive's file arrangement to the user, allowing them open up files, move file effectually, etc.

Essentially, each file in the file system refers to a block of bytes, so the "flowers.jpg" name refers to a block of 48KB of bytes which are the data of that image. The file organization in consequence gives the user a proper noun (and probably an icon) for a block of data bytes, and allows the user to perform operations on that data, like move it or copy it or open it with a program. The file system also tracks information nearly the bytes: how many in that location are, the time they were concluding modified.

Microsoft uses the proprietary NTFS file arrangement, and Mac OS X has its Apple proprietary HFS+ equivalent. Many devices (cameras, MP3 players) employ the very old Microsoft FAT32 file system on their flash cards. FAT32 is an erstwhile and primitive file system, only it is good where wide support is of import.

Persistent Storage Examples

  • This one is like shooting fish in a barrel to empathize, since you have used files and files sytems
  • e.g. 100 separate i GB video files .. need 100 GB of storage capacity

Pictures of Hardware

Below are images of a depression-end Shuttle calculator with a 1.8ghz CPU, 512MB of RAM, and a 160GB hard drive. It cost virtually $200 in around 2008. Information technology bankrupt, and then became a classroom instance.

Here is the flat "motherboard", a little smaller than a viii.v x 11 piece of paper, that the various components plug in to. At the center is the CPU. At the far right is the RAM retention. But to the correct of the CPU are a couple support chips. Prominently, one of the chips is covered with a copper "heatsink" .. this presses tightly against the chip, dissipating the heat from the chip into the surrounding air. The CPU also had a very large heatsink, but it was removed to brand the CPU visible.

  • Motherboard
  • CPU metal bundle, held by lever
  • Copper heatsink

picture of motherboard

The CPU is held tightly against the motherboard by a little lever mechanism. Here the mechanism is released and then the CPU tin exist picked upwards. The fingernail sized CPU is packaged underneath this metallic embrace which helps conduct the estrus from the CPU up to its heatsink. The gray stuff on the metal fleck cover is "thermal paste", a fabric which helps conduct rut from the chip housing to its (not shown) heatsink.

  • CPU chip in metal package
  • Heatsink has been removed
  • Bottom of package .. many connections (little wires)

cpu chip package

Flipping the CPU over shows the little gilt pads on the lesser of the CPU. Each pad is continued past a very fine wire to a spot on the silicon flake.

Here is a motion picture of another chip, only with the top packaging removed. You see the pinky-fingernail silicon bit at the center with the tiny transistor details etched onto it. At the chip border, see the very fine wires connecting parts of the chip to outside pads (CC licensed attribution sharealke 3. wikipedia user Zephyris)
silicon chip with tiny wires

Now looking from the side, the heatsink and the RAM retentivity card tin be seen more than conspicuously, sticking upwards from the motherboard.

  • RAM memory card
  • Plugs in to motherboard
  • 512 MB carte du jour (4 fries)

RAM is congenital with a few chips packaged together onto a niggling card known as a DIMM that plugs into the motherboard (dual inline retentivity module). Here we encounter the RAM DIMM removed from its motherboard socket. This is a 512MB DIMM built with 4 chips. A few years earlier, this DIMM might take required eight chips in society to store 512MB .. Moore'south law in action.

This is a difficult drive that connects to the motherboard with the visible standard SATA connector. This is a 160GB, "3.5 inch" drive referring to the diameter of the spinning disk within; the whole bulldoze is almost the size of small-scale paperback book. This is a standard disk size to use within a desktop estimator. Laptop computers utilize 2.5 inch drives, which are a scrap smaller.

  • 160 GB difficult drive (persistent storage)
  • i.eastward. persistent
  • Connects to motherboard with standard SATA cablevision

This is a USB flash drive that, like a hard bulldoze, provides persistent byte storage. This is also known as a "thumb bulldoze" or "USB key". It is essentially a USB jack connected to a flash storage chip with some support electronics:

  • Flash drive (the other type of persistent storage)
  • i.e. persistent
  • Contains a flash bit, solid land
  • SD Menu, similar thought

Here it is taken apart, showing the flash chip that actually stores the bytes. This chip can store about one billion bits .. how many bytes is that? (A: 8 bits per byte, so that'due south about 125 MB)

Here is a "SD Card" which provides storage in a camera. Information technology's very like to the USB flash bulldoze, just a different shape.

Microcontroller - Inexpensive Reckoner Chip

  • Microcontroller
  • Complete computer on one chip
  • Small CPU, RAM, storage (Moore'southward police force)
  • Chip tin can price under $1
  • Motorcar, microwave, thermostat

Arduino Reckoner

  • This is an "arduino" board, microcontroller bit (CPU, RAM, storage all in one)
    --www.arduino.cc
  • As low as $10
  • Open source, gratis, non Windows only, tinkering
  • Art project -- switches, sensors, lights

arduino microcontroller board

0 Response to "How to Draw and Graph Computer Techonolgy Hardware"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel