Previous Thread
Next Thread
Print Thread
Rate This Thread
Hop To
Page 6 of 112 1 2 4 5 6 7 8 111 112
#4024750 - 10/20/14 08:19 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
tirta
you eat my brain.

"mmjoy2" by default no axis and no buttons, no any fixed presets.
just setup as you like as you need.
1) open "Pins_Sparkfun[promicro].PNG" and you see a pins names(F4/D3/B6) and possible pins fuctions(AI/AE/BM).
2) think what you want, make decision, set X pins to axis, Y pins to button raw and Z pins to button column.
3) solder / setup and enjoy.

Inline advert (2nd and 3rd post)

#4024754 - 10/20/14 08:48 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





#4024755 - 10/20/14 08:51 AM 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,

thanks for the explanation. biggrin

sorry I do not understand what you mean by "you eat my brain".

Quote:
set "USB Poll" to "1" = 1000 Hz
2=500
4=250
and 8=125 (OS Windows limit for old mjoy8 / mjoy16).


so if i use 8 axis with 42 buttons,
do I get faster response using mmjoy2 compared to the old mjoy16?

#4024756 - 10/20/14 08:55 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
Tirta, x4 faster at minimum.

#4024760 - 10/20/14 09:07 AM 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
thanks mega_mozg,

the reason I ask for the sparkfun pro micro is the one I get from ebay:
http://www.ebay.com/itm/New-Pro-Micro-AT...i-/140972980117

does not have "sparkfun" in it.

so since I know almost nothing about electronics,
I wonder if it is the same product or not.

I have googled this, and find out that sparkfun is a brand name.
And the one from ebay is a chinese clone.

so I guess it is the same, but I am not very sure about it.

#4024762 - 10/20/14 09:23 AM Re: MMJoy - Build your own USB controller [Re: mega_mozg_13]  
Joined: Oct 2014
Posts: 15
triggahappy Offline
Junior Member
triggahappy  Offline
Junior Member

Joined: Oct 2014
Posts: 15
Hello.

@Mega mozg

I know its possible to use pro micros 5v to power up mcp 3208 however in your original pro micro and extension board you have used external 12v power supply converted to 5v to power up both mcp 3208.

My knowledge of electronics is limited and i can only guess why did you do that way.
Am i correct guessing that the only reason to use external power supply (stable 5v) to mcp3208 is to get highest sampling rate from the chip.

Thanks

@tirta

i am using 'ebay' pro micro and it works just fine, just make sure its pro micro and not any 'other'micro

Last edited by triggahappy; 10/20/14 09:26 AM.
#4024898 - 10/20/14 05:02 PM Re: MMJoy - Build your own USB controller [Re: tirta]  
Joined: Nov 2001
Posts: 3,955
Sokol1 Offline
Senior Member
Sokol1  Offline
Senior Member

Joined: Nov 2001
Posts: 3,955
Internet
Quote:

is there any difference between sparkfun pro micro and arduino pro micro?


Originally Posted By: tirta
thanks mega_mozg,

the reason I ask for the sparkfun pro micro is the one I get from ebay:
http://www.ebay.com/itm/New-Pro-Micro-AT...i-/140972980117

does not have "sparkfun" in it.

so since I know almost nothing about electronics,
I wonder if it is the same product or not.

I have googled this, and find out that sparkfun is a brand name.
And the one from ebay is a chinese clone.

so I guess it is the same, but I am not very sure about it.



Tirta,

This one you buy in Ebay is Chinese no brand clone of PRO-Micro (Sparkfun is only manufacturer) - work in the same way (if work... like all cheap China goods smile ).

Is advisable buy the in pairs... just in case. hahaha

Sokol1




Last edited by Sokol1; 10/20/14 05:35 PM.
#4025123 - 10/21/14 04:42 AM 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 triggahappy & sokol1,

thanks for clarifying about pro micro.
now I am going to order it biggrin

#4025127 - 10/21/14 05:27 AM Re: MMJoy - Build your own USB controller [Re: triggahappy]  
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: triggahappy

Am i correct guessing that the only reason to use external power supply (stable 5v) to mcp3208 is to get highest sampling rate from the chip.

Yes it is for stable 5v.

#4025158 - 10/21/14 09:43 AM 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,

after studying and looking at your pictures and explanations, then comparing the prices at ebay:
http://www.ebay.com/itm/Leonardo-R3-Pro-...=item2ececa28e3

it seems that using arduino leonardo is better for only 6 axis & 42 buttons.

it has total 23 pins, 11 internal axis.
if I use only 6 axis, there are 17 pins left for button matrix.
so 17 is more than enough, for 42 buttons I only need 13 pins.
13 = 6+7
6 colums x 7 rows = 42 buttons.

so there is no need to add mcp3208.

is this correct?

#4025166 - 10/21/14 10:51 AM Re: MMJoy - Build your own USB controller [Re: tirta]  
Joined: Oct 2014
Posts: 15
triggahappy Offline
Junior Member
triggahappy  Offline
Junior Member

Joined: Oct 2014
Posts: 15
Thanks mega_mozg

@tirta

As long as you have enough pins that long one device will do the job and you wont have to use mcp3208

I think the reason to use mcp3208 in general is not only to extend the number of axis but also to use 12bit adc instead of built in 10 bit adc.

As far as i am aware pro micro offers 10 bit internal adc (axis sensor) which offers resolution of 1024 and mcp3208 is a 12 bit adc with resolution of 4095.

#4025182 - 10/21/14 12:15 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
thanks triggahappy.

what is the advantage using 12bit?
is it more accurate?
can you feel it when playing the game?

#4025216 - 10/21/14 01:32 PM Re: MMJoy - Build your own USB controller [Re: Sokol1]  
Joined: Oct 2014
Posts: 15
triggahappy Offline
Junior Member
triggahappy  Offline
Junior Member

Joined: Oct 2014
Posts: 15
@tirta

That's the thing.... i don't know:P
It's only my assumption that with higher resolution you should get more precise response.
And i expect to see results while playing game.

I am rebuilding Logitech extreme 3d pro with hall sensors and belkin n52te as a throttle control with additional second pov and 2 additional axis. i need around 40 buttons and 6 axis. one way or another i need mcp3208.

I was hoping mega_mozg would shed some light on how 12bit compares to 10bit.

Since we are on the subject it would be good to know if there is significant difference in mcp3208 performance while using 4.5v instead of full 5v

Cheers

#4025292 - 10/21/14 06:57 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
Other (theoretical) advantage is that communication between MCP3208 and the controller board is in Digital mode (binary code) instead Analog (voltage variation), what means axis less subject to external interferences (electrical/magnetic noise).

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

Sokol1

#4025510 - 10/22/14 06:44 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
MMJOY2 [v20141021]
'Shift registers' now posible connecting "Defender Comba m5" and "Thrustmaster Warthog/Cougar" grips using native 5 wire connector.

#4025697 - 10/22/14 05:10 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
Quote:
and "Thrustmaster Warthog/Cougar" grips using native 5 wire connector.


That's reminder-me that I have a old Tm F22PRO somewhere ... smile

#4026030 - 10/23/14 10:22 AM 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,

what is the advantage using 12bit (mcp3208)?
is it more accurate compared to 10bit?
can you feel it when playing the game?

#4026216 - 10/23/14 06:44 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,

My 0,02$

Probable you don't feel difference in practice, because this will be masked by joystick gimbal imperfections.

A good read about this matter (sensors) is what Milan and Slaw post in the "Battle of pedals".

http://simhq.com/forum/ubbthreads.php/topics/3977757/Slaw_VS._Milan_the_battle_of_t#Post3977757

Sokol1


Last edited by Sokol1; 10/23/14 07:13 PM.
#4026636 - 10/24/14 03:01 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 Sokol1,

Thanks for the link.

it seems what those guys say is mostly true,
so there is no need to use 12bit or adding mcp3208 for my purpose.

Last edited by tirta; 10/24/14 03:03 PM.
#4027805 - 10/27/14 08:59 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
driving 10 Pcs WS2811/WS2812 RGB LED(on strip).


for indicating any data from any games (gears/flaps/overheating).
more information later...

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