Skip to content

Code for simple game controller based on STM32 microcontroller with IMU.

License

Notifications You must be signed in to change notification settings

jul3x/GameControllerSTM32

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GameControllerSTM32

Repository contains code for microcontroller side of simple game controller.

Code was developed using STM32F411xE core and several additional electronic modules.

Description

Controlling is based on accelerometer readings on microcontroller. Device continuously transmits its measurements to connected computer by using USART transmission. Leaning the plate with mounted device leads to change of accelerometer readings and provides an opportunity to interpret them as control events.

Additionaly, FIRE button state is sent alongside with measurements.

Dependencies

  • arm-eabi-gcc compiler
  • stm32.h header file for stm32 code development
  • gpio.h header file for GPIO module usage
  • startup_stm32.c/.h files for startup of microcontroller handling

Necessary paths for libraries are described in Makefile.

About

Code for simple game controller based on STM32 microcontroller with IMU.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published