Skip to content

Latest commit

 

History

14 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Real-Time Accelerometer-Based VGA Graphics Controller

FPGA-based system that reads accelerometer data via SPI and renders real-time graphics on a VGA display.

Overview

This project implements a complete pipeline from accelerometer sensor input to VGA display output on a DE10-Lite FPGA board. The system uses the onboard ADXL345 accelerometer, communicates via SPI protocol, and drives a VGA monitor with real-time graphics that respond to board tilt.

Tech Stack

  • HDL: SystemVerilog / Verilog
  • FPGA: Intel DE10-Lite (MAX 10)
  • Sensor: ADXL345 3-axis accelerometer (SPI)
  • Display: VGA 640×480 @ 60Hz
  • Tools: Intel Quartus Prime

Architecture

ADXL345 ──SPI──> SPI Controller ──> Data Processing ──> VGA Controller ──> Monitor
                                         │
                                    LED Driver
                                    7-Seg Display

Project Structure

rtl/           - RTL source modules
  spi/         - SPI communication modules
  vga/         - VGA display modules
  peripherals/ - LED and 7-segment drivers
ip/            - IP cores (PLL)
constraints/   - Timing constraints
quartus/       - Quartus project files
docs/          - Project documentation

Modules

Module Description
top_module.v Top-level integration connecting all subsystems
spi_controller.sv SPI master for ADXL345 communication
spi_ee_config.sv ADXL345 register configuration via SPI
spi_pll.sv PLL for SPI clock domain
AdcProject.sv ADC interface for accelerometer data
vga_controller.sv VGA timing and sync signal generation
rectangle_display.sv Renders tilt-responsive rectangle on VGA
led_driver.sv Maps accelerometer data to LED indicators
SEG7_LUT.sv 7-segment display lookup table
reset_delay.sv Power-on reset delay circuit
pll.sv System PLL IP core

Building

  1. Open quartus/top.qpf in Intel Quartus Prime
  2. Compile the project
  3. Program the DE10-Lite board via USB-Blaster

Team

  • Jaideep Singh
  • Shaharyar, Natalie, Chandan, Aadi

About

FPGA-based real-time accelerometer-driven VGA graphics controller on DE10-Lite

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages