#4545920 - 11/24/20 04:51 PM
Re: MMJoy/MMjoy2 - Set your own USB controller with a cheap Arduino
   
[Re: Sokol1]
|
Joined: Jan 2010
Posts: 464
tirta
Member
|
Member
Joined: Jan 2010
Posts: 464
|
IIRC when converting all CH Products fighterstick, throttle and pedal using mjoy, I find the working gimbal angle is rather small only in ch throttle, but I think it is about 150 degrees. And comparing the sensor price, I find AS5600 is a lot more expensive compared to TLE5010, so I guess TLE5010 is a better choice. And you also correct that TLE5010 resolution is far better compared what my hand can control. It is far better to make the current mechanism more precise first. Sokol1, reading the previous posts, I find the best magnet for TLE5010 is ring magnet, diameter 6mm. is this correct?
|
|
#4545933 - 11/24/20 06:51 PM
Re: MMJoy/MMjoy2 - Set your own USB controller with a cheap Arduino
[Re: tirta]
|
Joined: Nov 2001
Posts: 3,945
Sokol1
Senior Member
|
Senior Member
Joined: Nov 2001
Posts: 3,945
Internet
|
Diametrically magnetized ring. But if is more practical fit a square or rectangular magnet, no reason for don't use. I find the working gimbal angle is rather small only in ch throttle, but I think it is about 150 degrees. The working angle is the angle that potentiometer turn, no way to be 150º because potentiometer used by CH have the resistive trail limited to ~30+30º. 
|
|
#4547639 - 12/08/20 07:36 AM
Re: MMJoy/MMjoy2 - Set your own USB controller with a cheap Arduino
[Re: Sokol1]
|
Joined: Jul 2020
Posts: 4
bulair
Junior Member
|
Junior Member
Joined: Jul 2020
Posts: 4
Bangkok
|
I used the option to define axis to button in MMJOY2. Now under joystick both the axis and button react at the same time so it is virtually impossible to have software detect your input. Does anyone know how to switch off the axis in MMJOY2 so only the button assigned will be visible? THx 
Axel Lukassen
|
|
#4548661 - 12/15/20 10:11 PM
Re: MMJoy/MMjoy2 - Set your own USB controller with a cheap Arduino
[Re: AndyB]
|
Joined: Dec 2015
Posts: 6
zenPanda
Junior Member
|
Junior Member
Joined: Dec 2015
Posts: 6
CA - California
|
Click on the Arduino Leandro that is highlighted in blue in your first image and then you should see the 2 buttons Load Sets From Device and Save Sets to device become available. Click the Save Sets to device which should popup a progress bar and then reboot the Arduino. Once it pops up again in the window it should say mmjoy in the name. Click it again as before and this time click Load sets from device and then try your pot.
Also, based on what you described I don't think you actually flashed the board. Did you short the pin and then check the com port? There are 2 com ports...one for when it is not in bootloader mode and another for when it is. You have to put it into boot loader mode to find out what port it will change to. Then when ready to flash put it in bootloader mode again and select the proper com port and then flash. You only have 8 seconds to start the flash before it comes out of bootloader mode so be ready when you short the pin. When it flashes the command dialog will open and you will see code in the window. If it just pops up and disappears I would say it failed...probably because you are not on the right com port. Once it is flashed you need to do the steps above up to at least save sets to device. Good Luck.
Last edited by zenPanda; 12/16/20 01:16 AM.
|
|
#4548783 - 12/16/20 08:32 PM
Re: MMJoy/MMjoy2 - Set your own USB controller with a cheap Arduino
[Re: Sokol1]
|
Joined: Dec 2015
Posts: 6
zenPanda
Junior Member
|
Junior Member
Joined: Dec 2015
Posts: 6
CA - California
|
|
|
#4549898 - 12/27/20 06:11 PM
Re: MMJoy/MMjoy2 - Set your own USB controller with a cheap Arduino
[Re: Sokol1]
|
Joined: Sep 2015
Posts: 4
loopingz
Junior Member
|
Junior Member
Joined: Sep 2015
Posts: 4
|
Hi there, I am trying to do a 4x2 matrix from a joystick that had 1 ground and 8 signals. I am looking at https://github.com/MMjoy/mmjoy_en/wiki/Connecting-basic-inputs-and-setting-up-software#button-matrixIs there any issue if I wire first the diode and then the switch on all node. It feels the same to me as the swith and diode are in serie but may I am wrong for some unknown reason to me. It would greatly simplificate my rewiring. Can you confirm or correct me if I am wrong. Thanks
Last edited by loopingz; 12/27/20 06:12 PM.
|
|
#4549901 - 12/27/20 07:25 PM
Re: MMJoy/MMjoy2 - Set your own USB controller with a cheap Arduino
[Re: Sokol1]
|
Joined: Nov 2001
Posts: 3,945
Sokol1
Senior Member
|
Senior Member
Joined: Nov 2001
Posts: 3,945
Internet
|
For just 8 buttons you don't need use diode, can use just one row and 8 columns.
Last edited by Sokol1; 12/27/20 07:32 PM.
|
|
#4549906 - 12/27/20 07:58 PM
Re: MMJoy/MMjoy2 - Set your own USB controller with a cheap Arduino
[Re: Sokol1]
|
Joined: Sep 2015
Posts: 4
loopingz
Junior Member
|
Junior Member
Joined: Sep 2015
Posts: 4
|
Thanks Sokol1, t is a generic question about button matrix, I am reverse engineering a microsoft force feedback joystick and a Saitek cyborg 3D. I am rewiring the Saitek to use the grip in the microsoft joystick. Microsoft use a 2x4 matrix with diode so I need to match. Saitek use a common ground so I prefer to put the diode on the signal side. I will try anyway.
|
|
#4549940 - 12/28/20 12:07 PM
Re: MMJoy/MMjoy2 - Set your own USB controller with a cheap Arduino
[Re: Sokol1]
|
Joined: Jul 2010
Posts: 74
Repvez
Junior Member
|
Junior Member
Joined: Jul 2010
Posts: 74
|
Hi, I have all neccessary part to convert my FLCS/TQS. But I need some summary tha I don't make any mistake when i do. I have a Shift regiszter , but not an original one, but I would like to connect the handle like the original Cougar grip.If I want to change the stick base in the future , it will be compatible with the oroginal softver . So, Can somebody link a scematic about the all buttons and axis wire. wich button can go the same row and column I would like to use only one Arduino pro micro. and all X,Y,Z and the rudder axis would be TLE5010. Wich wires can be connect together like a common wire like a ground and the VCC? The arduino place will be in the TQS base, that's why the stick 5 wire and the 2 TLE5010 wire need to go to TQS base. [img] https://scontent-dus1-1.xx.fbcdn.ne...4c7a9909bacaee3adbae656e&oe=600ED5EC[/img [img] https://scontent-dus1-1.xx.fbcdn.ne...c32526fbe6196da85125056d&oe=60103F7F[/img] ] This is the Shift register what i use And this is the Po micro with the shild: [img] https://scontent-dus1-1.xx.fbcdn.ne...a4224e5ef09bdd6c33f384b1&oe=600F87D1[/img] But is not important to use the shild
|
|
#4550029 - 12/28/20 11:53 PM
Re: MMJoy/MMjoy2 - Set your own USB controller with a cheap Arduino
[Re: Sokol1]
|
Joined: Nov 2001
Posts: 3,945
Sokol1
Senior Member
|
Senior Member
Joined: Nov 2001
Posts: 3,945
Internet
|
So, Can somebody link a scematic about the all buttons and axis wire. wich button can go the same row and column F16-FLCS, F22PRO, Cougar, Warthog, F-16... don't use matrix (buttons and columns) but Shift Register: 3x CD4021B on PCB. You can use Matrix, but need create you own scheme, grip have 18 buttons, what mean at least 5x4 (lines x columns) matrix, what make difficult find a connector for make grip detachable. So if you plane make the grip detachable, will need 3D Print the nut and bolt for the grip/base, so stick to Shift Register PCB, what means only 5 wires going for the base. And use on Arduino for stick and one for throttle, what keep things simple = less and short wires. This PCB Shield have connector for grip Serial connection (5 pins)?
|
|
|
|
|
|
|
|
|
|
Route 66
by KraziKanuK. 05/28/23 05:17 PM
|
|
|
|