STM32 USB HID Custom Joystick/Gamepad - Phils Lab #149 @PhilsLab
STM32 USB HID Custom Joystick/Gamepad - Phils Lab #149  @PhilsLab
Uploaded December 2024 | Updated November 2026, 3 hours ago
⚡️JLCPCB Black Friday Mega Sale!⚡️ Save up to $252 on your JLC orders and enter to win amazing prizes: jlcpcb.com/black-friday-2024/?from=PhilsLab (AD: This video includes a paid promotion for JLCPCB and Altium.)

Firmware tutorial on how to combine custom STM32-based hardware with the USB HID (human interface device) class to emulate a USB joystick or gamepad.

[SUPPORT]
Hardware design courses: https://phils-lab-shop.fedevel.education
Course content: phils-lab.net/courses
Patreon: patreon.com/phils94
Altium 365 Free Trial: altium365.com/yt/philslab (AD)

[GIT]
github.com/pms67

[SOCIAL]
instagram.com/philslabyt

[LINKS]
Design Files: github.com/pms67/QueenB
Interactive Designs: pms67.github.io
USB HID basics: en.wikipedia.org/wiki/USB_human_interface_device_class
USB HID: usb.org/hid
Introduction to HID report descriptors: docs.kernel.org/hid/hidintro.html
HID descriptor tool: usb.org/document-library/hid-descriptor-tool
Adafruit report descriptor guide: adafruit-playground.com/u/Gamblor21/pages/a-beginners-guide-to-writing-usb-hid-report-descriptors-by-a-beginner
Microsoft HID tools: github.com/microsoft/hidtools
Controller Tester: onlinemictest.com/controller-tester

[TIMESTAMPS]
00:00 Intro

00:32 Design Files

01:11 JLCPCB (Ad)
02:01 Altium A365 Free Trial (Ad)

02:29 HID Intro
03:11 Hardware Overview & HID Use Cases
05:14 CubeIDE Basic Config & Pinout
08:11 Clock Configuration
08:58 ADC + DMA + Timer Set-Up
13:18 USB HID Middleware

15:36 ADC Code
17:44 ADC Test
18:52 GPIO Reads

20:09 usbd_hid.h/.c
24:04 Report Descriptor
30:08 Fill & Send Report

33:30 Test

35:24 Outro
STM32 USB HID Custom Joystick/Gamepad - Phils Lab #149(Sponsored) Mixed-Signal Hardware/PCB Design Tips - Phils Lab #88Class D Audio Amplifier Hardware Design - Phils Lab #125Delay-Based Audio FX Software Implementation (DSP with STM32) - Phils Lab #140RC Low-Pass Filter Deep-Dive - Phils Lab #118Introduction - Control System Design 1/6 - Phils Lab #7PCB Traces 101 - Phils Lab #112Steel Panther - Just Like Tiger Woods Guitar SoloHigh-Speed PCB Delay Matching Explained - Phils Lab #110Real-Time Impulse Response Simulation in Software (STM32 DSP) - Phils Lab #126STM32 USB MIDI Controller Tutorial (TinyUSB) - Phils Lab #169(Sponsored) Differential Pairs - PCB Design Basics - Phils Lab #83
Phil’s Lab |

STM32 USB HID Custom Joystick/Gamepad - Phil's Lab #149

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER