Perhaps. That project is a little lower on the priority list, so I probably won't get to it until spring. I'd love to add a ministick to it, but not sure about getting one to fit in the housing.
Inline advert (2nd and 3rd post)
#4453038 - 12/12/1807:05 PMRe: MMJoy/MMjoy2 - Build your own USB controller
[Re: Sokol1]
Joined: Dec 2018 Posts: 2luizbrenner0
Junior Member
Hey guys.I'm starting to get interested into doing my own set of HOTAS/HOSAS using MMJoy 2, so I'd like to get some insights on what I'm doing.
1. I made this PCB inspired in projects from Debolestis, adding a MCP3208 chip. Can someone tell if there's something wrong with it?
2. I've been looking into some solutions to add a row of 3 shift registers, so I found the Aliexpress shield with the 3 chips, but I'm having doubts with the reliablily of it. Has someone boughth these boards before from New Hope Eletronics?
Hey guys.I'm starting to get interested into doing my own set of HOTAS/HOSAS using MMJoy 2, so I'd like to get some insights on what I'm doing.
1. I made this PCB inspired in projects from Debolestis, adding a MCP3208 chip. Can someone tell if there's something wrong with it?
2. I've been looking into some solutions to add a row of 3 shift registers, so I found the Aliexpress shield with the 3 chips, but I'm having doubts with the reliablily of it. Has someone boughth these boards before from New Hope Eletronics?
I did not use 3208 on my build so can't really advise but I can look to see if I ever downloaded any schematics in the past if needed, though I am not sure why D2 up by the USB header is linked to GND? is that shorting it ? ( disclaimer I am not a Electronics wiz of any kind , sorry.)
I made my own 74HC165 boards for the 1st build but just purchased those ones from New-Hope ( 2nd or 3rd purchase from them ) , they are actually the Boards made by the Maker of the Ejoy V3, (DCS Forum) he also sells on TaoBao but check out pages 189 and 190 as Starfury was having issues with his SR Boards and discovered the PCB is labelled wrong, at least when used with the Arduino not the STM32 Boards he makes....
I did not use 3208 on my build so can't really advise but I can look to see if I ever downloaded any schematics in the past if needed, though I am not sure why D2 up by the USB header is linked to GND? is that shorting it ? ( disclaimer I am not a Electronics wiz of any kind , sorry.)
I made my own 74HC165 boards for the 1st build but just purchased those ones from New-Hope ( 2nd or 3rd purchase from them ) , they are actually the Boards made by the Maker of the Ejoy V3, (DCS Forum) he also sells on TaoBao but check out pages 189 and 190 as Starfury was having issues with his SR Boards and discovered the PCB is labelled wrong, at least when used with the Arduino not the STM32 Boards he makes....
KB.
THe GND below D2 is connected to GND on the right side. D2 on the arduino is connected to D2/IN on the shift register output. I think the silk labeling might be a bit misaligned.
I also think the auto routing method I used ended up making it confusing, as it entangled the trails in order to spare on copper.
Sorry, I never paid much attention to the 3208 stuff as I knew I wasn't going to use them in my build , I did a quick search in my Conversion Info Folder and the Images below are all I have.
There should also be some Layouts in the Firmware's PCB Folder, you may need Sprint Viewer to open the .layouts , it will let you print them too , though their Demo Version wont.
I was working this problem concurrently with someone on the #DIY channel of the HOTAS/HOSAS/SIMPIT discord server. He helped me a bit with understanding how the shift register works, and described the different SR pins to me.
I actually figured out the swapped pins this morning while looking at that last pic I posted with both the diagram and picture reference of the board from the AliExpress store for the shift register. The “S/L” pin is their terminology for CS, and CLK is SCK. Except the labels on the picture representation and on the board itself are incorrect, showing those two pins as swapped.
I have only a very basic understanding of what all these pins do, but the fact that I had the same problems with what I thought was the CS (data leg) pin connected, disconnected, or connected to a different pin than specified in mmjoy2, clued me in to the fact that something was off. It was then that I started looking closely at the diagram to verify that things were labeled properly.
Now that it’s working properly, I can quite easily accomplish my cougar throttle switch upgrade project
Hi Starfury, I finally had some time to check out your Find of the mislabelling of the SR PCBs and you are right..... the connection diagram for the Input and Output on the Schematic needs to be rotated 180° deg. , then everything works as expected including other SR PCB that are daisychained to the 1st . Don't forget to set the number of 74165 Chips in MMjoy2 to 6,9,12 etc if you daisychain or you won't see them.
I updated my crude pics of the SR PCB Wiring ...... hopefully they help someone else too...
Hey guys.I'm starting to get interested into doing my own set of HOTAS/HOSAS using MMJoy 2, so I'd like to get some insights on what I'm doing.
1. I made this PCB inspired in projects from Debolestis, adding a MCP3208 chip. Can someone tell if there's something wrong with it?
2. I've been looking into some solutions to add a row of 3 shift registers, so I found the Aliexpress shield with the 3 chips, but I'm having doubts with the reliablily of it. Has someone boughth these boards before from New Hope Eletronics?
Read the last page of this thread, and the above post. I just bought a pair of these, and they work great after figuring out that the pin labeling is backasswards.
#4456383 - 01/07/1905:29 AMRe: MMJoy/MMjoy2 - Build your own USB controller
[Re: Sokol1]
Joined: Jun 2015 Posts: 4Starfighter
Junior Member
Quick question: if I want to use a potentiometer style Hall sensor like the BI-tech 6127, do I need to do anything special in mmjoy or can I operate it like any other analog potentiometer?
#4456444 - 01/07/1906:50 PMRe: MMJoy/MMjoy2 - Build your own USB controller
[Re: Sokol1]
No, just select "In(ternal) Source" as input in MMJoySetup and pay attention in Bi-Tech datasheet for correct wiring - HALL sensor don't admit wiring errors like pot.
#4456465 - 01/07/1909:27 PMRe: MMJoy/MMjoy2 - Build your own USB controller
[Re: Sokol1]
Joined: Jun 2015 Posts: 4Starfighter
Junior Member
I did pick up a hall pot with a 360 degree rotation. When plugged into mmjoy, I noticed that, unlike a resistive pot, a hall sensor pot does not have a zero and a 1024 maximum travel. It starts at 40 and ends at 950.
#4457313 - 01/14/1909:33 PMRe: MMJoy/MMjoy2 - Build your own USB controller
[Re: Sokol1]
Seems Mega_MOZG will coopilate new version of MMjoy2 firmware, increasing support for encoders (actually 6), and ask for suggestions (in il2sturmovik.ru)
Google translated, take with a grain of salt.
Quote
Yes, nothing, somehow it was laid down when the firmware was done in those times.
in new versions of VPC (and the firmware of mmjoy2 is being developed now there) the restriction on the number of encoders has been removed altogether (a slightly different button configuration mechanism). I can rebuild the mmjoy2 update. Collect all the wishes and wishes that you want to fix / add / remove - we will think how to make a new thing.
Does anyone know if mmjoy and convert analog positions to buttons? For example if I wanted to use a shift button to convert a joystick into a hat switch by clicking it down.
#4460899 - 02/11/1905:42 PMRe: MMJoy/MMjoy2 - Build your own USB controller
[Re: TomVR]
Seems Mega_MOZG will coopilate new version of MMjoy2 firmware, increasing support for encoders (actually 6), and ask for suggestions (in il2sturmovik.ru)
Google translated, take with a grain of salt.
Quote
Yes, nothing, somehow it was laid down when the firmware was done in those times.
in new versions of VPC (and the firmware of mmjoy2 is being developed now there) the restriction on the number of encoders has been removed altogether (a slightly different button configuration mechanism). I can rebuild the mmjoy2 update. Collect all the wishes and wishes that you want to fix / add / remove - we will think how to make a new thing.
Support for 4 HAT's No limit for Encoders Special modes for buttons up to 64 - actually is up to 32.
Possible support for MLX-90333
Possible an new way for connect TLE5010.
Quote
TLE5010 - I can offer a unique solution about the pull-up resistor on the DATA line (1.5 kΩ), but this will greatly change the circuitry. Will have to swap SEL and DAT. DAT will be unique for each sensor, SEL will be common to all. The controller will poll all TLE5010 at the same time - this will increase performance and reduce delays on the read protocol.
Considered not practical add to firmware - mouse and keyboard emulation, RGB control. This could be done with 3rd part soft, e.g. Joy2Key, Joystick Gremlin.
#4461050 - 02/12/1907:26 PMRe: MMJoy/MMjoy2 - Build your own USB controller
[Re: Sokol1]
Support for 4 HAT's No limit for Encoders Special modes for buttons up to 64 - actually is up to 32.
Possible support for MLX-90333
Possible an new way for connect TLE5010.
Quote
TLE5010 - I can offer a unique solution about the pull-up resistor on the DATA line (1.5 kΩ), but this will greatly change the circuitry. Will have to swap SEL and DAT. DAT will be unique for each sensor, SEL will be common to all. The controller will poll all TLE5010 at the same time - this will increase performance and reduce delays on the read protocol.
Considered not practical add to firmware - mouse and keyboard emulation, RGB control. This could be done with 3rd part soft, e.g. Joy2Key, Joystick Gremlin.
Thanks for keeping us updated here Sokol1 ....... this is good news....