Skip to content

Digital speedometer and instrument cluster for motorcycle. Based on STM32F103 (blue-pill board) and ILI9341 TFT

Notifications You must be signed in to change notification settings

wiciu15/motoHUDini

Repository files navigation

motoHUDini

Firmware for motoHUD digital speedometer and instrument cluster for motorcycle. Based on STM32F103 micro, 2.8in LCD on ILI9341 SPI driver and X27.168 dial gauge stepper motor

Written with CubeIDE using HAL and CubeMX

90% of code is in Src/freertos.c and stm32f103_it.c

alt text

Work progress

Done for now:

+FreeRTOS

+TFT library and SPI configuration (slightly modified https://github.com/martnak/STM32-ILI9341 library)

+working timers and interrupts for measuring kmh and RPM

+viewing values on TFT screen

+stepper motor (x27.168) as dial gauge indicator for RPM

+2 temperature sensors (NTC100k thermistor connected to ADC as resistive divider)

+nice UI

+mileage, average speed etc. calculation

+EEPROM for storing data after powering off (mileage and trip) (https://github.com/firebull/STM32-EEPROM-SPI library)

+indicators (blinker, headlights, neutral gear)

+indicator bitmaps for UI

Work still in progress:

  • configuration of device parameters via computer to STM32's USB CDC peripheral (Virtual COM Port)

About

Digital speedometer and instrument cluster for motorcycle. Based on STM32F103 (blue-pill board) and ILI9341 TFT

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages