MMjoy - ED Forums
 


Notices

Reply
 
Thread Tools Display Modes
Old 01-30-2014, 05:41 PM   #1
Sokol1_br
Veteran
 
Sokol1_br's Avatar
 
Join Date: Apr 2007
Posts: 3,167
Send a message via MSN to Sokol1_br
Default MMjoy - firmware for D.I.Y. USB controller.

What is MMjoy2?

A USB controller based on Arduino boards that work as HID controller device - or "joystick" - using Windows native drivers, is "PnP":

Update: MMjoy2 USB 2.0

Hardware needed: ~5$ Arduino PRO Micro (clone) or ~20$ Sparkfun/Teensy versions or Arduino boards (based on ATMEGA32U4). Sample:


Attention, is need the 5v version of Sparkfun board: https://www.sparkfun.com/products/12640

Firmware: MMjoy2 - free for non commercial use, loaded in Arduino through USB cable using the JoySetup programn. Download.

Tutorial for firmware upload - by Geneb(F15SIM):

http://www.geneb.org/mmjoy2/pro-micro-instructions.pdf

Sample of firmware writing using Teensy 2.0+ (very easy):

http://forum.il2sturmovik.com/topic/...ck-controller/

Features (latest firmware):

Up to 120 buttons (12x 10 matrix, diodes needed) - Notice 120 buttons was possible in some Arduino boards only due pinout limitation in some versions, see in links bellow.
6 encoder - adjustable times
8x 10 (1024) - 12 bits* (4096 position) axis - compatibility for digital BUS sensor "MMSens", position sensor that work like HALL sensor, but is less trick to configure, see the TLE5010 (in the links bellow).
* For axis resolution above 10 bits is need use external ADC converter (eg. MCP 3204/8, TLE5010/11.) achieving 12 bits, since the native resolution in ATMEGA32U4 mc is 10 bits.
8 way POV HAT.

- "Shift" (mode) function, allow a physical button press a virtual button if "shift" are ON.
- Compatibility with Shift Registers board in Tm F-22 PRO, Cougar, Warthog and Cobra M-5 grips, making use this grips "plug-and-play" or DIY Shift Register boards, eliminating the need for Diode Matrix.
- "Joystick" name, VID, PID defined be user as desired.
- Special functions for the first 32 buttons, like timer.

JoySetup allow you configure MMJoy as you want, even the "joystick" name, and their features, for example as "2 axis and 1(or 0) button joystick" .

Arduino boards compatible with MMjoy2 firmware:

1

2

For MMJoy firmware/Configurator download see the more recently Mega_Mozg links (end of topic).

Related topic in Russian forums: https://forum.warthunder.ru/index.ph...-mjoy16-mmjoy/

In this topic skip the DIY build boards part (first posts - like here) with today available and cheap Arduino bords the DIY boards ones became obsolete/uninteresting.

Or: http://forum.il2sturmovik.ru/topic/4...samodelnogo-k/
http://forum.il2sturmovik.ru/topic/2...7&hl=%2Bmmjoy2

================================================================================================
Original topic - obsolete:

Spoiler:

Perhaps useful for someone:

MMjoy is new firmware developed by MEGA_Mozg, for the old (2004) Mindaugas/Meandog project MJoy (DIY USB Controller based on ATMEL mc), that that besides original Mjoy8 or Mjoy16 boards works on "developer” board METABOARD, AVR_USB_MEGA16 and Arduino based Teensy 2.0 and Leonardo PRO Micro.

Is a configurable joystick firmware, after write MMJoy firmware on your board (require USB ISP programmer cable), this is recognized by Windows as USB HID device, but not as “joystick”, because since the firmware is configurable, are you that define the “joystick" parameters, to this use the program “Configurator”, via standart USB cable:



MMJoy main features:
Quote:

2 to 8 axis (12 bits = 4.096 points of resolution)
- Support for axis in digital mode with external ADC converter (MCP3201/MCP3202/MCP3204/MCP3208 and KМА200)
- Axis inversion in firmware
- Axis filters
- Axis auto-calibration (optional)
- Axis ZOOM mode (momentary – by button press - reduce axis response to improve precision)
- Axis STOP mode (momentary – by button press – “freeze” axis response)

0 to 48 buttons in momentary or toggle mode (in Windows buttons after 32 need keymapper)

4 encoders (each encoder take 2 button position).

POV HAT (8 angles)

User defined “joystick” name with up to 10 characters
User defined VID and PID number – this allow use more than one MMjoy on same computer without conflict, set the MMjoy joystick to be seem by Windows first or after “COTS” joystick.
Code Google project page (In Russian, but easy readable with Google Translator).

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

Actually the cost of Teensy 2.0 or Leonardo PRO Micro (Chinese clones cost ~5$ in eBay) assembled boards make almost senseless D.I.Y. cards, but if whanted in above link are scheme make the PCB.

Heres how use axis in digital mode with external ADC:
https://code.google.com/p/mmjoy/wiki/ExtenralADC

Scheme for build a "MagRez" sensor board (work in similar way to HALL sensor, with some advantages) on end of page.
https://mmjoy.googlecode.com/svn/wik..._MM_44-22.lay6


Sokol1

Last edited by Sokol1_br; 11-28-2016 at 06:54 PM. Reason: Update information.
Sokol1_br is offline   Reply With Quote
Old 11-17-2015, 11:15 PM   #2
v81
Junior Member
 
Join Date: Aug 2014
Posts: 70
Default

I'm surprised this hasn't got more posts.
I have just minutes ago received a couple of pro-micros to have a go with MMJoy.

Looking forward to it, will report back.
__________________
i5 6600K @4.4GHz -- 16Gig RAM -- 512GB & 940GB SSD -- GTX1070 -- TM Warthog, MFG Crosswinds & TiR
v81 is offline   Reply With Quote
Old 11-18-2015, 02:13 AM   #3
Sokol1_br
Veteran
 
Sokol1_br's Avatar
 
Join Date: Apr 2007
Posts: 3,167
Send a message via MSN to Sokol1_br
Default

Are a good topic about MMjoy2 in SimHQ:

http://simhq.com/forum/ubbthreads.php/topics/3899105/1

And various samples of usage in Warthunder (Russian) forum:

https://forum.warthunder.ru/index.ph...-mmjoy/page-97
Sokol1_br is offline   Reply With Quote
Old 03-13-2016, 08:31 PM   #4
Sokol1_br
Veteran
 
Sokol1_br's Avatar
 
Join Date: Apr 2007
Posts: 3,167
Send a message via MSN to Sokol1_br
Default

MMjoy2 "pirate".

http://world.taobao.com/item/5205088....0kvtmH#detail

Beyound the USB controller - with practical USB-B connector - the guy have:

Assembled TLE5010 sensor, pot's 60º.
Shift Register board
A nice toggle switch - 21mm lever, a big press switch
Nice knobs and Encoder.

Last edited by Sokol1_br; 03-14-2016 at 03:19 PM.
Sokol1_br is offline   Reply With Quote
Old 03-14-2016, 03:45 AM   #5
recoilfx
Member
 
Join Date: May 2012
Posts: 142
Default

Ooo nice. How did even you find this in the first place?

In any case, my Chinese is pretty rusty. After about half hr of wrangling and talking to my credit card company to approve the purchase, the order finally went through.

~$23 netted me:
1 x Arduino Micro board
1 x CD4021 shift register board + cables
3 x TLE5010 board + cables

The reviews seems good for the items, lot of talk about the seller being helpful and patient. Now comes the waiting game.

I am almost done designing my cam-based gimbal, so a TLE5010 will be a nice upgrade from the existing HAL based design.
recoilfx is offline   Reply With Quote
Old 03-14-2016, 12:58 PM   #6
debolestis
Member
 
debolestis's Avatar
 
Join Date: Feb 2015
Location: Croatia, Split
Posts: 638
Default

Quote:
Originally Posted by recoilfx View Post
I am almost done designing my cam-based gimbal, so a TLE5010 will be a nice upgrade from the existing HAL based design.
I am just starting to work on my gimbal, can you share your design?
debolestis is offline   Reply With Quote
Old 03-14-2016, 03:17 PM   #7
Sokol1_br
Veteran
 
Sokol1_br's Avatar
 
Join Date: Apr 2007
Posts: 3,167
Send a message via MSN to Sokol1_br
Default

See link in IL-2 Russian Forum. This Chinese guys have a page with simulations "gadgets" - Fly Geek.

This kit looks very practical. I only don't find how to buy in this page...
Sokol1_br is offline   Reply With Quote
Old 03-14-2016, 06:26 PM   #8
Econ
Member
 
Econ's Avatar
 
Join Date: Sep 2007
Location: Minsk
Posts: 377
Default

translation from Russian:

mega_mozg


...with the next release is likely the key changes planned (due to Chinese news) in the aphid with sensors and output to leds and arrows...
Econ is offline   Reply With Quote
Old 03-15-2016, 09:34 AM   #9
debolestis
Member
 
debolestis's Avatar
 
Join Date: Feb 2015
Location: Croatia, Split
Posts: 638
Default

How to order this?
debolestis is offline   Reply With Quote
Old 03-15-2016, 12:01 PM   #10
recoilfx
Member
 
Join Date: May 2012
Posts: 142
Default

You can't, I bought the last one

It seems like this is actually a garage operation. Just a guy making boards sold in small batches after requests from other forums.

There are still a few TLE5010 & CD4021 boards available though.

https://shop102607058.world.taobao.c...80705.3.tAQske

Ordering is pretty rough, you'd need to understand Chinese pretty well. You'd need to create a Taobao (Chinese equivalent of Ebay) account, then an Alipay (PayPal equivalent) account, then you may need to get your CC company to approve the purchase.

Last edited by recoilfx; 03-15-2016 at 12:03 PM.
recoilfx is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT. The time now is 05:29 AM. vBulletin Skin by ForumMonkeys. Powered by vBulletin®.
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.