Previous Thread
Next Thread
Print Thread
Rate This Thread
Hop To
Page 2 of 104 1 2 3 4 103 104
#3914925 - 02/21/14 05:45 PM Re: MMJoy - Build your own USB controller ***** [Re: Eogund]  
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: Eogund
Ok, I see my mistake, I did not tried to launch Joyloader while in bootloader mode (a little difficult, you only have a few seconds after manually restarting the device). Working OK now.

8 seconds bootloader mode.

Originally Posted By: Eogund

I have one more question: How does the buttons matrix work ? Is it similar to Leo Bodnar's BU0836?

Yes.
Leo Bodnar's BU0836:

Mjoy original:

Inline advert (2nd and 3rd post)

#3914928 - 02/21/14 05:54 PM Re: MMJoy - Build your own USB controller [Re: Sokol1]  
Joined: Nov 2001
Posts: 3,748
Sokol1 Offline
Senior Member
Sokol1  Offline
Senior Member

Joined: Nov 2001
Posts: 3,748
Internet
PRO Micro (clone) pinnout:

[Linked Image]
EDIT- For serial connections check Arduino PRO Micro pinout in MMjoy2 Wiki.

6 rows (BR pins) x 6 columns (BC pins) = 36 buttons and 6 analog axis input - number of axis could be increased for 8 using pins from matrix at cost of buttons number. Teensy, Arduino Micro boards has more pints for inputs.

ADC pins is axis input.

Sokol1


Last edited by Sokol1; 07/13/18 08:12 PM. Reason: image link replace
#3914943 - 02/21/14 06:22 PM Re: MMJoy - Build your own USB controller [Re: Sokol1]  
Joined: Jan 2011
Posts: 6
Eogund Offline
Junior Member
Eogund  Offline
Junior Member

Joined: Jan 2011
Posts: 6
Wow, thank you Sokol, that's exactly what I was looking for. I am a nerd in electronics, what kind of diodes are you using in the matrix?

#3914947 - 02/21/14 06:39 PM Re: MMJoy - Build your own USB controller [Re: Sokol1]  
Joined: Nov 2001
Posts: 3,748
Sokol1 Offline
Senior Member
Sokol1  Offline
Senior Member

Joined: Nov 2001
Posts: 3,748
Internet
1N4148 or 1N4004 is fine.

Sokol1

#3914952 - 02/21/14 06:44 PM Re: MMJoy - Build your own USB controller [Re: Sokol1]  
Joined: Jan 2004
Posts: 1,215
f15sim Offline
More projects than sense!
f15sim  Offline
More projects than sense!
Member

Joined: Jan 2004
Posts: 1,215
Graham, WA
A 1N4001 diode should work just fine.

g.


Proud owner of 80-0007
http://www.f15sim.com - The only one of its kind.
http://geneb.simpits.org - the Me-109F/X Project
#3919297 - 03/03/14 01:51 AM Re: MMJoy - Build your own USB controller [Re: Sokol1]  
Joined: Jul 2012
Posts: 8
skygunner58203 Offline
Junior Member
skygunner58203  Offline
Junior Member

Joined: Jul 2012
Posts: 8
ND
Will this work on my Arduino Micro? It runs on the ATMega32u4, but look different from the Leonardo pro micro. Also, could I use my Uno R3 to program it?

#3919965 - 03/04/14 06:27 AM Re: MMJoy - Build your own USB controller [Re: skygunner58203]  
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: skygunner58203
Will this work on my Arduino Micro? It runs on the ATMega32u4, but look different from the Leonardo pro micro.


Arduino Micro
Microcontroller ATmega32u4
Operating Voltage 5V
Clock Speed 16 MHz

it is same as 'promicro', you can try.

Originally Posted By: skygunner58203
Also, could I use my Uno R3 to program it?

Only if "Uno R3" support upload 'hex' files.
My "JoyLoader" software to load firmware via bootloader(Atmel FLIP/Arduino and Teensy2).

Downloads/Updates here: https://drive.google.com/folderview?id=0B2zIeYwbAIHOMFlzSkNPZ1NXV1k&usp=sharing

#3926027 - 03/17/14 04:03 PM Re: MMJoy - Build your own USB controller [Re: Sokol1]  
Joined: Jan 2012
Posts: 19
E69_Jack_Aubrey Offline
Junior Member
E69_Jack_Aubrey  Offline
Junior Member

Joined: Jan 2012
Posts: 19
Spain
Mega_mozg do you mean that it would be possible to use the Uno R3 with your work....

So let me guess you upload part to the atmega 328p and then the usb comunication to the atmega16u2???? If that's true would you mean to explain for dumbs as i'm a complete begginer and also english it isn't my mother language.

If it's true I'm gonna love you!!!!!

#3926047 - 03/17/14 05:56 PM Re: MMJoy - Build your own USB controller [Re: mega_mozg_13]  
Joined: Nov 2001
Posts: 3,748
Sokol1 Offline
Senior Member
Sokol1  Offline
Senior Member

Joined: Nov 2001
Posts: 3,748
Internet
JA, the precondition to test is:

Originally Posted By: mega_mozg_13

Only if "Uno R3" support upload 'hex' files.


And the answer is yes:

http://rlangoy.github.io/Arduino-Uno-Uploader-Tool/

Entonces lo prueba, hombre
. wink

Use Mega_Mozg "JoyLoader".

Sokol1


Last edited by Sokol1; 03/17/14 06:22 PM.
#3926157 - 03/17/14 09:37 PM Re: MMJoy - Build your own USB controller [Re: Sokol1]  
Joined: Jan 2012
Posts: 19
E69_Jack_Aubrey Offline
Junior Member
E69_Jack_Aubrey  Offline
Junior Member

Joined: Jan 2012
Posts: 19
Spain
...... jawdrop kneeldown then i begging to test it tomorrow... Because right now i have to much Guinness beercheers

#3926838 - 03/19/14 09:01 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
sorry, guys.
No support to "UNO_R3" here crazy hardware "atmega16u2" + "atmega328p".
Only possible with single chip "ATmega32u4" = "Arduino Leonardo" / "Arduino Micro" and clone "Sparkfun ProMicro" .

#3927725 - 03/21/14 12:47 AM Re: MMJoy - Build your own USB controller [Re: Sokol1]  
Joined: Nov 2001
Posts: 3,748
Sokol1 Offline
Senior Member
Sokol1  Offline
Senior Member

Joined: Nov 2001
Posts: 3,748
Internet
Small test with DIY board, 1 encoder (incremental/quadrature) from mouse scroll , 1 pot 50k (CH) 1 pot 100k - no brand.



Set as trim in CloD - Fiat Br.20 - Encoder on Elevator (Profundit)



Buttons:

On "normal" mode = act like keyboard (ON until pressed)

On "S" mode = turn ON in first press and turn OFF on second press (similar to OF-OFF toggle switch).

On "P" and R" mode = Dont get a conclusive result, some random blinks only...

Sokol1

Last edited by Sokol1; 03/21/14 12:50 AM.
#3927953 - 03/21/14 01:45 PM 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
and some pictures from me.
base joystick: Saitek X35-X36/Suncom F15.
electronics: MMjoy2 ProMicro, simple extension boards, Hall's Allegro A1324 (X/Y/Throttle).

handmade aluminum bearings mechanics:



ring magnets + Halls:


base for stick:


base for throttle:


stick assemble:



stick 'Saitek':


stick 'Suncom':



rubber pads:


extension board scheme:


firmware configuration:


Last edited by mega_mozg_13; 03/21/14 01:48 PM.
#3929256 - 03/24/14 03:40 PM Re: MMJoy - Build your own USB controller [Re: Sokol1]  
Joined: Jan 2012
Posts: 19
E69_Jack_Aubrey Offline
Junior Member
E69_Jack_Aubrey  Offline
Junior Member

Joined: Jan 2012
Posts: 19
Spain
Thanks for that reply mega_mozg... i was thinking about that "two chip" setup from arduino UNO

Also, which one u recommend for MMjoy 2???

Last edited by E69_Jack_Aubrey; 03/24/14 03:42 PM.
#3929342 - 03/24/14 05:36 PM 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
E69_Jack_Aubrey,
if you want "ready for use":
"Sparkfun Arduino ProMicro" - 36 buttons + 6 axis, or "Teensy 2.0" - 64 buttons + 8 axis.

PS: now testing "Arduino Leonardo(ATmega32u4)" and results later.

#3929410 - 03/24/14 07:23 PM Re: MMJoy - Build your own USB controller [Re: Sokol1]  
Joined: Jan 2012
Posts: 19
E69_Jack_Aubrey Offline
Junior Member
E69_Jack_Aubrey  Offline
Junior Member

Joined: Jan 2012
Posts: 19
Spain
There's any diference between Arduino Micro and the one you said the Sparkfun Arduino ProMicro ... the thing is that for me the less expensive one is the Arduino's one and the Sparkfun it's quite expensive (shipment mainly).

I have seen your post telling Arduino micro or sparkfun clone ....

Also i understand that it's posible to build a shield to increment the inputs????

Last edited by E69_Jack_Aubrey; 03/24/14 07:24 PM.
#3929768 - 03/25/14 04:12 PM Re: MMJoy - Build your own USB controller [Re: Sokol1]  
Joined: Jan 2011
Posts: 6
Eogund Offline
Junior Member
Eogund  Offline
Junior Member

Joined: Jan 2011
Posts: 6
Hi, I'm having bad response when connecting 10k and 100k pots directly to the axis pins of the Promicro. Buttons work OK. Will I have better results using the MCP3208 chip instead?

Last edited by Eogund; 03/25/14 04:14 PM.
#3929915 - 03/25/14 09:20 PM Re: MMJoy - Build your own USB controller [Re: Sokol1]  
Joined: Nov 2001
Posts: 3,748
Sokol1 Offline
Senior Member
Sokol1  Offline
Senior Member

Joined: Nov 2001
Posts: 3,748
Internet
Eogund,

You did Windows > C.Panel > Game Controllers calibration process?
With ATMEGA axis stabilize only after do this 1st time.
Or use DXTweake2.

Use only pots 10 ~50k, 100k pick much noise.

Sokol1

#3930145 - 03/26/14 07:19 AM Re: MMJoy - Build your own USB controller [Re: E69_Jack_Aubrey]  
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: E69_Jack_Aubrey
Also i understand that it's posible to build a shield to increment the inputs????

only axis possible to increase (with MCP3202/MCP3204/MCP3208), but total no more 8.

if you want more 36 buttons, at plans make a firmware for promicro(train sim) "8*8 = 64 buttons + 2 axis (and possible add axis with MCP320x)"


Last edited by mega_mozg_13; 03/26/14 07:26 AM.
#3930146 - 03/26/14 07:23 AM Re: MMJoy - Build your own USB controller [Re: Eogund]  
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: Eogund
Hi, I'm having bad response when connecting 10k and 100k pots directly to the axis pins of the Promicro.


make fotos, it help to find problem. picture of "JoySetup".

and today updated information of connecting axis to promicro:

Page 2 of 104 1 2 3 4 103 104

Moderated by  RacerGT 

Quick Search
Recent Articles
Support SimHQ

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


Recent Topics
Post script on our fires
by Mad Max. 02/19/20 09:43 PM
Our current approaching storm
by Ajay. 02/19/20 12:35 PM
Just a little feel good flying thing
by Nixer. 02/18/20 12:37 AM
Now, This is Cool (Even if it WAS a Dog)
by vonBaur. 02/18/20 12:37 AM
HITMAN 2, et al
by DBond. 02/17/20 01:52 PM
I didn't know this. Women Top Guns.
by NoFlyBoy. 02/17/20 03:46 AM
Betelgeuse
by Red2112. 02/16/20 11:35 PM
Heck just a good jam
by rwatson. 02/16/20 01:57 PM
EPIC Games = epic PITA
by Dunolde. 02/15/20 09:05 PM
Copyright 1997-2016, SimHQ Inc. All Rights Reserved.

Powered by UBB.threads™ PHP Forum Software 7.6.0