Previous Thread
Next Thread
Print Thread
Rate This Thread
Hop To
Page 37 of 112 1 2 35 36 37 38 39 111 112
#4255195 - 05/02/16 06:41 PM Re: MMJoy - 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
Arduino boards have many "flavors" with different micro controllers. smile

Since you choose other way (than MMjoy2) maybe this help, is done with generic Arduino HID code, but probable you need write the code for the I2C protocol, as in this case the guy simple reuse the original Shift Register board with CD4021B.

http://forum.arduino.cc/index.php?topic=271306.0

Inline advert (2nd and 3rd post)

#4255199 - 05/02/16 06:55 PM Re: MMJoy - Build your own USB controller [Re: Sokol1]  
Joined: Sep 2015
Posts: 7
Bosk666 Offline
Junior Member
Bosk666  Offline
Junior Member

Joined: Sep 2015
Posts: 7
Hi,

is there a way to connect mmjoy2 to a ps4 ?

Jens

#4255233 - 05/02/16 08:29 PM Re: MMJoy - Build your own USB controller [Re: Sokol1]  
Joined: Jul 2010
Posts: 74
Repvez Offline
Junior Member
Repvez  Offline
Junior Member

Joined: Jul 2010
Posts: 74
No, it isn't my joy and board. I just found on internet.

My choise is ready for MMjoy2.
It is a well described device and it has every file , program etc..
You and others are very helpfull so what should I have to more? smile2

#4255673 - 05/03/16 10:24 PM Re: MMJoy - Build your own USB controller [Re: Sokol1]  
Joined: Apr 2016
Posts: 18
buccaneer89 Offline
Junior Member
buccaneer89  Offline
Junior Member

Joined: Apr 2016
Posts: 18
Guys,
I have a strange occurrence.

I have a Teensy 2.0

1. I connect it the first time through USB, it starts flashing but doesn't appear in the Device Manager as something obvious nor the Driver Updates automatically and when I find the actual profile on the Device Manager and update the driver it is already updated.
2. I open MMJoy2.exe and upload the firmware, it says COM1 despite not being COM1
3. When restarted the Teensy it appears in MMJoy2.exe as VID:8888 PID:8888 MMJoy2 (MMJoy2-20151118)
4. I go to Joystick Buttons and put B2 and B3 as matrix columns as I have a single button connected to those for testing.
5. The button number 1 turns red when I press it.
6. The MMJoy2 appears as Game Controller in the Devices and Printers. However there is no calibration or anything like that.
7. I start War Thunder and try to set up Engine On by pressing the button.
8. Nothing happens.

Am I missing something? Even if I close MMJoy2.exe and disconnect and reconnect the Teensy War Thunder doesn't recognize the buttons.
Do I have to set up in normal working mode?

#4255687 - 05/03/16 10:55 PM Re: MMJoy - 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
After set the column and row for buttons you use the "Save settings do device"?

If you don't set axis for the new "joystick" no calibration is available in Game Controllers.

You can use the VKB Button Tester - in lower JoySetup toll bar - to test buttons, work with any joystick.

#4255861 - 05/04/16 08:51 AM Re: MMJoy - Build your own USB controller [Re: Sokol1]  
Joined: Apr 2016
Posts: 18
buccaneer89 Offline
Junior Member
buccaneer89  Offline
Junior Member

Joined: Apr 2016
Posts: 18
Yes, I save the settings to the device.
However when using the VKB Button Tester only my other Joystick, T16000M appears. And if I disconnect the other Joystick not options are available on the VKB Button Tester

#4255949 - 05/04/16 01:13 PM Re: MMJoy - 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
As is detected in Game Controllers, the joystick are OK, the issue is in button settings.

Can you post a screenshot of JoySetup tab buttons?


#4256139 - 05/04/16 07:33 PM Re: MMJoy - Build your own USB controller [Re: Sokol1]  
Joined: Apr 2016
Posts: 18
buccaneer89 Offline
Junior Member
buccaneer89  Offline
Junior Member

Joined: Apr 2016
Posts: 18



The red boxes are what the computer detects. But on the button tester nothing is detected.

The connection for the two testing buttons is as follows.

Cable from B2 to pole 1 to button 1
Cable from B3 to pole 2 to button 1

Cable from F4 to pole 1 in button 2
Cable from F5 to pole 2 in button 2

The button in MMJOY2 is red as I am pressing on the button 2 of the breadboard

#4256155 - 05/04/16 08:00 PM Re: MMJoy - 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
In "used buttons" is show 0...

You need set below the box "Clear settings" that "Joystick button 1" will use "W/H.button" 4, etc for every used button.

Click in ---- and select in drop down menu the number.

Then save settings to device and re-plug.


#4256177 - 05/04/16 08:32 PM Re: MMJoy - Build your own USB controller [Re: Sokol1]  
Joined: Apr 2016
Posts: 18
buccaneer89 Offline
Junior Member
buccaneer89  Offline
Junior Member

Joined: Apr 2016
Posts: 18
Thank you very much.
You guys are amazing.

#4257769 - 05/08/16 09:36 AM Re: MMJoy - Build your own USB controller [Re: Sokol1]  
Joined: Aug 2015
Posts: 68
Debolestis Offline
Junior Member
Debolestis  Offline
Junior Member

Joined: Aug 2015
Posts: 68
Croatia
Mega_mozg is it possible to add third shift register in switches tab?

#4257833 - 05/08/16 01:49 PM Re: MMJoy - Build your own USB controller [Re: Debolestis]  
Joined: Jan 2014
Posts: 274
mega_mozg_13 Offline
Member
mega_mozg_13  Offline
Member

Joined: Jan 2014
Posts: 274
BELARUS, Minsk
Originally Posted By: Debolestis
Mega_mozg is it possible to add third shift register in switches tab?

make it at one line.

#4258118 - 05/09/16 08:41 AM Re: MMJoy - Build your own USB controller [Re: Sokol1]  
Joined: Mar 2015
Posts: 51
Sak75 Offline
Junior Member
Sak75  Offline
Junior Member

Joined: Mar 2015
Posts: 51
Madrid, Spain
Hi all,

I am redesigning my HOTAS joystick and changing the type of spring, pot, buttons, etc. I also plan to use two arduino pro micro plates for more axes and buttons. My question is because i'm thinking of using two positions Toggle Switches and with a led indicate me which position is on.
I've been doing several tests but can not get the signal to turn on the LED, we know electronics are not a wonder What do I want it's possible?.

Thank you

#4258694 - 05/10/16 06:02 PM Re: MMJoy - Build your own USB controller [Re: Sokol1]  
Joined: Apr 2016
Posts: 63
erichos Offline
Junior Member
erichos  Offline
Junior Member

Joined: Apr 2016
Posts: 63
Slovakia
Hello everybody!

Firstly I want to thank to mega_mozg_13 for great work on MMJoy2 software and Sokol1 and others for help.

I decided to repair and connect together 2 Saitek quadrants and 1 Saitek switch panel that does not work for IL-2 Sturmovik 1946. I replaced old pots with hall sensors Allegro A1302 in both quadrants and connect to one board ProMicro, that works fine. But switch panel has switch lever for switching gear with 3 Bi-color LEDs (Red/Green)that was problem. I wanted to keep them. I made it at small PCB 25x58mm same size like was inside Saitek switch panel. Here is my solution in pictures:



Scheme:


MMJoy2 settings:



Without so amazing soft like MMJoy2 I would not solve that, thank you very much mega_mozg_13. When I completed all I post here some other pictures.



Last edited by erichos; 05/20/16 07:16 PM. Reason: adding some diodes because of avoiding "ghost" button press
#4261110 - 05/17/16 03:46 PM Re: MMJoy - Build your own USB controller [Re: Sokol1]  
Joined: Jul 2010
Posts: 74
Repvez Offline
Junior Member
Repvez  Offline
Junior Member

Joined: Jul 2010
Posts: 74
I recived my pro micro board. huh this is realy micro.I tought it's is bigger.
I 'm even waiting the TLE 5010 chips and I begin the work with my joy.
I have to find a chep opportuniti to make PCB for pro micro base and the TLE 5010 .

#4261192 - 05/17/16 07:17 PM Re: MMJoy - Build your own USB controller [Re: Repvez]  
Joined: Aug 2015
Posts: 68
Debolestis Offline
Junior Member
Debolestis  Offline
Junior Member

Joined: Aug 2015
Posts: 68
Croatia
Originally Posted By: Repvez
I recived my pro micro board. huh this is realy micro.I tought it's is bigger.
I 'm even waiting the TLE 5010 chips and I begin the work with my joy.
I have to find a chep opportuniti to make PCB for pro micro base and the TLE 5010 .


I recomend OSH park. I made a few PCB with them, good thing is that they accept Eagle CAD files, no need for gerbers.
look here for example

http://forums.eagle.ru/showthread.php?t=120049&page=9

#4261213 - 05/17/16 07:55 PM Re: MMJoy - Build your own USB controller [Re: Sokol1]  
Joined: Aug 2015
Posts: 68
Debolestis Offline
Junior Member
Debolestis  Offline
Junior Member

Joined: Aug 2015
Posts: 68
Croatia
Mega_mozgg can you explain please. TLE5010 and Leonardo pro micro.





I understand where to connect ground and power.
GEN to B6?
SCK to B1?
SC to B5, F4,F5,F6 and F7?
MISO to B3?

GEN, SCK and MISO are shared?
Is that correct?

Thank you!

#4261479 - 05/18/16 05:13 PM Re: MMJoy - 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
The answer in Eagle forum (for people who don't use that forum):

Quote:


TLE5010/5011---------->Controller ProMicro(AtMega32u4)
1) 4Mhz clock----------->Pin B6 - Generator 4Mhz
2) SPI-SCK------------->Pin B1 - SPI-SCK
3) SPI-CS--------------->Any free pin
4) SPI-Data------------->Pin B3 - SPI-MISO
5) TST1----------------->To Ground
6) VDD------------------>To Power (VCC)
7) GND------------------>To Ground
8) TST2----------------->To Ground

All pins except "SPI-CS" shared.



#4261754 - 05/19/16 03:50 PM Re: MMJoy - Build your own USB controller [Re: Sokol1]  
Joined: Apr 2016
Posts: 18
buccaneer89 Offline
Junior Member
buccaneer89  Offline
Junior Member

Joined: Apr 2016
Posts: 18
After some research and a lot of prototypying I believe I have the full schematics of what I want to build.

However I have a few questions.

1. The Shift Register 74HC165 has 3 pins that have to be connected, CS, SCK and MISO. In the MMJOY2 you can select the pins of CS and MISO. Does that mean that SCK will go to the AE/BM/SPI-SCK pin of the board? Pin B1 in the Arduino Micro.

2. The Joystick axis has only one configurable pin in MMJOY2, I suppose that those are the SPI-CS, in my image the orange cables that go to B5, B4, E6, D7, C6 and D4 on the top part of the Arduino Micro. Am I right?



Can you guys check if there is something wrong in general. I would really appreciate it. If the schematics are good they can be use in the main page if mega_mozg_13 wants

The six IC chips on top are TLE5011 and the Shift Registers are 74HC165

Last edited by buccaneer89; 05/19/16 09:23 PM.
#4261755 - 05/19/16 04:10 PM Re: MMJoy - Build your own USB controller [Re: Sokol1]  
Joined: May 2016
Posts: 55
Forsaken_joystick Offline
Junior Member
Forsaken_joystick  Offline
Junior Member

Joined: May 2016
Posts: 55
Argentina
Hello, I'm new here. First things first, mega_mozg_13 for your great work and Sokol1 for making this post!

My goal is yo re-wire a TM F16 FLCS + TQS + gameport CH Pro Rudder. And actually I'm stucked at the axis sensor election. I have some UGN3503 halls (olds for testing) and I bought (still waiting deliver) some A1302 and A1321. Also TLE5011. Not to mention key matrix... I had some issues back with Mjoy16, didn't try yet with this new firmware.

My question is: What PCB should I do for using TLE5011? MMJoy2_TLE5010.lay6 or MMJoy2_SHIELD_REG.lay6.

I'm not good with electronic stuff, but I'm following tutorials..lol. I've made Mjoy16 once... but the lack of time and some errors made me leave the project for sometime.

Thank you for your time.

P.S. I'm still gathering components to make it happen. I have Sparkfun ProMicro board, and I plan to buy a 2 more.... it's a shame here where I live it isn't easy to get components..

Page 37 of 112 1 2 35 36 37 38 39 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
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
10 years after 3/8/2014
by NoFlyBoy. 03/17/24 10:25 AM
Copyright 1997-2016, SimHQ Inc. All Rights Reserved.

Powered by UBB.threads™ PHP Forum Software 7.6.0