2026-07-04 15:57

Status:

Module Two - Hardware

==The Modern Computer

  • Introduction to Computer Hardware
    • Ports- Connection points that we can connect devices to that extend the functionality of our computer
    • Port to connect to monitor, keyboard, mouse, network, also a power source
    • This is similar to a laptop, just a built in monitor and keyboard
    • CPU (Central Processing Unit)-** The brain of our computer, it does all the calculations and data processing, usually connected to the motherboard, with some cooling since they get hot
    • RAM - short term memory (random access memory)
    • Hard-drive- holds all of the data, meaning photos music etc, long term
    • Motherboard- The body, or circulatory system, of the computer that connects all of the other hardware together
    • Power supply- Converts electricity from a wall outlet into the power that the computer can use
    • Phones also use all of these items, but just in different forms
  • Programs, the CPU, and Memory
    • Programs- Instructions that tell the computer what to do
    • These are stored on things like hard-drives, like apps stored in a hard drive
    • The cpu processes the instructions from the apps, and it works very very fast
    • It can work faster than it can read data from the hard drive, and therefore it stores it all in ram
    • You send out one line of code at a time, and so that way the instruction can get executed
    • The CPU also only takes in binary instructions, and then executing them
    • External data bus (EDB)- A row of wires that interconnect the parts of our computer
    • Voltage travels across the wires in the EDB, and if there is voltage, that is a 1, and if it is off, it is a zero. This is how bits travel around the computer.
    • This is where 16, 32, 64 bit architecture come from, it is the number of wires that transfer data around the computer at a time
    • Inside the cpu are registers they store the data that the cpu needs to work with
    • The MCC (Memory Controller Chip) is the bridge between the CPU and the ram, it access the instructions in the ram, and then sends it via the EDB
    • Another bus is the Address Bus it stores the location of the data, and then that is used to index into the memory
    • Cache is a data smaller than ram, and is stored inside of the CPU itself I believe, it allows for quick/frequently accessed data to be stored
    • There are 3 different levels to cache in a CPU:
      1. L1 - The smallest and the fastest cache
      2. L2 - The second smallest and fastest cache
      3. L3 - The slowest and largest cache
    • How does the CPU know when an operation ends? It has an internal clock that keeps it’s operations in sync. This connects to a special wire called a clock wire. For every tick, the CPU does a set of operations, every single volt sent is considered a clock cycle
    • Clock speed- The maximum number of clock cycles that a CPU can handle in a certain time period
    • Example: 3.40 gigahertz is 3.4 billion cycles per second
    • 13 th Gen Intel(R) Core(TM) i 5-13420 H (12) @ 4.60 GHz - This can handle 4.6 billion clock cycles per second
    • Overclocking increases the performance of your cpu by making it work harder, and exceed the number of recommend clock cycles.
  • Supplemental Reading for CPUs
    • Cache- A small amount of recently used data that is stored either on hardware or in software.

    • Whenever data is first initially requested it might pass through, I/O devices, motherboard busses, RAM, cables, hard-drives, applications, networks the internet, cloud platforms, etc. Caching the data makes it more readily available.

    • A CPU cache is stored inside each of the cores of the CPU

    • CPU cache levels:

      1. Level 1 cache: L1 cache is the fastest and smallest of the three CPU cache levels. L1 holds the data currently in use by the CPU. Each CPU core usually has its own L 1 cache.
        • Level 2 cache: L2 cache holds less data than L3 cache, but it has faster access speeds. L2 holds a copy of the most recently accessed data that is not currently in use by the CPU. Each CPU core normally has its own L 2 cache.
      2. Level 3 cache: L3 cache is the largest and slowest of CPU cache. However, it is often twice as fast as RAM. L3 is the first CPU cache location to store data after it is transferred from RAM. L 3 cache is often shared by all of the cores in a single CPU.
    • Overclocking a CPU: is setting it to run at a higher CPU clock speed than the manufacturer; s original specifications. This can improve performance, but can cause physical hardware issues on the CPU

    • How to Overclock a CPU:
      1. Check to see if overclocking is supported, aka the CPU is unlocked for overclocking, as not all models support the function. Intel and AMD provide overclocking guides and tools for supported CPUs

      2. Clean the inside of the computer, wearing an antistatic wristband, you want to open up the computer, and use compressed air to remove any dust from the pc

      3. Ensure an appropriate CPU cooler is installed make sure to have a very good CPU cooler, better than the stock one most likely, so that way it can cool the system properly

      4. Follow the manufacturer’s instructions for overclocking the CPU: Using the detailed instructions from the manufacturer (see below for links to Intel and AMD’s guides): 

        1. Use benchmarking software to establish a baseline for the normal performance of the computer.

        2. Set each CPU core multiplier to the value of the lowest multiplier using either the manufacturer’s overclocking software (recommended) or the BIOS. Then reboot the computer. 

        3. Increase each CPU core multiplier by 1 to increase the CPU frequency. 

        4. Test each increase for stability using the testing utility provided by the manufacturer. 

          • Fix any problems flagged by the testing tools, especially temperature alerts. If the system becomes too unstable, roll back to the last frequency that produced a stable performance and stop overclocking the CPU.
          • If the voltage appears to become insufficient to support the new frequency, increase the voltage by 0.05V. Do not increase the voltage above 1.4V without specialized cooling hardware.
          • If the computer freezes or crashes, it has either become completely unstable or the CPU is not getting enough voltage to support the overclocked frequency. Use the BIOS to return to the last stable frequency or increase the voltage in 0.01V increments until stable.
        5. If stable, reboot the computer before attempting the next increase.

==Components

  • CPU
    • Basically a calculator that does operations in order to perform functions on our data
    • Takes in an instruction set that tells it what to do (think of assembly code)
    • Everything is broken down into these smaller instruction sets
    • Each CPU has a encoded instruction set ordeal, and therefore different CPU models and architectures may use different instruction sets
    • Popular manufacturers - Intel, AMD, Qualcomm
    • When selecting a CPU you need to make sure it is compatible with your motherboard, the circuit board that connects all your components together
    • LGA Socket- A LGA socket has pins coming out of the motherboard.
    • PGA Socket- A PGA socket has pins coming out of the processor itself
    • Also requires a heat sync that cools down the CPU
    • 32-bit and 64-bit architecture, these are specifications on how much data a cpu can efficiently handle.
  • Supplementary Reading for CPU architecture
  • RAM
    • Used to store data you want to access quickly
    • Whenever a computer powers off, the data in ram is cleared
    • Essentially freed, either by the program itself or by the OS
    • Whenever a program is ran, you make a copy of it into ram, so that way it can then be processed by the CPU
    • DRAM- This is the one that is most commonly found inside of computers, it stands for dynamic random-access memory
    • It stores each bit in a microscopic capacitor
    • Many different types of sticks (the stick part of the ram) that the DRAM (the square thingy on the stick) can be put on, such as DIMM sticks, which stands for Dual Inline Memory Module
    • SDRAM or DDR SDRAM this one is the one that is actually the most used I think, it stands for double data rate SDRAM which basically synchronizes the speed of the data it can send to the cpu for more efficient processes, and can be why a cpu can bottleneck a ram module.
  • Motherboards
    • It is the main system controller
    • It has a chip set, it decides how things communicate
    • Northbridge- Interconnects RAM and video cards
    • Southbridge- Maintains input/output (IO) controllers, like hard-drives and USB devices
    • In some devices, the Northbridge is already inside of the cpu
    • Peripherals- External devices we connect to our computer, like a mouse, keyboard, and monitor
    • The chip-set, the things mentioned above, allow for controller over the CPU, RAM, and Peripherals
    • In addition to the chip-set, there are the expansion slots
    • Expansion Slots- Give us the ability to increase the functionality of our computer (They are the things sort of below the cpu that look like places for the GPU etc)
    • PCI express (Peripheral component interconnected express)
    • Form Factor- Determines the amount we can put in and the amount of spaces we’ll have, this is basically the size of the motherboard and the different features that it may come with
    • Most common form factor is ATX, but also an ITX form factor which are much smaller than ATX
  • Physical Storage: Hard Drives

    Pasted image 20260705150453.png

    • The smallest unit of a data storage is a bit, (a 1 or 0)
    • Then the next is a byte (8 bits), and can store a char or symbol
    • Then is a kilobyte (KB) which is 1024 bytes
    • Then is a megabyte (MB) which is 1024 kilobytes
    • Then is a gigabyte (GB) which is 1024 megabytes
    • Then is a terabyte (TB) which is 1024 gigabytes
    • Then is a petabyte (PB) which is 1024 terabytes

    • All of our data is stored on hard-drives, and if it crashes, then you can loose all of your data so you should back it up
    • Hard-Drives (HDD)- These use spinning disks and a mechanical arm in order to read and write data, the speed at which they rotate is the speed in which they can write said data. This is known as RPM, a hard-drive with higher rpm is faster, but they are more prone to damage
    • Solid State Drive (SSD)- they have no moving parts, the information is stored on microchips and moves a lot faster. They are generally less prone to damage, but they can be more expensive, and can also heat up
    • Different Types of drives (I know this one all too well)
      1. SATA (Serial ATA)- Interface which uses one cable for data transfers, these drives are also hot swappable, meaning you don’t have to turn off your machine to plug in a sata drive
      2. NVME- this is for an SSD, basically instead of using a sata cable to connect your harddrive to the motherboard, you plug it in directly onto the motherboard.
  • Supplementary Reading for Data Storage
    • The prefixes for all of the data types is in accordance to the metric system, but in base 2 not 10 given how computers work, so 1024, not 1000
    • The difference between this is apparent though, as decimal format is the more known one, and is basically one kilobyte = 1000 bytes, but then one Kibibyte (KiB), is 1024 bytes
  • Power Supplies
    • This converts electricity from the wall, into something that your computer can in fact use
    • DC- direct current that moves power only in one direction
    • AC- this is alternating current that is able to move in both directions along the wire
    • The power supply converts the AC power from the wall into low voltage DC power that the computer is able to use and read
    • Most power supply units have their own fan, and their own voltage information as well (underneath or on the side)
    • They also come with cables to come into the motherboard, and another one into the wall
    • If the voltage that the power supply can handle is less than what is is getting from the wall, then you will have bad performance from your computer, however, if it receives too much voltage than what it can handle, it may fry the power supply and also all of the components as well.
    • Wattage- the amount of volts (the current that is gotten all at once, think of pressure causing water to move in a pipe) and amps (the amount of current that something is able to pull out of a given electrical outlet), that a device needs
    • You can power most basic desktops with a 500 W power supply
  • Power Supplies (Reading)
    • When choosing the right power supply, first think about the power standard for the outlet in your country, the most common voltage inputs are 110-120 VAC and 220-240 VAC (Volts of alternating current)
    • Whenever a power supply and a wall sockets power may not meet, please use a different power supply, or one that includes a dual-voltage which that can be toggled to be the right voltage
    • Motherboard manufactures will list the power supplies that are compatible with their product
    • The more powerful the inner items of the computer are, the more powerful the power supply may need to be as well
    • The power supply plugs into an adapter on the computer’s motherboard. using color coded wires, each wire color carries a different voltage of electricity to the motherboard or serves as a grounding wire.
  • Mobile Devices
    • Cellphones, tablets, they are computers too, they have CPUs, RAM, storage, power systems, and even Peripherals
    • They are different though because they are mobile, and are instead powered by batteries
    • They are usually very integrated, they are soldered on the motherboard, and cannot be taken apart
    • System on a Chip (SOC)- packs the CPU, RAM, and sometimes even the storage onto a single chip, think something like a raspberry pi or Arduino, but even smaller inside of mobile device
    • Mobile devices can also use Peripherals, think of things like Bluetooth headphones, or even connecting a device to another as a peripheral.
    • STANDARD CHARGING AND DATA MOVING TYPES:
      • USBC
      • USB
      • Lightning Adapter
      • Mini USB
      • Micro USB (think like ps4 controllers and shit)
      • Mini HDMI
      • HDMI
      • Mini Display Port
  • Batteries and Charging Systems
    • Wireless charges exist
    • Charges can be also done through wires obviously
    • However, each batter does have a different charge cycle
    • Charge Cycle- One full charge and discharge of a battery
    • Whenever the battery goes through more and more of these charge cycles, it might depreciate in it’s longevity
    • Chargers are like a power supply for a computer, they convert the electricity into something the phone can use, but also store it inside of the phones battery
    • Recharging batteries when it is too hot, or too cold, it could be unsafe to charge
  • Peripherals and Ports
    • At the back of the computer, you can see a lot of different ports for peripheral connections, such as a display, or keyboard, or a mouse
    • USB (Universal serial bus
    • Pasted image 20260705153900.png
    • The USB ports are universal, so a 2.0 plugs into a 3.1, and vice versa, however, this does not mean that the speeds will be what you expect, instead you will be limited to the lower of the two
    • USB 2.0 are black
    • USB 3.0 are blue
    • USB 3.1 are teal
    • Type C is quickly becoming the new standard for transferring data
    • HDMI transfers both video and audio
    • Display port does this as well
    • USB Type C can also do data transfer and power
  • Supplementary Reading on Connector Types
    • Pasted image 20260705154319.png
    • Pasted image 20260705154326.png
    1. Micro USB- is a small USB port found on many non-Apply cellphones, tablets, and other portables
    2. USB-C- The newest reversible connector with either end having the same build, they are meant to replace regular USB, and have a transfer data speed of 20 Gbps
    3. USB 4- uses Thunderbolt 3 protocol and USB-C cables to transfer data at speeds of 40 Gbps and provide power as well
    4. Lightning Port is a connector exclusive to Apple that is similar to USB-C. It is used for charging and connecting devices to computers, external monitors, cameras and other peripherals.
    • Pasted image 20260705154702.png

    • Plain Old Telephone Service (POTS) refers to cables transmitting voice through twisted copper pair wires. Landline telephones, dial-up internet, and alarm systems use POTS. The RJ-11 (Register Jack 11) connector is used for POTS.

    • Digital Subscriber Line (DSL) provides access to high-speed networks or the internet through telephone lines and a modem. The RJ-45 connects a computer to network elements and is mostly used with ethernet cables. 

    • Cable Internet uses a cable TV infrastructure and a modem to provide high-speed internet access to users. An F type connector is commonly used with cable modems. 

    • Fiber-optic cables contain strands of glass fibers inside an insulated casing that send data long-distance and allow for higher-bandwidth communication. The major internet providers use fiber-optic cables for high-speed internet service.

  • Supplementary Reading for Projectors
    • Projectors- Display devices for when you need to share information with people in the same location
    • Basically monitors, they can have issues such as dead pixels, and then screen burn as well
    • Make sure that your device you are connecting it to has the proper drivers to recognize that screen, otherwise you may get a lower resolution, or other issues

==Starting It Up

  • BIOS
    • Drivers, are basically services that tell the CPU what to do, the CPU comes with very simple baked in instructions, but it doesn’t know what to do whenever you click a mouse or press a key on your keyboard
    • BIOS (Basic Input Output Services)- Software that helps initialize the hardware and gets out operating system up and running, think of it as firmware as well
    • The bios is stored in a “Read only memory chip” (ROM chip) on the motherboard, which is where the computer boots to before starting the operating system
    • UEFI (Unified extensible firmware interface)- Performs the same functions of starting your computer as the tradition BIOS, but its more modern and has better compatibility and support for newer hardware
    • POST (power on self test)- The bios basically runs a test to make sure that every piece of hardware that is needed is in fact in place, it figures out what hardware is in the computer, it produces a series of beeps that can indicate an issue
    • CMOS chip- this is the little grey circle chip on the motherboard, it stores basic data, like date time, and how you want it to start up
  • Putting it All Together: Installing the Processor
    • Try to prevent unwanted stack from ruining your computer parts, you can touch a computer part with your bare hands that is not powered on every few minutes, or wear a wristband
    • The motherboard goes in first, make sure that it fits in the case, for ATX or ITX, match up the holes on the case to the ones on the desktop
    • Standoffs- are used to raise and attach your motherboard to the case.
    • Then you can add in the CPU they are expensive and you have to be careful with them, then just insert them into the socket, based on its orientation and everything
    • Now, add the heat sync on-top of it, with some thermal paste and what not as a means to cool your CPU
    • Molex- A molex is a component connector, you need to use it to plug in the heat sync to the motherboard so it can get power
  • Putting it all Together: Adding the RAM and The Drive
    • Locate the DIMM slots on your motherboard (the places where to put the sticks)
    • Visually align the pins so that way all of them are not going to be damaged
    • Open up the sides of the ram, and then also push it down until you hear it click
    • If there are 4 different slots with 2 colors, the two colors are correspondent to the sticks of ram
    • Next, for the hard-drive, you can plug them into the NVME slot on your motherboard if needed, but otherwise just slide it into whatever case it might need to be go into, and then just connect the SATA cable to the drive
    • Also adding in fans, just attach it to the molex with wherever it might need to go
    • Adding in the power supply, you want to install the power supply into the case without damaging the mother board, then connect it to the molex on the motherboard, and then plug into the wall to see if you have a working computer
  • Putting it all Together: Adding Graphics and Other Peripherals
    • The big power supply cable with like 18 pins is the main one that connects to the motherboard
    • Then there is another smaller legacy one that is a molex for old sata drives
    • First connect the power supply to the motherboard
    • Then power the CPU with the 8 pin cable on the PSU
    • Then, hook in the cables for other things like peripherals and what not
    • Add in a graphics hard into the PCI express slot on the motherboard, secure it correctly and what not as well.
    • Add in other things like the mouse, keyboard, and monitor, and then turn it all on to see if it works
  • Mobile Device Repair
    • Trying to repair your own device will void the warranty
    • Factory Reset- will reset the data on the mobile device to factory settings, removing all apps, photos, and customization
    • When working on a mobile device, you wan to protect against static discharge
    • Use the right tools
    • Keep parts organized and labeled
    • Use you head
  • Mobile Display Types
    • Liquid Crystal Display (LCD)

      • These use liquid crystal technology
      • They have both the properties of a liquid and a solid
      • How the liquid crystal is created can affect things like refresh rates, image quality, and display performances
      • These require back lighting, often provided by LEDs, these are considered non-emissive or passive displays
      • Because of their need for back-lighting, LCD panels are thicker and less flexible
    • Different types of LCD displays

      • In-Plane Switching (IPS) - the liquid crystals are aligned horizontally to the scree, it is often used in touch screen displays and high-end monitors. Used for making media, but can also be used on games that rely on color accuracy. They provide vibrant colors, and good graphics, however they are expensive, have low refresh rates, and slow response times
      • Twisted Nematic (TN) Earliest LCD technology still in use, they are good for basic business, such as email or documents, etc, they are low cost, easy to produce, have good refresh rates, and resolutions, however they have low image quality, color distortion, and poor color accuracy and contrast.
      • VA-Vertical Allignment- Vertically aligned, these are good for general purpose, with mid range performance for graphics, movies, and TV, they offer great contrast, fast response times, and mid range for refresh rates, image quality, and viewing angles, however they can get motion blur and ghosting with fast visuals.
    • Organic Light Emitting Diodes (OLED)

      • An emissive layer placed between a cathode and an anode, electricity enters through the cathode, passes the emissive layer, and the conductive layer to create light.
      • The have uses inside of foldable smartphones, roll-able TVs, and back-lighting in LCD TVs, for gaming and inside VR headsets
      • They give excellent picture quality, contrast, fast response rates, and brilliant colors, they are energy efficient, simple to make, and much thinner than LCD.
      • They are sensitive to light and moisture, Blue LEDs degrade faster than other LED colors causing distortion over time.

Glossary

  • Address bus: Connects the CPU to the MCC and sends over the location of the data, but not the data itself

    ATA: The most common interface that hard drives use to connect to our system

    ATX (Advanced Technology eXtended): The most common form factor for motherboards

    Backward compatible: It means older hardware works with newer hardware

    Bios (Basic Input Output Services): The BIOS is software that helps initialize the hardware in our computer and gets our operating system up and running

    BYOD (Bring Your Own Device): Refers to the practice of allowing people to use their own personal devices for work

    Cache: The assigned stored location for recently or frequently accessed data; on a mobile app it is where anything that was changed or created with that app is stored

    Charge cycle: One full charge and discharge of a battery

    Chipset: It decides how components talk to each other on our machine

    Clock cycle: When you send a voltage to the clock wire

    Clock speed: The maximum number of clock cycles that it can handle in a set in a certain time period

    Clock wire: When you send or receive data, it sends a voltage to that clock wire to let the CPU know it can start doing calculations

    CPU: Central processing unit

    CPU sockets: A CPU socket is a series of pins that connect a CPU’s processor to the PC’s motherboard

    Data sizes: Metrics that refer to data sizes including bit, byte, kilobyte, kibibyte, and megabyte

    DDR SDRAM (Double Data Rate SDRAM): A type of RAM that is faster, takes up less power, and has a larger capacity than earlier SDRAM versions

    Desktop: The main screen where we can navigate our files, folders, and applications

    DIMM: Dual Inline Memory Module

    Display port: Port which also outputs audio and video

    DRAM: Dynamic Random Access Memory

    Drivers: The drivers contain the instructions our CPU needs to understand external devices like keyboards, webcams, printers

    DVI: DVI cables generally just output video

    Electrostatic discharge: Electrostatic discharge is a sudden and momentary flow of electric current between two electrically charged objects caused by contact, an electrical short or dielectric breakdown

    External Data Bus (EDB): It’s a row of wires that interconnect the parts of our computer

    Factory reset: Resetting a device to the settings it came with from the factory

    Form factor: A mathematical way to compensate for irregularities in the shape of an object by using a ratio between its volume and height

    Hard drive: It is a long term memory component that holds all of our data, which can include music, pictures, applications

    Hardware: External or internal devices and equipment that help you perform major functions

    HDD (Hard disk drive): Hard disk drives, or HDDs, use a spinning platter and a mechanical arm to read and write information

    HDMI: A type of cable that outputs both video and audio

    Heatsink: It is used to dissipate heat from our CPU

    Instruction set: A list of instructions that our CPU is able to run

    ITX (Information Technology eXtended): A form factor for motherboards that is much smaller than ATX boards

    Land Grid Array (LGA): It is a type of CPU socket that stick out of the motherboard

    Lightning adaptor: One of the standard power, data and display connector types used in mobile devices

    Mb/s: megabit per second, which is a unit of data transfer rate

    Memory controller chip (MCC): A bridge between the CPU and the RAM

    Micro display port: One of the standard power, data and display connector types used in mobile devices 

    Micro HDMI: One of the standard power, data and display connector types used in mobile devices 

    Micro USB: One of the standard power, data and display connector types used in mobile devices 

    Mini HDMI: One of the standard power, data and display connector types used in mobile devices 

    Mini USB: One of the standard power, data and display connector types used in mobile devices

    Motherboard: The body or circulatory system of the computer that connects all the pieces together

    Northbridge: interconnects stuff like RAM and video cards

    NVMe (NVM Express): interface standard which allows greater throughput of data and increased efficiency

    Overclocking: it increases the rate of your CPU clock cycles in order to perform more tasks

    PCI Express: Peripheral Component Interconnect Express

    Peripherals: the external devices which we connect to our computer that add functionality, like: a mouse, a keyboard, and a monitor

    Pin Grid Array (PGA): CPU socket where the pins are located on the processor itself

    Ports: Connection points that we can connect devices to that extend the functionality of our computer

    POST (Power On Self Test): It figures out what hardware is on the computer

    Power supply: Converts electricity from our wall outlet onto a format that our computer can use

    Programs: Basic instructions that tell the computer what to do

    RAM: Random Access Memory

    Registers: An accessible location for storing the data that our CPU works with

    Reimaging: The process of reimaging involves wiping and reinstalling an operating system using a disk image which is a copy of an operating system

    Return merchandise authorization (RMA): The process of receiving returned merchandise and authorizing a refund

    ROM chip (Read Only Memory): A read-only memory chip where the BIOS is stored

    RPM: Revolutions per minute

    Safe operating temperature: The temperature range in which rechargeable batteries must be kept in order to avoid damage

    SATA: The most popular serial ATA drive, which uses one cable for data transfers

    SDRAM: It stands for Synchronous DRAM, this type of RAM is synchronized to our systems’ clock speed allowing quicker processing of data

    SOC (System On a Chip): Packs the CPU, Ram, and sometimes even the storage onto a single chip

    Southbridge: It maintains our IO or input/output controllers, like hard drives and USB devices that input and output data

    SSD: Solid State Drive

    Standoffs: Used to raise and attach your motherboard to the case

    Thermal paste: A substance used to better connect our CPU and heat sink, so the heat transfers from to the other better

    Type-C connector: A type of USB connector meant to replace many peripheral connections

    UEFI: Unified Extensible Firmware Interface

    USB (Universal Serial Bus): A connection standard for connecting peripherals to devices such as computers

    USB-C adapter: One of the standard power, data and display connector types used in mobile devices


References