Skip to content

bazingamofos/TFT-Speedometer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TFT-Speedometer

This speedometer is a custom-built device created using the Arduino Mega 2560 microcontroller, a TFT display shield, and an IR sensor. It is designed to calculate the RPM (revolutions per minute) of the motor's rotating shaft. Serving as an integral component of the vehicle dashboard, this speedometer offers crucial information about the motor's performance.

Prerequisites

Credits: Microcontrollers Explained

  1. Install version 1.0.1 of the SdFat library by Bill Greiman (does not work with the latest version)

    • Open the SdFatConfig.h file (using Notepad or any text editor), which you'll find inside the path libraries/SdFat/src.
    • Modify #define ENABLE_SOFTWARE_SPI_CLASS 0 to #define ENABLE_SOFTWARE_SPI_CLASS 1.
  2. Install MCUFRIEND_kbv library by David Prentice

    • Open the MCUFRIEND_kbv.cpp file (using Notepad or any text editor), which you'll find inside the path libraries/MCUFRIEND_kbv.
    • Make changes as per the file provided in this repository under the same name.

Setup Images

IMG_20240115_185705

IMG_20240115_185843

Working Video

WhatsApp.Video.2024-01-16.at.3.29.52.PM.mp4

About

Custom Arduino Mega 2560 speedometer with TFT display, IR sensor. Calculates motor RPM; essential for vehicle dashboards.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors