#4307051 - 10/28/16 11:07 AM
Re: STM32 Micro Controller Boards
[Re: SimHog]
|
Joined: Sep 2012
Posts: 21
SimHog
Junior Member
|
Junior Member
Joined: Sep 2012
Posts: 21
Vic, Australia
|
Hi Mega. Yeah I've learned that from the MMJoy2 thread, well done on MMJoy2 too btw ... I've downloaded it and played around with it, works great! At this time I'm looking to get a Teensy board anyway just so I can use MMJoy2 but have you ever looked at supporting STM32 boards?
|
|
#4329720 - 01/19/17 06:56 PM
Re: STM32 Micro Controller Boards
[Re: SimHog]
|
Joined: Nov 2001
Posts: 3,955
Sokol1
Senior Member
|
Senior Member
Joined: Nov 2001
Posts: 3,955
Internet
|
|
|
#4359800 - 05/27/17 07:21 AM
Re: STM32 Micro Controller Boards
[Re: Sokol1]
|
Joined: May 2011
Posts: 10
Juris3D
Junior Member
|
Junior Member
Joined: May 2011
Posts: 10
Riga, Latvia
|
Juris3D, You can make a "how to" for use STM32F103? Probable you are the first to use EasyJoy 32One . You know, I was thinking to do that myself, so - yes, I will make some "How to" about EasyJoy32. I still need to add registers (74HC165) for buttons, and temporary potentiometers, to check all properly. And I have great news for myself - Author provided me unlock for full customizable version Because I found that problem with .hex missing in article. Anyway, short version of procedure is this: Take your standart "Blue Pill" module, upload (via ST-Link, or Serial) firmware "EasyJoy_DFU.hex" from that forum. Then you should get it shown in Windows system as "STM device with DFU", I believe those were drivers from utility "DfuSe Demo" folder. Then, with this "DfuSe" utility upload firmware "EasyJoy32Onev2.1.1.dfu". After that you should see in "joy.cpl" already this joystick with some axis and 32 buttons. This will be free version without customization support. Version is v.2.1.1, Author says he is making v.3
|
|
#4360092 - 05/29/17 06:02 PM
Re: STM32 Micro Controller Boards
[Re: SimHog]
|
Joined: May 2011
Posts: 10
Juris3D
Junior Member
|
Junior Member
Joined: May 2011
Posts: 10
Riga, Latvia
|
Since this is discussion about STM32 boards and DIY joysticks, I will post here this: Xinput (XboX 360 controller for Windows) DIY gamepad/joystick on "Blue Pill" STM32F103: https://github.com/nesvera/STM32-X360-xinput (Code is free and open, Keil uVision5) Small history: There is a project Xinput "FightStick" (now also in a library form) on Teensy: http://www.zlittell.com/2015/07/fightstick/Then there is Xinput steering wheel, based on above^, but ported to "Blue Pill". This solution contains specific modifications, like encoder control. Code is free and open (Keil uVision5): https://github.com/nesvera/XINPUT-RacingWheelhttps://engenhariaegambiarras.wordpress.com/2017/02/04/racing-wheel-xinput-controller/I asked very very politely to Author of this Xinput wheel, maybe he can publish "typical" XboX controller layout, made in STM32 "Blue Pill", and so he did! Mega Thanks to Daniel Nesvera!! Here are discussion in comments: https://www.youtube.com/watch?v=MiF_OVsyubcCode link one more time: https://github.com/nesvera/STM32-X360-xinputI tested it, and it is working, mostly All is fine, only left/right analog triggers acts weird for now. EDIT: Author shows video, that for him everything running fine, including analog triggers. Not clear yet, why I have those small issues.
Last edited by Juris3D; 05/30/17 11:13 AM.
|
|
|
|