Jeyadev R

Embedded / COA

Arduino Calc: Matrix Edition

Von Neumann CPU Concepts on Real Hardware

Arduino Calc: Matrix Edition: Von Neumann CPU Concepts on Real Hardware

About this project

Calculator built for a Computer Organization & Architecture course, mapping Von Neumann CPU concepts onto Arduino Uno hardware with a matrix-styled Web Serial interface that needs no Serial Monitor.

The problem

A computer architecture course should show how a CPU works, not only describe it.

Approach

A calculator on an Arduino Uno that maps the Von Neumann parts (control unit, ALU, registers and I/O) onto the hardware. A browser UI talks to it over the Web Serial API, so no Serial Monitor is needed. It supports addition, subtraction, multiplication and division with divide-by-zero protection.

Results

Works on Windows, Linux and Android over USB OTG. The firmware uses about 8% of flash and 9% of RAM.

Category
Embedded / COA
Built by
Jeyadev R

Tech stack

  • Arduino
  • Web Serial API
  • HTML/CSS