Racing wheel – XInput X360 controller

First of all, I would like to say thanks to Zachery Littell for his Fight Stick [1] that helped me with the XInput communication. I will suffer a lot without his code because I did not know for where begin.

I ported his code from a TeensyLC to a STM32F103C8T6 development board. The HID was a little tricky but is working. It sends commands from the racing wheel to PC, but it can’t read the commands that comes from PC, like led position or motor rumble. I am working in this part yet.

The objective of this post is on how to make the electrical part of the racing wheel. In a later post, I will talk about the structure. If you want to learn how the controller’s communication works, go to the Littell’s blog [1] where he gives a good explanation of how it works.

Continue Lendo “Racing wheel – XInput X360 controller”

STM32 Workbench

This article will show some of the software that you should use to work with the ST’s Microcotrollers.

First of all, STM32CUBEMX is an initialization code generator used to reduce development efforts and time. It has a nice and straightforward interface that allows users to configure and select the microcontroller’s properties. You can select the clock speed of the peripherals, USB, ADC properties. Select the function that each pin will have, just with some clicks.

pic_0.png

 

Continue Lendo “STM32 Workbench”