How Does An ATM Works? Step By Step Explained...

Hey Shiner, you walk up to a small machine, slide in a plastic card, press a few buttons, and within seconds, a stack of cash appears. It feels like normal nowadays, but its a magic. Behind that simple experience lies an incredibly complex system of electronics, software, encryption, and banking networks working together in perfect harmony.

Let's take a journey inside the ATM and uncover exactly what happens during those few seconds.


How an ATM works step by step explanation, ATM transaction process from card to cash dispense, Shinemat tech blog

ATM Machine Is A Special Computer


An ATM looks like a simple box from the outside, but inside, it is a powerful computer. It has its own processor, memory, storage, and an operating system. However, it is not like the computer on your desk. It does not browse the internet or run games. Its only job is to communicate with your bank's secure network and perform a specific set of tasks.

When you approach the ATM, you see the display screen, the keypad (PIN pad), the card reader slot, the cash dispenser (the slot where your money comes out), and a receipt printer. Behind these visible components lies the cash dispenser module, a heavy steel vault that securely stores the notes.

Step 1 : The ATM Card Is Read

You insert your card into the card reader slot. Inside, a motorized system of rollers gently pulls the card in, positioning it perfectly over the reading head. The reader scans the magnetic stripe on the back of your card or communicates with the EMV chip embedded on the front.

Contrary to what many think, the ATM does not know anything about your account. It simply reads the encoded data on your card. Such as: your card number, the name of the issuing bank, and other identification information. The chip, which is like a tiny computer, adds an extra layer of security by creating a unique, one-time-use code for the transaction, making it much harder for criminals to clone.

Step 2 : Entering Your Secret PIN Code

The screen prompts you to select your language and then enter your Personal Identification Number (PIN). When you press each number on the keypad, a signal is sent to the ATM's processor. For security, asterisks or dots appear on the screen instead of the actual numbers.

The PIN is not sent directly to the bank in plain text. Instead, it is immediately encrypted by a special security module inside the ATM called a Hardware Security Module (HSM). This ensures that even if someone intercepted the data, they could not read the PIN. This encrypted information is then packaged with your card details and sent securely.

Step 3 : The Network and the Bank's Servers


Now comes the journey through the banking network. The ATM sends its secure message to a central system called the "Switch". If the ATM belongs to your bank, the switch processes it directly. If it's a different bank's ATM, the switch routes the message through a national payment network (like the National Payments Corporation of India) or an international network (like VISA or Mastercard) to reach your bank's switch.

Once at your bank, the switch uses its own HSM to decrypt and verify your PIN. It then contacts the bank's core banking system (CBS). This is the central computer that holds all the details of your account. The CBS checks three critical things:

✔️ Is the account active and valid?
✔️ Is there enough money in the account to cover your withdrawal?
✔️ Does the transaction raise any red flags for potential fraud?

All of this happens in less than a second. If everything checks out, the CBS authorizes the transaction. It "Sets Aside" (or reserves) the money in your account. It then sends an "Approval" message back through the network to the ATM.


Step 4 : Magic of the Cash Dispenser

The ATM has received the approval. It now knows to dispense your cash. The machine's software calculates the most efficient way to give you your money. If you're withdrawing 6,000 dollar, it might give you sixty 100 dollar notes or twelve 500 dollar notes, depending on what is available in the vault.

The vault inside the ATM contains several cash loaded cassettes, each filled with a different denomination of notes. A motorized mechanism at the bottom of each cassette begins the careful work of picking the notes. A special rubber roller and friction pad work together to pull out a single note at a time. This is harder than it sounds because new notes can stick together, and old notes can be folded.

The picked note passes through a series of sensors on its way to the dispenser. Optical sensors measure the note's length, width, and thickness to ensure only one note is dispensed at a time. If two notes are stuck together, the sensors detect the abnormal thickness, and the notes are sent to a recycle bin. The machine then tries again with new notes. This verification process happens for every single note.

Once the correct number of verified notes is gathered, they are moved to a holding area. The "Cash Shutter" door opens, and the notes are pushed out for you to collect.

Step 5 : The Transaction Is Finalized


You take the cash. A sensor at the outlet confirms the notes have been removed. If you do not take the money within a certain time, the machine will pull the notes back into a special "Retract" bin for security.

The ATM now sends a "Completion Message" to your bank. In response, the bank updates your account, making the deduction permanent. The ATM records the transaction in its own log file, creating a transaction ID for future reference. If you chose a receipt, a thermal printer quickly prints a record of your transaction, using special heat sensitive paper instead of ink.


Power Failure and Security Issue

What if the power goes out in the middle of an ATM transaction?

Most ATMs are equipped with an Uninterruptible Power Supply (UPS) that keeps them operational for a few minutes. If the system does go down, the ATM's logs and the bank's records are cross checked later to ensure that no money was lost.

Security goes beyond software. All ATMs are equipped with CCTV cameras, tamper sensors, and alarm systems to protect against physical attacks. The entire process is a testament to the seamless integration of electronics, mechanics, computer science, cryptography, and banking technology.

For more detailed information about how everyday technology works, the ShineMat.com tech blog regularly explores the hidden systems that power our digital world. We take the complex and make it simple and understandable. Happy day Shiners. Stay well.

Please DON'T spam here. Spam comments will be deleted just after our review.

Post a Comment

Please DON'T spam here. Spam comments will be deleted just after our review.

Post a Comment (0)

Previous Post Next Post