Previous Thread
Next Thread
Print Thread
Rating: 5
Hop To
Page 2 of 112 1 2 3 4 111 112
Joined: Jan 2014
Posts: 274
M
Member
Offline
Member
M
Joined: Jan 2014
Posts: 274
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)

Joined: Nov 2001
Posts: 3,957
S
Sokol1 Offline OP
Senior Member
OP Offline
Senior Member
S
Joined: Nov 2001
Posts: 3,957
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
Joined: Jan 2011
Posts: 6
E
Junior Member
Offline
Junior Member
E
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?

Joined: Nov 2001
Posts: 3,957
S
Sokol1 Offline OP
Senior Member
OP Offline
Senior Member
S
Joined: Nov 2001
Posts: 3,957
1N4148 or 1N4004 is fine.

Sokol1

Joined: Jan 2004
Posts: 1,221
F
More projects than sense!
Member
Offline
More projects than sense!
Member
F
Joined: Jan 2004
Posts: 1,221
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
Joined: Jul 2012
Posts: 8
S
Junior Member
Offline
Junior Member
S
Joined: Jul 2012
Posts: 8
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?

Joined: Jan 2014
Posts: 274
M
Member
Offline
Member
M
Joined: Jan 2014
Posts: 274
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

Joined: Jan 2012
Posts: 20
E
Junior Member
Offline
Junior Member
E
Joined: Jan 2012
Posts: 20
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!!!!!

Joined: Nov 2001
Posts: 3,957
S
Sokol1 Offline OP
Senior Member
OP Offline
Senior Member
S
Joined: Nov 2001
Posts: 3,957
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.
Joined: Jan 2012
Posts: 20
E
Junior Member
Offline
Junior Member
E
Joined: Jan 2012
Posts: 20
...... jawdrop kneeldown then i begging to test it tomorrow... Because right now i have to much Guinness beercheers

Joined: Jan 2014
Posts: 274
M
Member
Offline
Member
M
Joined: Jan 2014
Posts: 274
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" .

Joined: Nov 2001
Posts: 3,957
S
Sokol1 Offline OP
Senior Member
OP Offline
Senior Member
S
Joined: Nov 2001
Posts: 3,957
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.
Joined: Jan 2014
Posts: 274
M
Member
Offline
Member
M
Joined: Jan 2014
Posts: 274
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.
Joined: Jan 2012
Posts: 20
E
Junior Member
Offline
Junior Member
E
Joined: Jan 2012
Posts: 20
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.
Joined: Jan 2014
Posts: 274
M
Member
Offline
Member
M
Joined: Jan 2014
Posts: 274
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.

Joined: Jan 2012
Posts: 20
E
Junior Member
Offline
Junior Member
E
Joined: Jan 2012
Posts: 20
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.
Joined: Jan 2011
Posts: 6
E
Junior Member
Offline
Junior Member
E
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.
Joined: Nov 2001
Posts: 3,957
S
Sokol1 Offline OP
Senior Member
OP Offline
Senior Member
S
Joined: Nov 2001
Posts: 3,957
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

Joined: Jan 2014
Posts: 274
M
Member
Offline
Member
M
Joined: Jan 2014
Posts: 274
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.
Joined: Jan 2014
Posts: 274
M
Member
Offline
Member
M
Joined: Jan 2014
Posts: 274
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 112 1 2 3 4 111 112

Moderated by  RacerGT 

Link Copied to Clipboard
Quick Search
Support SimHQ

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


Recent Topics
Flew the B-52 simulator
by Major Dragon - 01/12/25 03:47 AM
B-29 Fire Control Computer
by wormfood - 01/11/25 06:57 PM
Any Recommendations for a New TV?
by F4UDash4 - 01/11/25 02:51 PM
Los Angeles fires
by oldgrognard - 01/09/25 12:55 PM
WWII Ace Perry Dahl was 101
by F4UDash4 - 01/08/25 05:21 PM
Did/Do you excel at any sports?
by PanzerMeyer - 01/08/25 03:21 PM
Primary Gaming PC OS?
by F4UDash4 - 01/06/25 03:28 PM
PC games year in review 2024
by PanzerMeyer - 01/03/25 12:26 PM
Early Spring cleaning 2025
by KRT_Bong - 01/02/25 08:09 PM
Popular Topics(Views)
6,801,412 SAM Simulator
Copyright 1997-2016, SimHQ Inc. All Rights Reserved.

Powered by UBB.threads™ PHP Forum Software 7.7.5