Previous Thread
Next Thread
Print Thread
Rate This Thread
Hop To
Page 4 of 112 1 2 3 4 5 6 111 112
#3996669 - 08/16/14 03:39 PM Re: MMJoy - Build your own USB controller ***** [Re: Sokol1]  
Joined: Aug 2014
Posts: 1
Rog99 Offline
Junior Member
Rog99  Offline
Junior Member

Joined: Aug 2014
Posts: 1
Hi, new guy here...

Have lurked on this and other forums for quite a while, but thought I'd register just to say thanks for the MMjoy firmware - it's great and allowed me to resurrect an old CH Pro throttle with an ADB interface.



Additional buttons and rotaries, maybe a mini-stick will be added when I can work out how to add them nicely.

The only real problem I had was getting the firmware on to the Arduino, but got there first time with a USBASP programmer.

Any chance of increasing the device name to more than 10 characters?

Thanks again.

Inline advert (2nd and 3rd post)

#3997088 - 08/17/14 05:35 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
Rog99

Well done!

These gameport CH Throttles is very friendly to "update", all wires are very accessible.

Sokol1

#3997597 - 08/18/14 07:12 PM Re: MMJoy - Build your own USB controller [Re: Sokol1]  
Joined: Aug 2014
Posts: 17
Lorphos Offline
VR guy
Lorphos  Offline
VR guy
Junior Member

Joined: Aug 2014
Posts: 17
Germany
Hi Rog99,

I want to do the same exact mod (once I get a cheap CH Pro Throttle). Well done.

For everyone else: Could someone explain why I need an extra USBasp to program the Arduino Pro Micro? According to Sparkfun, one of its features is the "On-Board micro-USB connector for programming".

#3997654 - 08/18/14 08:54 PM Re: MMJoy - Build your own USB controller [Re: Sokol1]  
Joined: May 2014
Posts: 16
Red_Yeti Offline
Junior Member
Red_Yeti  Offline
Junior Member

Joined: May 2014
Posts: 16
Germany
If I'm right, you no longer need it.
Just the firmware, the loader an FLIP installed, i think.

But did not tested it yet.

#3997660 - 08/18/14 09:09 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
Seems that use USB cable is a bit tricky, due restrict time to type the commands...

and since USBasp is cheap, most prefer the "easy" way. smile

https://code.google.com/p/mmjoy/wiki/UpdateFirmware_eng

Instructions for use USB cable and Flip (Google translated from Russian):

Quote:

Notes on using the native firmware bootloader and program Flip.
(Information for users who assembly the controller from scratch)
Microcontrollers "AT90USB646" and "ATMEGA32U4" from the factory have built bootloader - built-in loader flasher.
Therefore properly assembled one when connected to the computer immediately recognized by the operating system.
For firmware update you should download and install the free software from the site FLIP ATMEL.
Link to the site download http://www.atmel.com/tools/flip.aspx

To activate the loader, follow these steps.
On the boards with buttons:
- Connect the board via USB
- Press button RST
- Holding the RST, press the button HWB
- Hold down the HWB, release the button RST
- Release the HWB

On the boards without the button, with a jumper HWB:
- Set jumper HWB
- Connect the board via USB
- Remove the jumper HWB

If done correctly the OS will detect the new device. The name used by the microcontroller, respectively. If the operating unit is determined with an error in Device Manager, you must find the device and update the driver by specifying the source directory with installed Flip.


https://code.google.com/p/mmjoy/wiki/MMJOY2

Sokol1

Last edited by Sokol1; 08/18/14 09:17 PM.
#3997770 - 08/19/14 03:26 AM Re: MMJoy - Build your own USB controller [Re: Sokol1]  
Joined: Jan 2014
Posts: 274
mega_mozg_13 Offline
Member
mega_mozg_13  Offline
Member

Joined: Jan 2014
Posts: 274
BELARUS, Minsk
Hi!
Rog99 WOW. Very good!
Lorphos NO NO NO "USBasp"!!! Use "JoyLoader" software for firmware updates.
Sokol1 Yes it encoders.

#3997801 - 08/19/14 05:14 AM Re: MMJoy - Build your own USB controller [Re: Sokol1]  
Joined: Jan 2014
Posts: 274
mega_mozg_13 Offline
Member
mega_mozg_13  Offline
Member

Joined: Jan 2014
Posts: 274
BELARUS, Minsk
update:

thanks to Red_Yeti

#3997979 - 08/19/14 03:49 PM Re: MMJoy - Build your own USB controller [Re: mega_mozg_13]  
Joined: Aug 2014
Posts: 17
Lorphos Offline
VR guy
Lorphos  Offline
VR guy
Junior Member

Joined: Aug 2014
Posts: 17
Germany
Hi mega_mozg_13, you're the man!
Originally Posted By: mega_mozg_13

Lorphos NO NO NO "USBasp"!!! Use "JoyLoader" software for firmware updates.

OK, no need to buy the USBasp, instead I use JoyLoader during the 8 seconds that is it in bootloader mode, got it!

#3998511 - 08/20/14 05:40 PM Re: MMJoy - Build your own USB controller [Re: Sokol1]  
Joined: May 2014
Posts: 16
Red_Yeti Offline
Junior Member
Red_Yeti  Offline
Junior Member

Joined: May 2014
Posts: 16
Germany
Originally Posted By: Lorphos

OK, no need to buy the USBasp, instead I use JoyLoader during the 8 seconds that is it in bootloader mode, got it!


Tested today and it works as described. But had to use arduino IDE to get the right COM-Port.

Last edited by Red_Yeti; 08/20/14 05:41 PM.
#4005743 - 09/05/14 10:39 PM Re: MMJoy - Build your own USB controller [Re: Sokol1]  
Joined: Sep 2014
Posts: 1
deee Offline
Junior Member
deee  Offline
Junior Member

Joined: Sep 2014
Posts: 1
First of, very, very nice job mega_mozg_13.

I'm in need of advise. I have a Leonardo, but i do not understand what the schemes are in mmjoy loader and which hex file to load to be able to support 8 axis etc. I have not found any explanation for scheme/hex void 6/36 nor YoZHeg 888. So which scheme/hex to use?

Just some more info: I downloaded the mmjoy_software[20140528_update2] and also 20140702_u1 from beta directory, but there's no leonardo option. The screenshot seems to indicate, that you used the pro micro FW for the Leonardo, is that correct? I hope there'll be a leonardo scheme/hex, if others can't be used.

Ok, i uploaded the pro micro FW to it for now. Had a little difficulties getting it programmed. So here's a little explanation for others:
1. Start MMjoy loader
2. Select scheme, crystal, and hex.
3. Go to device manager (from the device management or devmgmt-button), open ports (COM & LPT).
4. Press reset on the board, the device manager might refresh and show the com port.
5. After the 8 seconds of boot time, the com port might change, device manager refresh, as it did with me(which caused the difficulties), but you need to use the com port when in boot loader mode.
6. Type the port to port input (like COM5 for example)
7. Select bootloader type arduino
8. Press reset on the board and within the bootloader time (light doing the "heartbeat"-thing), press "upload firmware"

Also, found what the void 6/36-type is, in the wiki, MMjoy2 page, but don't know what YoZHeg 888 is.

Last edited by deee; 09/06/14 12:29 PM.
#4006252 - 09/07/14 12:16 PM Re: MMJoy - Build your own USB controller [Re: Sokol1]  
Joined: Aug 2014
Posts: 17
Lorphos Offline
VR guy
Lorphos  Offline
VR guy
Junior Member

Joined: Aug 2014
Posts: 17
Germany
I have a quick question, I got a digital joystick here (4 micro switches) with 4 buttons. Do I need to use the button matrix or can I just connect one button per pin directly without anything else?

#4006493 - 09/07/14 10:37 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
No HAT?

The diode matrix is used to avoid "ghost" button press when you press three or more buttons simultaneous,
what probable you will not do.

Try using one pin from Row and one pin from Column.

Sokol1

#4007137 - 09/09/14 09:25 AM Re: MMJoy - Build your own USB controller [Re: Sokol1]  
Joined: Jan 2014
Posts: 274
mega_mozg_13 Offline
Member
mega_mozg_13  Offline
Member

Joined: Jan 2014
Posts: 274
BELARUS, Minsk
hi to all.
mmjoy[20140909] "open hardware" release.
more inromation (russian)

#4013294 - 09/23/14 09:04 AM Re: MMJoy - Build your own USB controller [Re: Sokol1]  
Joined: Jan 2014
Posts: 274
mega_mozg_13 Offline
Member
mega_mozg_13  Offline
Member

Joined: Jan 2014
Posts: 274
BELARUS, Minsk
hi. a have some news:


soon to release. two joysticks per one board. 8 axis/32 buttons/2 HATs per each joystick.

#4020589 - 10/10/14 04:11 AM Re: MMJoy - Build your own USB controller [Re: Sokol1]  
Joined: Oct 2014
Posts: 1
0052 Offline
Junior Member
0052  Offline
Junior Member

Joined: Oct 2014
Posts: 1
Hi guys, this is awesome, just what I've been looking for for a long time. Quick question. I have built a stick with 6 buttons and 5 pots, the pots are no problem, have them working on the device no problem. But the buttons are not. This is how I have them wired:



And this is the setup:



But when I press the buttons in the windows device settings nothing happens, they are not recognized. What am I doing wrong? Thanks!

#4020734 - 10/10/14 03:11 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
Check diode orientation, on above example they are placed with strip toward ROW.

#4020904 - 10/10/14 08:46 PM Re: MMJoy - Build your own USB controller [Re: Sokol1]  
Joined: May 2014
Posts: 16
Red_Yeti Offline
Junior Member
Red_Yeti  Offline
Junior Member

Joined: May 2014
Posts: 16
Germany
Sokol1 has right. Just swap the rows and columns in MMJoy.

#4022061 - 10/14/14 09:10 AM Re: MMJoy - Build your own USB controller [Re: Sokol1]  
Joined: Jan 2014
Posts: 274
mega_mozg_13 Offline
Member
mega_mozg_13  Offline
Member

Joined: Jan 2014
Posts: 274
BELARUS, Minsk
Hi, new beta MMJOY2_beta_2014.10.14.rar
two joysticks for all USB 2.0 hardware (ProMicro, Arduino Leonardo/Micro, Teensy 2.0/2.0++)
more information (russian)

#4023723 - 10/17/14 04:44 PM Re: MMJoy - Build your own USB controller [Re: Sokol1]  
Joined: Jan 2010
Posts: 464
tirta Offline
Member
tirta  Offline
Member

Joined: Jan 2010
Posts: 464
hi mega_mozg,
hi sokol1,

it is very nice to see you guys here. biggrin

I am excited about the new mmjoy2_beta,
so it has total 16 axis and 64 buttons?
and it only use one arduino pro micro?
is this correct?

how fast is the speed?

#4023800 - 10/17/14 06:28 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
Tirta,

Yes, this last firmware create two "virtual" joysticks with one physical board, with 8 axis, 32 buttons each, this allows all buttons to be seen by Windows without use of keymapper's, simplifying map in games.

To be USB 2.0 the board need use ATmega32U4 like these Arduino, but you can build your own board (maybe not cost/effective if compared to Chinese ones):

https://code.google.com/p/mmjoy/wiki/MMJOY2

Sokol1

Page 4 of 112 1 2 3 4 5 6 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