Previous Thread
Next Thread
Print Thread
Rate This Thread
Hop To
Page 96 of 112 1 2 94 95 96 97 98 111 112
#4451900 - 12/05/18 03:27 AM Re: MMJoy/MMjoy2 - Build your own USB controller ***** [Re: Sokol1]  
Joined: Jul 2018
Posts: 20
StarfuryTH Offline
Junior Member
StarfuryTH  Offline
Junior Member

Joined: Jul 2018
Posts: 20
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/18 07:05 PM Re: MMJoy/MMjoy2 - Build your own USB controller [Re: Sokol1]  
Joined: Dec 2018
Posts: 2
luizbrenner0 Offline
Junior Member
luizbrenner0  Offline
Junior Member

Joined: Dec 2018
Posts: 2
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?

https://pt.aliexpress.com/item/74HC...16.1.56a9777aemEf6y&isOrigTitle=true


Attached Files pcb.png
#4453059 - 12/12/18 10:14 PM Re: MMJoy/MMjoy2 - Build your own USB controller [Re: luizbrenner0]  
Joined: Dec 2016
Posts: 454
Kb1rd1 Offline
Member
Kb1rd1  Offline
Member

Joined: Dec 2016
Posts: 454
Originally Posted by luizbrenner0
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?

https://pt.aliexpress.com/item/74HC...16.1.56a9777aemEf6y&isOrigTitle=true




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.


My FLCS+TQS Conversion here on SimHQ

http://simhq.com/forum/ubbthreads.php/topics/4324940/1
#4453159 - 12/13/18 08:52 PM Re: MMJoy/MMjoy2 - Build your own USB controller [Re: Kb1rd1]  
Joined: Dec 2018
Posts: 2
luizbrenner0 Offline
Junior Member
luizbrenner0  Offline
Junior Member

Joined: Dec 2018
Posts: 2

Quote
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.

#4453161 - 12/13/18 09:33 PM Re: MMJoy/MMjoy2 - Build your own USB controller [Re: luizbrenner0]  
Joined: Dec 2016
Posts: 454
Kb1rd1 Offline
Member
Kb1rd1  Offline
Member

Joined: Dec 2016
Posts: 454
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.


KB

Attached Files mcp3208.pngmmjoy2_promicro_mcp3208_extension.pngmmjoy2_promicro+mcp3208+CD4021B Shift register.png
Last edited by Kbird; 12/13/18 09:44 PM.

My FLCS+TQS Conversion here on SimHQ

http://simhq.com/forum/ubbthreads.php/topics/4324940/1
#4453467 - 12/16/18 06:03 PM Re: MMJoy/MMjoy2 - Build your own USB controller [Re: StarfuryTH]  
Joined: Dec 2016
Posts: 454
Kb1rd1 Offline
Member
Kb1rd1  Offline
Member

Joined: Dec 2016
Posts: 454
Originally Posted by StarfuryTH
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 smile


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...

KB.

Attached Files EJoyV3_SR_PCB_Fritzing Pic.JPGEJoyV3_SR_PCB_Multiple_Wired1.JPGEJoyV3_SR_PCB_Wired1_Labelled.JPGEJoyV3_SR_PCB_Scheme_Corrected.JPGEJoyV3_SR_PCB_Pin-Out Corrected Pic.jpgEJoyV3_SR_SPI_PinOut_Scheme_Corrected.jpg

My FLCS+TQS Conversion here on SimHQ

http://simhq.com/forum/ubbthreads.php/topics/4324940/1
#4453849 - 12/19/18 02:33 AM Re: MMJoy/MMjoy2 - Build your own USB controller [Re: luizbrenner0]  
Joined: Jul 2018
Posts: 20
StarfuryTH Offline
Junior Member
StarfuryTH  Offline
Junior Member

Joined: Jul 2018
Posts: 20
Originally Posted by luizbrenner0
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?

https://pt.aliexpress.com/item/74HC...16.1.56a9777aemEf6y&isOrigTitle=true


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/19 05:29 AM Re: MMJoy/MMjoy2 - Build your own USB controller [Re: Sokol1]  
Joined: Jun 2015
Posts: 4
Starfighter Offline
Junior Member
Starfighter  Offline
Junior Member

Joined: Jun 2015
Posts: 4
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/19 06:50 PM Re: MMJoy/MMjoy2 - Build your own USB controller [Re: Sokol1]  
Joined: Nov 2001
Posts: 3,955
Sokol1 Offline
Senior Member
Sokol1  Offline
Senior Member

Joined: Nov 2001
Posts: 3,955
Internet
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/19 09:27 PM Re: MMJoy/MMjoy2 - Build your own USB controller [Re: Sokol1]  
Joined: Jun 2015
Posts: 4
Starfighter Offline
Junior Member
Starfighter  Offline
Junior Member

Joined: Jun 2015
Posts: 4
Got it, I’ll give it a shot. Thanks.

#4457296 - 01/14/19 08:03 PM Re: MMJoy/MMjoy2 - Build your own USB controller [Re: Sokol1]  
Joined: Jun 2014
Posts: 5
flyforever Offline
Junior Member
flyforever  Offline
Junior Member

Joined: Jun 2014
Posts: 5
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/19 09:33 PM Re: MMJoy/MMjoy2 - Build your own USB controller [Re: Sokol1]  
Joined: Nov 2001
Posts: 3,955
Sokol1 Offline
Senior Member
Sokol1  Offline
Senior Member

Joined: Nov 2001
Posts: 3,955
Internet
Plug the sensor (or pot, etc), calibrate, save, then test. But this small difference is not and issue.

#4457934 - 01/19/19 01:42 PM Re: MMJoy/MMjoy2 - Build your own USB controller [Re: Sokol1]  
Joined: Jan 2017
Posts: 35
sunrrrise Offline
Junior Member
sunrrrise  Offline
Junior Member

Joined: Jan 2017
Posts: 35
I am considering extending mu setup with encoders. is it possible to connect them directly to CD4021 board as normal buttons? No special magic needed?

What encoders do you recommend?

Last edited by sunrrrise; 01/19/19 01:42 PM.
#4459007 - 01/28/19 12:20 PM Re: MMJoy/MMjoy2 - Build your own USB controller [Re: Sokol1]  
Joined: Jan 2019
Posts: 2
schredder Offline
Junior Member
schredder  Offline
Junior Member

Joined: Jan 2019
Posts: 2


Hi All !

First post here...

I made these boards.

Both based on MMJoy. the small one has 96 inputs on a single small board. the other is a full generic input panel( optional with expansion board).

Both were designed for a small local community.

I'ts quite easy to design such boards. if there is an interest of a custom design - please let me know.

Attached Files 14560067_10209705645296450_8755172619898875943_o.jpg28238778_10214439993252190_4689933047630513962_o.jpg28377814_10214451770666618_5652175711728995971_n.jpg28378830_10214451771386636_587928312395543343_n.jpg
#4460672 - 02/10/19 01:56 AM Re: MMJoy/MMjoy2 - Build your own USB controller [Re: Sokol1]  
Joined: Nov 2001
Posts: 3,955
Sokol1 Offline
Senior Member
Sokol1  Offline
Senior Member

Joined: Nov 2001
Posts: 3,955
Internet
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.


https://tinyurl.com/Il-2-ru-MMJOY2

#4460837 - 02/11/19 04:55 AM Re: MMJoy/MMjoy2 - Build your own USB controller [Re: Sokol1]  
Joined: May 2016
Posts: 36
TomVR Offline
Junior Member
TomVR  Offline
Junior Member

Joined: May 2016
Posts: 36
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/19 05:42 PM Re: MMJoy/MMjoy2 - Build your own USB controller [Re: TomVR]  
Joined: Nov 2001
Posts: 3,955
Sokol1 Offline
Senior Member
Sokol1  Offline
Senior Member

Joined: Nov 2001
Posts: 3,955
Internet
JoySetup > tab Joystick Axes (spec. functions) > Axis to button

Allow set and analog axis to press two buttons, based on % threshold.

Quote
For example if I wanted to use a shift button to convert a joystick into a hat switch by clicking it down.


Set the (mini-)joystick to press 2 buttons in each axis,

Example
Axis 1 press button 10 if is 0 to 10%
Axis 1 press button 11 if is 90 to 100%

And set (mini-)joystick push button for "shift".

#4460906 - 02/11/19 07:12 PM Re: MMJoy/MMjoy2 - Build your own USB controller [Re: Sokol1]  
Joined: Dec 2016
Posts: 454
Kb1rd1 Offline
Member
Kb1rd1  Offline
Member

Joined: Dec 2016
Posts: 454
Originally Posted by 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.


https://tinyurl.com/Il-2-ru-MMJOY2



Thanks for the News Sokol1 thumbsup lets hope we see him back here too.....

KB.


My FLCS+TQS Conversion here on SimHQ

http://simhq.com/forum/ubbthreads.php/topics/4324940/1
#4461045 - 02/12/19 06:35 PM Re: MMJoy/MMjoy2 - Build your own USB controller [Re: Sokol1]  
Joined: Nov 2001
Posts: 3,955
Sokol1 Offline
Senior Member
Sokol1  Offline
Senior Member

Joined: Nov 2001
Posts: 3,955
Internet
For now:

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/19 07:26 PM Re: MMJoy/MMjoy2 - Build your own USB controller [Re: Sokol1]  
Joined: Dec 2016
Posts: 454
Kb1rd1 Offline
Member
Kb1rd1  Offline
Member

Joined: Dec 2016
Posts: 454
Originally Posted by Sokol1
For now:

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....

KB


My FLCS+TQS Conversion here on SimHQ

http://simhq.com/forum/ubbthreads.php/topics/4324940/1
Page 96 of 112 1 2 94 95 96 97 98 111 112

Moderated by  RacerGT 

Quick Search
Recent Articles
Support SimHQ

If you shop on Amazon use this Amazon link to support SimHQ
.
Social


Recent Topics
CD WOFF
by Britisheh. 03/28/24 08:05 PM
Carnival Cruise Ship Fire....... Again
by F4UDash4. 03/26/24 05:58 PM
Baltimore Bridge Collapse
by F4UDash4. 03/26/24 05:51 PM
The Oldest WWII Veterans
by F4UDash4. 03/24/24 09:21 PM
They got fired after this.
by Wigean. 03/20/24 08:19 PM
Grown ups joke time
by NoFlyBoy. 03/18/24 10:34 PM
Anyone Heard from Nimits?
by F4UDash4. 03/18/24 10:01 PM
RIP Gemini/Apollo astronaut Tom Stafford
by semmern. 03/18/24 02:14 PM
Copyright 1997-2016, SimHQ Inc. All Rights Reserved.

Powered by UBB.threads™ PHP Forum Software 7.6.0