ArduinoJoystickLibrary

Hello, I wanted to know if the Arduino joystick library supports STM32 microcontrollers, specifically the popular STM32F103C8 chip or not. I want to build a personal game controller using this chip and Arduino. Although I am aware that freeJoy has previously provided support for it as software, I want to implement something similar using the Arduino environment and the F103C8 microcontroller.

Another question is how can I overcome the limitation of 8 analog inputs? I want to have support for up to 12 inputs, for example, on Windows, without the need for an additional microcontroller.

Also, can I increase the number of buttons to 64?

you can use one or more multichannel ADC-chips with I2C-interface

You can use digital IO-expansion-chips with I2C-interface like the MCP23017
For 64 buttons you would need 4 of them

best regards Stefan

I meant the limitations of Windows. The analog values are collected by another microcontroller and sent to the main microcontroller via I2C.

The main issue is with Windows supporting a maximum of 8 axes, while I want to increase it to 12 axes.

Furthermore, I still don't know if the library supports the STM32F103C8 microcontroller (specifically the Blue Pill board) or not.

Post a block diagram of the system mentioned.

Take a search engine of your choice and ask the WWW for 'STM32F103C8 libaries' to collect some data to be sorted out to get the needed information.

As long as the libraries do not use special hardware in a direct way
which means if all hardware-accesses are done over the board-core-files it will run

install the board with the arduino-IDE-board-manager
write a test-code and use compile without upload

expanding windows from 8 to 12 channels is a windows problem. You will find more answers if you ask this in a windows-forum.

best regards Stefan

Yes, certainly. According to the image, the Bluepill board will be connected to the computer via USB. Additionally, another microcontroller will be responsible for reading analog values and sending them to the Bluepill board. In this example, I used a microcontroller, but it is possible to use an ADC module instead. However, this is a hypothetical representation of what I want to accomplish.

my question is whether this library supports the Bluepill board or not? And can I define 12 analog axes in this library or not?

install the board with the arduino-IDE-board-manager
write a test-code and use compile without upload

Ok, I will test it

FreeJoy

I have seen it before, I want to have everything in my hands in the form of code, so I decided to go to Arduino and try to build it with Arduino.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.